/* Keep picture sources out of the existing FV layout. */
.top-hero__picture {
  display: contents;
}
.top-hero__image img {
  height: auto;
}

#top {
  position: relative;
}
#top .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
}
.top-hero {
  position: relative;
  width: 100%;
  height: 630px;
  /* height: clamp(545px, 37.847vw, 970px); */
  overflow: hidden;
  background: var(--color-dark);
}
.top-hero--sp {
  display: none;
}
.top-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin-inline: auto;
}

.top-background {
  position: absolute;
  inset: 0;
  z-index: auto;
  overflow: hidden;
  pointer-events: none;
}
.fv__light {
  position: absolute;
  left: 0;
  top: 0;
}

/* 右上から、斜め下方向へ伸びる */
@keyframes fv-line-from-top {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(6%, -12%, 0);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translate3d(0, 0, 0);
  }
}

/* 左下から、斜め上方向へ伸びる */
@keyframes fv-line-from-bottom {
  0% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate3d(-6%, 12%, 0);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv__line,
  .top-hero.is-loaded .fv__line {
    opacity: 1;
    clip-path: inset(0);
    transform: none;
    animation: none;
  }
}
/*--------------------------
 FV line animation
----------------------------*/
.fv__line {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  opacity: 0;
  will-change: clip-path, transform, opacity;
}

/* 上から入るラインの初期状態 */
.fv__line--from-top {
  clip-path: inset(0 0 100% 0);
}

/* 下から入るラインの初期状態 */
.fv__line--from-bottom {
  clip-path: inset(100% 0 0 0);
}

/* ダーク */
.fv__line[class*="fv__line--dark"] {
  --duration: 0.72s;
  z-index: 0;
}

/* イエロー */
.fv__line[class*="fv__line--yellow"] {
  --duration: 0.48s;
  z-index: 1;
}
/* SP(追加) */
.fv__line[class*="fv__line--sp"] {
  --duration: 0.6s;
  z-index: 0;
}

/* ページ読み込み後に開始 */
.top-hero.is-loaded .fv__line--from-top {
  animation: fv-line-from-top var(--duration) var(--delay)
    cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

.top-hero.is-loaded .fv__line--from-bottom {
  animation: fv-line-from-bottom var(--duration) var(--delay)
    cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

/* .fv__line--dark01 { --delay: 0.05s; top: 327px; left: -45px;}
.fv__line--dark02 { --delay: 0.10s; top:-217px; left: 413px;}
.fv__line--dark03 { --delay: 0.15s; top: 293px; left: 770px;}
.fv__line--dark04 { --delay: 0.20s; top: 190px; left: 920px;}
.fv__line--dark05 { --delay: 0.25s; top:  80px; left: 1077px;}
.fv__line--dark06 { --delay: 0.30s; top:  80px; left: 1319px;}

.fv__line--gold01 { --delay: 0.28s; top: 200px; left: 495px;}
.fv__line--gold02 { --delay: 0.36s; top: 140px; left: 960px;}
.fv__line--gold03 { --delay: 0.44s; top: 350px; left:1240px;}

.fv__line--yellow01 { --delay: 0.48s; top: 215px; left:500px;}
.fv__line--yellow02 { --delay: 0.55s; top: 125px; left:525px;}
.fv__line--yellow03 { --delay: 0.62s; top: 270px; left:1055px;}
.fv__line--yellow04 { --delay: 0.69s; top:  83px; left:1395px;} */

/*--------------------------
 ダーク
----------------------------*/
.fv__line--dark00 {
  --delay: 0.05s;
  top: 0;
  left: calc((100% - 1440px) / 2 - 133px);
}

.fv__line--dark01 {
  --delay: 0.05s;
  top: 51.094%;
  left: calc((100% - 1440px) / 2 + -35px);
  /* width: 16.736%; */
}

.fv__line--dark02 {
  --delay: 0.1s;
  top: -33.906%;
  left: 28.681%;
  left: calc((100% - 1440px) / 2 + 393px);
  /* width: 18.958%; */
}

.fv__line--dark03 {
  --delay: 0.15s;
  top: 45.781%;
  left: calc((100% - 1440px) / 2 + 822px);
  /* width: 16.736%; */
}

.fv__line--dark04 {
  --delay: 0.2s;
  top: 29.688%;
  left: calc((100% - 1440px) / 2 + 939px);
  /* width: 18.125%; */
  z-index: 1 !important;
}

.fv__line--dark05 {
  --delay: 0.25s;
  top: 12.5%;
  right: calc((100% - 1440px) / 2 + 113px);
  /* width: 15.625%; */
}

.fv__line--dark06 {
  --delay: 0.3s;
  top: 12.5%;
  /* right: calc((100% - 1440px) / 2 - 250px); */
  right: -157px;
  /* width: 18.264%; */
}

.fv__line--dark07 {
  --delay: 0.3s;
  bottom: -76px;
  right: calc((100% - 1440px) / 2 - 400px);
  /* right: -80px; */
  /* width: 18.264%; */
}

/*--------------------------
 イエロー
----------------------------*/

.fv__line--yellow01 {
  --delay: 0.34s;
  top: 32.281%;
  left: 28.125%;
  left: calc((100% - 1440px) / 2 + 482px);
  /* width: 3.403%; */
}

.fv__line--yellow02 {
  --delay: 0.4s;
  /* top: 32.813%; */
  bottom: 0;
  left: 31.458%;
  left: calc((100% - 1440px) / 2 + 451px);
  /* width: 8.056%; */
  z-index: 3 !important;
}

.fv__line--yellow03 {
  --delay: 0.46s;
  /* top: 19.281%; */
  bottom: 0;
  left: 36.319%;
  left: calc((100% - 1440px) / 2 + 529px);
  /* width: 17.125%; */
}

.fv__line--yellow04 {
  --delay: 0.52s;
  /* top: 67.5%; */
  bottom: 0;
  left: calc((100% - 1440px) / 2 + 870px);
  /* width: 3.403%; */
}

.fv__line--yellow05 {
  --delay: 0.58s;
  top: 130px;
  left: 64.653%;
  left: calc((100% - 1440px) / 2 + 969px);
  /* width: 11.944%; */
}

.fv__line--yellow06 {
  --delay: 0.64s;
  top: 58.781%;
  /* left: 86.819%; */
  right: calc((100% - 1440px) / 2 + -13px);
  right: 50px;
  /* width: 9.167%; */
}

.fv__line--yellow07 {
  --delay: 0.74s;
  top: 19.5%;
  /* left: 97.597%; */
  /* right: calc((100% - 1440px) / 2 + -96px); */
  right: -9px;
  /* width: 3.403%; */
}
.fv__line--yellow08 {
  --delay: 0.64s;
  top: 180px;
  /* left: 64.653%; */
  left: calc((100% - 1440px) / 2 + 1099px);
  /* width: 11.944%; */
}

/*--------------------------
 HERO content
----------------------------*/

.top-hero__content {
  position: absolute;
  top: 18%;
  left: 110px;
  z-index: 3;
  width: 31%;
  color: #fff;
}

.top-hero__label {
  display: inline-block;
  margin: 0px 0 24px;
  padding: 6px 28px;
  color: #111;
  /* font-size: clamp(14px, 1.1vw, 26px); */
  font-size: 15px;
  /* font-size: clamp(15px, calc(15 / 1440 * 100vw), 22px); */
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: #fff;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}
.top-hero__title {
  width: clamp(258px, calc(258 / 1440 * 100vw), 700px);
  width: 320px;
  margin: 0;
}

.top-hero__title img {
  display: block;
  width: 100%;
  height: auto;
}

.top-hero__description {
  margin: 20px 0 0;
  /* font-size: clamp(16px, calc(16 / 1440 * 100vw), 24px); */
  /* font-size: clamp(14px, 1.1vw, 26px); */
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.top-hero__features {
  display: flex;
  align-items: center;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.top-hero__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
}
.top-hero__feature:nth-child(2) {
  padding: 0px 0 0 18px;
}

/* 1番目・2番目の後ろに区切り線 */
.top-hero__feature:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -11px;
  width: 22px;
  height: 101px;
  background: url("../img/top/hero_features_line.svg") center / contain
    no-repeat;
  content: "";
  transform: translate(50%, -50%);
  pointer-events: none;
}
.top-hero__feature-icon {
  display: block;
  width: 70px;
  /* width: clamp(48px, 3.2vw, 120px);
  height: clamp(48px, 3.2vw, 120px); */

  object-fit: contain;
}

.top-hero__feature-text {
  margin: 0;
  font-size: clamp(12px, calc(12 / 1440 * 100vw), 18px);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
}

.top-hero__feature-text span,
.top-hero__feature-text strong {
  display: block;
}

.top-hero__feature-text strong {
  font-weight: 400;
  font-size: clamp(13px, calc(13 / 1440 * 100vw), 20px);
  font-size: 13px;
}

/*--------------------------
 FV visual
----------------------------*/
.top-hero__visual {
  position: absolute;
  inset: 0;
  /* z-index: 1; */
  pointer-events: none;
}

/* ベース：初期状態は透明＋少し縮小 */
.top-hero__image {
  position: absolute;
  overflow: hidden;
  opacity: 0;
}

.top-hero--pc .top-hero__image--main {
  top: 17%;
  left: 33%;
  width: 615px;
  /* width: 40%; */
  /* height: 75%; */
  z-index: 3;
}

.top-hero--pc .top-hero__image--sub {
  right: 60px;
  bottom: 0;
  width: 490px;
  /* width: 30%; */
  /* height: 52%; */
  z-index: 4;
}

/* 読み込み後：手前(main)は先にくっきり登場 */
.top-hero.is-loaded .top-hero__image--main {
  animation: hero-image-focus 0.5s 0.4s cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

/* 奥(sub)は少し遅れて、ほんのりぼかしを残しつつ登場 */
.top-hero.is-loaded .top-hero__image--sub {
  animation: hero-image-blur 0.5s 0.5s cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

/* 手前の画像：ぼかしなしでスッと現れる */
@keyframes hero-image-focus {
  0% {
    opacity: 0;
    filter: blur(0);
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* 奥の画像：わずかにぼかしを残して「奥にある」感じを出す */
@keyframes hero-image-blur {
  0% {
    opacity: 0;
    /* filter: blur(6px); */
    transform: scale(0.97);
  }
  70% {
    /* filter: blur(6px); */
  }
  100% {
    opacity: 1;
    /* filter: blur(2px); */
    transform: scale(1);
  }
}

@media (min-width: 1500px) {
  .top-hero__content {
    left: 0px;
  }
  .top-hero--pc .top-hero__image--sub {
    right: 0px;
  }
  .top-hero__feature {
    width: 33%;
  }
  .fv__line--dark01 {
    left: calc((100% - 1440px) / 2 + -130px);
  }
  .fv__line--yellow06 {
    right: calc((100% - 1440px) / 2 + -13px);
  }
  .fv__line--yellow07 {
    right: calc((100% - 1440px) / 2 + -81px);
  }
  .fv__line--dark06 {
    right: calc((100% - 1440px) / 2 - 232px);
  }
}
@media (max-width: 1439px) {
  /* デスクトップ(やや小さめ) */
  .top-hero--pc .top-hero__content {
    top: 18%;
    left: 3%;
    width: 39%;
  }

  .top-hero--pc .top-hero__image--main {
    top: 17%;
    left: 32%;
    width: 43%;
  }

  .top-hero--pc .top-hero__image--sub {
    right: 1%;
    bottom: 0;
    width: 36%;
  }
}
@media (max-width: 1235px) {
  .top-hero--pc .top-hero__image--main {
    top: 17%;
    left: 34%;
    width: 56%;
  }

  .top-hero--pc .top-hero__image--sub {
    right: 1%;
    bottom: 0;
    width: 40%;
  }

  /* タブレット横 */
  .fv__line--dark02 {
    display: none;
  }

  /*--------------------------
    ダーク
    ----------------------------*/

  .fv__line--dark01 {
    top: 51.094%;
    left: -8%;
  }

  .fv__line--dark02 {
    top: -190px;
    left: 28%;
  }

  .fv__line--dark03 {
    top: 45.781%;
    left: 50%;
  }

  .fv__line--dark04 {
    top: 29.688%;
    left: calc((100% - 1440px) / 2 + 939px);
    z-index: 1 !important;
  }

  .fv__line--dark05 {
    top: 12.5%;
    right: calc((100% - 1440px) / 2 + 113px);
  }

  .fv__line--dark06 {
    top: 12.5%;
    right: calc((100% - 1440px) / 2 - 250px);
  }

  .fv__line--dark07 {
    bottom: -76px;
    right: calc((100% - 1440px) / 2 - 400px);
  }

  /*--------------------------
    イエロー
    ----------------------------*/

  .fv__line--yellow01 {
    top: 32.281%;
    left: calc((100% - 1440px) / 2 + 482px);
  }

  .fv__line--yellow02 {
    bottom: 0;
    left: 32%;
  }
  .fv__line--yellow03 {
    bottom: 0;
    left: 37%;
  }
  .fv__line--yellow04 {
    bottom: 0;
    left: 57%;
  }
  .fv__line--yellow05 {
    top: 130px;
    left: 77%;
  }
  .fv__line--yellow06 {
    top: 58.781%;
    right: calc((100% - 1440px) / 2 + -13px);
  }
  .fv__line--yellow07 {
    top: 12.5%;
    right: -15px;
  }
  .fv__line--yellow08 {
    top: 229px;
    left: 87%;
  }
}

@media (max-width: 1075px) {
  /* タブレット縦 */
  .top-hero {
    height: 600px;
  }
  .top-hero--pc .top-hero__label {
    margin: 0px 0 15px;
    padding: 6px 28px;
    font-size: 16px;
  }
  .top-hero--pc .top-hero__description {
    margin: 15px 0 0;
    font-size: 15px;
  }
  .top-hero--pc .top-hero__description br {
    /* display: none; */
  }
  .top-hero--pc .top-hero__content {
    top: 18%;
    left: 3%;
    width: 44%;
    max-width: 399px;
  }
  .top-hero--pc .top-hero__image--main {
    left: 39%;
    width: 51%;
  }

  .top-hero--pc .top-hero__image--sub {
    width: 35%;
  }
  .fv__line--yellow01 {
    top: 91px;
    left: 34%;
  }

  .fv__line--yellow02 {
    bottom: 0;
    left: 36%;
  }
  .fv__line--yellow03 {
    bottom: -53px;
    left: 39%;
  }
}

@media (max-width: 990px) {
  /* タブレット縦 */
  .top-hero {
    height: 554px;
  }
  .top-hero--pc .top-hero__label {
    margin: 0px 0 15px;
    padding: 6px 28px;
    font-size: 16px;
  }
  .top-hero--pc .top-hero__description {
    margin: 15px 0 0;
    font-size: 15px;
  }
  .top-hero--pc .top-hero__description br {
    display: block;
  }
  .top-hero--pc .top-hero__content {
    top: 15%;
    left: 3%;
    width: 47%;
    max-width: 400px;
  }
  .top-hero--pc .top-hero__image--main {
    left: 340px;
    width: 51%;
    top: 15%;
  }

  .top-hero--pc .top-hero__image--sub {
    width: 50%;
  }
  .fv__line--yellow01 {
    top: 91px;
    left: 44%;
  }

  .fv__line--yellow02 {
    bottom: -102px;
    left: 43%;
    z-index: 1 !important;
  }
  .fv__line--yellow03 {
    bottom: -53px;
    left: 47%;
  }
  .fv__line--yellow07 {
    top: 12.5%;
    right: -30px;
  }
  .fv__line--dark06 {
    top: -299px;
    right: -138px;
  }

  .fv__line--dark07 {
    bottom: -76px;
    right: calc((100% - 1440px) / 2 - 400px);
  }

  #top .site-header {
    position: relative;
    background: var(--color-dark);
  }
}

.fv__line--sp {
  display: none;
}

@media (max-width: 767px) {
  .top-hero--pc {
    display: none;
  }
  .fv__line--pc {
    display: none;
  }
  .top-hero--sp {
    display: block;
    height: auto;
  }
  .top-hero--sp .top-hero__inner {
    position: relative;
    z-index: 1;
    /* padding: 80px 0 0; */
    /* padding: calc(32 / 390 * 100vw) calc(20 / 390 * 100vw) calc(40 / 390 * 100vw); */
    padding: 0 5% 20px;
  }

  /*--------------------------
   背景ブロック
  ----------------------------*/
  .fv__line--sp {
    display: block;
    position: absolute;
    inset: 0;
    /* z-index: 0; */
    overflow: hidden;
    pointer-events: none;
  }
  .fv__line--sp.top-background {
    z-index: auto;
  }
  /* 左端のイエロー */
  .fv__line--sp01 {
    --delay: 0.05s;
    top: 37%;
    left: -10%;
    width: 19.231%;
  }

  /* 左下のダーク */
  .fv__line--sp02 {
    --delay: 0.11s;
    top: 40%;
    left: -22%;
    width: 53.59%;
    z-index: 0;
  }

  /* 中央上の大きいイエロー */
  .fv__line--sp03 {
    --delay: 0.17s;
    top: 0;
    left: 37.18%;
    width: 41.538%;
  }

  /* イエロー後ろのダーク */
  .fv__line--sp04 {
    --delay: 0.23s;
    top: 0;
    left: 63.28%;
    width: 28.718%;
    z-index: 0;
  }

  /* 右側の小さいイエロー */
  .fv__line--sp05 {
    --delay: 0.29s;
    top: 23%;
    left: 50%;
    width: 9.231%;
    z-index: 1 !important;
  }

  /* 右上の細いイエロー */
  .fv__line--sp06 {
    --delay: 0.35s;
    top: 0;
    right: 0;
    width: 7.436%;
  }

  /* 右側の大きいダーク */
  .fv__line--sp07 {
    --delay: 0.41s;
    top: 12.2%;
    left: 66.8%;
    width: 53.59%;
    z-index: 0;
  }

  /* Paint the LCP decoration in its final state, including before is-loaded.
     The remaining FV decorations retain their existing reveal animations. */
  .top-hero--sp .fv__line--sp07,
  .top-hero--sp.is-loaded .fv__line--sp07 {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  /* 右中央のイエロー */
  .fv__line--sp08 {
    --delay: 0.47s;
    top: 29.6%;
    left: 90%;
    width: 22.051%;
  }

  /*--------------------------
   ラベル
  ----------------------------*/
  .top-hero--sp .top-hero__label {
    display: inline-block;
    /* margin: 0 0 calc(16 / 390 * 100vw); */
    padding: calc(6 / 390 * 100vw) calc(20 / 390 * 100vw);
    color: #111;
    font-size: calc(13 / 390 * 100vw);
    font-weight: 700;
    line-height: 1.2;
    background: #fff;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
    position: absolute;
    z-index: 2;
    top: 0;
    left: calc(10 / -390 * 100vw);
  }

  /*--------------------------
   ビジュアル(メイン+サブを少し重ねる)
  ----------------------------*/
  .top-hero--sp .top-hero__visual {
    position: relative;
    width: 100%;
    /* margin-bottom: calc(24 / 390 * 100vw); */
    padding: 13px 0 0;
    position: relative;
    z-index: 1;
  }

  .top-hero--sp .top-hero__image--main {
    position: relative;
    width: 88%;
    left: -19%;
    /* border-radius: calc(8 / 390 * 100vw); */
    overflow: hidden;
  }

  .top-hero--sp .top-hero__image--main img {
    display: block;
    width: 100%;
    height: auto;
  }

  .top-hero--sp .top-hero__image--sub {
    position: absolute;
    right: 0;
    bottom: -4%;
    z-index: 1;
    width: 62%;
    right: -11%;
    /* border: calc(3 / 390 * 100vw) solid var(--color-dark, #111); */
    /* border-radius: calc(8 / 390 * 100vw); */
    overflow: hidden;
  }

  .top-hero--sp .top-hero__image--sub img {
    display: block;
    width: 100%;
    height: auto;
  }

  /*--------------------------
   タイトル(スマホ専用画像)
  ----------------------------*/
  .top-hero--sp .top-hero__title {
    width: 88%;
    margin: -5px 0 0;
    position: relative;
    z-index: 4;
  }

  .top-hero--sp .top-hero__title img {
    display: block;
    width: 100%;
    height: auto;
  }

  /*--------------------------
   本文
  ----------------------------*/
  .top-hero--sp .top-hero__description {
    margin: 20px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
  }

  /*--------------------------
   特徴アイコン(3分割)
  ----------------------------*/
  .top-hero--sp .top-hero__features {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
  }

  .top-hero--sp .top-hero__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 31%;
    padding: 0 !important;
  }

  .top-hero--sp .top-hero__feature:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -5%;
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
    content: "";
    transform: translateY(-50%);
  }

  .top-hero--sp .top-hero__feature-icon {
    display: block;
    width: 63px;
    /* width: calc(44 / 390 * 100vw);
    height: calc(44 / 390 * 100vw); */
    margin-bottom: calc(10 / 390 * 100vw);
    object-fit: contain;
  }

  .top-hero--sp .top-hero__feature-text {
    margin: 0;
    color: #fff;
    font-size: calc(11 / 390 * 100vw);
    line-height: 1.5;
    text-align: center;
  }

  .top-hero--sp .top-hero__feature-text strong {
    display: block;
    font-weight: 400;
    font-size: calc(12 / 390 * 100vw);
  }
}

/*--------------------------
 ABOUT
----------------------------*/
.about {
  padding: clamp(60px, 8vw, 120px) 0;
  background-image: image-set(url("../img/top/about-bg.webp") 1x);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100%;
  position: relative;
}

@media (min-width: 2070px) {
  .about {
    background-position: bottom 60% center;
  }
}

.about__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  margin: 0 auto;
}

.about__body {
  width: 50%;
  /* min-width: 320px; */
}

.about__heading {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--color-dark, #111);
}

.about__text {
  margin: 0 0 50px;
  /* font-size: 14px; */
  line-height: 2;
  /* color: #444; */
  letter-spacing: 0.05em;
  font-weight: 500;
}

.about__visual {
  width: 50%;
  /* border-radius: 20px; */
  overflow: hidden;
  position: absolute;
  right: 0;
  top: clamp(60px, 12vw, 190px);
}
.about__visual_sp {
  display: none;
}

.about__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about__visual picture {
  display: block;
  width: 100%;
}

@media (min-width: 1550px) {
  .about__visual {
    width: 50%;
    top: clamp(60px, 12vw, 190px);
  }
}

@media (min-width: 1550px) {
  .about__visual {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (min-width: 2350px) {
  .about__visual {
    /* top: 5%; */
  }
}

@media (max-width: 1439px) {
  .about {
    padding: 60px 0;
  }
  .about__body {
    width: 52%;
  }
  .about__visual {
    display: flex;
    justify-content: flex-start;
    width: 47%;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 1060px) {
  .about__visual {
    width: 43%;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 1023px) {
  .about {
    padding: 40px 0;
  }
  /* タブレット縦 */
  .about__body {
    width: 65%;
  }
  .about__visual {
    width: 40%;
  }
  .about__heading {
    margin: 0 0 15px;
    font-size: 25px;
  }
}

@media (min-width: 768px) and (max-width: 768px) {
  .about__body {
    width: 55%;
  }

  .about__visual {
    width: 45%;
  }

  .about__text br {
    display: none;
  }

  .about__heading br.--sp {
    display: block;
  }
}

@media (max-width: 767px) {
  /* タブレット縦 */
  .about {
    padding: 25px 0 45px;
    width: 100%;
    overflow: hidden;
    background-size: 960px;
  }
  .about__visual {
    display: none;
  }
  .about__visual_sp {
    display: block;
    width: 110%;
    position: relative;
    left: 0%;
    overflow: hidden;
    top: 0;
    margin: 0 0 25px;
  }
  .about__body {
    width: 100%;
  }
  .about__text {
    margin: 0 0 20px;
  }
  .about__text br {
    display: none;
  }
  .about__body .btn-block {
    margin: auto;
  }
  .about__btn {
    display: flex;
    justify-content: center;
  }
  .about__heading {
    font-size: 22px;
  }
}

/*--------------------------
 COURSE
----------------------------*/
.course {
  position: relative;
  padding: 70px 0;
  color: #fff;
  background-image: url("../img/top/pc_back_converted.webp");
  background-size: cover;
  background-position: bottom center;
}

@media (min-width: 2070px) {
  .course {
    background-position: center;
  }
}

.course__list {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-around;
  transform: translateX(-40px);
}

.course__item {
  width: 50%;
  max-width: 495px;
}

/*--------------------------
 カード全体(ここで平行四辺形の形を作る)
----------------------------*/
.course__link {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  clip-path: polygon(17% 0, 100% 0, 83% 100%, 0 100%);
}
/*--------------------------
 サムネイル(矩形のまま、親でカットされる)
----------------------------*/
.course__thumb {
  position: relative;
  height: 216px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .course__thumb {
    width: 495px;
  }
}

.course__thumb img {
  display: block;
  width: 100%;
  height: auto;
  /* aspect-ratio: 4 / 3; */
  /* object-fit: cover; */
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .course__thumb img {
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
}

.course__link:hover .course__thumb img {
  transform: scale(1.05);
}

/*--------------------------
 バッジ(リボン風の平行四辺形)
----------------------------*/
.course__badge {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 25px;
  position: absolute;
  line-height: 1;
  top: 0px;
  left: 77px;
  padding: 2px 15px 2px 15px;
  letter-spacing: 0.02em;
  color: #111;
  background: var(--color-lime, #e2ff00);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

/*--------------------------
 テキストエリア(矩形のまま、親でカットされる)
----------------------------*/
.course__text {
  position: relative;
  padding: 16px 0 30px;
  color: #111;
}

.course__name {
  margin: 0 0 0px 65px;
  font-size: 22px;
  font-weight: 600;
  width: 330px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.course__desc {
  margin: 0px 0 0 66px;
  line-height: 1.8;
  width: 330px;
  font-weight: 500;
}

/*--------------------------
  COURSE：矢印アイコン
----------------------------*/
.course__link-arrow {
  position: absolute;
  right: 103px;
  bottom: 13px;
  display: block;
  width: 28px;
  height: 12px;
  overflow: hidden;
  color: #111;
}

/* 通常矢印・クローン矢印 */
.course__link-arrow::before,
.course__link-arrow::after {
  position: absolute;
  inset: 0;
  display: block;
  width: 28px;
  height: 12px;
  background-color: currentColor;
  content: "";

  /* SVG矢印 */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 1L18.5 6M18.5 6H1' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 1L18.5 6M18.5 6H1' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 通常矢印 */
.course__link-arrow::before {
  transform: translate3d(0, 0, 0);
}

/* クローン矢印：最初は左側に隠す */
.course__link-arrow::after {
  transform: translate3d(-130%, 0, 0);
}

/* 通常矢印が右へ抜ける */
.course__link:hover .course__link-arrow::before {
  transform: translate3d(130%, 0, 0);
}

/* クローン矢印が左から入る */
.course__link:hover .course__link-arrow::after {
  transform: translate3d(0, 0, 0);
}

/* 動きを減らす設定のユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .course__link-arrow::before,
  .course__link-arrow::after {
    transition-duration: 0.01ms;
  }
}

/* PC/タブレットでは隠す */
.course__btn-sp {
  display: none;
}

@media (max-width: 1199px) {
  /* タブレット横 */
  .course__item {
    max-width: 460px;
  }

  .course__badge {
    font-size: 25px;
    left: 70px;
    padding: 2px 15px 2px 15px;
  }
  .course__name {
    margin: 0 0 0px 50px;
    /* font-weight: 700; */
    width: 320px;
  }
  .course__desc {
    margin: 0px 0 0 50px;
    width: 320px;
  }

  .course__list {
    transform: translateX(-20px);
  }
}
@media (max-width: 1023px) {
  .course {
    padding: 40px 0;
  }

  /* タブレット縦 */
  .course__list {
    justify-content: space-between;
    margin-top: 26px;
    transform: none;
  }
  .course__item {
    width: 48%;
  }

  /* カード全体の斜めカットを解除 */
  .course__link {
    clip-path: none;
    background: transparent;
  }
  .course__thumb {
    /* clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); */
    height: auto;
    /* overflow: hidden; */
  }

  .course__text {
    padding: 5px 4px 0;
  }

  /* 矢印だけのリンクではなく、枠線ボタンに切り替え */
  .link-arrow {
    display: none; /* テキスト内の矢印は非表示にして、下のボタンに統合 */
  }
  .course__name,
  .course__desc {
    color: var(--color-white);
    width: 100%;
    margin: auto;
    letter-spacing: 0.05em;
  }
  .course__badge {
    left: -7px;
  }
  .course__btn-sp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px auto 0;
    padding: 0 20px;
    height: 52px;
    color: #fff;
    border: 1px solid #fff;
    width: 260px;
    font-weight: 500;
  }
  .course__btn-sp .btn-block__icon-wrapper {
    top: 50%;
    right: 20px;
    color: #fff;
  }
  .course__link:hover .course__btn-sp .btn-block__icon--normal {
    transform: translate3d(130%, 0, 0);
  }
  .course__link:hover .course__btn-sp .btn-block__icon--clone {
    transform: translate3d(0, 0, 0);
  }
  .course__link-arrow {
    display: none;
  }
}
@media (max-width: 767px) {
  /* スマホ */
  .course {
    padding: 40px 0 45px;
    background-image: url("../img/top/sp_back_converted.webp");
  }
  .course__list {
    flex-flow: column;
    margin-top: 26px;
    align-items: center;
  }
  .course__item {
    width: 100%;
  }
  .course__item:first-child {
    margin-bottom: 45px;
    width: 100%;
  }
  .course__name {
    font-size: 20px;
  }
}

/*--------------------------
 NEWS
----------------------------*/
.news {
  padding: 40px 0 80px;
}

.news__columns {
  display: flex;
  gap: clamp(24px, 4vw, 60px);
}

.news__pickup {
  width: 42%;
}

.news__pickup_title {
  margin: 0 0 15px;
  font-size: 32px;
}

.news__pickup_card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news__pickup_thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 437 / 246;
}

.news__pickup_thumb--portrait {
  aspect-ratio: 1 / 1;
}

.news__pickup_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.4s ease;
}

.news__pickup_card:hover .news__pickup_thumb img,
.news__pickup_card:focus-visible .news__pickup_thumb img {
  opacity: 0.7;
}
.news__pickup_body {
  padding-top: 16px;
}

.news__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #8d8d8d;
}

.news__tag {
  padding: 1px 0;
  border-radius: 100px;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  font-size: 13px;
  min-width: 84px;
  text-align: center;
}

.news__pickup_name {
  margin: 0px 0 0px;
  font-weight: 800;
  font-size: 20px;
}

.news__pickup_body .news__meta {
  color: #111;
}

.news__pickup_excerpt {
  margin: 10px 0 0 0;
}

.news__pickup_buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.news__list_area {
  width: 58%;
}

.news__list_head {
  /* display: flex; */
  /* align-items: center; */
  justify-content: space-between;
  /* margin-bottom: 16px; */
}

.news__list_title {
  margin: 0 0 17px;
  font-size: 32px;
}
.news__select {
  position: relative;
  width: 185px;
}
.news__select select {
  padding: 8px 30px 8px 14px;
  width: 100%;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 100px;
  background: #fff;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* 独自の矢印 */
.news__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.news__list {
  margin: 0 0 24px;
  /* padding: 16px 0 0; */
  list-style: none;
  /* border-top: 1px solid #e5e5e5; */
}

.news__list_item[hidden] {
  display: none;
}

.news__empty {
  padding: 20px 0;
  color: #8d8d8d;
  border-bottom: 1px solid #e5e5e5;
}

.news__list_item a {
  display: flex;
  flex-flow: column;
  gap: 7px;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
}

.news__list_text {
  position: relative;
  /* font-size: 15px; */
  line-height: 1.7;
  padding: 0 65px 0 0;
}

.news__list_text .btn-block__icon-wrapper {
  right: 20px;
  color: #111;
}

.news__list_item a:hover .btn-block__icon--normal {
  transform: translate3d(130%, 0, 0);
}

.news__list_item a:hover .btn-block__icon--clone {
  transform: translate3d(0, 0, 0);
}

.news__pickup_buttons .btn-block,
.news__list_button .btn-block {
  min-width: 200px;
  flex: 1;
  max-width: 200px;
}
.news__list_button {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

@media (max-width: 1023px) {
  .news__columns {
    gap: 30px;
    /* flex-flow: column; */
  }

  .news__pickup_buttons {
    flex-flow: column;
    align-items: center;
  }
}
@media (max-width: 767px) {
  /* スマホ */
  .news {
    padding: 45px 0 45px;
  }
  .news__columns {
    flex-flow: column;
  }
  .news__pickup,
  .news__list_area {
    width: 100%;
  }
  .news__pickup_title {
    margin: 0 0 5px;
    font-size: 28px;
  }
  .news__list_title {
    margin: 0 0 5px;
    font-size: 28px;
  }
  .news__select select {
    padding: 5px 30px 5px 12px;
  }
  .news__list_button {
    margin-top: 15px;
  }
  .news__pickup_buttons {
    margin-top: 15px;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
  }
  .news__pickup_buttons .btn-block {
    min-width: 260px;
    max-width: 260px;
    width: 100%;
    /* height: 58px; */
    padding: 0 15px 0 0;
  }
  .news__meta {
    font-size: 14px;
  }
  .news__list_item a {
    gap: 5px;
    padding: 10px 0;
  }
  .news__list_text {
    padding: 0 47px 0 0;
  }
  .news__list_text .btn-block__icon-wrapper {
    right: 10px;
  }
  .news__list_button .btn-block {
    max-width: 260px;
  }
}

@media (max-width: 374px) {
  /* 小型スマホ(iPhone SEなど) */
  .news__pickup_buttons {
    flex-flow: wrap;
    align-items: center;
  }
  /* .news__pickup_buttons .btn-block {
    min-width: 100%;
    max-width: 100%;
  } */
}

/*--------------------------
 YOUTUBE
----------------------------*/
.youtube {
  padding: 150px 0;
  background: #efefef;
  overflow: hidden;
  position: relative;
}

.youtube__inner {
  display: flex;
  align-items: center;
  gap: 19px;
  position: relative;
  z-index: 1; /* デコレーションより手前に表示 */
  justify-content: space-between;
}

.youtube__head {
  width: 28%;
  min-width: 260px;
}
.youtube__head .section-label {
  margin: 0 0 10px;
}

.youtube__text {
  margin: 0 0 32px;
  /* font-size: 13px; */
  line-height: 1.9;
}

.youtube__list {
  display: flex;
  width: 64%;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
}
.youtube__list li:first-child {
  width: 60%;
}
.youtube__list li:last-child {
  width: 36%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.youtube__list li:first-child p {
  margin-top: 15px;
  font-size: 15px;
}
.youtube__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 追加 */
.youtube__item iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.youtube__preview {
  aspect-ratio: 16 / 9;
  background: #111;
}
.youtube__preview-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.youtube__preview-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}
.youtube__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: #f03;
  transform: translate(-50%, -50%);
}
.youtube__play::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 28px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
}
.youtube__preview-link:focus-visible {
  outline: 3px solid #c9ed27;
  outline-offset: 3px;
}

.youtube__caption {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.youtube .container {
  position: relative;
}

/* 背景の平行四辺形(黒＋黄緑の2層) */
.youtube__deco {
  position: absolute;
  top: 0;
  left: calc((100% - 1110px) / 2 - 62px);
  z-index: 0;
  width: 395px;
  height: 100%;
  pointer-events: none;
}

.youtube__deco::before,
.youtube__deco::after {
  position: absolute;
  inset: 0;
  content: "";
}

/* 奥の黒い帯(右にずらし、下に余白を残す) */
.youtube__deco::before {
  bottom: 120px;
  background: #121212;
  transform: skewX(-17deg) translateX(25px);
}

/* 手前の黄緑の帯 */
.youtube__deco::after {
  bottom: 60px;
  background: #cded2f;
  transform: skewX(-17deg);
}

@media (max-width: 1023px) {
  /* タブレット縦 */
}
@media only screen and (max-width: 1200px) {
  .youtube__deco {
    left: 0;
    width: 360px;
    height: 100%;
  }
}
@media only screen and (max-width: 1023px) {
  .youtube {
    padding: 40px 0;
  }
  .youtube__inner {
    flex-flow: column;
  }
  .youtube__head {
    width: 100%;
  }
  .youtube__list {
    width: 100%;
  }
  .youtube__deco::before {
    display: none;
  }
  .youtube__deco::after {
    bottom: 0;
  }
}
@media (min-width: 768px) and (max-width: 1020px) {
  .youtube__deco {
    left: -12%;
  }
}
@media (max-width: 767px) {
  /* スマホ */

  .youtube__deco {
    left: -36%;
    width: 60%;
    height: 100%;
  }
  .youtube__list {
    flex-flow: column;
  }
  .youtube__list li:first-child {
    width: 100%;
  }
  .youtube__list li:last-child {
    width: 100%;
    gap: 20px;
    margin-top: 15px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
  }
  .youtube__text {
    margin: 0 0 -1px;
  }
  .youtube__list li:first-child p {
    margin-top: 5px;
  }

  .youtube__deco::before {
    transform: skewX(-17deg) translate(10px, 10px);
  }
  .youtube_btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
  }
  .youtube_btn a {
    /* width: 100%; */
  }
}

/*--------------------------
 BENKEI NEWS
----------------------------*/
.benkei-news {
  padding: 60px 0;
  background: #000;
  background-image: url("../img/top/benkei_news_bg.webp");
  background-size: 100%;
}
.benkei-news h2 {
  text-align: center;
}
.benkei-news h2 .section-label__en {
  font-size: 48px;
}

.benkei-news__body {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  margin: auto;
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
}
.benkei-news__text {
  position: relative;
  z-index: 1;
  width: 50%;
  text-align: center;
}
.benkei-news__text p {
  text-align: left;
}
.benkei-news__text .btn-block {
  margin: 0 auto;
}
.benkei-news__text p {
  margin: 25px 0 15px 32px;
}

.benkei-news__img {
  position: relative;
  overflow: hidden;
  width: 60%;
  min-height: 195px;
}

.benkei-news__img-flow {
  position: absolute;
  inset: -28% -18%;
  inset: -28% 7%;
  display: flex;
  gap: 14px;
  transform: rotate(11deg) scale(1);
}

.benkei-news__img-track {
  width: calc((100% - 28px) / 3);
  flex-shrink: 0;
  will-change: transform;
}

.benkei-news__img-track--1 {
  animation: benkei-news-scroll-up 48s linear infinite;
}

.benkei-news__img-track--2 {
  animation: benkei-news-scroll-down 48s linear infinite;
}

.benkei-news__img-track--3 {
  animation: benkei-news-scroll-up 48s linear -16s infinite;
}

.benkei-news__img-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}

.benkei-news__img-item {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.benkei-news__img-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .benkei-news__img-flow {
    justify-content: flex-start;
    gap: 10px;
  }

  .benkei-news__img-track {
    width: 178px;
    max-width: 178px;
  }

  .benkei-news__img-item {
    width: 100%;
    max-width: none;
  }

  .benkei-news__img-group {
    gap: 10px;
    padding-bottom: 10px;
  }
}

@keyframes benkei-news-scroll-up {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes benkei-news-scroll-down {
  from {
    transform: translate3d(0, -50%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}
.benkei-news__text .btn-block {
  background: #e6e6e6;
  color: var(--color-dark);
}
.benkei-news__img__sp {
  display: none;
}
@media (max-width: 1023px) {
  .benkei-news__img {
    width: 45%;
  }
  .benkei-news__text {
    width: 60%;
    padding: 20px;
  }
  .benkei-news__text p {
    margin: 0 0 20px;
  }
  .benkei-news__img-track {
    width: 130px;
    flex-shrink: 0;
    will-change: transform;
  }
  .benkei-news__img-flow {
    gap: 5px;
  }
  .benkei-news__img-group {
    gap: 5px;
  }
}
@media (max-width: 767px) {
  /* タブレット縦 */
  .benkei-news h2 .section-label__en {
    font-size: 32px;
  }
  .benkei-news__body {
    display: flex;
    flex-flow: column-reverse;
    justify-content: space-between;
    background-color: transparent;
    color: #fff;
    text-align: center;
  }
  .benkei-news__img {
    display: none;
  }
  .benkei-news__text p {
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 0;
  }
  .benkei-news__text {
    width: 100%;
    margin: 0px 0 0;
    padding: 0;
  }

  .benkei-news {
    padding: 40px 0;
    background-color: #000;
    background-image: url("../img/top/benkei_news_sp.webp");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .benkei-news__pcbtn {
    display: none;
  }
  .benkei-news__text .btn-block {
    color: #fff;
    background: transparent;
    border-color: #fff;
    border: 1px solid #fff;
  }

  .benkei-news__text .btn-block:hover {
    color: #fff;
    background-color: #000;
    border-color: #fff;
  }
  .benkei-news__text .btn-block__icon {
    background-image: url("../img/common/arrow_wht.svg");
  }
  .benkei-news__text .btn-block:hover .btn-block__icon {
    background-image: url("../img/common/arrow_wht.svg");
  }
  .benkei-news__img__sp {
    display: block;
    overflow: hidden;
    margin: 25px auto 0;
    width: 80%;
  }

  .benkei-news__img__sp .benkei-news__img-flow {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: none;
  }

  .benkei-news__img__sp .benkei-news__img-track {
    display: flex;
    width: max-content;
  }

  .benkei-news__img__sp .benkei-news__img-track--1 {
    animation: benkei-news-scroll-left 40s linear infinite;
  }

  .benkei-news__img__sp .benkei-news__img-track--2 {
    animation: benkei-news-scroll-right 40s linear infinite;
  }

  .benkei-news__img__sp .benkei-news__img-group {
    flex-direction: row;
    gap: 12px;
    padding: 0 12px 0 0;
  }

  .benkei-news__img__sp .benkei-news__img-item {
    width: 180px;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .benkei-news__img__sp {
    width: 100%;
  }

  .benkei-news__img__sp .benkei-news__img-item {
    width: 150px;
  }
}

@keyframes benkei-news-scroll-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes benkei-news-scroll-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .benkei-news__img-track {
    animation-play-state: paused;
  }
}
/*--------------------------
 INSTAGRAM
----------------------------*/
.instagram {
  padding: 80px 0 66px;
  overflow: hidden;
}
.instagram > .container {
  max-width: 1320px;
}
.instagram .section-label {
  margin: 0 0 60px;
  text-align: left;
  align-items: flex-start;
}
/* The feed adapter can be styled inside this wrapper after connecting. */
.instagram__posts {
  margin-bottom: 60px;
}
.instagram__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.instagram__item {
  min-width: 0;
}
.instagram__list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.instagram__foot {
  text-align: center;
}
.instagram__foot [aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}
@media (max-width: 1023px) {
  .instagram {
    padding: 56px 0;
  }
  .instagram .section-label {
    margin-bottom: 36px;
  }
  .instagram__posts {
    margin-bottom: 36px;
  }
  .instagram__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .instagram {
    padding: 40px 0;
  }
  .instagram .section-label {
    margin-bottom: 28px;
  }
  .instagram__posts {
    margin-bottom: 30px;
  }
  .instagram__list > .instagram__item:nth-child(n + 5) {
    display: none;
  }
  .instagram__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 12px;
  }
}
/*--------------------------
 TOP PARTNERS
----------------------------*/
.partner {
  padding: 60px 0;
  background: #f6f6f6;
}
.partner .container {
  max-width: 1280px;
}

.partner__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  text-align: center;
}

.partner__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.partner__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 100px;
  padding: 0px;
  background: #fff;
}

.partner__list li img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.partner__foot {
  display: flex;
  justify-content: center;
  gap: 0 60px;
}

.instagram h2 .section-label__en,
.partner h2 .section-label__en {
  font-size: 40px;
  text-align: left;
}

@media (max-width: 1199px) {
  /* タブレット横 */
  .partner__list li {
    width: 30%;
    height: 95px;
    padding: 2px;
  }
}

@media (max-width: 1023px) {
  .instagram h2 .section-label__en,
  .partner h2 .section-label__en {
    font-size: 30px;
  }

  .partner {
    padding: 40px 0;
  }
}
@media (max-width: 767px) {
  /* スマホ */
  .partner__list {
    display: flex;
    justify-content: space-between;
    margin: 0 0 40px;
    padding: 0;
    gap: 15px 0;
    list-style: none;
  }
  .partner__list li {
    width: 48%;
    height: 90px;
    padding: 3px;
  }
  .partner__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 0;
  }
}

@media (max-width: 374px) {
  /* 小型スマホ(iPhone SEなど) */
  .partner__list {
    gap: 15px 0;
  }

  .partner__list li {
    width: 48%;
    height: 80px;
    padding: 3px;
  }
}

.partner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-align: center;
  transition: opacity 0.25s ease;
}
.partner__link:hover {
  opacity: 0.7;
}
.partner__list li img {
  max-width: 100%;
}

/* SP: reveal the title as the hero images finish appearing. */
@keyframes hero-title-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .top-hero--sp.is-title-pending .top-hero__title {
    opacity: 0;
  }
  .top-hero--sp.is-loaded .top-hero__title {
    animation: hero-title-reveal 0.5s 0.8s ease-out both;
  }
}

.benkei-news__text br.--xssp {
  display: none;
}

@media (max-width: 369px) {
  .benkei-news__text br.--xssp {
    display: inline;
  }
}

/* 1個版のみ上書き。既存の .news__pickup_buttons の2個版スタイルは復元用に保持。 */
.news__pickup_buttons--single {
  justify-content: center;
}
.news__pickup_buttons--single .btn-block {
  flex: 0 1 260px;
  width: 100%;
  min-width: 0;
  max-width: 260px;
}
@media (max-width: 1023px) and (min-width: 768px) {
  .news__pickup_buttons--single {
    flex-direction: row;
  }
}

/* Align the two column actions even when their content heights differ. */
@media (min-width: 768px) {
  .news__columns {
    align-items: stretch;
  }
  .news__pickup,
  .news__list_area {
    display: flex;
    flex-direction: column;
  }
  .news__pickup_buttons--single,
  .news__list_button {
    margin-top: auto;
    padding-top: 35px;
    flex-shrink: 0;
  }
}

@media (max-width: 360px) {
  .top-hero--sp .top-hero__description {
    font-size: 15px;
  }
}

@media (max-width: 335px) {
  .top-hero--sp .top-hero__description br {
    display: none;
  }
}
