/* ==========================================================================
   Shizuku main stylesheet
   ========================================================================== */

:root {
	--c-primary: #1f6f78;
	--c-accent: #e9a46a;
	--c-ink: #22313a;
	--c-muted: #5f6f76;
	--c-bg: #fbfaf7;
	--c-surface: #ffffff;
	--c-tint: #eef5f4;
	--c-line: #dfe6e5;
	--c-deep: #13434a;

	--f-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--f-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--f-en: "Jost", "Helvetica Neue", Arial, sans-serif;

	--w-container: 1160px;
	--w-narrow: 800px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 10px 30px -12px rgba(19, 67, 74, .18);
	--shadow-lg: 0 24px 50px -20px rgba(19, 67, 74, .28);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--header-h: 76px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .04em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--c-deep); }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -100px; z-index: 1000;
	background: var(--c-ink); color: #fff; padding: 8px 16px; border-radius: 6px;
}
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: calc(var(--w-container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .85em 1.8em; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: .95rem; letter-spacing: .08em; line-height: 1.4;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn--lg { padding: 1.05em 2.2em; font-size: 1rem; }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 8px 20px -8px var(--c-accent); }
.btn--accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px var(--c-accent); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-more {
	font-family: var(--f-en); font-size: .82rem; letter-spacing: .18em; font-weight: 500;
	white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--c-deep); color: rgba(255,255,255,.85); font-size: .78rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__tagline { letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sns { list-style: none; display: flex; gap: 6px; align-items: center; }
.sns a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; }
.sns a:hover { background: rgba(255,255,255,.12); color: #fff; }
.sns .icon { width: 16px; height: 16px; fill: currentColor; }
.sns--small a { width: 28px; height: 28px; }
.sns--small .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251, 250, 247, .88);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.site-brand { flex-shrink: 0; }
.site-brand .custom-logo { max-height: 48px; width: auto; }
.site-brand__text {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-en); font-weight: 500; font-size: 1.3rem; letter-spacing: .06em; color: var(--c-ink);
}
.site-brand__text:hover { color: var(--c-primary); }
.site-brand__mark {
	width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
	background: linear-gradient(135deg, var(--c-primary), #6fb9bd);
	box-shadow: inset -3px 3px 6px rgba(255,255,255,.35);
}

.gnav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gnav__list { list-style: none; display: flex; gap: 4px; }
.gnav__list > li { position: relative; }
.gnav__list a {
	display: block; padding: 8px 12px; color: var(--c-ink); font-size: .9rem; font-weight: 500; position: relative;
}
.gnav__list > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
	background: var(--c-primary); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.gnav__list > li > a:hover::after,
.gnav__list > .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.gnav__list .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px;
	background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s var(--ease);
}
.gnav__list li:hover > .sub-menu,
.gnav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gnav__list .sub-menu a { border-radius: 8px; }
.gnav__list .sub-menu a:hover { background: var(--c-tint); }
.gnav__cta { padding: .7em 1.5em; font-size: .88rem; }
.gnav__sns { display: none; }

.menu-toggle {
	display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--c-primary); position: relative; z-index: 120;
}
.menu-toggle__bar {
	position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle__bar:nth-child(1) { top: 19px; }
.menu-toggle__bar:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- Ripple placeholder ---------- */
.ph {
	position: relative; width: 100%; height: 100%; min-height: 160px; overflow: hidden;
	background: radial-gradient(circle at 50% 55%, #d6ecea 0%, var(--c-tint) 45%, #e4efee 100%);
	display: grid; place-items: center;
}
.ph__ring {
	position: absolute; left: 50%; top: 55%; width: 30%; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(31, 111, 120, .28); transform: translate(-50%, -50%) scaleY(.42);
}
.ph__ring--2 { width: 55%; border-color: rgba(31, 111, 120, .18); }
.ph__ring--3 { width: 85%; border-color: rgba(31, 111, 120, .1); }
.ph__label { position: relative; font-family: var(--f-en); letter-spacing: .3em; font-size: .75rem; color: var(--c-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); overflow: hidden; background: var(--c-deep); color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transform: scale(1.08); transition: transform 8s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 40, 45, .72) 0%, rgba(10, 40, 45, .35) 55%, rgba(10, 40, 45, .1) 100%);
}
.hero__bg--ripple {
	transform: none;
	background:
		radial-gradient(ellipse at 72% 62%, rgba(140, 210, 212, .35) 0%, transparent 45%),
		radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .08) 0%, transparent 40%),
		linear-gradient(160deg, #1d5f67 0%, #13434a 55%, #0e3338 100%);
}
.hero__bg--ripple::after { background: linear-gradient(90deg, rgba(10, 40, 45, .45), transparent 70%); }
.hero__ring {
	position: absolute; left: 72%; top: 62%; width: 160px; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(220, 245, 245, .55); transform: translate(-50%, -50%) scale(.2) scaleY(.38);
	opacity: 0; animation: ripple 8s var(--ease) infinite;
}
.hero__ring--2 { animation-delay: 2s; }
.hero__ring--3 { animation-delay: 4s; }
.hero__ring--4 { animation-delay: 6s; }
@keyframes ripple {
	0% { transform: translate(-50%, -50%) scale(.2) scaleY(.38); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translate(-50%, -50%) scale(7) scaleY(.38); opacity: 0; }
}

.hero__content { position: relative; z-index: 2; padding-block: 96px 120px; }
.hero__en {
	font-family: var(--f-en); font-weight: 300; font-size: clamp(.9rem, 1.6vw, 1.1rem);
	letter-spacing: .35em; text-transform: uppercase; margin-bottom: 1.4em; color: #bfe3e3;
}
.hero__title {
	font-family: var(--f-head); font-weight: 600; font-size: clamp(2rem, 5.4vw, 3.8rem);
	line-height: 1.45; letter-spacing: .08em; margin: 0 0 .7em;
	text-shadow: 0 2px 30px rgba(0,0,0,.18);
}
.hero__text { max-width: 34em; color: rgba(255,255,255,.85); margin-bottom: 2.4em; font-size: clamp(.95rem, 1.4vw, 1.05rem); }
.hero__slide .hero__en,
.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .btn { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__slide.is-active .hero__en { opacity: 1; transform: none; transition-delay: .3s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .5s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .7s; }
.hero__slide.is-active .btn { opacity: 1; transform: none; transition-delay: .9s; }

.hero__dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 88px; display: flex; gap: 10px; }
@media (min-width: 1240px) { .hero__dots { left: calc((100vw - var(--w-container)) / 2); } }
.hero__dot {
	width: 40px; height: 3px; padding: 0; border: 0; border-radius: 3px;
	background: rgba(255,255,255,.3); position: relative; overflow: hidden;
}
.hero__dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: dot var(--hero-interval, 6s) linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.hero__scroll {
	position: absolute; z-index: 3; right: var(--gutter); bottom: 0; writing-mode: vertical-rl;
	font-family: var(--f-en); font-size: .7rem; letter-spacing: .3em; padding-bottom: 80px; color: rgba(255,255,255,.7);
}
.hero__scroll::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: rgba(255,255,255,.6);
	animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- News strip ---------- */
.news { position: relative; z-index: 5; margin-top: -48px; }
.news__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
	background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 28px 40px; max-width: calc(var(--w-container) - 80px);
}
.news__label { font-family: var(--f-en); font-weight: 500; letter-spacing: .2em; font-size: 1rem; color: var(--c-primary); }
.news__list { list-style: none; }
.news__item a {
	display: flex; gap: 16px; align-items: baseline; color: var(--c-ink); padding: 6px 0; font-size: .92rem;
}
.news__item + .news__item { border-top: 1px dashed var(--c-line); }
.news__item time { font-family: var(--f-en); color: var(--c-muted); flex-shrink: 0; letter-spacing: .08em; }
.news__cat { flex-shrink: 0; font-size: .72rem; padding: 0 .8em; border-radius: 999px; background: var(--c-tint); color: var(--c-primary); }
.news__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news__item a:hover .news__title { color: var(--c-primary); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section--first { padding-top: clamp(56px, 7vw, 88px); }
.section--tint { background: var(--c-tint); }
.section--tint::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 60px;
	background: var(--c-bg); clip-path: ellipse(60% 100% at 50% 0%);
}
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); position: relative; }
.sec-head--center { text-align: center; }
.sec-head__en {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--f-en); font-weight: 500; font-size: .85rem; letter-spacing: .3em; color: var(--c-primary);
	margin-bottom: 1em;
}
.sec-head__en::before {
	content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
	background: var(--c-accent);
}
.sec-head__ja { font-family: var(--f-head); font-size: clamp(1.55rem, 3.4vw, 2.4rem); letter-spacing: .08em; line-height: 1.55; }
.sec-head__lead { margin-top: 1.4em; color: var(--c-muted); }
.sec-head--center .sec-head__lead { max-width: 40em; margin-inline: auto; }
.section:not(.section--tint) + .section:not(.section--tint) { padding-top: 0; }
.sec-foot { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.empty-note { text-align: center; color: var(--c-muted); padding: 40px; border: 1px dashed var(--c-line); border-radius: var(--radius); }

/* ---------- Pillars ---------- */
.pillars { padding-block: clamp(64px, 9vw, 110px) 0; }
.pillars__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillars__item {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	padding: 32px 16px; border-radius: var(--radius-lg); background: var(--c-surface);
	border: 1px solid var(--c-line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillars__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillars__icon { width: 44px; height: 44px; fill: none; stroke: var(--c-primary); stroke-width: 1.2; margin-bottom: 12px; }
.pillars__en { font-family: var(--f-en); font-size: 1.15rem; letter-spacing: .12em; font-weight: 500; }
.pillars__ja { font-size: .8rem; color: var(--c-muted); }

/* ---------- Value ---------- */
.value__list { display: grid; gap: clamp(56px, 8vw, 100px); }
.value__item { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.value__item:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.value__item:nth-child(even) .value__media { order: 2; }
.value__media { position: relative; border-radius: var(--radius-lg); overflow: visible; aspect-ratio: 4 / 3; }
.value__media img, .value__media .ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.value__num {
	position: absolute; top: -.55em; right: -.1em; font-family: var(--f-en); font-weight: 300;
	font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--c-primary); opacity: .9;
	-webkit-text-stroke: 0; mix-blend-mode: multiply;
}
.value__item:nth-child(even) .value__num { right: auto; left: -.1em; }
.value__title { font-family: var(--f-head); font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: .06em; margin-bottom: 1em; }
.value__text { color: var(--c-muted); }

/* ---------- Message ---------- */
.message { overflow: hidden; }
.message::before {
	content: "MESSAGE"; position: absolute; right: -2vw; top: 6vw; font-family: var(--f-en); font-weight: 600;
	font-size: clamp(5rem, 15vw, 13rem); letter-spacing: .05em; color: var(--c-tint); line-height: 1; z-index: -1; pointer-events: none;
}
.message__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.message__media { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.message__media img, .message__media .ph { width: 100%; height: 100%; object-fit: cover; }
.message__title { font-family: var(--f-head); font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: .08em; margin-bottom: 1.2em; }
.message__text p + p { margin-top: 1.2em; }
.message__text { color: var(--c-muted); }
.message__sign { margin: 2em 0 2.4em; display: flex; align-items: baseline; gap: 1em; }
.message__role { font-size: .85rem; color: var(--c-muted); }
.message__name { font-family: var(--f-head); font-size: 1.4rem; letter-spacing: .2em; }

/* ---------- Service ---------- */
.service__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
	display: flex; flex-direction: column; height: 100%; background: var(--c-surface); color: var(--c-ink);
	border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { color: var(--c-ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.service-card__thumb img, .service-card__thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__thumb img { transform: scale(1.05); }
.service-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.service-card__en { font-family: var(--f-en); font-size: .78rem; letter-spacing: .25em; color: var(--c-primary); margin-bottom: .4em; }
.service-card__title { font-family: var(--f-head); font-size: 1.35rem; letter-spacing: .06em; margin-bottom: .7em; }
.service-card__text { color: var(--c-muted); font-size: .93rem; flex: 1; }
.service-card__more { margin-top: 1.4em; font-size: .85rem; font-weight: 700; color: var(--c-primary); }
.service-card__more span { display: inline-block; transition: transform .3s var(--ease); }
.service-card:hover .service-card__more span { transform: translateX(4px); }

/* ---------- Works ---------- */
.works__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.works-card a { display: block; color: var(--c-ink); }
.works-card__thumb { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--c-tint); }
.works-card__thumb img, .works-card__thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.works-card a:hover .works-card__thumb img { transform: scale(1.06); }
.works-card__body { padding-top: 14px; }
.works-card__cat { font-size: .72rem; color: var(--c-primary); letter-spacing: .1em; }
.works-card__title { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.works-card a:hover .works-card__title { color: var(--c-primary); }

/* ---------- Price ---------- */
.price__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
	position: relative; background: var(--c-surface); border-radius: var(--radius-lg); padding: 40px 32px;
	border: 1px solid var(--c-line); display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.plan__badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: #fff;
	font-size: .78rem; font-weight: 700; padding: 4px 18px; border-radius: 999px; letter-spacing: .1em;
}
.plan__name { font-family: var(--f-head); font-size: 1.45rem; text-align: center; letter-spacing: .1em; }
.plan__name span { font-size: .85rem; margin-left: .3em; color: var(--c-muted); }
.plan__note { text-align: center; color: var(--c-muted); font-size: .85rem; margin-top: .3em; }
.plan__price {
	text-align: center; font-family: var(--f-en); font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 500; color: var(--c-primary);
	margin: .5em 0 .6em; padding-bottom: .6em; border-bottom: 1px solid var(--c-line); letter-spacing: .02em;
}
.plan__yen { font-size: .55em; margin-right: .1em; }
.plan__from { font-size: .45em; margin-left: .2em; color: var(--c-muted); }
.plan__features { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.plan__features li { position: relative; padding-left: 1.7em; }
.plan__features li::before {
	content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
	border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg);
}
.price__options { margin-top: 56px; background: var(--c-surface); border-radius: var(--radius-lg); padding: 32px 40px; }
.price__options-title { font-family: var(--f-en); letter-spacing: .25em; font-size: .9rem; color: var(--c-primary); margin-bottom: 12px; }
.price__options ul { list-style: none; }
.option { display: grid; grid-template-columns: 14em 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; }
.option + .option { border-top: 1px dashed var(--c-line); }
.option__name { font-weight: 700; }
.option__text { color: var(--c-muted); font-size: .9rem; }
.option__price { font-family: var(--f-en); font-weight: 500; color: var(--c-primary); font-size: 1.15rem; white-space: nowrap; }

/* ---------- Blog cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.card__link { display: block; color: var(--c-ink); height: 100%; }
.card__thumb { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--c-tint); }
.card__thumb img, .card__thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__link:hover .card__thumb img { transform: scale(1.06); }
.card__body { padding-top: 14px; }
.card__meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--c-muted); }
.card__meta time { font-family: var(--f-en); letter-spacing: .08em; }
.card__cat { padding: 0 .8em; border-radius: 999px; background: var(--c-tint); color: var(--c-primary); }
.card__title { font-size: 1rem; font-weight: 700; margin-top: 6px; line-height: 1.7; }
.card__link:hover .card__title { color: var(--c-primary); }

.cat-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 48px; }
.cat-nav a {
	display: block; padding: .4em 1.3em; border-radius: 999px; border: 1px solid var(--c-line);
	color: var(--c-ink); font-size: .85rem; background: var(--c-surface);
}
.cat-nav a:hover, .cat-nav a.is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; }
.faq__item { background: var(--c-surface); border-radius: var(--radius); border: 1px solid var(--c-line); overflow: hidden; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__q {
	list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 64px 22px 24px;
	font-weight: 700; cursor: pointer; position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__mark {
	flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--c-primary); color: #fff; font-family: var(--f-en); font-weight: 500;
}
.faq__mark--a { background: var(--c-accent); }
.faq__toggle { position: absolute; right: 24px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq__toggle::before, .faq__toggle::after {
	content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--c-primary);
	transition: transform .3s var(--ease);
}
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__a { display: flex; gap: 16px; padding: 0 24px 24px; color: var(--c-muted); }
.faq__a p + p { margin-top: .8em; }

/* ---------- Footer CTA ---------- */
.footer-cta {
	position: relative; overflow: hidden; color: #fff; padding-block: clamp(88px, 12vw, 150px);
	background: linear-gradient(160deg, #1d5f67 0%, var(--c-deep) 60%, #0e3338 100%);
}
.footer-cta__ripple span {
	position: absolute; left: 50%; top: 30%; width: 200px; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(220, 245, 245, .4); transform: translate(-50%, -50%) scale(.2) scaleY(.38);
	animation: ripple 9s var(--ease) infinite; opacity: 0;
}
.footer-cta__ripple span:nth-child(2) { animation-delay: 3s; }
.footer-cta__ripple span:nth-child(3) { animation-delay: 6s; }
.footer-cta .container { position: relative; }
.footer-cta__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.footer-cta__en { font-family: var(--f-en); font-weight: 300; letter-spacing: .2em; color: #bfe3e3; font-size: .9rem; margin-bottom: 1em; }
.footer-cta__title { font-family: var(--f-head); font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: .1em; }
.footer-cta__cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cta-card {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 28px 24px; border-radius: var(--radius);
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; position: relative;
	transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.cta-card:hover { background: rgba(255,255,255,.15); color: #fff; transform: translateY(-4px); }
.cta-card--primary { background: var(--c-accent); border-color: var(--c-accent); }
.cta-card--primary:hover { background: var(--c-accent); filter: brightness(1.06); }
.cta-card__en { font-family: var(--f-en); font-size: .75rem; letter-spacing: .25em; opacity: .8; }
.cta-card__title { font-weight: 700; font-size: 1.05rem; }
.cta-card__arrow { position: absolute; right: 22px; bottom: 22px; transition: transform .3s var(--ease); }
.cta-card:hover .cta-card__arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { background: #0b2a2f; color: rgba(255,255,255,.75); font-size: .88rem; position: relative; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-block: 64px 40px; }
.site-brand__text--footer { color: #fff; margin-bottom: 16px; }
.site-brand__text--footer:hover { color: #fff; opacity: .8; }
.site-footer__addr { margin-bottom: 16px; line-height: 1.8; }
.sns--footer { margin-left: -6px; }
.fnav__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
.fnav .sub-menu { display: none; }
.fnav__list a { color: rgba(255,255,255,.8); display: inline-block; padding: 4px 0; }
.fnav__list a:hover { color: #fff; }
.site-footer__copy { text-align: center; font-family: var(--f-en); font-size: .75rem; letter-spacing: .12em; padding: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.pagetop {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; background: var(--c-primary); color: #fff; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { color: #fff; background: var(--c-deep); }

/* ---------- Page hero (lower pages) ---------- */
.page-hero {
	position: relative; overflow: hidden; color: #fff; padding-block: clamp(64px, 9vw, 112px);
	background: linear-gradient(160deg, #1d5f67 0%, var(--c-deep) 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__en { font-family: var(--f-en); letter-spacing: .3em; font-size: .85rem; color: #bfe3e3; margin-bottom: .6em; }
.page-hero__title { font-family: var(--f-head); font-size: clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing: .1em; }
.page-hero__ripple {
	position: absolute; right: 10%; top: 70%; width: 500px; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(220,245,245,.25); transform: translate(50%, -50%) scaleY(.38);
	box-shadow: 0 0 0 60px rgba(220,245,245,.03), 0 0 0 140px rgba(220,245,245,.02);
}
.breadcrumb { font-size: .78rem; color: var(--c-muted); padding-top: 16px; }

/* ---------- Single / Entry content ---------- */
.single__head { padding-top: clamp(56px, 7vw, 88px); margin-bottom: 40px; }
.single__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .82rem; color: var(--c-muted); margin-bottom: 14px; }
.single__meta time, .single__type { font-family: var(--f-en); letter-spacing: .1em; }
.single__cat { padding: 0 .9em; border-radius: 999px; background: var(--c-tint); color: var(--c-primary); }
.single__title { font-family: var(--f-head); font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: .06em; line-height: 1.6; }
.single__thumb { margin: 0 auto 48px; max-width: calc(1000px + var(--gutter) * 2); }
.single__thumb img { width: 100%; border-radius: var(--radius-lg); }

.entry-content { font-size: 1rem; line-height: 2; }
.entry-content--center { text-align: center; display: grid; gap: 24px; justify-items: center; }
.entry-content > * + * { margin-top: 1.6em; }
.entry-content h2 {
	font-family: var(--f-head); font-size: 1.55rem; margin-top: 2.6em; padding: .4em 0 .4em 1em;
	border-left: 4px solid var(--c-primary); background: linear-gradient(90deg, var(--c-tint), transparent);
}
.entry-content h3 { font-size: 1.25rem; margin-top: 2.2em; padding-bottom: .4em; border-bottom: 1px solid var(--c-line); }
.entry-content h4 { font-size: 1.08rem; margin-top: 2em; color: var(--c-primary); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: .3em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
	margin-inline: 0; padding: 24px 28px; background: var(--c-tint); border-radius: var(--radius); color: var(--c-muted);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 12px 16px; text-align: left; }
.entry-content th { background: var(--c-tint); width: 30%; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--c-primary); text-decoration: none; }
.entry-content .alignwide { max-width: 1100px; margin-inline: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content--full > * + * { margin-top: 0; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tag-list a { font-size: .82rem; color: var(--c-muted); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-block: 64px; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: .9rem; }
.post-nav__next { text-align: right; margin-left: auto; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px;
	border: 1px solid var(--c-line); color: var(--c-ink); font-family: var(--f-en); background: var(--c-surface);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.search-form { display: flex; max-width: 480px; width: 100%; border: 1px solid var(--c-line); border-radius: 999px; overflow: hidden; background: var(--c-surface); }
.search-form__input { flex: 1; border: 0; padding: 12px 20px; font: inherit; background: transparent; min-width: 0; }
.search-form__btn { border: 0; background: var(--c-primary); color: #fff; padding: 0 24px; }

.comments { margin-top: 48px; }
.comments__list { list-style: none; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 8px; font: inherit;
}
.comment-form .submit { border: 0; background: var(--c-primary); color: #fff; padding: 12px 32px; border-radius: 999px; }

/* ---------- Reveal animation ---------- */
.js-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal.is-inview { opacity: 1; transform: none; }
.no-js .js-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.gnav__list a { padding: 8px 8px; font-size: .85rem; }
	.gnav { gap: 16px; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.menu-toggle { display: block; }
	.gnav {
		position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 32px;
		background: rgba(19, 67, 74, .97); padding: 96px var(--gutter) 48px; overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.gnav.is-open { opacity: 1; visibility: visible; }
	.gnav__list { flex-direction: column; align-items: center; gap: 4px; }
	.gnav__list a { color: #fff; font-size: 1.1rem; padding: 10px 16px; text-align: center; }
	.gnav__list > li > a::after { background: #fff; }
	.gnav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0; }
	.gnav__list .sub-menu a { font-size: .9rem; color: rgba(255,255,255,.75); }
	.gnav__list .sub-menu a:hover { background: transparent; color: #fff; }
	.gnav__sns { display: flex; color: #fff; }
	.admin-bar .gnav { top: 46px; }
	body.is-menu-open { overflow: hidden; }

	.pillars__list { grid-template-columns: repeat(2, 1fr); }
	.value__item, .message__inner { grid-template-columns: 1fr; }
	.value__item:nth-child(even) { grid-template-columns: 1fr; }
	.value__item:nth-child(even) .value__media { order: 0; }
	.message__media { max-width: 420px; margin-inline: auto; width: 100%; }
	.works__grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
	.price__plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 32px; }
	.plan--featured { transform: none; }
	.footer-cta__cards { grid-template-columns: repeat(2, 1fr); }
	.news__inner { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
	.news__inner .link-more { justify-self: end; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.topbar__tagline { font-size: .7rem; }
	.topbar .sns { display: none; }
	.hero { min-height: 82svh; }
	.hero__content { padding-block: 64px 140px; }
	.hero__dots { bottom: 72px; }
	.hero__ring { left: 70%; top: 72%; }
	.news { margin-top: -32px; }
	.news__inner { width: calc(100% - var(--gutter) * 2); }
	.value__num { font-size: 3.2rem; top: 12px; right: 16px; mix-blend-mode: normal; color: #fff; text-shadow: 0 2px 12px rgba(19,67,74,.35); }
	.value__item:nth-child(even) .value__num { left: 16px; right: auto; }
	.news__item a { flex-wrap: wrap; gap: 4px 12px; }
	.news__title { white-space: normal; width: 100%; }
	.service__grid, .works__grid, .card-grid, .footer-cta__cards { grid-template-columns: 1fr; }
	.service-card__body { padding: 24px; }
	.option { grid-template-columns: 1fr auto; }
	.option__text { grid-column: 1 / -1; grid-row: 2; }
	.price__options { padding: 24px; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
	.faq__q { padding: 18px 52px 18px 16px; gap: 12px; }
	.faq__toggle { right: 18px; }
	.faq__a { padding: 0 16px 20px; gap: 12px; }
	.post-nav { flex-direction: column; }
	.message::before { top: 0; }
}
