/* 137 ROSE AXIS — K01 1画面完結。カッコイイ系・スタイリッシュ。PC は1画面に5つの面。スマホ・JSなしは縦に並ぶ。
   色と書体は共通の13変数だけ。面の色は data-tone（t-dark／t-light）が同じ名前の変数を全部上書きする */
:root {
  --c-bg: #0d0b0c;
  --c-bg-alt: #1a1517;
  --c-text: #e9e2e4;
  --c-sub: #c9bfc2;
  --c-line: #6b5a60;
  --c-accent: #ff2e63;
  --c-accent-text: #ff7a9c;
  --c-on-accent: #0d0b0c;
  --c-2: #c0103f;
  --c-3: #f7f1f2;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-head: "Noto Sans JP", sans-serif;
  --font-en: "Antonio", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 64px;
  --footer-h: 44px;
  --slant: 6deg;
}
.t-dark, [data-tone="t-dark"] { --c-bg: #0d0b0c; --c-bg-alt: #1a1517; --c-text: #e9e2e4; --c-sub: #c9bfc2; --c-line: #6b5a60; --c-accent: #ff2e63; --c-accent-text: #ff7a9c; --c-on-accent: #0d0b0c; --c-2: #c0103f; --c-3: #f7f1f2; }
.t-light, [data-tone="t-light"] { --c-bg: #f7f1f2; --c-bg-alt: #ece3e5; --c-text: #374151; --c-sub: #4b5563; --c-line: #b9a9ae; --c-accent: #ff2e63; --c-accent-text: #c0103f; --c-on-accent: #0d0b0c; --c-2: #c0103f; --c-3: #0d0b0c; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 1.9; overflow-x: hidden; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, dt, li { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 900; }
ul, ol { list-style: none; }
.fz { font-family: var(--font-ja); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-ja); font-weight: 900; font-size: 16px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; flex: none; border: 2px solid var(--c-accent); border-radius: 0; }
.btn--lg { min-height: 56px; padding: 0 34px; }
.en { font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .24em; color: var(--c-accent-text); margin-bottom: 10px; }
.h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 8.4vw, 56px); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 22px; }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 30; background: var(--c-bg); color: var(--c-text); border-bottom: 2px solid var(--c-accent); }
.header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; gap: 12px; justify-content: space-between; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 8px; height: 30px; background: var(--c-accent); transform: skewX(-12deg); }
.logo__txt { font-family: var(--font-en); font-weight: 700; font-size: 28px; letter-spacing: .1em; line-height: 1; }
.gnav, .header__btn { display: none; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 380px); background: var(--c-bg); border: 1px solid var(--c-line); border-top: 0; padding: 8px 24px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--c-line); }

/* ===== 面の共通（スマホ：縦に並ぶ） ===== */
.panel { position: relative; background: var(--c-bg); color: var(--c-text); padding: 64px 20px; }
.panel + .panel { border-top: 1px solid var(--c-line); }

/* 01 メインビジュアル */
.s-hero { padding: 0; overflow: hidden; min-height: 640px; display: flex; align-items: flex-end; }
.split { position: absolute; inset: 0; display: flex; }
.split__col { position: relative; flex: 1 1 0; min-width: 0; margin-left: -4vw; clip-path: polygon(4vw 0, 100% 0, calc(100% - 4vw) 100%, 0 100%); overflow: hidden; background: var(--c-bg-alt); }
.split__col:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 4vw) 100%, 0 100%); }
.split__col:last-child { clip-path: polygon(4vw 0, 100% 0, 100% 100%, 0 100%); }
.split__img, .split__img img { width: 100%; height: 100%; }
.split__img img { object-fit: cover; filter: grayscale(.8) contrast(1.1) brightness(.78); }
.split__img { position: relative; }
.split__img::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--c-accent) 26%, transparent); }
.s-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, color-mix(in srgb, var(--c-bg) 92%, transparent) 0%, color-mix(in srgb, var(--c-bg) 55%, transparent) 46%, transparent 76%); }
.vert { display: none; }
.hero__copy { position: relative; z-index: 2; padding: 0 20px 48px; display: grid; justify-items: start; gap: 12px; width: 100%; }
.hero__en { font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: .3em; color: var(--c-accent-text); }
.hero__axis { font-family: var(--font-en); font-weight: 700; font-size: clamp(110px, 38vw, 220px); line-height: .85; letter-spacing: .02em; color: var(--c-text); margin: 0 0 4px -4px; }
.hero__h1 { font-size: clamp(20px, 5.4vw, 28px); line-height: 1.5; font-weight: 900; margin-bottom: 10px; }

/* 02 考え方 */
.idea { display: grid; gap: 48px; }
.worry li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--c-line); position: relative; color: var(--c-sub); }
.worry li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--c-accent); transform: rotate(-30deg); }
.way { display: grid; gap: 14px; }
.way li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; background: var(--c-bg-alt); border-left: 4px solid var(--c-accent); }
.way__no { font-family: var(--font-en); font-weight: 700; font-size: 52px; line-height: .9; color: var(--c-accent-text); }
.way h3 { font-size: 22px; }
.way p { color: var(--c-sub); font-size: 15px; }

/* 03 コース（スマホ：指で横に送れる） */
.course__hint { display: none; }
.courses { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 20px -20px 0; padding: 0 20px 14px; }
.cc { position: relative; flex: 0 0 78vw; max-width: 340px; scroll-snap-align: start; padding: 22px 20px; background: var(--c-bg-alt); border-top: 4px solid var(--c-accent); display: grid; gap: 6px; align-content: start; overflow: hidden; }
.cc__no { font-family: var(--font-en); font-weight: 700; font-size: 56px; line-height: .9; color: var(--c-accent-text); }
.cc h3 { font-size: 26px; line-height: 1.3; }
.cc p { color: var(--c-sub); font-size: 15px; }
.cc__min { color: var(--c-text) !important; font-family: var(--font-en); font-weight: 700; font-size: 22px !important; letter-spacing: .06em; }
.cc--photo img { width: calc(100% + 40px); margin: -22px -20px 8px; height: 150px; object-fit: cover; filter: grayscale(.7) contrast(1.1) brightness(.8); }

/* 04 流れ */
.flow { display: grid; gap: 0; counter-reset: f; border-top: 1px solid var(--c-line); }
.flow li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.flow__no { grid-row: 1 / 3; font-family: var(--font-en); font-weight: 700; font-size: 52px; line-height: .9; color: var(--c-accent-text); }
.flow h3 { font-size: 22px; }
.flow p { color: var(--c-sub); font-size: 15px; }

/* 05 料金・予約 */
.price { display: grid; gap: 44px; }
.yen { border-top: 2px solid var(--c-text); }
.yen > div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.yen dd { flex: none; font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--c-accent-text); }
.note { margin-top: 12px; font-size: 15px; color: var(--c-sub); }
.price__lead { margin-bottom: 22px; }
.info { margin-top: 26px; border-top: 1px solid var(--c-line); }
.info > div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--c-line); }
.info dt { font-weight: 900; }
.info dd { color: var(--c-sub); }

/* ===== フッター ===== */
.footer { background: var(--c-bg); color: var(--c-text); border-top: 1px solid var(--c-line); padding: 28px 20px; text-align: center; }
.footer__logo { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .12em; }
.footer__count { display: none; }
.footer__fiction { margin-top: 6px; font-size: 15px; color: var(--c-sub); }

@media (min-width: 768px) {
  .header__inner { padding: 0 32px; }
  .panel { padding: 80px 40px; }
  .s-hero { min-height: 720px; }
  .idea { grid-template-columns: 1fr 1fr; gap: 56px; }
  .price { grid-template-columns: 1fr 1fr; gap: 56px; }
  .flow { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .hero__copy { padding: 0 40px 64px; }
  .vert { display: block; position: absolute; z-index: 2; left: 50%; top: 14%; transform: translateX(-50%); writing-mode: vertical-rl; font-weight: 900; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: .24em; color: var(--c-text); }
}

/* ===== PC：1画面完結（JS が .is-tabs を付けたときだけ） ===== */
@media (min-width: 1080px) {
  .gnav { display: flex; gap: 4px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 900; border-bottom: 3px solid transparent; }
  .gnav a:hover { color: var(--c-accent-text); }
  .gnav a[aria-current="true"] { border-bottom-color: var(--c-accent); color: var(--c-accent-text); }
  .gnav__no { font-family: var(--font-en); font-weight: 700; font-size: 17px; color: var(--c-accent-text); }
  .header__btn { display: inline-flex; min-height: 44px; }
  .spmenu { display: none; }

  .panel { padding: 48px 64px; }
  .s-hero { padding: 0; }
  .hero__copy { padding: 0 64px 56px; }
  .hero__axis { font-size: clamp(150px, 19vw, 300px); margin-bottom: 18px; }
  .hero__h1 { font-size: clamp(22px, 2.2vw, 32px); }
  .s-idea, .s-flow, .s-course, .s-price { display: flex; flex-direction: column; justify-content: center; }
  .h2 { font-size: clamp(40px, 4.6vw, 72px); }
  .idea { grid-template-columns: 1fr 1.1fr; gap: 6vw; align-items: center; }
  .way li { grid-template-columns: 96px minmax(0, 1fr); padding: 22px 24px; }
  .way__no { font-size: 68px; }
  .flow { grid-template-columns: repeat(4, 1fr); column-gap: 28px; border-top: 0; margin-top: 12px; }
  .flow li { display: block; padding: 22px 0 0; border-bottom: 0; border-top: 4px solid var(--c-accent); }
  .flow__no { display: block; font-size: 88px; margin-bottom: 14px; }
  .flow h3 { font-size: 26px; margin-bottom: 8px; }
  .flow p { font-size: 16px; }
  .course__hint { display: block; color: var(--c-sub); font-size: 15px; margin-top: -8px; }
  .courses { margin: 28px -64px 0 0; padding: 0 64px 14px 0; scroll-padding-inline: 0; gap: 20px; align-items: flex-start; }
  .cc { flex: 0 0 25vw; max-width: none; padding: 28px 24px; }
  .cc--photo img { width: calc(100% + 48px); margin: -28px -24px 10px; height: 170px; }
  .price { grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; }

  /* 1画面にする */
  .is-tabs body { height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) var(--footer-h); }
  .is-tabs .header { position: relative; }
  .is-tabs .stage { position: relative; display: grid; min-height: 0; overflow: hidden; }
  .is-tabs .panel { grid-area: 1 / 1; min-height: 0; overflow: hidden; border-top: 0; }
  .is-tabs .panel:not(.is-on):not(.is-leaving) { display: none; }
  .is-tabs .is-leaving { z-index: 1; }
  .is-tabs .is-on { z-index: 2; }
  .is-tabs .is-enter-fwd { animation: wipe-fwd .6s var(--ease) both; }
  .is-tabs .is-enter-back { animation: wipe-back .6s var(--ease) both; }
  .is-tabs .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px; text-align: left; }
  .is-tabs .footer__logo { display: none; }
  .is-tabs .footer__count { display: block; font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .12em; }
  .is-tabs .footer__fiction { margin: 0; }
  .is-tabs .s-hero { min-height: 0; }
}

/* A07：縦3枚の写真が時間差で上がり、そのあと8秒かけてゆっくり拡大する。JS が is-motion を付けたときだけ */
.is-motion .split__img { animation: col-up .9s var(--ease) both; }
.is-motion .split__col:nth-child(2) .split__img { animation-delay: .15s; }
.is-motion .split__col:nth-child(3) .split__img { animation-delay: .3s; }
.is-motion .split__img img { animation: zoom 8s ease-out .3s both; }
@keyframes col-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes wipe-fwd {
  0% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  60% { clip-path: polygon(30% 0, 100% 0, 100% 100%, 42% 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes wipe-back {
  0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  60% { clip-path: polygon(0 0, 70% 0, 58% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-motion .split__img, .is-motion .split__img img { animation: none; }
  .is-tabs .is-enter-fwd, .is-tabs .is-enter-back { animation: none; }
}
