/* ========== FV (ファーストビュー) ========== */
.home,
.page-template-page-service {
  padding-top: 0 !important;
}

/* サービスTOPのヘッダー透明状態は黒10%＋背面ブラーで磨りガラス風に */
.page-template-page-service .l-header.is-transparent {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
}

/* サービスヘッダー下辺のシャドウは layout.css の .is-service-section に集約 */

.fv {
  position: relative;
  width: 100%;
  height: calc(100vh + 2.5vh);
  height: calc(100svh + 2.5vh);
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vh), 0 100%);
}

.fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fv__bg img,
.fv__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* クロスフェード：2枚の動画を重ねて切替 */
.fv__bg[data-video-crossfade] {
  overflow: hidden;
  background: #000;
}

.fv__bg[data-video-crossfade] .fv__bg-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.fv__bg[data-video-crossfade] .fv__bg-video.is-active {
  opacity: 1;
}

.fv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.fv__content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #fff;
  padding: 20px 20px 40px 8%;
  max-width: 1000px;
}

.fv__catch {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* eyebrow ラベル */
.fv__eyebrow {
  display: inline-block;
  position: relative;
  padding-left: 36px;
  margin: 0 0 24px;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(16px);
  animation: fv-fade-up 1s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fv__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, #c4a576, transparent);
}

.fv__title {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  line-height: 1.4;
}

.fv__title-line {
  display: block;
}

/* "科学" のメタリックアクセント */
.fv__title-em {
  font-style: normal;
  color: #d8c294;
}

.fv__title-em .split-char {
  background: linear-gradient(135deg, #c8d3de 0%, #f4f6f9 45%, #d8c294 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* スプリットテキスト：1文字ずつフェードアップ */
[data-split-text] .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 35ms + 0.4s);
}

[data-split-text].is-split-revealed .split-char {
  opacity: 1;
  transform: translateY(0);
}

/* ========== スクロール出現アニメ（共通） ==========
 * data-reveal               → 既定（下から軽くスライド＋フェード）
 * data-reveal="left|right|scale" → 方向バリアント
 * data-reveal-delay="200"    → ms 単位の個別遅延
 * data-reveal-stagger="120"  → 親に付けると直下の [data-reveal] に index×ms 遅延を自動付与（JS制御）
 */
[data-reveal],
[data-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-reveal-left,
[data-reveal-item].is-reveal-left {
  transform: translate3d(-20px, 0, 0);
}

[data-reveal].is-reveal-right,
[data-reveal-item].is-reveal-right {
  transform: translate3d(20px, 0, 0);
}

[data-reveal].is-reveal-scale,
[data-reveal-item].is-reveal-scale {
  transform: scale(0.96);
}

[data-reveal].is-visible,
[data-reveal-item].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.fv__dotted-char {
  position: relative;
  display: inline-block;
}

.fv__dotted-char::before {
  content: "・";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

.fv__desc {
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 60px;
  opacity: 0.9;
  animation: fv-fade-up 1s 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  letter-spacing: 0.04em;
}

.fv__achievements {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 60px;
  animation: fv-fade-up 1s 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fv__achievement {
  text-align: center;
}

.fv__achievement img {
  width: 250px;
  height: auto;
}

.fv__buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  animation: fv-fade-up 1s 1.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px 18px 32px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  letter-spacing: 0.18em;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease, color 0.4s ease;
  min-width: 280px;
  position: relative;
  overflow: hidden;
}

.fv__btn-text {
  position: relative;
  z-index: 1;
}

.fv__btn-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.fv__btn:hover {
  padding-right: 20px;
}

.fv__btn:hover .fv__btn-arrow {
  transform: translateX(4px);
}

.fv__btn-icon {
  width: 18px;
  height: 18px;
}

.fv__btn--primary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fv__btn--primary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
}

.fv__btn--primary:hover .fv__btn-arrow {
  border-color: rgba(255, 255, 255, 0.85);
}

.fv__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fv__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.fv__btn--secondary:hover .fv__btn-arrow {
  border-color: rgba(255, 255, 255, 0.7);
}

@keyframes fv-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fv__eyebrow,
  .fv__desc,
  .fv__achievements,
  .fv__buttons,
  [data-split-text] .split-char {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.fv__dots {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* スクロールインジケーター */
.fv__scroll {
  position: absolute;
  bottom: 64px;
  right: 6%;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  opacity: 0;
  animation: fv-fade-up 1.2s 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fv__scroll-label {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  letter-spacing: 0.45em;
  font-weight: 500;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-bottom: 4px;
}

.fv__scroll-line {
  position: relative;
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.fv__scroll-line-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, #e8d5b0 50%, #c4a576);
  transform: translateY(-100%);
  animation: fv-scroll-line 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes fv-scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.fv__scroll:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .fv__scroll {
    bottom: 40px;
    right: 5%;
  }
  .fv__scroll-line {
    height: 44px;
  }
  .fv__scroll-label {
    font-size: 9px;
    letter-spacing: 0.4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv__scroll-line-inner {
    animation: none;
    transform: translateY(0);
  }
}

.fv__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.4s ease;
}

.fv__dot.is-active {
  background: #fff;
}

.fv__dot.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  animation: fv-dot-ring 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

@keyframes fv-dot-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* FV Responsive */
@media screen and (max-width: 960px) {
  .fv {
    margin-top: 0;
    height: calc(100vh + 1.25vh);
    align-items: flex-start;
  }

  .fv__content {
    padding-top: 100px;
  }

  .fv__title {
    font-size: 32px;
  }

  .fv__catch {
    font-size: 16px;
  }

  .fv__achievements {
    gap: 24px;
  }

  .fv__achievement img {
    width: 150px;
  }

  .fv__buttons {
    flex-direction: column;
    align-items: center;
  }

  .fv__btn {
    min-width: 260px;
  }

  /* サービストップのみSPで中央寄せ */
  .page-template-page-service .fv__content {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-template-page-service .fv__achievements,
  .page-template-page-service .fv__buttons {
    justify-content: center;
  }

  /* サービストップのみSPでeyebrow縮小・ラインを下に */
  .page-template-page-service .fv__eyebrow {
    padding-left: 0;
    padding-bottom: 14px;
    font-size: 10px;
  }

  .page-template-page-service .fv__eyebrow::before {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: 32px;
    background: linear-gradient(90deg, transparent, #c4a576, transparent);
  }
}

@media screen and (max-width: 480px) {
  .fv__title {
    font-size: 24px;
  }

  .fv__desc {
    font-size: 13px;
  }

  .fv__desc br {
    display: none;
  }

  .fv__achievement img {
    width: 120px;
  }
}

/* ========== ABOUT セクション ========== */
.about {
  position: relative;
  padding: calc(80px + 5vh) 20px calc(5vh);
  margin-top: -5vh;
  color: #fff;
  overflow: hidden;
  /* FV の clip-path 底辺と1px重ねて、斜め境界でのサブピクセル隙間（白い線）を消す */
  clip-path: polygon(0 calc(5vh - 1px), 100% -1px, 100% calc(100% - 5vh), 0 100%);
}

.about__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(130px + 5vh);
  z-index: 0;
  clip-path: polygon(0 calc(5vh - 1px), 100% -1px, 100% calc(100% - 5vh), 0 100%);
}

.about__bg img,
.about__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* クロスフェード：2枚の動画を重ねて切替（FVと同じ演出） */
.about__bg[data-video-crossfade] {
  overflow: hidden;
  background: #000;
}

.about__bg[data-video-crossfade] .about__bg-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.about__bg[data-video-crossfade] .about__bg-video.is-active {
  opacity: 1;
}

.about__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(130px + 5vh);
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.85) 100%); */
  z-index: 1;
  clip-path: polygon(0 5vh, 100% 0, 100% calc(100% - 5vh), 0 100%);
}

.about__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about__heading {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 16px;
}

.about__heading-accent {
  background: linear-gradient(110deg, #ffa263, #ff787d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about__title {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.4;
}

.about__title ruby rt {
  font-size: 15px;
  font-weight: 600;
  /* letter-spacing: -14px; */
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}

.about__desc {
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  max-width: 720px;
  margin: 0px auto 40px;
}

.about__achievements {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  margin-bottom: 0px;
}

.about__achievement-item {
  width: 200px;
  flex-shrink: 0;
}

.about__achievement-item img {
  width: 100%;
  height: auto;
  display: block;
}

.about__note {
  font-size: 11px;
  color: #000;
  margin-top: 16px;
}

@media screen and (max-width: 640px) {
  .about__heading {
    font-size: 18px;
  }

  .about__title {
    font-size: 28px;
  }

  .about__title ruby rt {
    font-size: 11px;
  }

  .about__achievements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: start;
    gap: 0px;
  }

  .about__achievement-item:first-child {
    grid-column: 1 / -1;
  }

  .about__achievement-item {
    width: 160px;
  }
}

/* ========== INTRO セクション (アルファ・オス養成講座とは) ========== */
.intro {
  background: #fff;
  padding: 100px 0 130px;
  overflow: hidden;
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro__text {
  padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
}

.intro__heading-wrap {
  position: relative;
  margin-bottom: 32px;
}

.intro__heading-jp {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 26px;
  font-weight: 500;
  color: #2a2a2a;
  margin: 0;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}

.intro__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #e4e4e4;
  line-height: 1;
  margin: -18px 0 0 12px;
  position: relative;
  z-index: 1;
}

.intro__desc {
  font-family: "Noto Serif JP", "Source Han Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  line-height: 2.2;
  color: #2a2a2a;
  margin-bottom: 32px;
  font-weight: 400;
}

.intro__btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to bottom right, #9d323f, #c07942);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  border: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.intro__btn:hover {
  opacity: 0.85;
}

.intro__img {
  position: relative;
  width: 100%;
  align-self: stretch;
  min-height: 0;
  clip-path: polygon(0 2.5vh, 100% 0, 100% calc(100% - 2.5vh), 0 100%);
}

.intro__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 960px) {
  .intro {
    padding: 60px 0;
  }

  /* intro__img を intro__text の背景として重ねる */
  .intro__inner {
    display: block;
    position: relative;
  }

  .intro__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .intro__text {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
  }

  .intro__heading-jp {
    text-align: center;
    font-size: 22px;
  }

  .intro__heading-en {
    text-align: center;
    margin-left: 0;
    font-size: 44px;
  }

  .intro__btn {
    align-self: center;
  }
}

/* ========== PIKUP セクション ========== */
.pikup {
  padding: 35px 0 60px;
  background: #fff;
}

.pikup__title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  color: #15181c;
}

.pikup__slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.pikup__slider {
  overflow-x: auto;
  flex: 1;
  max-width: 1000px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pikup__slider::-webkit-scrollbar {
  display: none;
}

.pikup__track {
  display: flex;
  gap: 24px;
}

.pikup__card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #e8eef4;
  scroll-snap-align: start;
}

.pikup__card-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

.pikup__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #bbb;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.3s, opacity 0.3s;
}

.pikup__arrow:hover {
  color: #666;
}

.pikup__arrow.is-disabled {
  opacity: 0.25;
  pointer-events: none;
}

.pikup__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pikup__dot {
  width: 32px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  transition: background 0.3s;
}

.pikup__dot.is-active {
  background: #3a7bd5;
}

/* ドットが3つ以上のときは幅を半分にしてバランスを取る */
.pikup__dots--compact .pikup__dot {
  width: 16px;
}

/* スライドが不要なとき（1ページのみ）は矢印・ドットを非表示 */
.pikup--no-slide .pikup__arrow,
.pikup--no-slide .pikup__dots {
  display: none;
}

@media screen and (max-width: 750px) {
  .pikup {
    padding: 50px 0 80px;
  }

  .pikup__slider-wrapper {
    padding: 0 8px;
    justify-content: center;
  }

  /* SP デフォルト: 1枚モード。スライダー自体を380pxで頭打ちにして次カードのピーキングを抑制 */
  .pikup__slider {
    flex: 1 1 auto;
    max-width: 380px;
  }

  .pikup__track {
    gap: 0;
  }

  .pikup__card {
    flex: 0 0 100%;
    max-width: 380px;
  }

}

/* SP 内で十分な幅がある場合は2枚表示（各カード〜380px、合計776px） */
@media screen and (min-width: 600px) and (max-width: 750px) {
  .pikup__slider {
    max-width: 776px;
  }

  .pikup__track {
    gap: 16px;
  }

  .pikup__card {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: 380px;
  }
}

/* ========== FEATURE HOME セクション (アルファ・オス養成講座の特長) ========== */
.feature-home {
  position: relative;
  padding: calc(100px + 5vh) 20px calc(100px + 5vh);
  margin-top: -5vh;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
  clip-path: polygon(0 5vh, 100% 0, 100% calc(100% - 5vh), 0 100%);
}

.feature-home__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.feature-home__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.feature-home__heading {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.feature-home__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(191, 205, 220, 0.11);
  line-height: 1;
  margin: -18px 0 56px;
}

.feature-home__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-bottom: 126px;
}

.feature-home__card:nth-child(1) {
  transform: translateY(70px);
}

.feature-home__card:nth-child(2) {
  transform: translateY(35px);
}

.feature-home__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-align: left;
  overflow: hidden;
}

.feature-home__card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.feature-home__card-img img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.feature-home__card-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(49, 75, 111, 0.8), rgba(15, 59, 116, 0.8));
  color: #fff;
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: 2;
}

.feature-home__card-body {
  padding: 28px 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-home__card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.6;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
  text-align: center;
}

.feature-home__card-title-accent {
  font-weight: inherit;
  font-size: inherit;
}

.feature-home__card-title-sub {
  color: #0e3a73;
}

.feature-home__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.9;
}

.feature-home__btn {
  display: inline-block;
  padding: 16px 80px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.feature-home__btn:hover {
  opacity: 0.85;
}

@media screen and (max-width: 960px) {
  .feature-home {
    padding: 60px 20px;
  }

  .feature-home__heading {
    font-size: 22px;
    /* margin-bottom: 10px; */
  }

  .feature-home__heading-en {
    font-size: 44px;
  }

  .feature-home__cards {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* margin-left: -20px; */
    margin-right: -20px;
    padding: 0 20px;
    margin-bottom: 60px;
  }

  .feature-home__cards::-webkit-scrollbar {
    display: none;
  }

  .feature-home__card {
    flex: 0 0 85%;
    max-width: 400px;
    min-width: 0;
    scroll-snap-align: start;
  }

  .feature-home__card:nth-child(1),
  .feature-home__card:nth-child(2) {
    transform: none;
  }

  .feature-home__card-img img {
    height: 180px;
  }

  .feature-home__btn {
    padding: 14px 40px;
    width: 100%;
    max-width: 320px;
  }
}


/* ========== FLOW HOME セクション (受講までのプロセス) ========== */
.flow-home {
  background: #fff;
  padding: 80px 20px;
}

.flow-home__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.flow-home__heading-jp {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  color: #2a2a2a;
  margin: 0 0 4px;
}

.flow-home__heading-main {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 30px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0;
}

.flow-home__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(191, 205, 220, 0.4);
  line-height: 1;
  margin: -18px 0 24px;
}

.flow-home__desc {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 14px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0 0 56px;
}

/* ステップ */
.flow-home__steps {
  display: flex;
  align-items: stretch;
  min-height: 300px;
  margin-bottom: 48px;
}

.flow-home__step {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  color: #fff;
}

/* 1番目: 無料体験セミナー (矩形カード) */
.flow-home__step--first {
  flex: 1.2;
  background: linear-gradient(to bottom right, #314b6f, #112454);
  padding: 40px 20px 40px;
  margin-right: 12px;
}

.flow-home__step-title {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.flow-home__step-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
  margin: 0 0 18px;
  flex: 1;
}

.flow-home__step-btn {
  display: inline-block;
  margin-top: auto;
  padding: 11px 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1f2c4d;
  background: #fff;
  text-align: center;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.flow-home__step-btn:hover {
  opacity: 0.85;
}

/* 中央 (01, 02, 03) — 左ノッチ + 右矢印 */
.flow-home__step--main {
  flex: 1;
  padding: 22px 32px 20px 38px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
}

.flow-home__step--main + .flow-home__step--main {
  margin-left: -20px;
}

.flow-home__step--main .flow-home__step-title {
  min-height: calc(15px * 1.6 * 2);
}

.flow-home__steps .flow-home__step:nth-child(2) {
  background: linear-gradient(to bottom right, #194886, #2d66b1);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  padding-left: 22px;
  /* padding-right: 32px; */
}

.flow-home__steps .flow-home__step:nth-child(3) {
  background: linear-gradient(to bottom right, #184f99, #1b58a8);
}

.flow-home__steps .flow-home__step:nth-child(4) {
  background: linear-gradient(to bottom right, #0b3d7f, #11478d);
}

.flow-home__step-number {
  display: block;
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 50px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}


/* 5番目: 目標達成 — 左ノッチ、右はフラット */
.flow-home__step--last {
  flex: 0.7;
  background: linear-gradient(to bottom right, #191b27, #303032);
  padding: 22px 24px 20px 32px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
  margin-left: -20px;
  justify-content: center;
}

.flow-home__step--last .flow-home__step-title {
  margin: 0;
}

/* CTA */
.flow-home__btn {
  display: inline-block;
  padding: 16px 56px;
  background: linear-gradient(to bottom right, #314b6f, #0f3b74);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

.flow-home__btn:hover {
  opacity: 0.85;
}

@media screen and (max-width: 960px) {
  .flow-home {
    padding: 60px 20px;
  }

  .flow-home__heading-main {
    font-size: 24px;
  }

  .flow-home__heading-en {
    font-size: 44px;
  }

  .flow-home__steps {
    flex-direction: column;
    min-height: 0;
    margin-bottom: 36px;
  }

  .flow-home__step {
    flex: 1;
  }

  /* 1番目: 矩形のまま */
  .flow-home__step--first {
    flex: 1;
    margin-right: 0;
    margin-bottom: 12px;
  }

  /* 01-03: 既定は上凹み + 下三角 */
  .flow-home__step--main {
    padding: 38px 24px 42px;
    clip-path: polygon(0 0, 50% 20px, 100% 0, 100% calc(100% - 20px), 50% 100%, 0 calc(100% - 20px));
  }

  .flow-home__step--main + .flow-home__step--main {
    margin-left: 0;
    margin-top: -20px;
  }

  /* 01 (nth-child 2): 上ストレート + 下三角 */
  .flow-home__steps .flow-home__step:nth-child(2) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 50% 100%, 0 calc(100% - 20px));
    padding: 22px 24px 42px;
  }

  .flow-home__step--main .flow-home__step-title {
    min-height: 0;
  }

  /* 5番目: 上凹み／下フラット */
  .flow-home__step--last {
    flex: 1;
    margin-left: 0;
    margin-top: -20px;
    padding: 38px 24px 24px;
    clip-path: polygon(0 0, 50% 20px, 100% 0, 100% 100%, 0 100%);
  }

  .flow-home__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ========== NEWS HOME セクション (お知らせ) ========== */
.news-home {
  background: #fff;
  padding: 80px 20px 100px;
}

.news-home__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.news-home__heading-main {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 30px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0;
}

.news-home__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(191, 205, 220, 0.4);
  line-height: 1;
  margin: -18px 0 56px;
}

.news-home__list {
  margin-bottom: 48px;
  border-top: 1px solid #e0e0e0;
}

.news-home__empty {
  padding: 40px 24px;
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.news-home__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 24px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.news-home__item:hover {
  background: #fafafa;
}

.news-home__item-meta {
  position: relative;
  padding-right: 48px;
}

.news-home__item-meta::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #2a2a2a;
}

.news-home__item-date {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #6a7686;
  margin: 0 0 8px;
  letter-spacing: 0.06em;
}

.news-home__item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1c3a5c;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0;
}

.news-home__item-excerpt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: #4a5462;
  letter-spacing: 0.03em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-home__btn {
  display: inline-block;
  padding: 16px 80px;
  background: linear-gradient(to bottom, #ffffff, #e8e7e7);
  border: 1px solid #cdcdcd;
  color: #2f2f2f;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.3s, border-color 0.3s;
}

.news-home__btn:hover {
  background: linear-gradient(to bottom, #f5f5f5, #dcdcdc);
  border-color: #b8b8b8;
}

@media screen and (max-width: 640px) {
  .news-home {
    padding: 50px 20px 60px;
  }

  .news-home__heading-main {
    font-size: 24px;
  }

  .news-home__heading-en {
    font-size: 44px;
    margin-top: -10px;
  }

  .news-home__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 4px;
  }

  .news-home__item-meta {
    padding-right: 0;
  }

  .news-home__item-meta::after {
    display: none;
  }

  .news-home__btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
  }
}

/* 画面幅960px以下では全画面幅の横傾斜を半分に */
@media screen and (max-width: 960px) {
  .fv {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5vh), 0 100%);
  }

  .about,
  .about__bg,
  .about__overlay,
  .feature-home {
    clip-path: polygon(0 2.5vh, 100% 0, 100% calc(100% - 2.5vh), 0 100%);
  }
}
