html {
  background-color: #ffffff;
  scrollbar-width: none;
  transition: all 0.3s;
}
section.message {
  padding: 8% 0% 7%;
  margin: 0 auto 2%;
  position: relative;
  display: flex;
  justify-content: center;
}

section.message::after {
  content: "";
    width: 460px;
    height: 3px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: calc(50% - 230px);
}

section.message h2 {
  font-family: Bebas Neue, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: .05em;
  border-left: solid 3px #000;
  position: absolute;
  top: 8rem;
  left: 12.5%;
  writing-mode: vertical-rl;
}

section.message p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 2.05em;
  margin: 0 auto 2em;
  white-space: nowrap;
}

section.message p:last-child {
  margin: 0 auto;
}

section.message p.copy-en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8.7em;
  font-weight: 500;
  line-height: 1em;
  margin: 0 auto .1em;
}

section.message p.copy {
  font-size: 2.7em;
  letter-spacing: .4em;
}

section.message div {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

section.message p.copy {
  font-size: 1.6em;
  letter-spacing: .4em;
}

.my-svg {
  width: 55%;
  height: auto;
  margin: 20% auto 10%;
  display: block;
  animation: blink 5s infinite, color-change 7s infinite;
  transition: transform 0.1s;
}

.my-svg:hover {
  animation: shake 0.5s infinite, blink 5s infinite, color-change 7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes color-change {
  0%, 100% { fill: #000000; }
  50% { fill: #ffff00; }
}

@media (max-width: 768px) {
  .my-svg {
    width: 75%;
    height: auto;
    margin: 17% auto 13%;
    display: block;
  }

  section.message {
    padding: 8% 20% 7%;
    margin: 0 auto 10%;
    display: flex;
    justify-content: center;
  }

  section.message p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 2.5em;
    margin: 0 auto 2em;
    white-space: nowrap;
    display: inline;
    font-size: 0.9rem;
  }

  section.message p.copy {
    font-size: 1.1rem;
    letter-spacing: .4em;
    margin-bottom: 5%;
    display: block;
  }

  h2.message {
    display: none;
  }

  section.message::after {
    content: "";
    width: 40%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    margin-bottom: 0%;
  }
}

.video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 65%);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.video-wrapper {
  position: relative;
  width: 75%;
  padding-bottom: 35%;
  margin: 2rem auto;
}

#youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay.active {
  display: flex;
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .video-wrapper {
    width: 95%;
    padding-bottom: 56.25%;
    margin: 1rem auto;
  }

  .close-btn {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }

  .video-wrapper {
    max-width: 50rem;
  }
}
section.message div {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}
/* 基本スタイル */
.message.shop dt {
    display: flex;
    width: 40%;
}
    .message.shop dt img {
        width: 1rem;
        margin-right: 1rem;
        margin-top: 0%;
    }
    .Anime.fadeIn_left {
    display: flex;
    margin: 4% 0 0%;
}
span.leadtitle {
    font-size: 1rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
}
    .message.shop dd {
    width: 60%;
    margin-left: 0;
    font-size: 1rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
}
.sponly {
    display: none;
}
/* スマホ専用のスタイル */
@media only screen and (max-width: 768px) {
    .message.shop dt {
        display: flex;
        width: 100%;
        /* 必要に応じて他のスタイルを追加 */
    }
.sponly {
    display: inline;
}
.pconly {
    display: none;
}
    .message.shop span.leadtitle {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 2%;
        margin-top: 3%;
    }
    .message.shop dt img {
        width: 0.8rem;
        margin-right: 1rem;
        margin-top: 3%;
    }
.message.shop dd {
        margin-left: 0;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 1.2rem;
        margin-bottom: 1%;
        margin-top: 3%;
    }
    .message.shop .Anime {
        margin: 7% 0 0;
        width: 100% !important;
        min-width: -webkit-fill-available;
    }
img.iconstage {
    width: 1rem !important;
    display: block;
    margin-right: 1rem;
}
.Anime.fadeIn_left {
    display: inline-block;
    margin: 5% 0 0%;
}
.message.shop dd {
    width: 100%;
}
.Anime.fadeIn_left.pconly {
    display: none;
}
    .message.shop span.leadtitle {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 2%;
        margin-top: 3%;
        font-weight: 500;
    }
        section.message.shop {
        padding: 12% 5% 7%;
        margin: 0 auto 10%;
        display: block;
        justify-content: center;
    }
    section.message h2 {
    font-family: Bebas Neue, sans-serif;
    font-size: 1.8rem;
    letter-spacing: .05em;
    text-decoration: underline;
    position: relative;

}
    h2.message {
        display: inline;
    }
    .wrap {
        margin: 8% 20% 0 !important;
    }
section.message div {
    width: 100%;
    max-width: fit-content;
    margin: 0 auto;
}
    section.message h2 {
        font-family: Bebas Neue, sans-serif;
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: .05em;
        border-left: none;
        position: relative;
        top: 0;
        left: auto;
        margin: 2% 0 5% 0;
        writing-mode: horizontal-tb;
    }
    h2.message.concept {
    display: none;
}
    section.topics {
        width: 90%;
        margin: 7rem auto 20%;
    }
    .title-ani {
    overflow: hidden;
    color: #393939 !important;
    transition-delay: 0.6s;
    font-size: 2rem;
}
.title-ani-s {
    overflow: hidden;
    color: #343434 !important;
    transition-delay: 0.7s;
    font-size: 1rem;
}
    .contact {
        margin: 6% auto 0;
        width: 100%;
        padding: 6% 0 0;
        padding: 0 0% 0 7%;
        background: none;
    }
}
.my-svg {
    width: 55%;
    height: auto;
    margin: 20% auto 10%;
    display: block;
    animation: blink 5s infinite, color-change 7s infinite;
    transition: transform 0.1s;
}
section.message p {
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 3.5em;
    margin: 0 auto 2em;
    white-space: nowrap;
    display: inline;
    font-size: 1rem;
}
.floating-icon {
    position: fixed;
    right: 25%;
    bottom: 5rem;
    width: 4.3rem;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(50px); /* 初期状態では少し下に隠れている */
}

/* マウスホバーでシェイクアニメーションを追加 */
.floating-icon:hover {
    animation: shake 0.5s ease-in-out;
}

/* シェイクアニメーションの定義 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}


  /* アイコンが表示されるときのスタイル */
  .floating-icon.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* スライドイン */
  }
  .floating-icon.hide {
    opacity: 0; /* フェードアウト */
    transform: translateY(50px); /* フェードアウト時に下にスライド */
  }

  /* オーバーレイのスタイル */
  .video-overlay {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease; /* フェードインと拡大のトランジション */
    transform: scale(0.9); /* 初期状態では少し縮小 */
  }

  /* 動画をレスポンシブに表示するためのラッパー */
  .video-wrapper {
    position: relative;
    width: 80%;
    padding-bottom: 30%;
    margin: 2rem auto;
  }

  /* YouTube動画のスタイル */
  #youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* オーバーレイが表示されるときのアクティブ状態 */
  .video-overlay.active {
    display: flex;
    opacity: 1;
    transform: scale(1); /* 拡大して元のサイズに */
  }

  /* 閉じるボタンのスタイル */
  .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  /* スマホや小さな画面向けの調整 */
  @media (max-width: 768px) {
    .video-wrapper {
      width: 95%;
      padding-bottom: 56.25%; /* アスペクト比を維持 */
    }
    section.message p {
            font-size: 0.9rem;
    }
    .my-svg {
        width: 65%;
    }
    .floating-icon {
        position: fixed;
        right: 10%;
    }
    section.message {
        padding: 8% 0% 10%;
        margin: 0 auto 10%;
        display: flex;
        justify-content: center;
    }
    .close-btn {
      font-size: 1.5rem; /* 閉じるボタンのサイズも調整 */
    }
  }

  /* 大画面向けの調整 */
  @media (min-width: 1200px) {
    .video-wrapper {
      max-width: 60rem;
    }
  }
  p.text001.cat.kadai {
    margin-bottom: 4%;
}
.inner{
    width: 75vw;
    margin: 0 auto;
    margin-top: 5%;
}
.inner.news {
    margin-top: 8%;
}
.newsDl .subDl dd {
    width: 86%;
    padding: 0% 0 1% 5%;
    float: left;
}
.newsDl .subDl dd .news_txt {
    width: 80%;
    padding-right: 0%;
    padding-left: 0%;
    float: left;
    word-break: break-all;
    letter-spacing: 0vw;
    line-height: 2.2;
    font-weight: 500;
    -webkit-text-stroke: 0vw;
}
.newsDl .subDl dd .news_date {
    width: 16%;
    float: left;
    margin-right: 0%;
    font-size: 1.6rem;
    font-weight: 500;
    -webkit-text-stroke: 0.02vw;
    line-height: 1.6vw;
}
.newsDl .subDl dt {
    margin-top: 0%;
}
span.titleh2.new {
    margin-left: 1%;
    font-size: 2.2rem;
    color: #000!important;
}
dt.news_category.animation_item {
    width: 14%;
    background: #000000;
    border-radius: 25px;
    text-align: center;
    float: inline-start;
    padding: 0px 27px 0px;
    clear: both;
    color: #ffffff;
    line-height: 3.4rem;
}
dt.news_category.animation_item {
    line-height: 3rem;
}
p.contentslead {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.25;
    letter-spacing: .1em;
}
p.concepttext {
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.01vw;
}

h2.c-heading-primary {
    font-size: 1.3rem;
    margin: 1% 0 5% 0;
    font-weight: 600;
    display: flex;
    align-items: center; /* ポチとテキストを中央揃えに */
}
h2.c-heading-primary.more {
    margin: 0% 0 0% 0;
}

h2.c-heading-primary::before {
    content: '';
    display: inline-block;
    width: 0.3em;
    height: 0.3em;
    background-color: #FFD700;
    border-radius: 50%;
    margin-right: 0.5em;
    flex-shrink: 0;
}
.value-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
}

.value-box {
    flex: 1 1 calc(33.333% - 2rem);
    /* min-width: 280px; */
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: 20px;
    padding: 3% 3% 5%;  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-tag {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.value-tag .label {
    font-weight: 600;
    margin-right: 0.1em;
    font-size: 0.74rem;
}

.value-tag .line {
    flex-grow: 1;
    height: 1px;
    background-color: #000;
    margin: 0 -0.5em 0 0.3em;
    max-width: 29px;
}

.value-tag .circle {
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
}
.value-content h3 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0rem;
    line-height: 4.6;
    text-align: center;
}

.value-content p {
    font-size: 0.94rem;
    line-height: 1.6;
}
.value-box:hover {
  transform: scale(1.03); /* 少しだけ拡大 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* ふわっと浮く感じ */
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .value-box {
    flex: 1 1 100%;
  }
}
.kensyu.bcon {
    overflow-x: hidden !important;
}
.kensyu.bcon {
    width: 95vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 5.8651026393vw 0 0 5.8651026393vw;
    background-color: #fff5c4;
    padding: 5vw 0 6vw;
    margin-top: 5%;
}
.kensyu.w70.ow {
    width: 72vw;
    margin: 0 14vw 0 9vw;
}
.accordion-content {
    display: none;
    margin: 1.5em 0 0em;
}

.accordion-content.is-open {
  display: block;
}

.accordion-title {
  cursor: pointer;
  position: relative;
  padding-right: 2em;
}

.accordion-title .open-close-btn::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
}

.accordion-title.is-open .open-close-btn::after {
  content: '−';
}
.accordion-item {
    font-size: 1rem;
    border-top: 1px solid #e8e8e8;
    padding: 2%;
}
.faqbox {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 9%;
}
.training-section {
  background-color: #fff6cc; /* 黄色背景にマッチ */
  padding: 2rem;
  border-radius: 60px 0 0 0;
}

.section-title {
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  position: relative;
}
.section-title::before {
  content: "●";
  color: #FFD700;
  margin-right: 0.5em;
  position: absolute;
  left: 0;
  top: 0;
}
.training-card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列に固定 */
  gap: 20px;
}

.training-card-link {
  text-decoration: none;
  color: inherit;
}

.training-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.training-card {
    background-color: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 1.5rem 1rem 1rem;
    width: 20vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 4px solid #fcdc39;
    text-align: center;
    min-height: 13vw;
}
.training-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.training-card > div {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .training-card-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .training-card {
    width: 90%;
  }
}
.training-card {
    background-color: #ffffff;
    color: #000000;
    border-radius: 12px;
    padding: 1rem;
    width: 20vw;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 4px solid #fcdc39;
    text-align: center;
    min-height: 13vw;
}
.training-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; /* オプション：ピタッと止める */
}

.training-card-wrapper {
  display: block;width: 100%;
  gap: 1rem;
  padding-left: 0rem;
}

.training-card {
  flex: 0 0 auto;
  width: 100%;
  min-height: 16vw;
  background-color: #ffffff;
  color: #000000;
  border-radius: 12px;
  padding: 1rem;
  border: 4px solid #fcdc39;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start; /* オプション */
}
.training-place {
    font-size: 0.9rem !important;
    background: #fcdc38;
    border-radius: 20px;
    padding: 3% 2rem;
    margin: 0 auto;
    margin-top: 4%;
    display: inline-block;
    font-weight: 500;
}
.training-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.training-title {
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    padding: 3%;
    font-size: 1rem;
    font-weight: 500;
    margin: 4% 1%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.swiper-container.training-swiper {
  width: 100%;
  padding: 2rem 1rem;
}


.s-section1 .textbox {
    position: absolute;
    top: calc(50% + 30px);
    left: 2%;
    transform: translateY(-50%);
}
.training-date {
    margin-top: 9%;
    font-size: 1rem;
    font-weight: 500;
}
@media (max-width: 768px) {
.inner {
    width: 85%;
    margin: 0 auto;
    margin-top: 5%;
}
h2.c-heading-primary {
    font-size: 18px;
    margin: 3rem 0 2rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}
p.concepttext {
    font-size: 15px;
    line-height: 1.8rem;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.01vw;
    font-weight:400;
}
.value-content p {
    font-size: 15px;
    line-height: 1.6rem;
    padding: 0 1rem 1rem;
}
.value-tag {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
}
.training-card {
    width: 18rem;
}
.accordion-item {
    font-size: 1rem;
    border-top: 1px solid #e8e8e8;
    padding: 5% 0;
}
.kensyu.bcon {
    width: 95vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 5.8651026393vw 0 0 5.8651026393vw;
    background-color: #fff5c4;
    padding: 10vw 0 12vw;
    margin-top: 10%;
}
section#faq {
    margin: 13vw 0 14vw;
}
}
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
    margin: 1% 0 5%;
}

.faq-button {
    background-color: #ffffff;
    color: #fff;
    padding: 0.3rem 2.5em;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 30px;
    font-weight: 500;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    color: #000;
    font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.faq-button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.training-empty{
  text-align:center;
    font-size: 0.95rem;
    line-height: 1.6;
font-weight:500;
  padding:0px 0 20px;
}
.modern-steps-section {
  padding: 100px 20px 5rem;
  background: #fff;
}

.modern-steps-inner {
  width: 70vw;
  margin: 0 auto;
}

.modern-steps-heading {
    text-align: center;
    margin-bottom: 56px;
    text-align: left;
}

.modern-steps-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border: 1.5px solid #111;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #fff;
}

.modern-steps-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.modern-steps-lead {
  width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}

.modern-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.modern-step-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
  overflow: hidden;
}

.modern-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.modern-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.modern-step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 45px;
    padding: 0 18px;
    margin-bottom: 20px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 14px;
    font-size: 0.94rem;
    font-weight: 800;
    color: #111;
}

.modern-step-visual {
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-step-visual img {
    width: 32%;
    max-width: 100px;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
}

.modern-step-card:hover .modern-step-visual img {
  transform: scale(1.05);
}

.bg-yellow {
  background: #f3d633;
}

.bg-pink {
  background: #ed72a4;
}

.bg-mint {
  background: #47ccb7;
}

.modern-step-body {
  padding: 24px 6px 8px;
}

.modern-step-body h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.modern-step-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* タブレット */
@media (max-width: 1024px) {
  .modern-steps-section {
    padding: 80px 20px;
  }

  .modern-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .modern-step-card:last-child {
    grid-column: 1 / -1;
  }

  .modern-step-visual {
    min-height: 240px;
  }
}

/* スマホ */
@media (max-width: 767px) {
    .modern-steps-inner {
  width: 85vw;
  margin: 0 auto;
}
  .modern-steps-section {
    padding: 64px 16px;
  }

  .modern-steps-heading {
    margin-bottom: 40px;
    text-align: left;
  }

  .modern-steps-lead {
    margin: 0;
  }

  .modern-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modern-step-card {
    padding: 16px;
    border-radius: 22px;
  }

  .modern-step-card:last-child {
    grid-column: auto;
  }

  .modern-step-label {
    min-width: 100px;
    height: 48px;
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .modern-step-visual {
    min-height: 200px;
    border-radius: 18px;
  }

  .modern-step-visual img {
    width: 70%;
  }

  .modern-step-body {
    padding: 20px 2px 4px;
  }

  .modern-step-body h3 {
    font-size: 1.8rem;
  }

  .modern-step-body p {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}
.faq-section {
  padding: 0px 20px 140px;
  background: #fff;
}

.faq-inner {
  width: 70vw;
  margin: 0 auto;
}

.faq-heading {
  width: 100%;
  margin: 0 auto 44px;
  text-align: left;
}

.faq-kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #111;
  line-height: 1;
}

.faq-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111;    margin: 0 0 14px;
}

.faq-list {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid #d9d9d9;
}

.faq-item {
  border-bottom: 1px solid #d9d9d9;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 48px 24px 0;
  font-size: 1rem;
  line-height: 1.95;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 10px 0px 100px;
  }
section#faq {
        margin:0!important;
    }
  .faq-inner {
    width: 85%;
  }

  .faq-heading {
    width: 100%;
    margin-bottom: 32px;
  }

  .faq-heading h2 {
    font-size: 1.6rem;
  }

  .faq-list {
    width: 100%;
  }

  .faq-question {
    padding: 20px 0;
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .faq-answer p {
    padding: 0 32px 20px 0;
    font-size: 0.92rem;
    line-height: 1.85;
  }
}
.overview-section {

  padding: 110px 20px 110px;
}

.overview-inner {
  width: 70vw;
  margin: 0 auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.overview-main {
  min-width: 0;
}

.overview-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1.5px solid #111;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #111;
}

.overview-copy {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #111;
}

.overview-text {
  max-width: 760px;
}

.overview-text p {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 2;
    color: #555;
}

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

.overview-side {
  min-width: 0;
}

.overview-card {
  position: sticky;
  top: 32px;
  padding: 28px 28px 26px;
  border: 1px solid #e7e7e7;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.overview-card-label {
  display: inline-block;
  margin: 0 0 18px;
  padding-left: 12px;
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111;
}

.overview-card-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0c419;
}

.overview-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-points li {
  position: relative;
  margin: 0;
  padding: 0 0 18px 18px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  border-bottom: 1px solid #ececec;
}

.overview-points li:not(:first-child) {
  padding-top: 18px;
}

.overview-points li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.overview-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
}

@media (max-width: 1024px) {
  .overview-section {
    padding: 90px 20px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .overview-text {
    max-width: 100%;
  }

  .overview-card {
    position: static;
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .overview-section {
    padding: 72px 16px 80px;
  }

  .overview-kicker {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .overview-copy {
    margin-bottom: 22px;
    font-size: 2.2rem;
    line-height: 1.18;
  }

  .overview-text p {
    font-size: 0.95rem;
    line-height: 1.95;
    margin-bottom: 16px;
  }

  .overview-card {
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .overview-points li {
    font-size: 0.92rem;
    line-height: 1.8;
  }
}
.overview-section {

  padding: 60px 20px 100px;
}

.overview-inner {
  width: 70vw;
  margin: 0 auto;
}

.overview-heading {
    margin-bottom: 1rem;
    margin-top: 4rem;
}

.overview-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1.5px solid #111;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.overview-heading h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

/* コピー（主役） */
.overview-copy {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: -0.03em;
  color: #111;
}

/* 本文 */
.overview-text {
  max-width: 780px;
      margin-top: 5%;
}

.overview-text p {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 2;
    color: #000000;
}
.kensyu.bcon {
    width: 93vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 6.865103vw 0 0 6.865103vw;
    background-color: #ffd8004d;
    padding: 6vw 0 6vw;
    margin-top: 0%;
}
/* スマホ */
@media (max-width: 768px) {
.overview-inner {
  width: 85vw;
  margin: 0 auto;
}
  .overview-section {
    padding: 80px 16px;
  }

  .overview-copy {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .overview-text p {
    font-size: 0.92rem;
    line-height: 1.9;
  }
}
.movie-section {
  background: #fff;
  padding: 110px 20px 120px;
}

.movie-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.movie-heading {
  margin-bottom: 40px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.movie-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  opacity: 0.92;
}

.movie-card-image {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eee;
  margin-bottom: 12px;
}

.movie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-card-image img {
  transform: scale(1.04);
}

.movie-card-title {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    font-weight: 600;
    color: #111;
}

/* tablet */
@media (max-width: 1024px) {
  .movie-section {
    padding: 90px 20px 100px;
  }

  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .movie-section {
    padding: 72px 16px 80px;
  }

  .movie-heading {
    margin-bottom: 28px;
  }

  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .movie-card-image {
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .movie-card-title {
    font-size: 0.95rem;
  }
}
.movie-category-section {
    background: #eeeeee85;
    padding: 5rem 20px 6rem;
}

.movie-category-inner {
  width: 70vw;
  margin: 0 auto;
}

.movie-category-heading {
  margin-bottom: 48px;
}

.movie-category-block + .movie-category-block {
  margin-top: 56px;
}

.movie-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
}

.movie-category-head h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.movie-category-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #000;
}

.movie-card-grid {
  display: grid;
  gap: 3rem;
}

.movie-card-grid--animals {
  grid-template-columns: repeat(3, 1fr);
}

.movie-card-grid--system {
  grid-template-columns: repeat(3, 1fr);
}

.movie-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  opacity: 0.92;
}

.movie-card-image {
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #efefef;
    margin-bottom: 12px;
}

.movie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-card-image img {
  transform: scale(1.04);
}

.movie-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
}

@media (max-width: 1024px) {
  .movie-category-section {
    padding: 90px 20px 100px;
  }

  .movie-card-grid--animals {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .movie-category-section {
    padding: 72px 16px 80px;
  }
.movie-category-inner {
  width: 85vw;
  margin: 0 auto;
}

  .movie-category-heading {
    margin-bottom: 34px;
  }

  .movie-category-block + .movie-category-block {
    margin-top: 42px;
  }

  .movie-category-head {
    margin-bottom: 18px;
  }

  .movie-category-head h3 {
    font-size: 1.15rem;
  }

  .movie-card-grid--animals,
  .movie-card-grid--system {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .movie-card-image {
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .movie-card-title {
        font-size: 0.92rem;
        line-height: 1.4;
        font-weight: 500;
  }
}
.modern-step-visual {
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modern-step-visual-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.modern-step-visual-icon {
    display: block;
    width: min(78%, 320px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.modern-step-visual-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 30px;
    padding: 0 1.6rem;
    border: 1.5px solid rgba(17, 17, 17, 0.9);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #111;
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.modern-step-visual-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.modern-step-visual-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.modern-step-visual-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
}

.bg-yellow {
    background: #ead12f;
}

.bg-pink {
    background: #de6d9f;
}

.bg-green {
    background: #4fc3b5;
}

@media (max-width: 1024px) {
    .modern-step-visual {
        min-height: 270px;
        padding: 2rem 1.25rem;
        border-radius: 1.75rem;
    }

    .modern-step-visual-icon {
        width: min(76%, 260px);
    }

    .modern-step-visual-btn {
        min-width: 168px;
        height: 50px;
        font-size: 0.96rem;
    }
}

@media (max-width: 767px) {
    .modern-step-visual {
        min-height: auto;
        padding: 1.75rem 1rem;
        border-radius: 1.5rem;
    }

    .modern-step-visual-inner {
        gap: 1.1rem;
    }

    .modern-step-visual-icon {
        width: min(72%, 220px);
    }

    .modern-step-visual-btn {
        width: 100%;
        max-width: 220px;
        min-width: 0;
        height: 48px;
        font-size: 0.95rem;
    }
}
.main-visual {
  width: 100%;
  height: auto;
}

/* スマホ */
@media (max-width: 768px) {
.s-section1__mainv.section1 {
    width: 100%;
    transform: translate(0px, 0px);
    top: 5rem;
    left: 0px;
    border-radius: 0px;
}
    .sp-only {
        display: block !important;
    }
        .overview-section {
        padding: 80px 16px 60px;
    }
}


.s-section1 .textbox {
    position: absolute;
    top: calc(50% + 30px);
    left: 6%;
    transform: translateY(-50%);
}
.s-section1__h1 img.topoverlay {
  display: block;
  max-width: 39rem;
  width: 100%;
  height: auto;
}
.modern-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.modern-step-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.modern-step-thumb {
  overflow: hidden;
  border-radius: 20px;
  background: #f5f5f5;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.modern-step-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.35s ease;
}


/* PC時のマウスオン */
.modern-step-link:hover .modern-step-thumb {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.modern-step-link:hover .modern-step-image {
  transform: scale(1.03);
  opacity: 0.96;
}

/* タブレット以下は1カラム */
@media screen and (max-width: 1024px) {
  .modern-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .modern-steps-grid {
    gap: 18px;
  }

  .modern-step-thumb {
    border-radius: 16px;
  }
}



.photo-gallery-section {
    padding: 0px 0 6rem;
    width: 100%;
}

.gallery-head {
  width: 70vw;
  margin: 0 auto 32px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1.5px solid #111;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #fff;
}

.gallery-title {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.08;
  font-weight: 800;
  color: #111;
}

.gallery-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

.gallery-slider-wrap {
  position: relative;
  width: 70vw;
  margin: 0 auto;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;    margin-top: 2rem;
}

.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery-card {
    flex: 0 0 calc((100% - -180px) / 3);
}

.gallery-item-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #f3f3f3;
  aspect-ratio: 4 / 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04) inset;
  transform: none;
  transition: box-shadow 0.3s ease;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transform: scale(1);
  transition: transform 0.45s ease, opacity 0.35s ease, filter 0.35s ease;
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: rgba(255,255,255,0);
  transition: background 0.35s ease;
}

.gallery-item-btn:hover .gallery-thumb {
  transform: none;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.gallery-item-btn:hover .gallery-thumb img {
  transform: scale(1.035);
  filter: saturate(1.02);
}

.gallery-item-btn:hover .gallery-thumb::after {
  background: rgba(255,255,255,0.1);
}

/* 写真上に重ねる左右ボタン */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #111;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(6px);
}

.gallery-nav-prev {
  left: 16px;
}

.gallery-nav-next {
  right: 16px;
}

.gallery-nav span {
  font-size: 2rem;
  line-height: 1;
}

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.96);
}

.gallery-nav.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ライトボックス */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
}

.gallery-lightbox-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  height: min(88vh, 920px);
  margin: 4vh auto 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.gallery-lightbox-stage img {
  max-width: 90%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  background: #fff;
}

.gallery-lightbox-nav,
.gallery-lightbox-close {
  border: none;
  color: #111;
  cursor: pointer;
}

.gallery-lightbox-nav {
    width: 64px;
    height: 100px;
    border-radius: 999px;
    font-size: 6rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

@media screen and (max-width: 1024px) {
  .gallery-head,
  .gallery-slider-wrap {
    width: min(100%, calc(100% - 32px));
  }

  .gallery-track {
    gap: 16px;
  }

  .gallery-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .gallery-thumb,
  .gallery-thumb img,
  .gallery-thumb::after {
    border-radius: 22px;
  }

  .gallery-nav {
    width: 52px;
    height: 52px;
  }

  .gallery-nav-prev {
    left: 10px;
  }

  .gallery-nav-next {
    right: 10px;
  }

  .gallery-lightbox-inner {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    width: min(1000px, calc(100% - 24px));
  }

  .gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 767px) {
  .photo-gallery-section {
        padding: 10px 16px 50px;
  }

.gallery-title {
  margin: 16px 0 10px;
  font-size: 1.6rem;
  line-height: 1.08;
  font-weight: 800;
  color: #111;
}

  .gallery-head,
  .gallery-slider-wrap {
        width: 85vw;
        margin: 0 auto;
  }

  .gallery-track {
    gap: 12px;
  }

  .gallery-card {
    flex: 0 0 60%;
  }

  .gallery-thumb,
  .gallery-thumb img,
  .gallery-thumb::after {
    border-radius: 18px;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
  }

  .gallery-nav span {
    font-size: 1.45rem;
  }

  .gallery-nav-prev {
    left: 8px;
  }

  .gallery-nav-next {
    right: 8px;
  }

  .gallery-lightbox-inner {
    width: calc(100% - 16px);
    height: 88vh;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .gallery-lightbox-stage img {
    border-radius: 16px;
  }

  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .gallery-lightbox-close {
    top: -6px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
.s-section1 .textbox {
    position: absolute;
    top: calc(50% + 30px);
    left: 2%;
    transform: translateY(-50%);
}
}