@charset "UTF-8";

#intro {
    color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background:#2b4947;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 2s ease;
}

#intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

#intro h3{
font-size: var(--fzu27);
letter-spacing: 0.1em;
margin-bottom: calc(25 * var(--u));
transition: 1s;
}

#intro .intro-text {
font-size: var(--fzu11);
letter-spacing: 0.1em;
transition: 1s;
}
/* ================================================================================
KV
================================================================================ */
@media print, screen {
    #KV {
        padding: 0;
    }


    #KV > .inner {
        height: 100%;
        max-width: 10000px;
    }
    #KV h1 {
        color: white;
        font-size: var(--fzv24);
        font-weight: 500;
        letter-spacing: 0.1em;
    }

    #KV {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    #KV .bg-video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: -1;
    }

    #KV .KVc{
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    #KV hr{
      width: calc(100 * var(--u));
      margin: 0 auto calc(30 * var(--u));
      border: none;
      height: 1px;
      background-color: white;
    }


    #KV p{
      color: white;
      font-size: var(--fzu10);
      letter-spacing: 0.1em;
      line-height: 2;


    }


}
@media screen and (max-width: 767px) {
    #KV .KVc{

        width: 90vw;
    }

    #KV p{

      font-size: var(--fzu14);

    }

}

/* ================================================================================
lead
================================================================================ */
@media print, screen {
    #lead {
        position: relative;
        background-color: #d9d9d9;
    }

    #lead > .inner {
        padding: calc(100 * var(--u)) 0;
        position: relative;
    }

    #lead .bg-group > div {
      opacity: 0;
      transform: translateY(20px);
      transition: 1s ease;
    }

    #lead .bg-group > div.is-show {
      opacity: 1;
      transform: translateY(0);
    }


    #lead .bg1 {
        position: absolute;
        top: calc(100 * var(--u));
        right: 0;
        width: 90%;
        max-height: calc(650 * var(--u));
    }

    #lead .bg1 img {
        max-height: calc(650 * var(--u));
    }

    #lead .bg2 {
        position: absolute;
        top: calc(650 * var(--u));
        right: calc(150 * var(--u));
        width: calc(365 * var(--u));
    }

    #lead .bg3 {
        position: absolute;
        top: calc(1000 * var(--u));
        right: calc(600 * var(--u));
        width: calc(427 * var(--u));
    }

    #lead .bg4 {
        position: absolute;
        top: calc(1150 * var(--u));
        right: calc(130 * var(--u));
        width: calc(542 * var(--u));
    }



    #lead .box1 {
        width: calc(525 * var(--u));
        margin: calc(80 * var(--u)) 0 calc(1010 * var(--u)) auto;
    }

    #lead h2 {
        font-size: var(--fzu36);
        color: white;
        line-height: 1.8;
    }

    #lead p {
        font-size: var(--fzu15);
        color: white;
        line-height: 2.5;
    }
}
@media screen and (max-width: 767px) {

    #lead > .inner {
        padding: calc(100 * var(--u)) 0 calc(200 * var(--u));
    }

    #lead .bg1 {
        position: absolute;
        top: calc(50 * var(--u));
        right: 0;
        width: 90%;
        max-height: 100%;
    }

    #lead .bg1 img {
        max-height: 100%;

    }

    #lead .bg2 {
        position: absolute;
        top: 195vw;
        right:  10vw;
    }

    #lead .bg3 {
        top: 255vw;
        right: auto;
        left: 5vw;
    }

    #lead .bg4 {
        top: 320vw;
        right: 0vw;
        width: 55vw;
    }

    #lead .box1 {
        width: calc(525 * var(--u));
        margin: calc(30 * var(--u)) 0 230vw 20vw;
    }

    #lead h2 {
        font-size: var(--fzu34);
        letter-spacing: 0.1em;

        color: white;
        line-height: 2;
    }

    #lead p {
        font-size: var(--fzu18);
        color: white;
        line-height: 2.5;
    }
}


/* ================================================================================
feature
================================================================================ */
@media print, screen {
    #feature {
        background-image: url("../image/feature_bg.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed; /* ←これ */
        height: 300vh;
        position: relative;
    }

    #feature > .inner {
        width: calc(1200 * var(--u));
        margin: 0 auto;
        padding: 15vh calc(50 * var(--u));
        position: sticky;
        top: 0;
        height: 100vh;


    }

    #feature .tbox {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: calc(120 * var(--u));

    }

     .title {
        display: flex;
        align-items: center;

    }

    .scroll {
      position: relative;
    }

    .scroll-border {
      position: relative;
      top: 1px;
      width: calc(50 * var(--u));
      height: calc(1 * var(--u));
      overflow: hidden;
    }
    .scroll-border::before {
      content: "";
      display: block;
      position: absolute;
      height: 1px;
      width: 0;
      top: 0;
      left: 0;
      background: white;
    }

    /* activeが付いたときだけアニメーション開始 */
    .scroll-border.active::before {
      animation: scrollbar 1s ease-in-out forwards;
    }

    @keyframes scrollbar {
      0% {
        width: 0;
      }
      100% {
        width: 100%;
      }
    }


    .typing {
        margin-left: calc(10 * var(--u));
        letter-spacing: 0.1em;
    }


    .typing span {
        color: white;
        font-size: var(--fzu36);
      display: inline-block;
      opacity: 0;
      transform: translateY(-20px);
    }

    /* 発動後 */
    .typing.is-active span {
      animation: slideDown 0.4s forwards;
    }

    /* 1文字ずつ遅延 */
    .typing.is-active span:nth-child(1) { animation-delay: 0.7s; }
    .typing.is-active span:nth-child(2) { animation-delay: 0.8s; }
    .typing.is-active span:nth-child(3) { animation-delay: 0.9s; }
    .typing.is-active span:nth-child(4) { animation-delay: 1.0s; }
    .typing.is-active span:nth-child(5) { animation-delay: 1.1s; }
    .typing.is-active span:nth-child(6) { animation-delay: 1.2s; }
    .typing.is-active span:nth-child(7) { animation-delay: 1.3s; }
    .typing.is-active span:nth-child(8) { animation-delay: 1.4s; }

    @keyframes slideDown {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    #feature .blist {
        display: flex;
        gap: calc(30 * var(--u));
    }

    #feature .blist li {
        color: #638383;
        font-size: var(--fzv12);
        cursor: pointer;
        transition: color 1s ease; /* colorもアニメーション対象に */
    }

    #feature .blist li.is-active {
        color: #fff;
    }

    .tab-contents > div {
      position: absolute;
      inset: 0; /* 上下左右0でピッタリ重ねる */
      opacity: 0;
      visibility: hidden;
      transition: opacity 1s ease;
    }

    .tab-contents > div.is-active {
      opacity: 1;
      visibility: visible;
    }

    #feature .tab-contents {
    position: relative;
     height: 100%;

    }

    #feature .tab-content {
        padding: 0 calc(40 * var(--u));

    }

    #feature .tab-content:nth-child(3) {
        width:  calc(980 * var(--u));
        padding-left: 0;
        margin: 0 auto;
    }

    #feature h4 {
        font-size: var(--fzu36);
        letter-spacing: 0.1em;
        margin-bottom: calc(80 * var(--u));
        line-height: 1.8;
        text-align: center;
        color: white;
    }
    #feature .tab-content ul {
        display: flex;
        justify-content: space-between;
        margin-bottom: calc(50 * var(--u));
    }
    #feature .tab-content li {
        position: relative;
        width: calc(180 * var(--u));
        height: calc(180 * var(--u));
        border-radius: calc(180 * var(--u));
        background-color: white;
        text-align: center;
        display: grid;
        place-items: center;
        font-size: var(--fzu21);
        line-height: 1.5;
        color: #00175a;
    }

    #feature .tab-content li picture {
        position: absolute;
        top: calc(-30 * var(--u));
        left: calc(30 * var(--u));
        width: calc(48 * var(--u));
    }

    #feature .tab-content li picture {
        position: absolute;
        top: calc(-30 * var(--u));
        left: calc(30 * var(--u));
        width: calc(48 * var(--u));
    }




    #feature .text {
        font-size: var(--fzu24);
        text-align: center;
        color: white;
    }

    #feature .fcontent .boxes {
        display: flex;
        justify-content: space-between;
    }

    #feature .fcontent .box {
        color: white;
        padding-top: calc(100 * var(--u));
    }

    #feature .fcontent .box h5 {
        display: flex;
        justify-content: space-between;
        font-size: var(--fzu36);
        letter-spacing: 0.1em;
        line-height: 2;
        margin-bottom: calc(30 * var(--u));
    }

    #feature .fcontent .box p {
        display: flex;
        justify-content: space-between;
        font-size: var(--fzu15);
        letter-spacing: 0.075em;
        line-height: 2.5;
    }

    #feature .fcontent picture {
        width: calc(557 * var(--u));
    }
}



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

    #feature {
        background-image: url("../image/feature_bg.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 300vh; /* PCと同じ仕組み */
        position: relative;
    }

    #feature > .inner {
        position: sticky;
        top: 0;
        height: 100vh;
        display: block;
        padding: calc(50 * var(--u)) calc(50 * var(--u)) calc(150 * var(--u));
    }

    /* タブは非表示 */
    #feature .blist {
        display: none;
    }

    /* =========================
       表示ロジック（PCと統一）
    ========================= */
    #feature .tab-contents {
        position: relative;
        height: 100%;
    }

    .tab-contents > div {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
    }

    .tab-contents > div.is-active {
        opacity: 1;
        visibility: visible;
    }

    /* =========================
       レイアウト（SPデザイン維持）
    ========================= */
    #feature .tbox {

        margin-bottom: 15vw;

    }


    #feature .tab-content {
        width: 100%!important;
        padding: 0;
    }

    #feature .boxes {
        flex-direction: column-reverse;
    }

    #feature .box {
        padding-top: 0;
        margin-bottom: 6vw;

    }

    #feature .fcontent picture {
        width: 100%;
        margin-bottom: 6vw;
    }

    #feature picture {
        width: 100%;
        margin-bottom: 6vw;
    }

    #feature .fcontent .box h5 {
        font-size: 6vw;
        line-height: 2;
        color: white;
        margin-bottom: 4vw;
    }


    #feature p {
        font-size: 4vw;
        line-height: 2.5;
        color: white;
    }

    #feature h4 {
        font-size: 6vw;
        margin-bottom: 8vw;
        line-height: 1.8;
        text-align: center;
        color: white;
    }

    #feature .tab-content ul {
        /*width: 90vw;*/
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 6vw;
    }

    #feature .tab-content li {
        width: 35vw;
        height: 35vw;
        margin-bottom: 5vw;
        border-radius: 50%;
        background-color: white;
        display: grid;
        place-items: center;
        text-align: center;
        font-size: var(--fzu21);
        color: #00175a;
        position: relative;
    }

    #feature .tab-content li picture {
        position: absolute;
        top: -5vw;
        left: 5vw;
        width: 10vw;
    }

    #feature .fcontent .box {

        padding-top: 0;
    }

    #feature .text {
        font-size: 4vw;
        text-align: center;
        color: white;
    }

    .title {
        margin-bottom: 0vw;
    }
}
    /* ================================================================================
        isection1
        ================================================================================ */
    @media print, screen {


        #isection1 {
          padding: 0;
          background: none; /* ←ここ重要 */
                  background-color: #d9d9d9;
        }

        #isection1 .bg {
          position: absolute;
          top: 0%;
          left: 0;
          width: 100%;
          height: 100%;
          background-image: url("../image/product_bg.jpg"); /* サイト内の images フォルダにある画像 */
          background-size: cover;
          background-repeat: no-repeat;
          background-position: top;
        }
        #isection1 > .inner {
            padding: calc(405 * var(--u)) var(--pageP);
        }
    }
    @media screen and (max-width: 767px) {
        #isection1 .bg {

          top: 0%;


        }

    }

    /* ================================================================================
        product
        ================================================================================ */
    @media print, screen {
        #product {
            background-color: #d9d9d9;

        }

        #product > .inner {
            width: calc(1200 * var(--u));
            margin: 0 auto;
            padding: calc(40 * var(--v)) 0 calc(140 * var(--v));
        }

        #product .title {
          margin-left:  calc(40 * var(--v));

        }

        #product .typing span {
            color: #00175a;

        }

        #product .scroll-border::before {

          background: #00175a;
        }

        #product .boxes {
            display: flex;
            justify-content: space-between;
            margin-bottom: calc(60 * var(--u));
            margin-left: calc(120 * var(--u));
        }

        #product .box {
            padding: calc(160 * var(--u)) 0;
            color: #00175a;
        }

        #product .box h4 {
            font-size: var(--fzu36);
            letter-spacing: 0.1em;
            margin-bottom: calc(50 * var(--u));
        }

        #product .box h5 {
            font-size: var(--fzu21);
            margin-bottom: calc(30 * var(--u));
        }

        #product .box .text1 {
            font-size: var(--fzu11);
            letter-spacing: 0.05em;
            font-weight: 400;
            line-height: 1.8;
            margin-bottom: calc(30 * var(--u));
        }

        #product .box .text2 {
            font-size: var(--fzu15);
            margin-bottom: calc(50 * var(--u));
        }

        #product .box .text2 span {
            font-size: var(--fzu24) !important;
            /*font-weight: bold;*/
            font-family: "Manrope", sans-serif;
        }

        #product .box .text3 {
            font-size: var(--fzu15);
            margin-bottom: calc(50 * var(--u));
        }

        #product .button {
        display: block;
        position: relative;
        width: calc(390 * var(--u));
        padding: calc(15 * var(--u));
        border: 1px solid #00175a;
        }

    #product .button p{
        text-align: center;
        font-size: var(--fzu13);
}

#product .button picture{
    position: absolute;
    width: calc(8 * var(--u))!important;
    top: calc(50% - (4 * var(--u)));
    right: calc(20 * var(--u));
}

#product .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  display: flex; /* ←常に表示状態にする */
  justify-content: center;
  align-items: center;

  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#product .modal.active {
  opacity: 1;
  visibility: visible;
}

#product .modal-content {
    background: rgba(255, 255, 255, 0.9);
 width: calc(850 * var(--u));
  padding: calc(65 * var(--u)) calc(40 * var(--u));
  position: relative;
  overflow-y: auto;
}

#product .modal-content h2{
    font-size: var(--fzu18);
    font-weight: 700;
    margin-bottom: calc(25 * var(--u));

}

#product .modal-content p{
    font-size: var(--fzu13);
    letter-spacing: -0.05em;
    line-height: 1.5;
}

#product .close {
  position: absolute;
  bottom: calc(25 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  font-size: var(--fzu13);
}


    #product .boxes picture {
        width: calc(534 * var(--u));
        transition: 1s;
    }
}

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

    #product > .inner {
        width: calc(1200 * var(--u));
        margin: 0 auto;
        padding: calc(140 * var(--v)) 0;
    }


    #product .boxes {
        display: flex;
        flex-wrap: wrap-reverse;
        justify-content: space-between;
        margin-bottom: calc(60 * var(--u));
        margin-left: 0;
    }

    #product .box {
        padding: calc(60 * var(--u)) 0;
        color: #00175a;
        width: 80vw;
        margin: 0 auto;
    }


    #product .button {
    display: block;
    position: relative;
    width: 100%;
    padding: calc(15 * var(--u));
    border: 1px solid #00175a;;
    }

#product .button p{
    text-align: center;
    font-size: var(--fzu13);
}

#product .button picture{
position: absolute;
width: calc(8 * var(--u))!important;
top: calc(50% - (4 * var(--u)));
right: calc(20 * var(--u));
}

#product .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  display: flex; /* ←常に表示状態にする */
  justify-content: center;
  align-items: center;

  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#product .modal.active {
  opacity: 1;
  visibility: visible;
}

#product .modal-content {
width: 90vw;

}

#product .modal-content h2{
font-size: 5vw;
margin-bottom: calc(25 * var(--u));

}

#product .modal-content p{
font-size: 3.5vw;
line-height: 1.5;
}

#product .close {
position: absolute;
bottom: calc(25 * var(--u));
left: 50%;
transform: translateX(-50%);
cursor: pointer;
font-size: var(--fzu13);
}


#product .boxes picture {
    width: 90vw;
    margin: 0 auto;
}

#product .title {
  margin-left:  0;

}

#product .box h4 {
    font-size: var(--fzu36);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: calc(50 * var(--u));
}

#product .box h5 {
    font-size: var(--fzu24);
    font-weight: 500;
    margin-bottom: calc(30 * var(--u));
}

#product .box .text1 {
    font-size: var(--fzu14);
    letter-spacing: 0.05em;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: calc(30 * var(--u));
}

#product .box .text2 {
    font-size: var(--fzu18);
    margin-bottom: calc(50 * var(--u));
}

#product .box .text2 span {
    font-size: var(--fzu27) !important;
    /*font-weight: bold;*/
    font-family: "Manrope", sans-serif;
}

#product .box .text3 {
    font-size: var(--fzu18);
    line-height: 2;
    margin-bottom: calc(50 * var(--u));
    letter-spacing: 0.02em;
}

#product .button {
padding: calc(25 * var(--u)) calc(15 * var(--u));

}

#product .button p{
    font-size: var(--fzu16);
}

#product .button picture{
position: absolute;
width: calc(14 * var(--u))!important;
top: calc(50% - (7 * var(--u)));
right: calc(20 * var(--u));
}


}


/* ================================================================================
    isection2
    ================================================================================ */
@media print, screen {
    #isection2 {
      padding: 0;
      background: none; /* ←ここ重要 */
              background-color: #d9d9d9;

    }

    #isection2 .bg {
      position: absolute;
      top: -10%;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url("../image/product_image3.jpg");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: top;
    }
    #isection2 > .inner {
        padding: calc(405 * var(--u)) var(--pageP);
    }
}
@media screen and (max-width: 767px) {
}

/* ================================================================================
faq
    ================================================================================ */
@media print, screen {
    #faq {
        background-color: #d9d9d9;

    }

    #faq > .inner {
        padding: calc(40 * var(--v)) 0vw calc(140 * var(--v));
        display: flex;
        align-items: flex-start !important;
    }

    #faq .typing span {
        color: #00175a;

    }
    #faq .scroll-border::before {

      background: #00175a;
    }

    #faq ul{
        width: calc(800 * var(--u));
        margin: 0 auto;
        border-top: 1px solid #00175a;
    }

    #faq li{
        border-bottom: 1px solid #00175a;
        padding: calc(50 * var(--u)) 0 calc(30 * var(--u));
    }


    #faq h3{
        position: relative;
              font-size: var(--fzu20);
              font-weight: 500;
              letter-spacing: 0.075em;
              color: #00175a;
              margin-bottom: calc(20 * var(--u));
              display: flex; /* 横並びにする */
              align-items: center;
              line-height: 1.5;
    }

    #faq h3 span{
              font-size: var(--fzu28);
              color: #00175a;
              margin-right: calc(20 * var(--u));
    }
    #faq h3::after {
      content: "+";
      font-size: var(--fzu20);
      position: absolute;
      right: calc(10 * var(--u));

      transition: transform 0.3s ease;
    }

    #faq li.is-open h3::after {
      transform: rotate(45deg);
    }

    #faq ul p{
              font-size: var(--fzu15);
              letter-spacing: 0.1em;
              line-height: 1.5;
              color: #00175a;
              margin-left: calc(50 * var(--u));
              height: 0;
              overflow: hidden;
              transition: height 0.4s ease;
    }

    #faq li.is-open p {
      max-height: 500px; /* 適当に大きめ */
    }

    @media screen and (max-width: 767px) {
        #faq {
            background-color: #d9d9d9;

        }

        #faq > .inner {
            padding: calc(140 * var(--v)) 5vw;
            display: block;
        }

        #faq ul{
            width: 86vw;
            margin: 0 auto;
            border-top: 1px solid #00175a;
        }


    }


    /* ================================================================================
    slider
        ================================================================================ */
    @media print, screen {
        #slider { padding: 0;
            /*width: 100vw;*/
            position: relative;
        }

        #slider::after {
          content: "";
          position: absolute;
          inset: 0;
          background: rgba(0, 0, 0, 0.1);
          pointer-events: none;
        }

        #slider .tbox{
            position: absolute;
            z-index: 100;
            width: 60vw;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* 完全中央 */
        }

        #slider h3{
        font-size: var(--fzu24);
        letter-spacing: 0.075em
        line-height: 1.5;
        color: white;
        text-align: center;
        margin-bottom: calc(20 * var(--u));
        }

        #slider p{
            font-size: var(--fzu10);
            letter-spacing: 0.075em;
            color: white;
            text-align: center;
        }

    /* スライダー全体 */
    #slider .slider2 {
      overflow: hidden;
      width: 100%;
      height: calc(596 * var(--u));
    }

    #slider .track {
      display: flex;
      width: max-content;
      animation: scroll 50s linear infinite; /* ←速度ここで調整 */
    }

    #slider .item {
      flex-shrink: 0;
      height: 100%;
    }

    /* data-width反映 */
    #slider .item[data-width="880"] { width: calc(880 * var(--u)); }
    #slider .item[data-width="556"] { width: calc(556 * var(--u)); }
    #slider .item[data-width="706"] { width: calc(706 * var(--u)); }
    #slider .item[data-width="637"] { width: calc(637 * var(--u)); }

    /* 画像 */
    .item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* 無限スクロール */
    @keyframes scroll {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }
    }
/* ========================================
sampleDialog
======================================== */
@media print, screen {
    #sampleDialog .inner {
        padding: 1rem;
        background: white;
    }

    #sampleDialog .inner p {
        color: black;
        font-size: var(--fzv16);
        line-height: 1.5;
    }
    #sampleDialog .inner p a {
        color: var(--Clink0);
        text-decoration: underline;
    }
}

/* ======================================== end ======================================== */
