/* ==========================================================================
   ReNEW. — style.css
   色・文字・余白は ReNEW. デザインシステム（tokens.json）に準拠
   ブレイクポイント: 〜540 SP / 〜840 タブレット / 〜1140 小型PC
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #000000;
  --text: #333333;
  --text-sub: #555555;
  --on-ink: #ffffff;
  --surface: #ffffff;
  --section: #e6e6e6;
  --surface-soft: #eeeeee;
  --line: #797a7b;
  --flow: #6d6c73;
  --sns: #282828;
  --photo: #0e0f11; /* 写真が入るまでの仮の地色 */
  --space-12: 12px;
  --space-24: 24px;
  --space-44: 44px;
  --space-64: 64px;
  --section-pad: 112px;
  --radius-none: 0px;
  --radius-circle: 50%;
  --shadow-button: 3px 3px 4px 0px rgba(28, 27, 27, 0.53);
  --container: 1024px;
  --button-width: 329px;
  --button-height: 50px;
  --faq-width: 720px;
  --header-h: 80px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --font-display: Urbanist, "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 840px) { :root { --section-pad: 80px; --header-h: 64px; } }
@media (max-width: 540px) { :root { --section-pad: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.85; letter-spacing: .04em;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased;
}
@media (max-width: 840px) { body { padding-bottom: 60px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 8px 16px; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc { display: inline; }
@media (max-width: 540px) { .pc { display: none; } }
.sp { display: none; }
@media (max-width: 540px) { .sp { display: inline; } }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 var(--space-24); }
.container--narrow { max-width: calc(760px + 48px); }

.i { width: 24px; height: 24px; flex: none; fill: currentColor; }
.i-line { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- section ---------- */
.sec { padding: var(--section-pad) 0; background: var(--surface); }
.sec--gray { background: var(--section); }
.sec--tight-top { padding-top: 0; }
.sec__head { margin-bottom: var(--space-64); }
.sec__lead { max-width: 640px; margin: var(--space-24) auto 0; text-align: center; }
.sec__more { margin-top: var(--space-64); text-align: center; }

/* SectionTitle — 罫線つきの英字見出し */
.rn-section-title { display: flex; align-items: center; gap: 24px; margin: 0; color: var(--ink); }
.rn-section-title::before, .rn-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rn-section-title > span { font-size: 40px; line-height: 1.6; font-weight: 600; letter-spacing: -0.02em; }
.rn-section-sub { text-align: center; margin: 4px 0 0; font-size: 28px; line-height: 1.5; font-weight: 600; letter-spacing: 0.13em; color: var(--text); }
@media (max-width: 540px) {
  .rn-section-title > span { font-size: 30px; }
  .rn-section-sub { font-size: 20px; }
}
.lead-heading { font-size: 28px; line-height: 1.5; font-weight: 600; letter-spacing: .13em; color: var(--ink); }
.concept-title { font-size: 24px; line-height: 1.8; font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.label { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: .13em; color: var(--ink); }
@media (max-width: 540px) { .lead-heading { font-size: 22px; } .concept-title { font-size: 20px; } }

.prose p + p { margin-top: 1.2em; }
.poem { text-align: center; line-height: 2.3; }
.note { font-size: 13px; color: var(--text-sub); }

/* ---------- Button — 塗りワイプ（黒／ホバーで色が反転し、矢印が右へ動く） ---------- */
.rn-button, .header-cta {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink);
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); border-radius: var(--radius-none);
  text-decoration: none; transition: color .45s var(--ease);
}
.rn-button::before, .header-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fg); transform: translateX(-101%); transition: transform .5s var(--ease);
}
.rn-button:hover, .header-cta:hover { color: var(--btn-bg); }
.rn-button:hover::before, .header-cta:hover::before { transform: translateX(0); }
.rn-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: min(var(--button-width), calc(100vw - 48px)); max-width: 100%; height: var(--button-height); padding: 0 40px; white-space: nowrap;
  font-family: var(--font-display); font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: 0.09em;
}
.rn-button .i { position: absolute; right: 18px; top: 50%; width: 18px; height: 10px; margin-top: -5px; transition: transform .45s var(--ease); }
.rn-button:hover .i { transform: translateX(6px); }
.buttons { display: flex; gap: 24px 32px; justify-content: center; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06); transition: background .4s, border-color .4s;
}
body { padding-top: var(--header-h); }
body.is-home { padding-top: 0; }
.site-header__inner { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-24); display: flex; align-items: center; gap: 40px; }
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; color: var(--ink); }
.site-logo img { width: 136px; }
.site-logo__white { display: none; filter: brightness(0) invert(1); } /* 白いロゴ＝黒いSVGを白に反転 */
.site-logo__tag { font-size: 12px; letter-spacing: .2em; padding-left: 14px; border-left: 1px solid currentColor; line-height: 1.2; }
.gnav ul { display: flex; gap: 32px; }
.gnav a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--ink); position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .1em; }

/* TOPページのヒーロー上では透明・白ロゴ */
.site-header--over:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--over:not(.is-scrolled):not(.is-open) .site-logo { color: var(--on-ink); }
.site-header--over:not(.is-scrolled):not(.is-open) .site-logo__black { display: none; }
.site-header--over:not(.is-scrolled):not(.is-open) .site-logo__white { display: block; }
.site-header--over:not(.is-scrolled):not(.is-open) .gnav a { color: var(--on-ink); }
.site-header--over:not(.is-scrolled):not(.is-open) .header-cta { --btn-bg: var(--on-ink); --btn-fg: var(--ink); }
.site-header--over:not(.is-scrolled):not(.is-open) .burger span { background: var(--on-ink); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(30deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-30deg); }

@media (max-width: 1140px) { .gnav ul { gap: 22px; } .site-header__inner { gap: 24px; } }
@media (max-width: 840px) {
  .gnav, .header-cta { display: none; }
  .burger { display: block; margin-right: -10px; }
  .site-logo img { width: 112px; }
  .site-logo__tag { font-size: 11px; padding-left: 10px; }
}

/* drawer（全画面メニュー） */
.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto;
  background: var(--surface); padding: 32px var(--space-24) 120px;
  opacity: 0; transition: opacity .3s;
}
.drawer.is-open { opacity: 1; }
.drawer__nav { max-width: 480px; margin: 0 auto; }
.drawer__nav > li { border-bottom: 1px solid var(--section); }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.drawer__nav .en { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .08em; min-width: 104px; }
.drawer__nav .ja { font-size: 12px; color: var(--text-sub); letter-spacing: .1em; }
.drawer__sub { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0 0 14px 120px; margin-top: -6px; }
.drawer__sub a { padding: 2px 0; font-size: 13px; color: var(--text); }
.drawer__cta { max-width: 480px; margin: 32px auto; display: grid; gap: 16px; justify-items: center; }
.drawer .rn-sns { margin-top: 8px; }
body.is-locked { overflow: hidden; }

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--surface-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 12px; padding-bottom: 12px; font-size: 12px; color: var(--text-sub); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 写真の仮置き（写真が届いたら <img> に差し替える） ---------- */
.ph {
  position: relative; overflow: hidden; background-color: var(--photo);
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.10) 49%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.10) 51%, transparent 54%),
    linear-gradient(115deg, transparent 0 60%, rgba(255,255,255,.05) 62%, transparent 64%),
    radial-gradient(ellipse at 70% 120%, #2a2c30 0%, transparent 60%);
}
.ph::after {
  content: attr(data-ph); position: absolute; left: 12px; bottom: 10px;
  font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.55);
}
.media { position: relative; overflow: hidden; background: var(--photo); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero（TOP） ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--on-ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media.ph::after { left: auto; right: 24px; bottom: 24px; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { position: relative; height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-24); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 14vh; }
.hero__catch { font-size: clamp(32px, 5.4vw, 64px); line-height: 1.4; font-weight: 600; letter-spacing: .12em; }
.hero__sub { margin-top: 20px; font-size: 14px; letter-spacing: .2em; }
.hero__sub span { display: inline-block; }
.hero__area::before { content: "｜"; margin: 0 1em; }
@media (max-width: 540px) { .hero__sub span { display: block; } .hero__area::before { content: none; } }
.hero__souki { position: absolute; right: max(clamp(24px, 8vw, 120px), calc((100% - 1280px) / 2 + 24px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 22px; }
.hero__souki b, .hero__souki i { writing-mode: vertical-rl; font-style: normal; }
.hero__souki b { font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: .3em; line-height: 1; }
.hero__souki i { order: 2; font-size: 12px; letter-spacing: .4em; line-height: 1; padding-top: 6px; }
.hero__souki::after { content: ""; order: 1; width: 1px; height: 160px; margin-top: 8px; background: var(--on-ink); opacity: .7; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-family: var(--font-display); font-size: 11px; letter-spacing: .3em; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--on-ink) 50%, transparent 50%); background-size: 1px 96px; animation: scroll-line 2s linear infinite; }
@keyframes scroll-line { from { background-position: 0 -48px; } to { background-position: 0 48px; } }
@media (max-width: 540px) {
  .hero__inner { padding-bottom: 18vh; }
  .hero__souki { top: 30%; right: 20px; }
  .hero__souki::after { height: 96px; }
}

/* ---------- page hero（下層） ---------- */
.page-hero { background: var(--section); padding: 72px 0 64px; text-align: center; }
.page-hero__en { display: block; font-family: var(--font-display); font-size: 48px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.page-hero h1 { margin-top: 12px; font-size: 18px; font-weight: 600; letter-spacing: .2em; color: var(--text); }
.page-hero--photo { position: relative; padding: 0; height: 56vh; min-height: 380px; color: var(--on-ink); text-align: left; }
.page-hero--photo .page-hero__media { position: absolute; inset: 0; }
.page-hero--photo .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.page-hero--photo .page-hero__en { color: var(--on-ink); font-size: 14px; letter-spacing: .3em; }
.page-hero--photo h1 { color: var(--on-ink); margin-top: 8px; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.4; letter-spacing: .12em; }
.page-hero--photo p { margin-top: 12px; letter-spacing: .14em; }
@media (max-width: 540px) { .page-hero { padding: 48px 0 44px; } .page-hero__en { font-size: 34px; } }

/* ---------- concept ---------- */
.concept-block { text-align: center; }
.concept-block .concept-title { margin-bottom: 32px; }

/* 代表ストーリー */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.story__photo { aspect-ratio: 4 / 5; }
.story__en { font-family: var(--font-display); font-weight: 600; letter-spacing: .3em; font-size: 13px; color: var(--text-sub); }
.story h2 { margin: 12px 0 24px; }
.story__sign { margin-top: 24px; text-align: right; letter-spacing: .2em; }
.story__sign small { font-size: 12px; margin-right: 1em; }
.story .rn-button { margin-top: 40px; }
@media (max-width: 840px) { .story { grid-template-columns: 1fr; gap: 40px; } .story__photo { aspect-ratio: 4 / 3; } }

/* 選ばれる3つの理由 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.reason { background: var(--surface); padding: 40px 28px 36px; text-align: center; }
.sec:not(.sec--gray) .reason { background: var(--section); }
.reason__icon { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: var(--radius-circle); background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.reason__num { font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: 12px; color: var(--text-sub); }
.reason h3 { margin: 4px 0 12px; }
.reason p { font-size: 14px; text-align: left; }
@media (max-width: 840px) { .reasons { grid-template-columns: 1fr; gap: 20px; } }

/* メニューカード */
.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.menu-card { display: flex; flex-direction: column; background: var(--surface); text-decoration: none; color: inherit; }
.menu-card__img { aspect-ratio: 4 / 3; }
.menu-card__img img { transition: transform .8s var(--ease); }
.menu-card:hover .menu-card__img img { transform: scale(1.04); }
.menu-card__body { padding: 28px 24px 32px; display: flex; flex-direction: column; flex: 1; }
.menu-card__en { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .3em; color: var(--text-sub); }
.menu-card h3 { margin: 4px 0 12px; }
.menu-card p { font-size: 14px; flex: 1; }
.menu-card__price { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--section); font-size: 14px; color: var(--ink); }
.menu-card__price b { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.menu-card__more { margin-top: 20px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; font-size: 14px; color: var(--ink); }
.menu-card__more .i { width: 20px; height: 20px; transition: transform .3s; }
.menu-card:hover .menu-card__more .i { transform: translateX(4px); }
@media (max-width: 840px) { .menu-cards { grid-template-columns: 1fr; gap: 24px; } }

/* サブスク帯 */
.sub-band { position: relative; color: var(--on-ink); }
.sub-band__media { position: absolute; inset: 0; }
.sub-band__inner { position: relative; padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.sub-band__en { font-family: var(--font-display); letter-spacing: .3em; font-size: 13px; }
.sub-band h2 { margin: 8px 0 12px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.5; font-weight: 600; letter-spacing: .12em; }
.sub-band__price { text-align: center; border: 1px solid rgba(255,255,255,.6); padding: 28px 40px; }
.sub-band__price small { display: block; font-size: 13px; letter-spacing: .2em; }
.sub-band__price b { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1.3; letter-spacing: .02em; }
.sub-band__price b span { font-size: 18px; margin-left: 4px; }
.sub-band .slots { font-size: 13px; letter-spacing: .14em; }
.sub-band .rn-button { --btn-bg: var(--on-ink); --btn-fg: var(--ink); margin-top: 20px; }
@media (max-width: 840px) { .sub-band__inner { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; } .sub-band__price { padding: 24px; } }

/* 施工事例 */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work-card { background: var(--surface); }
.sec:not(.sec--gray) .work-card { background: var(--section); }
.work-card[hidden] { display: none; }
.work-card__img { aspect-ratio: 4 / 3; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: 20px 20px 24px; }
.work-card__cat { display: inline-block; font-size: 11px; letter-spacing: .14em; color: var(--on-ink); background: var(--text-sub); padding: 2px 10px; }
.work-card h3 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 17px; letter-spacing: .06em; color: var(--ink); }
.work-card p { font-size: 13px; line-height: 1.8; }
.work-card__menu { margin-top: 10px; font-size: 12px; color: var(--text-sub); }
.work-card__menu li::before { content: "・"; }
@media (max-width: 840px) { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 540px) { .works-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.chip { border: 1px solid var(--ink); background: transparent; padding: 6px 18px; cursor: pointer; font-size: 13px; letter-spacing: .1em; }
.chip.is-active { background: var(--ink); color: var(--on-ink); }

/* FlowStep — ご依頼の流れ */
.rn-flow { background: var(--flow); padding: var(--section-pad) 0; }
.rn-flow-title { text-align: center; color: var(--on-ink); }
.rn-flow-title > span { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1.4; font-weight: 600; letter-spacing: .02em; }
.rn-flow-title > b { display: block; font-size: 24px; font-weight: 600; letter-spacing: .13em; }
.rn-flow-head { margin-bottom: var(--space-44); }
.rn-flow-list { counter-reset: step; max-width: 760px; margin: 0 auto; display: grid; gap: 20px; }
.rn-flow-step { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; }
.rn-flow-num { border: 1px solid var(--on-ink); color: var(--on-ink); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 40px; letter-spacing: .08em; }
.rn-flow-card { background: var(--surface); padding: 16px 20px 18px; }
.rn-flow-card h3 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.rn-flow-card p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--text); }
.rn-flow-list--grid { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rn-flow-list--grid .rn-flow-step { grid-template-columns: 1fr; gap: 12px; align-content: start; }
.rn-flow-list--grid .rn-flow-card { height: 100%; }
.rn-flow .sec__more .rn-button { --btn-bg: var(--on-ink); --btn-fg: var(--ink); }
@media (max-width: 840px) { .rn-flow-list--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .rn-flow-step, .rn-flow-list--grid .rn-flow-step { grid-template-columns: 1fr; gap: 8px; }
  .rn-flow-list--grid { grid-template-columns: 1fr; }
  .rn-flow-num { width: 112px; line-height: 34px; }
  .rn-flow-title > span { font-size: 32px; }
}

/* 県外・お預かり */
.remote { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.remote__photo { aspect-ratio: 4 / 3; }
.remote__list { margin-top: 28px; display: grid; gap: 16px; }
.remote__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.remote__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.remote__list b { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; color: var(--ink); }
.remote__list h3 { font-size: 16px; letter-spacing: .1em; color: var(--ink); }
.remote__list p { font-size: 14px; }
@media (max-width: 840px) { .remote { grid-template-columns: 1fr; gap: 40px; } }

/* FaqItem */
.rn-faq { width: var(--faq-width); max-width: 100%; margin: 0 auto; display: grid; gap: 0; }
/* 左バー＋大きな番号：開くと番号が黒くなり左に黒いバーが伸びる。回答はグレーの面にのせる */
.rn-faq-item { position: relative; background: var(--surface); border-bottom: 1px solid #d6d6d6; border-radius: var(--radius-none); }
.sec:not(.sec--gray) .rn-faq-item { background: var(--surface); }
.rn-faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.rn-faq-item[open]:not(.is-closing)::before { transform: scaleY(1); }
.rn-faq-q { display: flex; align-items: center; gap: 22px; padding: 24px 26px; cursor: pointer; list-style: none; }
.rn-faq-q::-webkit-details-marker { display: none; }
.rn-faq-badge { width: 58px; flex: none; font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 1; color: #6b6b6b; transition: color .35s; }
.rn-faq-item[open]:not(.is-closing) .rn-faq-badge { color: var(--ink); }
.rn-faq-text { flex: 1; font-size: 16px; line-height: 1.55; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); }
.rn-faq-chev { flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .4s var(--ease); }
.rn-faq-item[open]:not(.is-closing) .rn-faq-chev { transform: rotate(225deg) translate(-2px, -2px); }
.rn-faq-a { margin: 0 26px 26px; padding: 22px 24px; background: var(--section); font-size: 14px; line-height: 1.95; color: var(--text); }
.rn-faq-a strong { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.faq-cat + .faq-cat { margin-top: var(--space-64); }
.faq-cat__title { width: var(--faq-width); max-width: 100%; margin: 0 auto 20px; padding-left: 14px; border-left: 3px solid var(--ink); font-size: 20px; letter-spacing: .13em; color: var(--ink); line-height: 1.4; }
@media (max-width: 540px) { .rn-faq-text { font-size: 15px; } .rn-faq-badge { font-size: 28px; width: 40px; } .rn-faq-q { padding: 20px 16px; gap: 14px; } .rn-faq-a { margin: 0 16px 20px; padding: 18px; } }

/* Instagram */
.insta { text-align: center; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 720px; margin: 0 auto 40px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--photo); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.ig-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--on-ink); background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s var(--ease); }
.ig-ov .i { width: 24px; height: 24px; }
.ig-ov b { font-family: var(--font-display); font-size: 12px; letter-spacing: .3em; font-weight: 700; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.07); }
.ig-tile:hover .ig-ov, .ig-tile:focus-visible .ig-ov { opacity: 1; }
@media (hover: none) { .ig-ov { display: none; } }
@media (prefers-reduced-motion: reduce) { .ig-tile img, .ig-ov { transition: none; } .ig-tile:hover img { transform: none; } }

/* SnsLinks */
.rn-sns { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.rn-sns a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--sns); color: var(--on-ink); transition: opacity .3s; }
.rn-sns a:hover { opacity: .75; }
.rn-sns .i { width: 20px; height: 20px; }

/* CTA */
.cta { background: var(--section); padding: var(--section-pad) 0; text-align: center; }
.cta__label { font-size: 22px; line-height: 1.5; font-weight: 600; letter-spacing: .13em; color: var(--ink); }
.cta__text { margin: 20px auto 40px; max-width: 640px; }
.cta__buttons { display: flex; gap: 24px 32px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
@media (max-width: 540px) { .cta__label { font-size: 17px; } .cta__text { text-align: left; } }

/* footer */
.site-footer { background: var(--surface); padding: 72px 0 32px; text-align: center; }
.site-footer__nav > ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; }
.site-footer__nav a { text-decoration: none; font-size: 15px; color: var(--ink); }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__nav ul ul { margin-top: 2px; }
.site-footer__nav ul ul a { font-size: 11px; color: var(--text-sub); }
.site-footer__logo { display: block; width: 140px; margin: 48px auto 12px; }
.site-footer__name { font-size: 13px; letter-spacing: .2em; color: var(--ink); }
.site-footer__addr { margin: 8px 0 28px; font-size: 12px; color: var(--text-sub); }
.site-footer__links { margin-top: 28px; font-size: 12px; }
.site-footer__copy { margin-top: 8px; font-size: 10px; letter-spacing: .08em; }
@media (max-width: 540px) {
  .site-footer__nav > ul { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 14px 24px; max-width: 360px; margin: 0 auto; }
}

/* SP固定ボタン */
.sp-bar { display: none; }
@media (max-width: 840px) {
  .sp-bar { position: fixed; inset: auto 0 0; z-index: 98; display: grid; grid-template-columns: 1fr 1fr; height: 60px; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); transition: transform .3s var(--ease); }
  .sp-bar.is-hidden { transform: translateY(100%); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--on-ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .1em; }
  .sp-bar a + a { border-left: 1px solid rgba(255,255,255,.25); }
  .sp-bar .i { width: 20px; height: 20px; }
}

/* ---------- 下層の共通パーツ ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: var(--section-pad); }
.split--rev .split__media { order: 2; }
.split__media { aspect-ratio: 4 / 3; }
.split__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .3em; color: var(--text-sub); }
.split__en { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin: 4px 0 4px; }
.split h3 { font-size: 18px; letter-spacing: .13em; color: var(--ink); margin-bottom: 20px; }
@media (max-width: 840px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__media { order: 0; }
  .split__en { font-size: 36px; }
}

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.point { background: var(--surface); padding: 32px 28px; }
.sec:not(.sec--gray) .point { background: var(--section); }
.point__num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1; }
.point h3 { margin: 16px 0 10px; font-size: 18px; letter-spacing: .1em; color: var(--ink); }
.point p { font-size: 14px; }
.points--2 { grid-template-columns: 1fr 1fr; }
.points--list { display: block; border-top: 1px solid var(--rule, #999); border-bottom: 1px solid var(--rule, #999); }
.points--list .point, .sec:not(.sec--gray) .points--list .point { background: none; padding: 40px 8px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.points--list .point + .point { border-top: 1px solid rgba(0,0,0,.15); }
.points--list .point__num { font-size: 20px; letter-spacing: .1em; }
.points--list .point h3 { margin: 0 0 14px; font-size: 20px; }
.points--list .point p:not(.point__num) { grid-column: 2; font-size: 15px; line-height: 2; }
@media (max-width: 840px) { .points, .points--2 { grid-template-columns: 1fr; } }

.steps-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; margin-top: 40px; }
.steps-inline li { position: relative; padding: 24px 20px; background: var(--surface); text-align: center; font-size: 14px; }
.steps-inline li + li { border-left: 1px solid var(--section); }
.steps-inline li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.steps-inline b { display: block; color: var(--ink); letter-spacing: .08em; margin-bottom: 4px; }
@media (max-width: 840px) {
  .steps-inline { grid-template-columns: 1fr; }
  .steps-inline li + li { border-left: 0; border-top: 1px solid var(--section); }
}

/* 比較表 */

/* 情報テーブル */
.info { border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 600; color: var(--ink); letter-spacing: .1em; }
.info dd { margin: 0; }
.info dd .note { display: block; margin-top: 6px; }
@media (max-width: 540px) { .info > div { grid-template-columns: 1fr; gap: 4px; } }

.callout { background: var(--surface); padding: 40px; border-left: 3px solid var(--ink); }
.sec:not(.sec--gray) .callout { background: var(--section); }
.callout h3 { font-size: 18px; letter-spacing: .1em; color: var(--ink); margin-bottom: 12px; }
@media (max-width: 540px) { .callout { padding: 28px 22px; } }

.price-box { max-width: 520px; margin: 0 auto; text-align: center; background: var(--ink); color: var(--on-ink); padding: 48px 32px; }
.price-box small { display: block; font-size: 14px; letter-spacing: .2em; }
.price-box b { display: block; margin: 8px 0; font-family: var(--font-display); font-size: 56px; line-height: 1.2; letter-spacing: .02em; }
.price-box b span { font-size: 18px; margin-left: 6px; }
.price-box .slots { display: inline-block; margin-top: 12px; padding: 4px 16px; border: 1px solid rgba(255,255,255,.6); font-size: 13px; letter-spacing: .14em; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags li { border: 1px solid var(--ink); padding: 6px 18px; font-size: 14px; letter-spacing: .1em; color: var(--ink); }

.option-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.option { background: var(--surface); display: grid; grid-template-rows: auto 1fr; }
.option__img { aspect-ratio: 16 / 9; }
.option__body { padding: 24px 24px 28px; }
.option h2, .option h3 { font-size: 18px; letter-spacing: .1em; color: var(--ink); margin-bottom: 10px; }
.option p { font-size: 14px; }
.option__price { margin-top: 14px; font-size: 13px; color: var(--text-sub); }
@media (max-width: 840px) { .option-list { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-tips { max-width: 560px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-tips li { padding: 14px 8px 14px 28px; border-bottom: 1px solid var(--section); position: relative; }
.contact-tips li::before { content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; background: var(--ink); transform: translateY(-50%); }
.contact-alt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 40px auto 0; }
.contact-alt a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; letter-spacing: .08em; font-size: 14px; }
.contact-alt .i { width: 20px; height: 20px; }
@media (max-width: 540px) { .contact-alt { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.message { text-align: center; }
.message p { margin: 24px auto 40px; max-width: 560px; }
.message ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; font-size: 14px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .hero__media video, .hero__scroll::after { animation: none; }
}

/* ---------- privacy ---------- */
.policy h2 { margin: 48px 0 12px; }
.policy ul { margin-top: 8px; }
.policy li { padding-left: 1.2em; text-indent: -1.2em; }
.policy li::before { content: "・"; }


/* イメージ写真：枠いっぱいにトリミングして表示 */
.generated-photo { position: relative; overflow: hidden; background-color: var(--photo); }
.generated-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media.generated-photo, .page-hero__media.generated-photo, .sub-band__media.generated-photo { position: absolute; }
.hero__media.generated-photo::after, .page-hero__media.generated-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 30%, rgba(0,0,0,.75)); }
.sub-band__media.generated-photo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.works-grid--pending { gap: 8px; }
@media (max-width: 840px) { .works-grid--pending { grid-template-columns: repeat(3, 1fr); } }
.works-pending { margin-top: 32px; text-align: center; font-size: 14px; }
@media (max-width: 540px) {
  .works-grid--pending { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .works-pending { text-align: left; }
  /* 縦長の画面では車の顔（ヘッドライト）が中央に来るように */
  .hero__media img { object-position: 62% 50%; }
}

/* 日本語の改行位置を文節で（対応ブラウザのみ） */
h1, h2, h3, .sec__lead, .poem, .rn-section-sub, .cta__text, .hero__catch { word-break: auto-phrase; }

/* ---------- movie（縦動画） ---------- */
.movies { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.movie { width: min(320px, 100%); }
.movie__video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--photo); object-fit: cover; }
.movie figcaption { margin-top: 12px; text-align: center; font-size: 13px; letter-spacing: .12em; color: var(--text-sub); }
@media (max-width: 540px) { .movies { gap: 24px; } }

/* 明朝体セクション（CONCEPTページの本文） */
.sec--serif, .sec--serif * { font-family: var(--font-serif); }
.sec--serif svg, .sec--serif svg * { font-family: inherit; }
.sec--serif .brand-sans { font-family: var(--font-sans); }

/* パララックス：ヒーロー背景を余分に伸ばし、スクロールに合わせて main.js が下へずらす */
.js .hero__media[data-parallax] { bottom: -35%; will-change: transform; }

/* ---------- モーション：見出し／写真のカーテン／項目の順番表示 ---------- */
/* 1. 見出し：罫線が中央から外へ伸び、文字が下からせり上がる */
.js .sec__head.reveal .rn-section-title::before { transform: scaleX(0); transform-origin: right center; transition: transform 1.2s var(--ease) .2s; }
.js .sec__head.reveal .rn-section-title::after { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--ease) .2s; }
.js .sec__head.reveal.is-in .rn-section-title::before,
.js .sec__head.reveal.is-in .rn-section-title::after { transform: scaleX(1); }
.js .sec__head.reveal .rn-section-title > span { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(55%); transition: clip-path 1s var(--ease) .1s, transform 1s var(--ease) .1s; }
.js .sec__head.reveal.is-in .rn-section-title > span { clip-path: inset(-12% -12% -12% -12%); transform: none; }

/* 2. 写真：上から下へカーテンが開くように現れ、写真が少し縮んで収まる */
.js .curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .curtain > img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .curtain.is-in { clip-path: inset(0 0 0 0); }
.js .curtain.is-in > img { transform: none; }

/* 5. 項目の順番表示：0.15秒ずつずらす／アイコンの円は拡大しながら */
.js .reasons .reason.reveal:nth-child(2), .js .points--list .point.reveal:nth-child(2) { transition-delay: .15s; }
.js .reasons .reason.reveal:nth-child(3), .js .points--list .point.reveal:nth-child(3) { transition-delay: .3s; }
.js .reason.reveal .reason__icon { transform: scale(.55); transition: transform 1s var(--ease) .25s; }
.js .reason.reveal:nth-child(2) .reason__icon { transition-delay: .4s; }
.js .reason.reveal:nth-child(3) .reason__icon { transition-delay: .55s; }
.js .reason.reveal.is-in .reason__icon { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .sec__head.reveal .rn-section-title::before, .js .sec__head.reveal .rn-section-title::after { transform: none; transition: none; }
  .js .sec__head.reveal .rn-section-title > span { clip-path: none; transform: none; transition: none; }
  .js .curtain, .js .curtain > img { clip-path: none; transform: none; transition: none; }
  .js .reason.reveal .reason__icon { transform: none; transition: none; }
  .js .reasons .reason.reveal, .js .points--list .point.reveal { transition-delay: 0s; }
}

/* ---------- LINEのボタンは緑基調（LINEのブランドカラー） ---------- */
:root { --line-green: #06c755; }
.rn-button.rn-button--line { --btn-bg: var(--line-green); --btn-fg: var(--on-ink); }
.sp-bar a[data-track="line_click"] { background: var(--line-green); }
/* お問い合わせページのSNSボタン：各SNSのブランドカラー */
.contact-alt a { color: var(--on-ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s; }
.contact-alt a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.22); filter: brightness(1.06); }
.contact-alt a[data-track="line_click"] { background: var(--line-green); }
.contact-alt a[data-track="sns_instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.contact-alt a[data-track="sns_x"] { background: #000; }
@media (prefers-reduced-motion: reduce) { .contact-alt a { transition: none; } .contact-alt a:hover { transform: none; } }

/* Instagramへ行くボタン：Instagramのグラデーション（ホバーで白に塗り替わり、文字はマゼンタ） */
.rn-button.rn-button--instagram {
  --btn-bg: #cc2366; --btn-fg: var(--on-ink);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}
.rn-button.rn-button--instagram:hover { border-color: var(--btn-bg); }

/* 小さいスマホ（〜360px）：ボタンの文字が枠に収まるよう余白と文字サイズを詰める */
@media (max-width: 360px) {
  .rn-button { padding: 0 34px 0 14px; font-size: 15px; letter-spacing: .06em; }
  .rn-button .i { right: 12px; }
}


/* ---------- 比較：タブ切り替え（説明文・4項目・詳細ボタン） ---------- */
.tabs { max-width: 760px; margin: 0 auto; }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--ink); }
.tabs__tab { appearance: none; border: 0; border-right: 1px solid var(--line-soft, #d6d6d6); background: var(--surface); color: var(--text-sub); font: inherit; font-weight: 700; letter-spacing: .14em; padding: 18px 8px; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease); }
.tabs__tab:last-child { border-right: 0; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.tabs__tab.is-active { background: var(--ink); color: var(--on-ink); }
.tabs__panel { background: var(--surface); padding: 32px 36px 40px; }
.js .tabs__panel { display: none; }
.js .tabs__panel.is-active { display: block; animation: tabs-in .5s var(--ease); }
.tabs__panel + .tabs__panel { margin-top: 24px; } /* JSが無いときは3つを縦に並べる */
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__lead { margin: 0 0 8px; font-size: 15px; line-height: 2; color: var(--text); }
.tabs__dl { margin: 0; }
.tabs__dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid #ececec; }
.tabs__dl dt { padding-top: 3px; font-size: 12px; letter-spacing: .2em; color: var(--text-sub); }
.tabs__dl dd { margin: 0; font-size: 15px; }
.tabs__dl b { font-family: var(--font-display); font-size: 1.5em; color: var(--ink); }
.tabs__more { margin-top: 28px; text-align: center; }
@keyframes tabs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 540px) {
  .tabs__panel { padding: 24px 18px 30px; }
  .tabs__tab { padding: 16px 4px; font-size: 14px; letter-spacing: .06em; }
  .tabs__dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 360px) { .tabs__tab { font-size: 13px; letter-spacing: .02em; padding: 16px 2px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .js .tabs__panel.is-active { animation: none; } .tabs__tab { transition: none; } }

/* 白 ⇄ グレーの境目（D案）：淡いグレー＋下端の細線 */
:root { --section-bg: #f4f4f4; }
.sec--gray, .page-hero:not(.page-hero--photo), .cta { background: var(--section-bg); position: relative; overflow: clip; }
.sec--gray:has(+ .sec:not(.sec--gray))::after,
.page-hero:not(.page-hero--photo):has(+ .sec:not(.sec--gray))::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; background: var(--ink);
}
