
:root {
  --line: color-mix(in srgb, var(--color-text) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--color-text) 32%, transparent);
  --on-dark: var(--color-surface);
  --on-dark-mute: color-mix(in srgb, var(--color-surface) 70%, transparent);
  --shadow-photo: 0 30px 60px -36px color-mix(in srgb, var(--color-sub) 55%, transparent);
  --fv-top: calc(var(--header-h) + 12px);
}


html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { background: var(--color-bg); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
img { width: 100%; }
figure { overflow: hidden; }
figure img { height: 100%; object-fit: cover; }


h1, h2, h3, h4 { word-break: auto-phrase; }
.h-en { font-family: var(--font-en); font-weight: 400; color: var(--color-main); display: inline-flex; align-items: center; gap: 14px; margin-bottom: var(--sp-2); }
.h-en::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-head { margin-bottom: var(--sp-5); }
.sec-head .h2 { font-weight: 500; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-4); flex-wrap: wrap; }
.sec-head--center { text-align: center; }
.sec-head--center .h-en { justify-content: center; }
.sec-head--center .h-en::after { content: ""; width: 36px; height: 1px; background: currentColor; }


.loader { background: var(--color-sub); color: var(--on-dark); }
.loader__logo { display: grid; justify-items: center; gap: 12px; }
.loader__ja { font-family: var(--font-heading); font-size: clamp(28px, 3vw, 40px); letter-spacing: .3em; padding-left: .3em; }
.loader__en { font-family: var(--font-en); font-weight: 300; font-size: 12px; letter-spacing: .4em; color: var(--on-dark-mute); }
html.is-ready .loader { visibility: hidden; }


.logo { display: inline-grid; gap: 2px; line-height: 1.2; }
.logo__ja { font-family: var(--font-heading); font-size: 22px; font-weight: 600; letter-spacing: .18em; }
.logo__en { font-family: var(--font-en); font-weight: 400; font-size: 10px; letter-spacing: .28em; opacity: .75; }


.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; gap: clamp(16px, 2vw, 36px); padding: 0 0 0 var(--gutter); color: var(--color-text); transition: background-color .5s var(--ease), color .5s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: blur(10px); opacity: 1; transition: opacity .5s var(--ease); border-bottom: 1px solid var(--line); }
.page-top .header { color: var(--on-dark); }
.page-top .header::before { opacity: 0; }
.page-top.is-scrolled .header { color: var(--color-text); }
.page-top.is-scrolled .header::before { opacity: 1; }
html.is-menu body .header, html.is-menu body.is-scrolled .header { color: var(--on-dark); }
html.is-menu body .header::before, html.is-menu body.is-scrolled .header::before { opacity: 0; }
.header .logo { margin-right: auto; }
.header__nav { display: flex; gap: clamp(20px, 2vw, 36px); font-size: var(--fs-nav); }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__tel { font-family: var(--font-en); font-size: 21px; font-weight: 400; letter-spacing: .08em; display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.header__tel-en { font-size: 11px; letter-spacing: .2em; color: var(--color-accent); }
.header__cta { white-space: nowrap; }
.menu-btn { width: var(--header-h); height: var(--header-h); display: grid; place-items: center; align-content: center; gap: 8px; background: var(--color-sub); color: var(--on-dark); flex: none; }
.menu-btn__bars { display: grid; gap: 7px; width: 30px; }
.menu-btn__bars i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn__label { font-family: var(--font-en); font-size: 10px; letter-spacing: .26em; padding-left: .26em; }
html.is-menu .menu-btn__bars i:first-child { transform: translateY(4px) rotate(18deg); }
html.is-menu .menu-btn__bars i:last-child { transform: translateY(-4px) rotate(-18deg); }
html.is-menu .menu-btn { background: var(--color-main); }


.menu { position: fixed; inset: 0; z-index: 90; background: var(--color-sub); color: var(--on-dark); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s linear .8s; overflow-y: auto; }
html.is-menu .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__inner { min-height: 100%; max-width: var(--container); margin: 0 auto; padding: calc(var(--header-h) + var(--sp-5)) var(--gutter) var(--sp-5); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-6); align-items: center; }
.menu__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px var(--sp-5); }
.menu__nav a { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-surface) 18%, transparent); font-family: var(--font-heading); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: .1em; transition: color .4s var(--ease), padding .4s var(--ease); }
.menu__nav a:hover { color: var(--color-accent); padding-left: 10px; }
.menu__en { font-family: var(--font-en); font-weight: 300; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--color-accent); }
.menu__side { display: grid; gap: var(--sp-2); }
.menu__photo { aspect-ratio: 4 / 5; max-height: 52vh; }
.menu__photo img { object-position: 50% 20%; }
.menu__tel { font-family: var(--font-en); font-size: 30px; letter-spacing: .08em; margin-top: var(--sp-2); }
.menu__info { font-size: var(--fs-small); color: var(--on-dark-mute); }


.fv { position: relative; height: 100vh; height: 100svh; min-height: 760px; max-height: 1080px; background: var(--color-sub); color: var(--on-dark); overflow: hidden; }
.fv__photos { position: absolute; left: 0; top: var(--fv-top); width: calc(100% - clamp(240px, 21vw, 320px)); height: 58%; display: flex; gap: 14px; }
.fv__main { flex: none; height: 100%; aspect-ratio: 2 / 3; margin-left: var(--gutter); }
.fv__main img { object-position: 50% 18%; }
.fv__slider { flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.fv__track { display: flex; gap: 14px; height: 100%; will-change: transform; }
.fv__card { flex: none; height: 100%; aspect-ratio: 5 / 8; }
.fv__count { position: absolute; right: 14px; top: 14px; padding: 4px 12px; background: color-mix(in srgb, var(--color-sub) 70%, transparent); font-family: var(--font-en); font-weight: 300; font-size: 13px; letter-spacing: .24em; color: var(--on-dark-mute); }
.fv__count-now { color: var(--on-dark); }
.fv__logotype { position: absolute; left: calc(var(--gutter) - .06em); top: calc(var(--fv-top) + 58% * 1 - .62em); display: flex; flex-direction: column; align-items: flex-start; gap: .1em; font-family: var(--font-en); font-weight: 200; font-size: clamp(80px, 13.4vw, 210px); line-height: 1; letter-spacing: .01em; color: var(--on-dark); text-shadow: 0 6px 40px color-mix(in srgb, var(--color-sub) 50%, transparent); pointer-events: none; }
.fv__logotype-main { display: flex; overflow: hidden; padding-bottom: .22em; margin-bottom: -.18em; }
.fv__logotype-main > span { display: inline-block; }
.fv__logotype-sub { display: flex; gap: .8em; font-size: .1em; font-weight: 300; letter-spacing: .42em; line-height: 1.5; padding-left: .7em; text-transform: uppercase; color: var(--color-bg); text-shadow: none; }
.fv__title { position: absolute; right: var(--gutter); top: calc(var(--fv-top) + 4px); writing-mode: vertical-rl; font-size: calc(var(--fs-h1) * .82); font-weight: 500; line-height: 1.7; letter-spacing: .12em; white-space: nowrap; }
.fv__line { display: block; }
.fv__line:nth-child(2) { margin-top: 1em; }
.fv__foot { position: absolute; left: clamp(380px, 46vw, 680px); right: clamp(240px, 21vw, 320px); bottom: clamp(32px, 5vh, 56px); display: grid; gap: var(--sp-3); justify-items: start; }
.fv__lead { font-size: var(--fs-body); line-height: 1.9; color: var(--on-dark); max-width: 30em; }
.fv__next { position: absolute; right: calc(var(--gutter) + 6px); bottom: clamp(28px, 4vh, 48px); width: 104px; height: 104px; display: grid; place-items: center; }
.fv__next-in { width: 96px; height: 96px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-surface) 50%, transparent); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--on-dark); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.fv__next:hover .fv__next-in { background: var(--color-main); border-color: var(--color-main); }
.fv__next-label { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; padding-left: .3em; }


.wave-fill { position: relative; line-height: 0; color: var(--color-bg); }
.wave-fill svg { display: block; width: 100%; height: clamp(48px, 7vw, 110px); fill: currentColor; }
.wave-fill--from-dark { margin-top: -1px; }
.wave-fill .wave-fill__bg { fill: var(--color-sub); }
.wave-fill svg { margin-bottom: -1px; position: relative; }
.wave-fill--to-dark { background: var(--color-sub); color: var(--color-bg); }
.wave-line { line-height: 0; color: var(--color-main); }
.wave-line svg { display: block; width: 100%; height: 80px; overflow: visible; }
.wave-line path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }


.trouble { display: grid; grid-template-columns: 50% 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; padding: var(--sp-5) var(--gutter) var(--sp-sec) 0; max-width: calc(var(--container) + (100vw - var(--container)) / 2); }
.trouble__photo { aspect-ratio: 5 / 6; max-height: 820px; width: 100%; border-radius: 0 var(--radius-l) var(--radius-l) 0; }
.trouble__photo img { height: 116%; margin-top: -8%; object-position: 40% 50%; }
.trouble__list { counter-reset: t; border-top: 1px solid var(--line-strong); }
.trouble__list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); font-family: var(--font-heading); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.6; letter-spacing: .06em; }
.trouble__no { font-family: var(--font-en); font-size: 15px; letter-spacing: .1em; color: var(--color-main); }


.service { padding-bottom: var(--sp-sec); }
.service .wave-line { margin-bottom: var(--sp-6); }
.service__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.4vw, 40px); row-gap: var(--sp-6); }
.svc { position: relative; display: grid; align-content: start; gap: var(--sp-2); }
.svc--1 { grid-column: 1 / 8; }
.svc--2 { grid-column: 8 / 13; margin-top: var(--sp-7); }
.svc--3 { grid-column: 1 / 5; }
.svc--4 { grid-column: 5 / 9; margin-top: var(--sp-6); }
.svc--5 { grid-column: 9 / 13; margin-top: var(--sp-4); }
.svc__photo { position: relative; aspect-ratio: 3 / 2; margin-bottom: var(--sp-2); overflow: visible; }
.svc--1 .svc__photo { aspect-ratio: 16 / 10; }
.svc--2 .svc__photo { aspect-ratio: 4 / 3.4; }
.svc--3 .svc__photo, .svc--5 .svc__photo { aspect-ratio: 4 / 4.4; }
.svc__photo img { transition: transform 1.2s var(--ease); border-radius: var(--radius-m); }
.svc__photo { border-radius: var(--radius-m); }
.svc__photo > img { overflow: hidden; }
.svc:hover .svc__photo img { transform: scale(1.04); }
.num-icon { position: absolute; left: -14px; bottom: -28px; width: 88px; height: 88px; border-radius: 50%; background: var(--color-surface); color: var(--color-main); display: grid; place-items: center; align-content: center; font-family: var(--font-en); font-weight: 300; font-size: 34px; line-height: 1; box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-main) 30%, transparent), 0 16px 30px -18px color-mix(in srgb, var(--color-sub) 60%, transparent); }
.num-icon__en { font-size: 11px; letter-spacing: .2em; color: var(--color-text); margin-bottom: 4px; }
.svc .h4 { margin-top: var(--sp-3); padding-left: 0; }
.svc p { font-size: var(--fs-card); line-height: 1.9; }
.svc--1 p { max-width: 36em; }


.marquee { overflow: hidden; padding: var(--sp-4) 0; border-block: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set span { font-family: var(--font-en); font-weight: 200; font-size: clamp(64px, 10vw, 156px); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--color-sub); padding: 0 .3em; }
.marquee__set span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--color-main); }
.marquee__set i { font-style: normal; font-family: var(--font-en); font-weight: 200; font-size: clamp(40px, 5vw, 80px); color: var(--color-accent); }


.cases { padding: var(--sp-sec) 0; }
.cards-uneven { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.4vw, 44px); row-gap: var(--sp-5); align-items: start; }
.ucard { display: grid; gap: 10px; background: var(--color-surface); padding: 14px 14px var(--sp-4); border-radius: var(--radius-m); box-shadow: 0 20px 50px -40px color-mix(in srgb, var(--color-sub) 70%, transparent); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ucard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--color-sub) 70%, transparent); }
.ucard > :not(figure) { padding-inline: clamp(10px, 1.4vw, 22px); }
.ucard__photo { border-radius: var(--radius-s); margin-bottom: var(--sp-2); }
.ucard__photo img { transition: transform 1.2s var(--ease); }
.ucard:hover .ucard__photo img { transform: scale(1.05); }
.ucard__tag { font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--color-main); }
.ucard p:not(.ucard__tag) { font-size: var(--fs-card); }
.ucard--a { grid-column: 1 / 6; }
.ucard--a .ucard__photo { aspect-ratio: 4 / 4.2; }
.ucard--b { grid-column: 6 / 10; margin-top: var(--sp-7); }
.ucard--b .ucard__photo { aspect-ratio: 1 / 1; }
.ucard--c { grid-column: 10 / 13; margin-top: var(--sp-5); }
.ucard--c .ucard__photo { aspect-ratio: 3 / 4; }


.numbers { padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; }
.numbers__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 340px 340px; gap: 12px; }
.numbers__mosaic figure { border-radius: var(--radius-m); }
.numbers__mosaic img { height: 120%; margin-top: -10%; }
.numbers__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(880px, 72%); background: var(--color-surface); padding: var(--sp-5) var(--sp-5) var(--sp-5); border-radius: var(--radius-m); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--color-sub) 60%, transparent); }
.numbers__panel .sec-head { margin-bottom: var(--sp-4); }
.numbers__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.numbers__list li { display: grid; justify-items: center; gap: 6px; padding: 0 var(--sp-2); text-align: center; }
.numbers__list li + li { border-left: 1px solid var(--line); }
.numbers__icon { width: 44px; height: 44px; fill: none; stroke: var(--color-main); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.numbers__label { font-size: var(--fs-card); }
.numbers__value { font-family: var(--font-en); font-weight: 300; font-size: var(--fs-num); line-height: 1.1; color: var(--color-main); white-space: nowrap; }
.numbers__unit { font-family: var(--font-heading); font-size: 22px; color: var(--color-text); margin-left: 6px; }


.price { padding: var(--sp-sec) 0; }
.price__wrap { display: grid; grid-template-columns: 1fr 2fr; gap: var(--sp-6); align-items: center; }
.price .sec-head { margin: 0; }
.price .sec-head .btn { margin-top: var(--sp-4); }
.frame { background: var(--color-surface); border: 14px solid var(--color-sub); padding: clamp(18px, 2.6vw, 40px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-surface) 60%, transparent), 0 40px 70px -40px color-mix(in srgb, var(--color-sub) 70%, transparent); position: relative; }
.frame::before { content: ""; position: absolute; inset: -14px; border: 1px solid color-mix(in srgb, var(--color-accent) 70%, transparent); pointer-events: none; }
.frame__inner { border: 1px solid color-mix(in srgb, var(--color-main) 45%, transparent); padding: clamp(14px, 2.6vw, 44px); background: var(--color-bg); }
.price-table th, .price-table td { padding: 20px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--fs-body); }
.price-table thead th { font-family: var(--font-en); font-weight: 400; font-size: 13px; letter-spacing: .2em; color: var(--color-main); padding-top: 0; border-bottom: 1px solid var(--line-strong); }
.price-table tbody th { font-family: var(--font-heading); font-weight: 500; }
.price-table td strong { font-family: var(--font-heading); font-weight: 600; font-size: calc(var(--fs-body) + 2px); color: var(--color-main); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }


.flow { padding: var(--sp-sec) 0; background: var(--color-surface); }
.flow__wrap { position: relative; }
.wave-line--flow { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.wave-line--flow svg { height: 120px; }
.flow__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); counter-reset: step; }
.step { position: relative; padding-top: 0; }
.step:nth-child(odd) { margin-top: 2px; }
.step:nth-child(even) { margin-top: 82px; }
.step__dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--color-main); box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-main) 16%, transparent); margin: 10px 0 var(--sp-4) calc(50% - 9px); }
.step__no { font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--color-main); }
.step .h4 { margin: 6px 0 12px; }
.step p:not(.step__no) { font-size: var(--fs-card); }


.message { display: grid; grid-template-columns: 1fr 44%; gap: clamp(40px, 6vw, 120px); align-items: center; padding: var(--sp-sec) 0 var(--sp-sec) var(--gutter); max-width: calc(var(--container) + (100vw - var(--container)) / 2); margin-left: auto; }
.message__body { justify-self: end; max-width: 620px; }
.message__text { font-family: var(--font-heading); font-size: clamp(19px, 1.5vw, 22px); line-height: 2.2; letter-spacing: .08em; }
.message__sign { margin: var(--sp-4) 0 var(--sp-4); font-size: var(--fs-small); letter-spacing: .2em; }
.message__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-l) 0 0 var(--radius-l); max-height: 860px; }
.message__photo img { height: 116%; margin-top: -8%; object-position: 50% 20%; }


.column { padding: 0 0 var(--sp-sec); }
.icon-band { overflow: hidden; background: var(--color-main); color: var(--color-surface); padding: 18px 0; margin-bottom: var(--sp-6); }
.icon-band__row { display: flex; width: max-content; }
.icon-band__set { display: flex; flex: none; }
.icon-band__set span { display: inline-flex; align-items: center; gap: 14px; padding: 0 40px; font-family: var(--font-en); font-weight: 300; font-size: 18px; letter-spacing: .24em; text-transform: uppercase; }
.icon-band svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.news-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.4vw, 44px); row-gap: var(--sp-4); align-items: start; }
.news { display: grid; gap: 12px; }
.news--a { grid-column: 1 / 5; }
.news--b { grid-column: 5 / 10; margin-top: var(--sp-5); }
.news--c { grid-column: 10 / 13; margin-top: var(--sp-3); }
.news__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-m); }
.news--b .news__photo { aspect-ratio: 16 / 10; }
.news--c .news__photo { aspect-ratio: 1 / 1; }
.news__photo img { transition: transform 1.2s var(--ease); }
.news:hover .news__photo img { transform: scale(1.05); }
.news__meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-en); font-size: var(--fs-small); letter-spacing: .1em; margin-top: 6px; }
.news__cat { font-family: var(--font-body); font-size: 13px; padding: 2px 12px; border: 1px solid var(--color-main); color: var(--color-main); border-radius: 999px; }
.news__title { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 500; line-height: 1.6; transition: color .4s var(--ease); }
.news:hover .news__title { color: var(--color-main); }


.cta { background: var(--color-sub); color: var(--on-dark); padding-bottom: var(--sp-sec); overflow: hidden; }
.cta__strip { overflow: hidden; margin-top: var(--sp-5); }
.cta__track { display: flex; width: max-content; }
.cta__set { display: flex; gap: 14px; padding-right: 14px; flex: none; }
.cta__set figure { width: 210px; height: 300px; border-radius: var(--radius-m); flex: none; }
.cta__set figure:nth-child(even) { margin-top: 40px; }
.cta__body { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-4) var(--sp-6); align-items: end; margin-top: calc(var(--sp-5) * -1); }
.cta__en { grid-column: 1 / -1; font-family: var(--font-en); font-weight: 200; font-size: clamp(56px, 9vw, 150px); line-height: 1; letter-spacing: .01em; color: var(--color-bg); position: relative; z-index: 1; text-shadow: 0 6px 40px color-mix(in srgb, var(--color-sub) 50%, transparent); }
.cta__text .h2 { margin-bottom: var(--sp-3); }
.cta__text p { color: var(--on-dark-mute); }
.cta__btns { display: grid; gap: var(--sp-2); justify-items: stretch; }
.cta .btn--line { color: var(--on-dark); }
.cta .btn--line:hover { background: var(--color-surface); color: var(--color-sub); }
.cta__hours { display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; opacity: .8; }
.btn--tel > span { text-align: center; line-height: 1.5; padding-block: 8px; }


.footer { background: var(--color-surface); padding: var(--sp-6) 0 var(--sp-3); overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-5); }
.footer__info { margin-top: var(--sp-3); font-size: var(--fs-small); line-height: 2; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px var(--sp-4); align-content: start; font-size: var(--fs-nav); }
.footer__nav a { padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.footer__nav a:hover { color: var(--color-main); }
.footer__big { font-family: var(--font-en); font-weight: 200; font-size: clamp(40px, 8.4vw, 132px); line-height: 1; letter-spacing: .01em; white-space: nowrap; color: color-mix(in srgb, var(--color-main) 22%, transparent); text-align: center; margin: var(--sp-5) 0 var(--sp-3); }
.footer__copy { text-align: center; font-size: 13px; letter-spacing: .12em; }
.sp-bar { display: none; }


.page-sub main { padding-top: var(--header-h); }
.crumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: var(--fs-small); padding-top: var(--sp-3); }
.crumb a { color: var(--color-main); }
.crumb li + li::before { content: "＞"; margin-right: 10px; opacity: .6; }
.phero { padding: var(--sp-4) 0 var(--sp-6); }
.phero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-6); align-items: center; margin-top: var(--sp-4); }
.phero__en { display: block; font-family: var(--font-en); font-weight: 200; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: .01em; color: var(--color-main); margin-bottom: var(--sp-3); white-space: nowrap; }
.phero h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: .04em; }
.gallery { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: var(--sp-3); }
.gallery figure { background: var(--color-surface); padding: 12px; border: 1px solid var(--line); box-shadow: 0 24px 40px -30px color-mix(in srgb, var(--color-sub) 70%, transparent); border-radius: var(--radius-s); }
.gallery figure img { border-radius: var(--radius-s); }
.gallery figure:nth-child(1) { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(2) { aspect-ratio: 4 / 3; margin-top: var(--sp-5); }
.gallery figure:nth-child(3) { aspect-ratio: 5 / 4; width: 82%; }

.intro { padding: var(--sp-5) 0 var(--sp-sec); }
.intro__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-6); align-items: start; }
.intro .h2 { font-weight: 500; }
.intro__text { display: grid; gap: var(--sp-3); justify-items: start; }

.block { padding: var(--sp-sec) 0; }
.block--surface { background: var(--color-surface); }
.block .wave-line { margin-bottom: var(--sp-6); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }

.tbl { width: 100%; }
.tbl th, .tbl td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--fs-card); line-height: 1.8; }
.tbl thead th { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-card); color: var(--color-main); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.tbl tbody th { font-family: var(--font-heading); font-weight: 600; font-size: calc(var(--fs-card) + 2px); white-space: nowrap; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.plan-note { margin-top: var(--sp-4); }
.sec-head__note { max-width: 40em; font-size: var(--fs-card); }
.tbl .em { white-space: nowrap; font-family: var(--font-heading); font-weight: 600; color: var(--color-main); }


.detail { display: grid; grid-template-columns: 42% 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.detail--rev { grid-template-columns: 1fr 42%; }
.detail--rev .detail__photo { order: 2; }
.detail__photo { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: visible; }
.detail__photo img { border-radius: var(--radius-m); }
.detail__photo .num-icon { left: auto; right: -20px; bottom: -30px; }
.detail__body > * + * { margin-top: var(--sp-3); }
.detail__body .h2 { margin-bottom: var(--sp-2); }
.detail__body .h3 { margin-top: var(--sp-5); }
.detail__body .h3:first-of-type { margin-top: 0; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 14px; height: 7px; border-left: 1.5px solid var(--color-main); border-bottom: 1.5px solid var(--color-main); transform: rotate(-45deg); }
.ol-steps { counter-reset: s; border-top: 1px solid var(--line); }
.ol-steps li { counter-increment: s; position: relative; padding: 20px 0 20px 72px; border-bottom: 1px solid var(--line); }
.ol-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--font-en); font-weight: 300; font-size: 34px; color: var(--color-main); }
.ol-steps h4 { font-size: calc(var(--fs-body) + 2px); font-weight: 600; margin-bottom: 4px; }


.flow5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 32px); position: relative; }
.flow5 .step:nth-child(even) { margin-top: 82px; }
.flow-note { margin-top: var(--sp-5); text-align: center; }

.bring { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
.bring__note { margin-top: var(--sp-3); }
.bring__h { margin-bottom: var(--sp-3); }
.bring__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-m); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details.qa summary::before { content: "Q"; font-family: var(--font-en); font-weight: 300; font-size: 28px; color: var(--color-main); width: 30px; flex: none; }
.faq details.qa .a { padding-left: 50px; }
.note-box { margin-top: var(--sp-5); padding: var(--sp-4); background: var(--color-bg); border-left: 3px solid var(--color-main); }
.note-box .h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }


html.js-motion [data-reveal], html.js-motion [data-stagger] > * { opacity: 0; }


@media (max-width: 1180px) {
  .header__nav { display: none; }
}
@media (max-width: 1023px) {
  .menu__inner { grid-template-columns: 1fr; }
  .menu__side { display: none; }
  .trouble { grid-template-columns: 1fr; padding-right: 0; }
  .trouble__photo { max-height: 520px; width: calc(100% - var(--gutter)); aspect-ratio: 16 / 10; }
  .trouble__body { padding-inline: var(--gutter); }
  .price__wrap { grid-template-columns: 1fr; gap: var(--sp-5); }
  .message { grid-template-columns: 1fr; padding-left: 0; }
  .message__body { justify-self: start; padding-inline: var(--gutter); }
  .message__photo { width: calc(100% - var(--gutter)); margin-left: auto; aspect-ratio: 16 / 12; }
  .detail, .detail--rev { grid-template-columns: 1fr; }
  .detail--rev .detail__photo { order: 0; }
  .detail__photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .flow5 { grid-template-columns: repeat(2, 1fr); }
  .flow5 .step:nth-child(even) { margin-top: 0; }
  .phero__grid, .intro__inner, .bring { grid-template-columns: 1fr; gap: var(--sp-5); }
}


@media (max-width: 767px) {
  :root { --fv-top: calc(var(--header-h) + 8px); }
  .header { padding-left: 20px; gap: 0; }
  .header__tel, .header__cta { display: none; }
  .menu-btn { width: var(--header-h); height: var(--header-h); }
  .logo__ja { font-size: 19px; }
  .menu__nav { grid-template-columns: 1fr; }
  .menu__nav a { padding: 12px 0; }
  .menu__side { display: grid; }
  .menu__photo { display: none; }

  .fv { height: auto; min-height: 0; max-height: none; padding: var(--fv-top) 0 calc(var(--sp-5) + 40px); }
  .wave-line svg { height: 44px; }
  .fv__photos { position: relative; top: 0; width: 100%; height: 50vh; min-height: 360px; max-height: 440px; gap: 10px; }
  .fv__main { margin-left: 20px; }
  .fv__track { gap: 10px; }
  .fv__count { display: none; }
  .fv__logotype { position: relative; top: auto; left: 14px; margin-top: -.5em; font-size: 23vw; }
  .fv__logotype-sub { display: none; }
  .fv__title { position: static; writing-mode: horizontal-tb; font-size: calc(var(--fs-h1) * .75); line-height: 1.6; letter-spacing: .08em; padding: var(--sp-3) 20px 0; }
  .fv__line:nth-child(2) { margin-top: 0; }
  .fv__foot { position: static; padding: var(--sp-3) 20px 0; }
  .fv__lead { font-size: var(--fs-small); }
  .fv__next { display: none; }

  .sec-head { margin-bottom: var(--sp-4); }
  .trouble { padding-top: var(--sp-4); gap: var(--sp-4); }
  .trouble__photo { aspect-ratio: 4 / 3; }
  .trouble__list li { grid-template-columns: 40px 1fr; padding: 18px 0; }
  .service .wave-line { margin-bottom: var(--sp-5); }
  .service__grid, .cards-uneven, .news-grid { grid-template-columns: 1fr; row-gap: var(--sp-5); }
  .svc, .ucard, .news { grid-column: auto !important; margin-top: 0 !important; }
  .svc--2, .svc--4 { width: 88%; margin-left: auto !important; }
  .ucard--b { width: 90%; margin-left: auto !important; }
  .num-icon { width: 70px; height: 70px; font-size: 26px; left: -6px; bottom: -22px; }
  .marquee { padding: var(--sp-3) 0; }
  .numbers { padding: 0; }
  .numbers__mosaic { grid-template-rows: 160px 160px; gap: 6px; }
  .numbers__panel { position: relative; left: auto; top: auto; transform: none; width: calc(100% - 40px); margin: -80px auto 0; padding: var(--sp-4) var(--sp-3); }
  .numbers__list { grid-template-columns: 1fr; }
  .numbers__list li { padding: var(--sp-3) 0; }
  .numbers__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .frame { border-width: 8px; }
  .frame::before { inset: -8px; }
  .price-table th, .price-table td { display: block; padding: 6px 0; border: 0; }
  .price-table thead { display: none; }
  .price-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .wave-line--flow { display: none; }
  .flow__list { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--color-main); margin-left: 20px; width: calc(100% - 20px); }
  .step, .step:nth-child(even) { margin-top: 0; padding: 0 0 var(--sp-4) var(--sp-3); }
  .step__dot { position: absolute; left: -9px; top: 4px; margin: 0; }
  .message { padding-block: var(--sp-sec) var(--sp-sec); }
  .icon-band { margin-bottom: var(--sp-5); }
  .cta__set figure { width: 130px; height: 190px; }
  .cta__set figure:nth-child(even) { margin-top: 24px; }
  .cta__body { grid-template-columns: 1fr; margin-top: var(--sp-3); }
  .cta__en { font-size: 15vw; }
  .footer { padding-bottom: calc(var(--sp-3) + 64px); }
  .footer__inner { grid-template-columns: 1fr; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 80; height: 64px; }
  .sp-bar a { display: grid; place-items: center; align-content: center; font-size: var(--fs-small); letter-spacing: .08em; }
  .sp-bar__tel { background: var(--color-sub); color: var(--on-dark); font-family: var(--font-en); font-size: 17px !important; line-height: 1.3; }
  .sp-bar__tel span { font-family: var(--font-body); font-size: 11px; color: var(--on-dark-mute); }
  .sp-bar__cta { background: var(--color-main); color: var(--color-surface); font-weight: 500; font-size: var(--fs-nav) !important; }

  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .tbl th, .tbl td, .tbl .em { padding: 4px 0; border: 0; white-space: normal; }
  .frame { padding: 10px; }
  .frame__inner { padding: 6px 16px; }
  .tbl td[data-th]::before { content: attr(data-th) "："; color: var(--color-main); font-size: 13px; display: block; }
  .flow5 { grid-template-columns: 1fr; }
  .gallery figure:nth-child(2) { margin-top: var(--sp-3); }
  .detail__photo .num-icon { right: -6px; }
}
