@charset "UTF-8";
/* ============================= 共通パーツレイアウト ============================= */
@media screen {
   :root {
      --color-accent: #FF9000;
      --color-grey: #C1C6CB;
      --color-main: #1F1F21;
      --color-text: #333333;

      --font-default: 'Jost', 'Noto Sans JP', sans-serif;

      --fs-10: 10px;
      --fs-12: 12px;
      --fs-13: 13px;
      --fs-15: 15px;
      --fs-16: 16px;
      --fs-20: 20px;
      --fs-24: 24px;
      --fs-26: 26px;
      --fs-28: 28px;
      --fs-32: 32px;
      --fs-36: 36px;
      --fs-40: 40px;
      --fs-48: 48px;
      --fs-56: 56px;
      --fs-88: 88px;
      --fs-96: 96px;
   }

   html {
      scroll-behavior: smooth;
   }

   body {
      font-family: var(--font-default);
      font-weight: 500;
      color: var(--color-text);
      font-size: var(--fs-13);
      line-height: 1.7;
      background-color: #fff;
      letter-spacing: .02em;
      position: relative;
   }

   a {
      transition: opacity .3s;
   }

   a:hover {
      opacity: 0.7;
   }

   img {
      width: 100%;
   }

   .sp {
      display: none;
   }

   .innerWrap {
      margin: 0 auto;
   }

   h2 {
      font-size: var(--fs-36);
      line-height: 1.4;
      margin-bottom: 88px;
   }

   h2::before {
      content: "";
      display: inline-block;
      width: 40px;
      height: 33px;
      margin-right: 8px;
      background-image: url(../img/icon_h2.svg);
      background-repeat: no-repeat;
      background-size: contain;
   }

   h2 span {
      display: block;
      font-size: var(--fs-13);
      padding-left: 48px;
   }

   .btn_common {
      background-color: #fff;
      width: 100%;
      max-width: 360px;
      height: 64px;
      padding: 0 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: var(--fs-24);
      letter-spacing: .04em;
      color: var(--color-text);
   }

   .btn_common.btn_common_b {
      background-color: #1F1F21;
      color: #fff;
   }

   .btn_common::after {
      content: '';
      display: block;
      width: 10px;
      height: 10px;
      border-top: 2px solid var(--color-text);
      border-right: 2px solid var(--color-text);
      transform: rotate(45deg);
   }

   .btn_common.btn_common_b::after {
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
   }

   header {
      height: 96px;
      padding: 28px 96px 0;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      transition: background-color 0.3s ease;
   }

   header.scrolled {
      background-color: rgba(255, 255, 255, 0.7);
   }

   header .innerWrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   header .innerWrap h1 {
      width: 72px;
   }

   header .innerWrap nav ul {
      display: flex;
      align-items: center;
      justify-content: center;
   }

   header .innerWrap nav ul li:not(:last-child) {
      padding-right: 72px;
      background-image: url(../img/slash.svg);
      background-repeat: no-repeat;
      background-position: right 32px center;
   }

   header .innerWrap nav ul li a {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      line-height: 1;
   }

   header .innerWrap nav ul li a span {
      font-size: var(--fs-10);
   }

   footer {
      padding: 96px 96px 64px;
      background-color: var(--color-main);
      color: #fff;
      display: flex;
      justify-content: space-between;
      line-height: 1;
   }



   footer .ftLeft .ftLogo {
      width: 92px;
      margin-bottom: 24px;
   }

   footer .ftLeft .ftAdress {
      margin-bottom: 48px;
      font-size: var(--fs-13);
   }

   footer .ftLeft .ftMail {
      margin-bottom: 20px;
      font-size: var(--fs-28);
      letter-spacing: .04em;
   }

   footer .ftLeft ul {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 32px;
   }

   footer .ftLeft .ftPrivacy {
      display: flex;
      align-items: center;
      gap: 8px;
   }

   footer .ftLeft .ftPrivacy::after {
      content: "";
      width: 13px;
      height: 13px;
      background-image: url(../img/icon_linkout.svg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
   }

   footer .ftCopy {
      font-size: var(--fs-10);
      color: #5f5f5f;
   }

   footer .ftRight {
      display: flex;
      align-items: flex-end;
      gap: 96px;
   }

   footer .ftRight iframe {
      filter: invert(100%) grayscale(100%) brightness(50%);
      width: 460px;
      height: 230px;
   }

   footer .ftRight a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 1px solid #fff;
   }
}

/* ============================= 各セクション ============================= */
@media screen {
   #solution {
      scroll-margin-top: 96px;
   }

   #about {
      scroll-margin-top: -100px;
   }

   #recruits {
      scroll-margin-top: calc(-37.5vw + 140px);
   }

   #contact {
      scroll-margin-top: 60px;
   }

   section.cover {
      position: relative;
      padding-top: 96px;
      z-index: 5;
   }

   section.cover::before {
      content: "";
      position: absolute;
      top: 0;
      left: 96px;
      width: calc(100vw * (409 / 1440));
      height: calc(100vw * (294 / 1440));
      background-image: url(../img/MV-line01.svg);
      background-size: contain;
      background-repeat: no-repeat;
   }

   section.cover::after {
      content: "";
      position: absolute;
      top: calc(100vw * (698 / 1440));
      right: 0;
      width: calc(100vw * (653 / 1440));
      height: calc(100vw * (650 / 1440));
      background-image: url(../img/MV-line02.svg);
      background-size: contain;
      background-repeat: no-repeat;
   }

   section.cover .movieContainer {
      width: 100%;
      aspect-ratio: 144 / 77.8;
      position: relative;
      z-index: -1;
      overflow: hidden;
   }

   section.cover .movieContainer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(../img/movieCover.svg);
      background-size: cover;
      background-repeat: no-repeat;
   }

   section.cover .movieContainer video {
      width: 100%;
      height: 100%;
      object-fit: cover;
   }

   section.cover .MV {
      color: #fff;
      font-size: calc(100vw * (96 / 1440));
      position: absolute;
      left: calc(100vw * (540 / 1440));
      top: calc(100vw * (470 / 1440));
      line-height: 1.1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
   }

   section.cover .MV p:first-child {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
   }

   section.cover .MV p:last-child {
      color: var(--color-text);
      font-size: calc(100vw * (32 / 1440));
      display: inline-block;
      background-color: #fff;
      padding: 10px 16px 8px;
      ;
      line-height: 1;
   }

   section.solution {
      z-index: 10;
      position: relative;
      padding: 32px 0 80px;
   }

   section.solution .innerWrap {
      width: 100%;
      max-width: 750px;
   }

   section.solution h3 {
      font-size: var(--fs-48);
      display: flex;
      align-items: center;
      gap: 16px;
      line-height: 1;
      margin-bottom: 48px;
   }

   section.solution h3 span {
      transform: translateY(-4px);
   }

   section.service {
      background-color: var(--color-main);
      padding-top: 160px;
      position: relative;
   }

   section.service::before {
      content: "";
      position: absolute;
      top: max(-137px, calc(100vw * (-137 / 1440)));
      right: 0;
      max-width: 697px;
      min-width: 359px;
      width: calc(100vw * (697 / 1440));
      aspect-ratio: 697 / 399;
      background-image: url(../img/img_service01.png);
      background-size: contain;
      background-repeat: no-repeat;
      ;
   }

   section.service .service-intro {
      color: #fff;
      margin-bottom: 100px;
   }

   section.service .service-intro .innerWrap {
      max-width: 1040px;
      width: 100%;
   }

   section.service .service-intro .innerWrap>div {
      margin-left: 192px;
      width: 560px;
      max-width: 100%;
   }

   section.service .service-intro h3 {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 48px;
   }

   section.service .service-intro h3 span {
      color: var(--color-text);
      font-size: 40px;
      display: inline-block;
      background-color: #fff;
      padding: 10px 16px 8px;
      line-height: 1;
   }

   section.service .service-contents {
      position: relative;
      overflow: hidden;
   }

   section.service .service-contents::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 310px;
      width: 500vw;
      height: 220px;
      background-color: #fff;
      transform-origin: bottom left;
      transform: rotate(-45deg);
      z-index: 1;
   }

   section.service .service-contents::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 310px;
      background-color: #fff;
      z-index: 1;
   }

   section.service .service-contents>section {
      background-color: #fff;
      width: calc(100vw - 240px);
      z-index: 5;
      position: relative;
      display: flex;
      gap: 68px;
   }

   section.service .service-contents>section:nth-child(even) {
      padding: 56px 96px 56px 240px;
   }

   section.service .service-contents>section:nth-child(odd) {
      margin-left: 240px;
      padding: 56px 240px 56px 96px;
   }

   section.service .service-contents>section:not(:last-child) {
      margin-bottom: 56px;
   }

   section.service .service-contents>section h3 {
      font-size: var(--fs-20);
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 1.2em;
      gap: 10px;
   }

   section.service .service-contents>section h3 span:last-child {
      writing-mode: vertical-lr;
      letter-spacing: .2em;
   }

   section.service .service-contents>section h3 span:first-child {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
   }

   section.service .service-contents>section h3 span:first-child::after {
      content: "";
      display: block;
      width: 20px;
      height: 20px;
      background-image: url(../img/slash2.svg);
      background-size: contain;
      background-repeat: no-repeat
   }

   section.service .service-contents>section>div {
      width: 100%;
      max-width: 750px;
   }

   section.service .service-contents>section>div h4 {
      display: flex;
      flex-direction: column;
      font-size: var(--fs-26);
      line-height: 1.5;
      gap: 56px;
      letter-spacing: .04em;
      margin-bottom: 32px;
   }

   section.service .service-contents>section>div h4 span {
      color: var(--color-accent);
      font-size: var(--fs-13);
      letter-spacing: .02em;
   }

   section.service .service-contents>section>div>p {
      margin-bottom: 40px;
   }

   section.service .service-contents>section>div>ul {
      line-height: 2;
      font-size: var(--fs-16);
   }

   section.service .service-contents>section>div>ul li {
      display: flex;
      align-items: center;
      gap: 8px;
   }

   section.service .service-contents>section>div>ul li::before {
      content: "";
      display: block;
      width: 18px;
      height: 14px;
      background-image: url(../img/icon_h2.svg);
      background-repeat: no-repeat;
      background-size: contain;
   }

   section.recruits {
      background-image: url(../img/bg_recruit.png);
      background-size: 100% auto;
      background-repeat: no-repeat;
      padding-top: 37.5vw;
      padding-bottom: max(16.5vw, 160px);
      color: #fff;
      position: relative;
   }

   section.recruits::after {
      content: "";
      width: 100vw;
      height: calc(100% - 32.5vw);
      background-image: url(../img/bg_recruit2.png);
      background-size: cover;
      background-position: bottom center;
      background-repeat: no-repeat;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: -1;
   }

   section.recruits h2 {
      margin-bottom: 128px;
   }

   section.recruits .innerWrap {
      width: 100%;
      max-width: 750px;
      margin-left: 150px;
   }

   section.recruits .innerWrap>section {
      max-width: 550px;
      width: 100%;
      margin-left: clamp(16px, calc(52.4096vw - 386.506px), 190px);
      z-index: 2;
      position: relative;
   }

   section.recruits .innerWrap>section h3 {
      font-size: var(--fs-40);
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-bottom: 96px;
      line-height: 1;
      letter-spacing: .04em;
   }

   section.recruits .innerWrap>section p {
      margin-bottom: 96px;
   }

   section.about {
      padding-top: 242px;
      padding-bottom: 90px;
      margin-top: -200px;
      background-image: url(../img/bg_about.png);
      background-size: cover;
      background-position: top right;
      background-repeat: no-repeat;
      position: relative;
   }

   section.about::before {
      content: "";
      width: clamp(260px, calc(64.2857vw - 233.7143px), 692px);
      aspect-ratio: 692 / 364;
      background-image: url(../img/bg_about2.png);
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      right: 0;
      z-index: 0;

      /* top: 114px - (現在のheight) 
       = 114px + (現在のwidth * -(364/692))
    */
      top: calc(114px + clamp(-364px,
               /* 692px * -(364/692) */
               calc(-33.803vw + 122.9px),
               /* (64.2857vw - 233.7143px) * -(364/692) */
               -136.705px
               /* 260px * -(364/692) */
            ));
   }

   section.about::after {
      content: "";
      width: clamp(289px, calc(60.8631vw - 178.4286px), 698px);
      aspect-ratio: 698 / 509;
      background-image: url(../img/bg_about3.png);
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 0;
   }


   section.about .innerWrap {
      width: 100%;
      max-width: 1120px;
      padding-left: 180px;
   }

   section.about .innerWrap>section {
      margin-left: clamp(0px, calc(57.2289vw - 439.5181px), 190px);
      width: 100%;
      max-width: 750px;
      z-index: 2;
      position: relative;
   }

   section.about h2 {
      margin-bottom: 18px;
   }

   section.about h3 {
      font-size: var(--fs-40);
      letter-spacing: .04em;
      line-height: 1.4;
      margin-bottom: 96px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      align-items: flex-start;
   }

   section.about h3>span {
      display: flex;
      align-items: baseline;
      background-color: #fff;
      padding: 0 14px;
   }

   section.about h3>span span {
      font-size: var(--fs-88);
   }

   section.about .innerWrap>section>p:first-of-type {
      max-width: 560px;
      width: 100%;
      margin-bottom: 32px;
   }

   section.about .innerWrap>section>p:last-of-type {
      font-size: var(--fs-56);
      color: var(--color-grey);
      line-height: 1.2;
   }

   section.company {
      padding-top: 160px;
      padding-bottom: 160px;
   }

   section.company .innerWrap {
      max-width: 1140px;
      width: 100%;
      display: flex;
      gap: 128px;
      padding: 0 16px;
   }

   section.company .innerWrap h3 {
      font-size: var(--fs-40);
      line-height: 1.5;
      letter-spacing: .04em;
      margin-bottom: 56px;
   }

   section.contact {
      background-color: #f8f8f8;
      padding-top: 120px;
      padding-bottom: 160px
   }

   section.contact>section {
      padding: 0 16px;
   }

   section.contact .innerWrap {
      max-width: 1140px;
      width: 100%;
      margin-bottom: 80px;
      padding: 0 16px;
   }

   section.contact .innerWrap h2 {
      margin-bottom: 56px;
   }

   .page-company main>section:first-of-type {
      padding-top: calc(120px + 96px);
      padding-bottom: 380px;
      position: relative;
   }

   .page-company main>section:first-of-type::before {
      content: "";
      width: 579px;
      aspect-ratio: 579 / 238;
      background-image: url(../img/bg_pageCompany01.png);
      background-size: cover;
      position: absolute;
      right: 0;
      top: 190px;
      z-index: 0;
   }

   .page-company main>section:first-of-type::after {
      content: "";
      width: 100%;
      max-width: 823px;
      aspect-ratio: 823 / 586;
      background-image: url(../img/bg_pageCompany02.png);
      background-size: cover;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 0;
   }

   .page-company main>section:first-of-type h2 {
      z-index: 1;
      position: relative;
   }

   .page-company main>section:first-of-type .innerWrap {
      max-width: 1140px;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 54px;
      padding: 0 16px;
      position: relative;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type {
      margin-left: clamp(0px, calc(57.2289vw - 439.5181px), 190px);
      z-index: 1;
      position: relative;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type h3 {
      font-size: var(--fs-40);
      line-height: 1.5;
      letter-spacing: .04em;
      margin-bottom: 96px;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>div {
      width: 100%;
      max-width: 750px;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>div p {
      margin-bottom: 20px;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>p {
      margin-top: 72px;
      font-size: var(--fs-56);
      color: #EAEAEA;
      line-height: 1.2;
   }

   .page-company main>section:last-of-type {
      margin-top: -260px;
      margin-bottom: -1px;
   }

   .page-company main>section:last-of-type .innerWrap {
      margin-left: 272px;
      width: calc(100% - 272px);
      background-image: url(../img/bg_pageCompany03.svg);
      background-size: auto 100%;
      background-repeat: no-repeat;
      background-position: left top;
      padding: 72px calc(96px + 96px + 56px) 24px 0;
      display: flex;
      justify-content: flex-end;
   }

   .page-company .company-info {
      max-width: 460px;
      width: 100%;
      margin: 0;
      color: #fff;
   }

   .page-company .company-info .info-row {
      display: flex;
      padding: 32px 0;
   }

   .page-company .company-info .info-row:not(:last-child) {
      border-bottom: 1px solid #fff;
   }

   .page-company .company-info .info-row dt {
      /* 伸びない / 縮む / 基準幅130px */
      flex: 0 1 120px;
   }

   .page-company .company-info .info-row dd {
      /* 伸びない / 縮む / 基準幅330px */
      flex: 0 1 340px;
   }
}

/* ============================= レスポンシブ〜1440px ============================= */
@media screen and (max-width:1440px) {
   .page-company main>section:first-of-type::after {
      left: calc((100vw - 1440px) / 2 - 120px);
   }

   .page-company main>section:last-of-type .innerWrap {
      margin-left: calc(272px - ((1440px - 100vw) / 2) - 120px);
      width: calc(100vw - (272px - ((1440px - 100vw) / 2)) + 120px)
   }
}

/* ============================= レスポンシブ〜1100px ============================= */
@media screen and (max-width:1100px) {


   main>section .innerWrap {
      padding: 0 16px;
   }

   section.service .service-intro .innerWrap>div {
      margin-left: 0;
   }

   section.service .service-contents>section:nth-child(even) {
      padding: 56px;
   }

   section.service .service-contents>section:nth-child(odd) {
      margin-left: clamp(16px, calc(67.47vw - 502.17px), 240px);
      padding: 56px;
   }

   section.service .service-contents>section {
      width: calc(100vw - clamp(16px, calc(67.47vw - 502.17px), 240px));
   }

   section.recruits .innerWrap {
      margin-left: 0;
      padding-left: 16px;
      padding-right: 16px;
   }

   section.about .innerWrap {
      padding-left: 16px;
   }

   section.about {
      padding-bottom: 210px;
      margin-top: -60px;
      padding-top: 132px;
   }

   section.company .innerWrap {
      flex-direction: column;
      gap: 0;
   }

   footer .pc {
      display: none;
   }

   footer .sp {
      display: initial;
   }


   footer {
      flex-direction: column;
      gap: 32px;
   }

   footer .ftRight {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
   }

   footer .ftRight>div {
      display: flex;
      align-items: center;
      width: 460px;
      justify-content: space-between;
   }

   .page-company main>section:last-of-type .innerWrap {
      padding: 72px 96px 24px 0;
   }
}

/* ============================= レスポンシブ〜768px ============================= */
@media screen and (max-width:768px) {
   .sp {
      display: initial;
   }

   h2 {
      font-size: var(--fs-20);
      margin-bottom: 72px;
   }

   h2 span {
      font-size: var(--fs-10);
      padding-left: 28px;
   }

   h2::before {
      width: 20px;
      height: 16px;
   }

   section.cover {
      padding-top: 56px;
   }

   section.cover::before {
      top: 56px;
      left: 40px;
   }
   section.cover .MV {
      color: var(--color-text);
      font-size: 40px;
      left: 8px;
      top: calc(56px + (100vw * (778 / 1440)) - 10px);
      z-index: 10;
   }

   section.cover .MV p:first-child {
      gap: 4px;
   }

   section.cover .MV p:first-child span {
      background-color: #fff;
      padding: 0 4px;
      align-self: flex-start;
   }

   section.cover .MV p:last-child {
      font-size: 18px;
      display: inline-block;
      background-color: #fff;
      padding: 4px;
      line-height: 1;
   }

   section.solution {
      padding: 190px 0 124px;
   }

   section.solution h3 {
      font-size: var(--fs-40);
      margin-bottom: 40px;
   }

   section.service {
      padding-top: 185px;
   }

   section.service::before {
      top: -68px;
   }

   section.service .service-intro h3 span {
      font-size: 26px;
      padding: 10px 16px 8px;
   }

   section.service .service-contents>section:nth-child(even) {
      padding: 32px 16px;
   }

   section.service .service-contents>section:nth-child(odd) {
      padding: 32px 16px;
   }

   section.service .service-contents>section {
      flex-direction: column;
      gap: 8px;
   }

   section.service .service-contents>section h3 {
      flex-direction: row;
      align-items: flex-start;
      width: 100%;
      gap: 4px;
      font-size: var(--fs-15);
   }

   section.service .service-contents>section h3 span:first-child {
      flex-direction: row;
   }

   section.service .service-contents>section h3 span:last-child {
      writing-mode: horizontal-tb;
      letter-spacing: .02em;
   }

   section.service .service-contents>section h3 span:first-child::after {
      width: 12px;
      height: 12px;
   }

   section.service .service-contents>section>div h4 span {
      font-size: var(--fs-12);
   }

   section.service .service-contents>section>div h4 {
      font-size: var(--fs-24);
      gap: 40px;
   }

   section.service .service-contents>section>div>ul {
      font-size: var(--fs-14);
   }

   section.service .service-contents>section>div>ul li::before {
      width: 15px;
      height: 12px;
   }

   section.service .service-contents::after {
      height: 210px;
   }

   section.service .service-contents::before {
      bottom: 760px;
   }

   section.recruits h2 {
      margin-bottom: 72px;
   }

   section.recruits .innerWrap>section h3 {
      font-size: var(--fs-26);
      gap: 14px;
      margin-bottom: 40px;
   }

   section.recruits .innerWrap>section p {
      margin-bottom: 32px;
   }

   section.recruits {
      padding-top: 47.5vw;
   }

   section.recruits .innerWrap>section {
      width: 100%;
      margin-left: 0;
   }

   section.about {
      background-image: url(../img/bg_about_sp.png);
   }

   section.about h2 {
      margin-bottom: 72px;
   }

   section.about h3 {
      font-size: var(--fs-26);
      margin-bottom: 40px;
      gap: 8px;
   }

   section.about h3>span span {
      font-size: var(--fs-48);
   }

   section.about .innerWrap>section>p:last-of-type {
      font-size: var(--fs-24);
      color: #fff;
   }

   section.company .innerWrap h3 {
      font-size: var(--fs-24);
      margin-bottom: 32px;
   }

   section.company {
      padding-top: 80px;
      padding-bottom: 80px;
   }

   .submit-btn {
      max-width: unset;
   }

   footer {
      padding: 48px 16px 32px;
   }

   footer .ftLeft .ftLogo {
      width: 65px;
   }

   footer .ftLeft .ftMail {
      margin-bottom: 18px;
      font-size: var(--fs-24);
   }

   footer .ftRight iframe {
      width: 100%;
      height: 200px;
   }

   footer .ftRight>div {
      width: 100%;
   }

   .page-company main>section:first-of-type {
      padding-top: calc(72px + 56px);
      padding-bottom: 40px;
   }

   .page-company main>section:first-of-type::before {
      width: 309px;
      top: 56px;
   }

   .page-company main>section:first-of-type::after {
      display: none;

   }

   .page-company main>section:first-of-type .innerWrap {
      gap: 0;
   }


   .page-company main>section:first-of-type .innerWrap>section:first-of-type h3 {
      font-size: var(--fs-26);
      margin-bottom: 40px;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>div:first-of-type {
      margin-bottom: 40px;
      padding-bottom: 212px;
      position: relative;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>div:first-of-type::after {
      content: "";
      max-width: 357px;
      width: 100%;
      aspect-ratio: 357 / 208;
      background-image: url(../img/bg_pageCompany02.png);
      background-size: cover;
      position: absolute;
      bottom: 0;
      left: -16px;
   }

   .page-company main>section:first-of-type .innerWrap>section:first-of-type>p {
      margin-top: 32px;
      font-size: var(--fs-24);
   }

   .page-company main>section:last-of-type {
      margin-top: -96px;
   }

   .page-company main>section:last-of-type .innerWrap {
      margin-left: 16px;
      width: calc(100vw - 16px);
      padding: 96px 32px 0 16px;
      background-image: url(../img/bg_pageCompany03_sp.svg);
   }

   .page-company .company-info {
      max-width: unset;
   }

   .page-company .company-info .info-row {
      flex-direction: column;
      gap: 16px;
   }

   .page-company .company-info .info-row dt {
      flex: 0 0 100%;
   }

   .page-company .company-info .info-row dd {
      flex: 0 0 100%;
   }
}


/* ============================= ハンバーガー ============================= */
@media screen and (max-width:1000px) {
   body.no-scroll {
      overflow: hidden;
   }

   header {
      padding: 28px 16px 0;
   }

   .sp.hmbgrbtn-container {
      display: block;
      width: 32px;
      height: 32px;
      padding: 2px;
      position: absolute;
      top: 12px;
      right: 16px;
      z-index: 1001;
   }

   /* ハンバーガーボタン */
   .menu-toggle {
      width: 30px;
      height: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      gap: 8px;
      cursor: pointer;
      background: none;
      border: none;
   }

   .menu-toggle span {
      display: block;
      height: 2px;
      width: 100%;
      background: var(--color-text);
      transition: all 0.3s ease;
   }

   .menu-toggle span:nth-child(2) {
      width: 16px;
   }

   /* ✗に変形 */
   .menu-toggle.active span:nth-child(1) {
      transform: translateY(5px) rotate(45deg);
      background: #fff;
   }

   .menu-toggle.active span:nth-child(2) {
      transform: translateY(-5px) rotate(-45deg);
      background: #fff;
      width: 100%;
   }

   /* ナビゲーションメニュー */

   header nav.open {
      right: 0;
   }

   header nav {
      position: fixed;
      top: 0;
      right: -100vw;
      width: 100vw;
      height: 100vh;
      color: #fff;
      background: var(--color-main);
      transition: right 0.35s ease;
      z-index: 1000;
      padding: 114px 0 0;
   }

   header nav::before {
      content: "";
      position: absolute;
      top: 28px;
      left: 16px;
      width: 72px;
      height: 62px;
      background-image: url(../img/logoW.png);
      background-repeat: no-repeat;
      background-size: contain;
   }

   header .innerWrap>nav>ul {
      flex-direction: column;
      align-items: center;
      gap: 0;
   }

   header .innerWrap>nav>ul li {
      width: 100%;
      position: relative;
   }

   header .innerWrap nav ul li:not(:last-child) {
      padding-right: 0;
      padding-bottom: 72px;
      background-image: url(../img/slashW.svg);
      background-repeat: no-repeat;
      background-position: center bottom 28px;
   }

   header .innerWrap>nav>ul li a {
      align-items: center;
   }
}

@media screen and (max-width:768px) {

   header {
      height: 56px;
      padding: 8px 16px 0;
   }

   header .innerWrap h1 {
      width: 46px;
   }

   .pc {
      display: none;
   }

   header nav::before {
      top: 8px;
      width: 46px;
      height: 40px;
   }
}


/* ============================= モーダルUI共通制御 ============================= */
@media screen {
   /* オーバーレイのスタイル */
   #modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      /* スクリーンショットに合わせた暗めの背景 */
      z-index: 100;
      justify-content: center;
      align-items: center;
   }

   /* オーバーレイ表示時のクラス */
   #modal-overlay.is-visible {
      display: flex;
      z-index: 2000;
   }

   /* モーダルコンテンツ（確認・完了・プライバシー共通） */
   .modal-content {
      display: none;
      background-color: #fff;
      border-radius: 8px;
      padding: 80px 72px;
      width: 100%;
      max-width: 766px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
   }

   /* モーダルヘッダー */
   .modal-header {
      margin-bottom: 40px;
   }

   .modal-head-en {
      font-size: var(--fs-24);
      font-weight: 500;
      letter-spacing: .02em;
   }

   .modal-head-ja {
      font-size: var(--fs-13);
      letter-spacing: .04em;
      font-weight: 700;
   }

   /* モーダルボディ（完了/プライバシー画面のテキスト） */
   .sent-text {
      text-align: left;
      font-size: 0.875rem;
      /* 14px */
      line-height: 1.8;
      color: #333;
   }

   .sent-text p {
      margin-bottom: 1.5em;
   }

   .sent-text p:last-child {
      margin-bottom: 0;
   }

   /* モーダルフッター（ボタン類） */
   .modal-footer {
      margin-top: 40px;
      text-align: center;
   }

   .modal-close-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.875rem;
      /* 14px */
      font-weight: 700;
      color: #333;
      background: none;
      border: none;
      cursor: pointer;
   }

   .modal-close-btn .close-icon {
      font-size: var(--fs-24);
      font-weight: 300;
      margin-right: 8px;
      line-height: 1;
      transform: translateY(-2.5px);
   }

   #privacy-modal .modal-body {
      text-align: justify;
      height: calc(100svh - 380px);
      overflow-y: scroll;
   }
   #privacy-modal .modal-body>section:not(:last-child) {
      margin-bottom: 20px;
   }
   #privacy-modal .modal-body>section h4 {
      font-weight: 700;
   }
}

@media screen and (max-width:768px) {
   .modal-content {
      border-radius: 4px;
      padding: 24px 8px;
      width: calc(100% - 16px);
      height: calc(100svh - 16px);
   }

   .modal-header {
      margin-bottom: 20px;
   }

   .modal-footer {
      margin-top: 20px;
   }
   #privacy-modal .modal-body {
      text-align: justify;
      height: calc(100svh - 240px);
      overflow-y: scroll;
   }
}

/* ============================= フォーム制御 ============================= */
@media screen {
   section.contact {
      padding-top: 64px;
      padding-bottom: 80px;
   }

   section.contact .innerWrap h2 {
      margin-bottom: 48px;
   }

   section.contact .innerWrap {
      margin-bottom: 48px;
      padding: 0 16px;
   }

   section.contact>section {
      padding: 0 8px;
   }

   section.contact form {
      background-color: #fff;
      padding: 80px;
      border-radius: 8px;
      box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);
      max-width: 766px;
      width: 100%;
      margin: 0 auto;
   }

   .form-required-note {
      margin-bottom: 24px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      color: var(--color-accent);
   }

   .form-required-note .required-dot {
      display: inline-block;
      font-size: 0.5em;
      margin-right: 5px;
   }

   .form-group {
      margin-bottom: 24px;
   }

   .form-group label {
      display: block;
      font-size: var(--fs-16);
      font-weight: 700;
      margin-bottom: 8px;
   }

   .form-group.required>label::after {
      content: '●';
      color: var(--color-accent);
      font-size: 0.5em;
      margin-left: 8px;
      vertical-align: top;
   }

   .form-input,
   .form-textarea {
      width: 100%;
      padding: 16px 20px;
      font-size: var(--fs-14);
      background-color: #F8F8F8;
      border: none;
      border-radius: 4px;
   }

   .form-input::placeholder,
   .form-textarea::placeholder {
      color: var(--color-grey);
      font-size: var(--fs-12);
   }

   .form-textarea {
      min-height: 200px;
      resize: vertical;
   }

   .form-input:focus,
   .form-textarea:focus {
      outline: none;
      border: 1px solid #333333;
   }

   .form-group-checkbox {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 20px;
      margin-bottom: 30px;
   }

   /* ブラウザ標準のチェックボックスを非表示 */
   .form-checkbox {
      appearance: none;
      -webkit-appearance: none;
      display: block;
      width: 18px;
      height: 18px;
      border: 1px solid var(--color-text);
      border-radius: 3px;
      background-color: #fff;
      cursor: pointer;
      position: relative;
      margin-right: 10px;
   }

   /* チェックが入った時のチェックボックスの背景色と枠線色 */
   .form-checkbox:checked {
      background-color: var(--color-text);
      border-color: var(--color-text);
   }

   /* チェックマークの作成（疑似要素） */
   .form-checkbox:checked::after {
      content: '';
      display: block;
      width: 5px;
      height: 10px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      position: absolute;
      left: 5px;
      top: 2px;
   }

   .form-checkbox-label {
      font-size: 14px;
      cursor: pointer;
   }

   .form-checkbox-label a {
      text-decoration: underline;
   }

   /* 送信ボタン */
   .form-submit {
      text-align: center;
   }

   .submit-btn {
      display: inline-block;
      width: 100%;
      max-width: calc(100% - 50px);
      padding: 16px;
      font-size: var(--fs-16);
      font-weight: 700;
      color: #fff;
      background-color: #3333334D;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: background-color 0.3s ease;
   }

   .submit-btn:hover {
      background-color: var(--color-text);
   }

   /* エラーメッセージの基本スタイル */
   .error-message {
      display: none;
      color: #c30000;
      font-size: var(--fs-13);
      margin-top: 8px;
   }

   .form-group.is-error .form-input,
   .form-group.is-error .form-textarea {
      border: 1px solid #c30000;
   }

   .form-group.required.is-error>label::after {
      color: #c30000;
   }

   .form-group-checkbox.is-error .form-checkbox {
      border-color: #c30000;
   }

   .form-group.is-error .error-message,
   .form-group-checkbox.is-error .error-message {
      display: block;
   }

   .form-group-checkbox {
      flex-wrap: wrap;
   }

   .form-group-checkbox .error-message {
      width: 100%;
      text-align: center;
      margin-top: 10px;
   }

   /* --- 確認モーダル専用スタイル --- */

   .modal-body {
      text-align: left;
   }

   .confirm-group {
      margin-bottom: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid #E0E0E0;
   }

   .confirm-group:last-of-type {
      border-bottom: none;
   }

   .confirm-group label {
      font-weight: 500;
      display: block;
      color: #ccc;
      margin-bottom: 12px;
   }

   .confirm-group p {
      font-size: var(--fs-15);
      line-height: 1.6;
      margin: 0;
   }

   #confirm-message {
      height: auto;
      max-height: 200px;
      overflow-y: auto;
   }

   /* 確認/送信ボタン */
   .modal-submit-btn {
      display: inline-block;
      width: 100%;
      max-width: 556px;
      padding: 16px;
      font-size: var(--fs-16);
      font-weight: 700;
      color: #fff;
      background-color: #333;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: background-color 0.3s ease;
   }

   .modal-submit-btn:hover {
      background-color: #555;
   }

   .modal-back-btn {
      display: block;
      width: 100%;
      font-size: 0.875rem;
      /* 14px */
      color: #333;
      background: none;
      border: none;
      text-decoration: underline;
      cursor: pointer;
      margin-top: 20px;
   }
}

@media screen and (max-width:768px) {
   section.contact {
      padding-top: 64px;
      padding-bottom: 80px;
   }

   section.contact .innerWrap h2 {
      margin-bottom: 48px;
   }

   section.contact .innerWrap {
      margin-bottom: 48px;
      padding: 0 16px;
   }

   section.contact form {
      padding: 54px 8px;
      border-radius: 4px;
   }

   #confirm-message {
      max-height: 140px;
   }

   .confirm-group {
      margin-bottom: 12px;
      padding-bottom: 12px;
   }
}

/* ============================= フェードイン ============================= */
@media screen {
   .fade-in {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
   }

   .fade-in.is-visible {
      opacity: 1;
      transform: translateY(0);
   }
}