@charset "utf-8";

main {
  position: relative;
  overflow: clip;
}

main::before {
  content: '';
  position: absolute;
  translate: -50% 0;
  top: 156px;
  left: 50%;
  width: min(1280px, 100%);
  height: 100%;
  background: url(/wp/wp-content/themes/cosmos-cpa/img/system/page-deco-pc.png) repeat-y;
  background-size: 100% auto;
}

@media screen and (max-width: 768px) {
  main::before {
    top: 110px;
    background: url(/wp/wp-content/themes/cosmos-cpa/img/system/page-deco-sp.png) repeat-y;
    background-size: 100% auto;
  }
}
/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  overflow-x: clip;
  margin: 0 auto;
}

.fv .breadcrumb {
  position: absolute;
  top: 0;
  left: 0;
  padding: 25px 48px;
  overflow: scroll;
  z-index: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

 .fv .breadcrumb::-webkit-scrollbar{
  display: none;
}

@media screen and (max-width: 768px) {
  .fv .breadcrumb {
    position: initial;
    padding: 10px 24px;
  }
}

.fv .breadcrumb .list {
  display: flex;
}

.fv .breadcrumb .list .item {
  position: relative;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  min-width: max-content;
  padding-left: 20px;
  margin-right: 15px;
}

@media screen and (max-width: 768px) {
  .fv .breadcrumb .list .item {
    font-size: 1rem;
    margin-right: 10px;
  }
}

.fv .breadcrumb .list .item:first-of-type::before {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #17CEFF;
}

.fv .breadcrumb .list .item:not(:first-of-type)::before {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 0;
  width: 10px;
  height: 1px;
  background-color: #000;
}

.fv .breadcrumb .list .item:last-of-type {
  padding-right: 20px;
  margin-right: 0;
}

@media screen and (min-width: 769px) {
  .fv .breadcrumb .list .item a {
    transition: opacity 0.3s ease;
  }

  .fv .breadcrumb .list .item a:hover {
    opacity: 0.7;
  }
}

.fv .inner {
  position: relative;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .fv .inner {
    margin: 20px auto 0;
  }
}

.fv .image {
  width: min(calc(1014/1280*100vw),1014px);
  display: block;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .fv .image {
    width: calc(350/375*100vw);
  }
}

.fv .inner .ttl-group {
  position: absolute;
  translate: -50% -50%;
  top: 40%;
  left: 50%;
  max-width: calc(1018px + 48px * 2);
  width: 100%;
  padding: 0 48px;
  color: #001932;
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group {
    translate: -50% 0;
    top: 14.613%;
    padding: 0 24px;
  }
}

.fv .inner .ttl-group .ttl {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-shadow: 2px 3px 3px rgba(255, 255, 255, 1);
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group .ttl {
    font-size: 2.2rem;
  }
}

.fv .inner .ttl-group .subttl {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 15px;
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group .subttl {
    font-size: 1.3rem;
    margin-top: 8px;
  }
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ message ↓↓↓ */
.message {
  position: relative;
  overflow-x: clip;
}

.message .inner {
  max-width: 1280px;
  margin: 0 auto;
}

.message .section-ttl {
  position: absolute;
  translate: -50% -50%;
  text-align: right;
  top: 0;
  left: 50%;
  max-width: 1280px;
  width: 100%;
  font-family: var(--jost);
  font-size: min(130px, calc((130 - 75) * ((100vw - 769px) / (1280 - 769)) + 75px));
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  color: #DCF8FF;
  mix-blend-mode: hard-light;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .message .section-ttl {
    translate: -50% -75%;
    font-size: calc((75 - 45) * ((100vw - 375px) / (768 - 375)) + 45px);
  }
}

.message .content .text {
  text-align: justify;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  line-height: 2.375;
}

.message .content.-order01 {
  position: relative;
  padding: 140px 25px 200px;
}

@media screen and (max-width: 768px) {
  .message .content.-order01 {
    padding: 20vw 25px 100px;
  }
}

.message .content.-order01 .bg {
  position: absolute;
  width: 2072px;
  aspect-ratio: 2072 / 1215;
  background-color: #F2F6F6;
  clip-path: polygon(39% 0%, 100% 0%, 61% 100%, 0% 100%);
  top: 315px;
  right: -395px;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .message .content.-order01 .bg {
    width: 1369px;
    aspect-ratio: 1369 / 1216;
    clip-path: polygon(59% 0%, 100% 0%, 41% 100%, 0% 100%);
    top: 305px;
    left: -540px;
  }
}

.message .content.-order01 .text-group {
  max-width: 836px;
  margin: 0 auto;
  color: #001932;
}

.message .content.-order01 .lead {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 55px;
}

@media screen and (max-width: 768px) {
  .message .content.-order01 .lead {
    font-size: 1.8rem;
    margin-bottom: 45px;
  }
}

.message .content.-order01 .text:not(:first-of-type) {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .message .content.-order01 .text:not(:first-of-type) {
    margin-top: 40px;
  }
}
/* ↑↑↑ message ↑↑↑ */