/* ============================================================
   p-other.css — その他の加工
   移植元: src/pages/service/other.astro の <style>
   ============================================================ */

  /* about */
  .about__section {
    width: var(--w-sp);
    max-width: 1200px;
    margin-inline: auto;
  }
  @media (width >= 768px) {
    .about__section {
      width: var(--w-md);
      max-width: 1200px;
      margin-inline: auto;
    }
  }
  .about__bg {
    background-color: var(--color-white);
    padding-top: 80px;
    padding-bottom: 120px;
  }
  @media (width >= 768px) {
    .about__bg {
      padding-top: 120px;
    }
  }
  .about__subtext {
    font-size: 16px;
    line-height: calc(28 / 16);
    color: var(--color-black);
    margin-top: 52px;
    margin-bottom: 70px;
    font-weight: 500;
  }
  @media (width >= 768px) {
    .about__subtext {
      font-size: 16px;
      color: var(--color-black);
      max-width: 314px;
      margin-top: 50px;
      padding-left: 46px;
    }
  }
  .about__itemTitle,
  .about__itemText {
    color: var(--color-black);
  }
  .about__itemTitle {
    font-weight: 700;
    padding-block: 8px;
  }
  .about__itemText {
    font-weight: 500;
    font-size: 15px;
  }

  @media (width >= 768px) {
    .about__itemList {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .about__itemWrap {
      width: calc(738 / 1200 * 100%);
      margin-left: auto;
      padding-bottom: 290px;
    }
  }
  .about__subTitle {
    color: var(--color-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .about__item + .about__item {
    margin-top: 40px;
  }
  @media (width >= 768px) {
    .about__subTitle {
      font-size: 24px;
      margin-bottom: 45px;
    }
    .about__item {
      width: calc(351 / 738 * 100%);
      font-size: var(--color-black);
    }
    .about__item:nth-child(2n) {
      position: relative;
      top: 120px;
    }
    .about__item + .about__item {
      margin-top: 42px;
    }
  }
  /* flow_faq */
  .flow__faq_content {
    height: 100%;
    position: relative;
  }
  @media (width >= 768px) {
    .flow__faq_content {
      width: 1200px;
      height: 100%;
      position: relative;
    }
  }
  .flow__faq_textWrap {
    position: absolute;
    inset: 0;
    width: calc(1000 / 1200 * 100%);
    margin-inline: auto;
    height: 100%;
    z-index: 10;
    color: var(--color-black);
  }
  .flow__faq_inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 76px;
    left: 0;
    margin-inline: auto;
  }
  @media (width >= 768px) {
    .flow__faq_inner {
      top: 81px;
    }
  }
  .flow__faq_title {
    margin-bottom: 20px;
    font-size: 28px;
    font-family: var(--font-poppins);
  }
  @media (width >= 768px) {
    .flow__faq_title {
      margin-bottom: 28px;
      font-size: 35px;
    }
  }
  .flow__faq_title .-blue {
    color: var(--color-blue);
  }
  .flow__faq_title .-gray {
    color: var(--color-gray2);
  }
  .flow__faq_text {
    line-height: calc(30 / 18);
    max-width: 256px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .flow__faq_section {
    margin-top: 120px;
  }
  @media (width >= 768px) {
    .flow__faq_text {
      max-width: 332px;
      font-size: 18px;
      margin-bottom: 28px;
    }
  }
  .hero {
    position: relative;
    height: 100vh;
    background-image: url(../img/other_bg.webp);
    background-position: -200px 0;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .hero__breadcrumb {
    width: calc(327 / 375 * 100%);
    margin-inline: auto;
    position: absolute;
    top: 132px;
    left: 0;
    right: 0;
  }
  @media (width >= 768px) {
    .hero {
      background-position: center;
    }
    .hero__breadcrumb {
      width: min(calc(1000 / 1600 * 100%), 1000px);
      top: 246px;
    }
  }
  .hero__topBg {
    display: block;
    width: 100%;
    background-color: var(--color-blue);
  }

  .hero__triangle01 {
    position: absolute;
    left: -80px;
    top: 0px;
    width: 429px;
    animation: clipA 0.5s forwards;
    clip-path: polygon(0% 0%, 0 0, 27% 0, 27% 0, 27% 0, 27% 0);
    animation-delay: 0.4s;
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
  }
  .hero__triangle02 {
    position: absolute;
    left: -56px;
    bottom: 0px;
    width: 243px;
    animation: clipC 0.5s forwards;
    clip-path: polygon(0 50%, 0 0, 0 0, 0 50%);
    animation-delay: 0.4s;
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
  }
  @media (width >= 768px) {
    .hero__triangle01 {
      width: clamp(500px, calc(896 / 1600 * 100%), 896px);
      left: 80px;
    }
    .hero__triangle02 {
      position: absolute;
      left: -56px;
      bottom: 0px;
      width: clamp(300px, calc(525 / 1600 * 100%), 525px);
      animation: clipB 0.5s forwards;
      clip-path: polygon(35% 100%, 0 100%, 0 100%, 35% 100%, 35% 100%, 35% 100%);
      animation-delay: 0.4s;
      animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    }
  }
  .hero__triangle01 img {
    width: 100%;
  }
  @keyframes clipA {
    0% {
      clip-path: polygon(0% 0%, 0 0, 27% 0, 27% 0, 27% 0, 27% 0);
    }
    50% {
      clip-path: polygon(0% 0%, 50% 100%, 61% 71%, 50% 49%, 50% 50%, 27% 0);
    }
    100% {
      clip-path: polygon(0% 0%, 50% 100%, 100% 0, 73% 0, 50% 50%, 27% 0);
    }
  }
  @keyframes clipB {
    0% {
      clip-path: polygon(35% 100%, 0 100%, 0 100%, 35% 100%, 35% 100%, 35% 100%);
    }
    50% {
      clip-path: polygon(35% 100%, 0 100%, 50% 0, 68% 36%, 50% 72%, 50% 72%);
    }
    100% {
      clip-path: polygon(37% 100%, 0% 100%, 50% 2%, 100% 100%, 63% 100%, 50% 70%);
    }
  }
  @keyframes clipC {
    0% {
      clip-path: polygon(0 50%, 0 0, 0 0, 0 50%);
    }
    100% {
      clip-path: polygon(0 51%, 0 0, 100% 100%, 49% 100%);
    }
  }
