/*
Theme Name: bansolea
Theme URI: https://www.bansolea-em.com/
Author: bansolea
Description: bansolea コーポレートサイト用オリジナルテーマ（TOP / 事業内容 / 会社概要）
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bansolea
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
	--ink: #1f1e1c;
	--ink-soft: #5a564f;
	--ink-mute: #8b867d;
	--paper: #faf8f4;
	--sand: #f2ede4;
	--sand-deep: #e7dfd1;
	--gold: #b5a48b;
	--gold-deep: #8a7859;
	--line: rgba(31, 30, 28, .12);
	--night: #1b1a18;
	--night-soft: #2a2825;

	--ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--ff-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ff-en: "Cormorant Garamond", "Times New Roman", serif;

	--header-h: 84px;
	--gutter: clamp(20px, 5vw, 64px);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   Loading（現サイトから変更なし）
   ========================================================= */
/* ローディング画面の装飾 */
#bansolea-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: #333;
    text-transform: uppercase;
    animation: fadePulse 2s infinite;
    /* 旧テーマ（Lightning）と同じ書体・行間で表示 */
    font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.8;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.loader-finished {
    opacity: 0;
    pointer-events: none;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--ff-sans);
	font-size: 15px;
	line-height: 2;
	letter-spacing: .06em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

@media (min-width: 768px) {
	body { font-size: 16px; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--narrow { max-width: 920px; }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* 日本語見出しを文節単位で折り返す */
.nb { display: inline-block; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 10000;
	background: var(--ink);
	color: #fff;
	padding: 8px 16px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(250, 248, 244, .88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px rgba(31, 30, 28, .04);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo { display: block; }
.site-logo img { width: 80px; height: 80px; object-fit: contain; }

.global-nav__list {
	display: none;
	gap: 48px;
	align-items: center;
}
@media (min-width: 900px) {
	.global-nav__list { display: flex; }
}
.global-nav__list a {
	position: relative;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: .16em;
	padding: 6px 0;
	color: var(--ink);
}
.global-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--gold-deep);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}
.global-nav__list a:hover::after,
.global-nav__list a[aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.menu-toggle {
	position: relative;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
	padding: 0;
	z-index: 120;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
	position: absolute;
	left: 10px; right: 10px;
	height: 1px;
	background: var(--ink);
	transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(25deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-25deg); }

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--paper);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { text-align: center; }
.mobile-nav__list li + li { margin-top: 28px; }
.mobile-nav__list a {
	font-family: var(--ff-serif);
	font-size: 22px;
	letter-spacing: .2em;
	text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--gold-deep); }

body.is-menu-open { overflow: hidden; }

.site-main { padding-top: var(--header-h); }

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   First view slider (TOP)
   ========================================================= */
.fv {
	--n: 6;
	--interval: 7s;
	position: relative;
	display: grid;
	background: var(--paper);
	overflow: hidden;
}

/* ---- ビジュアル ---- */
.fv__visual {
	position: relative;
	height: 48svh;
	min-height: 300px;
	background: var(--night);
}
.fv__visual-inner {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.fv__slide {
	position: absolute;
	inset: -2%;
	visibility: hidden;
	transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0);
}
.fv__slide.is-active { visibility: visible; z-index: 2; }
.fv__slide.is-leaving { visibility: visible; z-index: 1; }
.fv__slide picture,
.fv__slide img {
	display: block;
	width: 100%;
	height: 100%;
}
.fv__slide img { object-fit: cover; filter: saturate(.85); }

/* 分割ストリップで現れる */
.fv__full {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: filter 1.4s var(--ease);
}
.fv__slide.is-settled .fv__full { opacity: 1; }
.fv__slide.is-settled .fv__full img { animation: fvKenBurns 12s linear forwards; }
.fv__slide.is-leaving .fv__full { filter: brightness(.45); }
@keyframes fvKenBurns { to { transform: scale(1.08); } }

.fv__strips { position: absolute; inset: 0; }
.fv__strip {
	position: absolute;
	top: 0;
	bottom: 0;
	/* 継ぎ目が出ないよう各帯を2px重ねる */
	left: calc(var(--i) * 100% / var(--n));
	width: calc(100% / var(--n) + 2px);
	overflow: hidden;
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1);
	transition-delay: calc(var(--i) * 80ms);
}
.fv__strip:nth-child(even) { clip-path: inset(0 0 100% 0); }
.fv__slide.is-active .fv__strip,
.fv__slide.is-leaving .fv__strip { clip-path: inset(0); }
.fv__slide:not(.is-active):not(.is-leaving) .fv__strip { transition: none; }
.fv__strip-inner {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--i) * (2px - 100%));
	width: calc(var(--n) * (100% - 2px));
	transform: scale(1.25);
	transition: transform 2s cubic-bezier(.22, .61, .36, 1);
	transition-delay: calc(var(--i) * 80ms);
}
.fv__slide.is-active .fv__strip-inner { transform: scale(1); }
.fv__slide:not(.is-active):not(.is-leaving) .fv__strip-inner { transition: none; }

/* 次スライドのサムネイル */
.fv__thumb {
	display: none;
	position: absolute;
	z-index: 5;
	right: 24px;
	top: 24px;
	width: 180px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	color: #fff;
}
.fv__thumb-label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ff-en);
	font-style: italic;
	font-size: 15px;
	letter-spacing: .12em;
}
.fv__thumb-imgs {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	outline: 1px solid rgba(255, 255, 255, .5);
	outline-offset: 4px;
}
.fv__thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	clip-path: inset(0 0 0 100%);
	transition: clip-path .9s cubic-bezier(.77, 0, .18, 1) .9s, transform 1.2s var(--ease);
}
.fv__thumb-img.is-active {
	z-index: 1;
	clip-path: inset(0);
	transition-delay: .5s;
}
.fv__thumb:hover .fv__thumb-img { transform: scale(1.08); }

/* 回転するサークルテキスト */
.fv__badge {
	position: absolute;
	z-index: 6;
	right: 16px;
	bottom: -48px;
	width: 104px;
	height: 104px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(31, 30, 28, .12);
	transition: transform .6s var(--ease);
}
.fv__badge:hover { transform: scale(1.06); }
.fv__badge-text {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: fvSpin 22s linear infinite;
}
.fv__badge-text text {
	font-family: var(--ff-en);
	font-size: 11.5px;
	letter-spacing: 0;
	text-transform: uppercase;
	fill: var(--ink);
}
.fv__badge-arrow { animation: fvBob 2.4s var(--ease) infinite; }
@keyframes fvSpin { to { transform: rotate(360deg); } }
@keyframes fvBob {
	0%, 100% { transform: translateY(-3px); }
	50% { transform: translateY(4px); }
}

/* ---- テキスト ---- */
.fv__body {
	position: relative;
	z-index: 4;
	padding: 48px var(--gutter) 24px;
}
.fv__texts { display: grid; }
.fv__text {
	grid-area: 1 / 1;
	visibility: hidden;
}
.fv__text.is-active,
.fv__text.is-leaving { visibility: visible; }

.fv__title {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(26px, 2.9vw, 46px);
	line-height: 1.55;
	letter-spacing: .1em;
	color: var(--ink);
}
.fv__title .nb { white-space: nowrap; }
.fv__title .ch {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: .06em 0;
	margin: -.06em 0;
}
.fv__title .ch > span {
	display: inline-block;
	transform: translate3d(0, 110%, 0) rotate(8deg);
	transform-origin: left bottom;
	transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}
.fv__text.is-active .fv__title .ch > span {
	transform: none;
	transition-delay: calc(.35s + var(--i) * 45ms);
}
.fv__text.is-leaving .fv__title .ch > span {
	transform: translate3d(0, -110%, 0);
	transition-duration: .7s;
	transition-timing-function: cubic-bezier(.7, 0, .84, 0);
	transition-delay: calc(var(--i) * 18ms);
}

.fv__caption {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	font-family: var(--ff-en);
	font-style: italic;
	font-size: clamp(15px, 1.35vw, 19px);
	letter-spacing: .08em;
	color: var(--gold-deep);
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1);
}
.fv__caption::before {
	content: "";
	width: 48px;
	height: 1px;
	flex: none;
	background: var(--gold);
}
.fv__text.is-active .fv__caption { clip-path: inset(0); transition-delay: 1s; }
.fv__text.is-leaving .fv__caption { clip-path: inset(0 0 0 100%); transition-duration: .6s; }

/* ---- コントロール ---- */
.fv__controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}
.fv__count {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-right: auto;
	font-family: var(--ff-en);
	color: var(--ink-mute);
	font-size: 16px;
	letter-spacing: .1em;
}
.fv__num {
	display: inline-block;
	height: 1em;
	overflow: hidden;
	font-size: 48px;
	line-height: 1;
	color: var(--ink);
}
.fv__num-track {
	display: flex;
	flex-direction: column;
	transform: translateY(calc(var(--idx, 0) * -1em));
	transition: transform .9s cubic-bezier(.77, 0, .18, 1) .2s;
}
.fv__num-track b { font-weight: 400; line-height: 1; }

.fv__btn {
	position: relative;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ink);
	cursor: pointer;
	transition: background .4s var(--ease), color .4s var(--ease);
}
.fv__prev { border: 1px solid var(--line); }
.fv__btn:hover { background: var(--ink); color: #fff; }
.fv__btn > svg:not(.fv__ring-svg) { transition: transform .4s var(--ease); }
.fv__prev:hover > svg { transform: translateX(-3px); }
.fv__next:hover > svg:not(.fv__ring-svg) { transform: translateX(3px); }
.fv__ring-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}
.fv__ring-svg circle { fill: none; stroke-width: 1; }
.fv__ring-bg { stroke: var(--line); }
.fv__ring {
	stroke: var(--gold-deep);
	stroke-width: 1.6;
	stroke-dasharray: 189;
	stroke-dashoffset: 189;
}
.fv__ring.is-running { animation: fvRing var(--interval) linear forwards; }
.fv.is-paused .fv__ring.is-running { animation-play-state: paused; }
@keyframes fvRing { to { stroke-dashoffset: 0; } }

/* ---- 流れるテキスト ---- */
.fv__marquee {
	position: relative;
	z-index: 3;
	overflow: hidden;
	pointer-events: none;
	padding-bottom: 12px;
}
.fv__marquee-track {
	display: flex;
	width: max-content;
	animation: fvMarquee 50s linear infinite;
}
.fv__marquee span {
	font-family: var(--ff-en);
	font-style: italic;
	font-size: clamp(44px, 7vw, 110px);
	line-height: 1.1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(138, 120, 89, .55);
}
@keyframes fvMarquee { to { transform: translateX(-50%); } }

/* ---- PCレイアウト ---- */
@media (min-width: 900px) {
	.fv {
		height: calc(100svh - var(--header-h));
		min-height: 620px;
		max-height: 1000px;
	}
	.fv__visual {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 42%;
		height: auto;
	}
	.fv__thumb { display: block; }
	.fv__badge {
		right: auto;
		left: 0;
		bottom: 18%;
		width: 150px;
		height: 150px;
		transform: translateX(-50%);
	}
	.fv__badge:hover { transform: translateX(-50%) scale(1.06); }
	.fv__body {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 42%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 0 72px 120px var(--gutter);
	}
	.fv__controls { margin-top: 56px; }
	.fv__marquee {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 8px;
		padding: 0;
	}
	.fv__marquee { mix-blend-mode: difference; }
	.fv__marquee span { -webkit-text-stroke: 1px rgba(255, 255, 255, .7); }
}
@media (min-width: 1440px) {
	.fv__body { padding-left: calc((100vw - 1440px) / 2 + var(--gutter)); }
}

/* ---- JS無効時は1枚目をそのまま表示 ---- */
html:not(.js) .fv__slide:first-child,
html:not(.js) .fv__text:first-child { visibility: visible; }
html:not(.js) .fv__full { opacity: 1; }
html:not(.js) .fv__caption { clip-path: none; }

/* ---- 動きを減らす設定 ---- */
@media (prefers-reduced-motion: reduce) {
	.fv__strip, .fv__strip-inner, .fv__title .ch > span, .fv__caption, .fv__thumb-img, .fv__num-track { transition-duration: .01s !important; transition-delay: 0s !important; }
	.fv__badge-text, .fv__marquee-track, .fv__badge-arrow, .fv__slide.is-settled .fv__full img { animation: none; }
}

/* =========================================================
   Section heading
   ========================================================= */
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head__en {
	font-family: var(--ff-en);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.1;
	letter-spacing: .02em;
}
.section-head__en::after {
	content: "";
	display: block;
	width: 64px;
	height: 1px;
	margin-top: 28px;
	background: var(--gold);
}

.heading-jp {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.7;
	letter-spacing: .1em;
	text-align: center;
	margin-bottom: clamp(48px, 6vw, 80px);
}
.heading-jp::after {
	content: "";
	display: block;
	width: 1px;
	height: 40px;
	margin: 24px auto 0;
	background: var(--gold);
}

/* =========================================================
   TOP: Business digest
   ========================================================= */
.digest-grid {
	display: grid;
	gap: 1px;
	background: var(--line);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
	.digest-grid { grid-template-columns: repeat(3, 1fr); }
}
.digest-card {
	position: relative;
	display: block;
	padding: 48px 32px 88px;
	background: var(--paper);
	text-decoration: none;
	transition: background .5s var(--ease);
}
@media (min-width: 900px) {
	.digest-card { padding: 56px 40px 96px; }
}
.digest-card:hover { background: #fff; }
.digest-card__num {
	display: block;
	font-family: var(--ff-en);
	font-size: 56px;
	line-height: 1;
	color: var(--gold);
	margin-bottom: 32px;
}
.digest-card__title {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: 21px;
	letter-spacing: .1em;
	margin-bottom: 20px;
}
.digest-card__text {
	font-size: 14px;
	line-height: 2.1;
	color: var(--ink-soft);
}
.digest-card__arrow {
	position: absolute;
	left: 32px;
	bottom: 40px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: background .5s var(--ease), border-color .5s var(--ease);
}
@media (min-width: 900px) { .digest-card__arrow { left: 40px; } }
.digest-card__arrow::before {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 7px; height: 7px;
	border-top: 1px solid var(--ink);
	border-right: 1px solid var(--ink);
	transform: translate(-65%, -50%) rotate(45deg);
	transition: border-color .5s;
}
.digest-card:hover .digest-card__arrow { background: var(--ink); border-color: var(--ink); }
.digest-card:hover .digest-card__arrow::before { border-color: #fff; }

.digest-grid .reveal:nth-child(2) { transition-delay: .12s; }
.digest-grid .reveal:nth-child(3) { transition-delay: .24s; }

/* =========================================================
   TOP: Worries
   ========================================================= */
.worries {
	color: #fff;
	background: var(--night);
	overflow: hidden;
}
.worries__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: .42;
}
@media (min-width: 900px) {
	.worries__bg { background-attachment: fixed; }
}
.worries .container { position: relative; }
.worries__title {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(26px, 3.6vw, 44px);
	letter-spacing: .14em;
	text-align: center;
	margin-bottom: clamp(48px, 6vw, 80px);
}
.worries__title::after {
	content: "";
	display: block;
	width: 1px;
	height: 48px;
	margin: 28px auto 0;
	background: var(--gold);
}
.worries-grid {
	display: grid;
	gap: 24px;
}
@media (min-width: 1000px) {
	.worries-grid { grid-template-columns: repeat(3, 1fr); }
}
.worry-card {
	padding: 40px 32px;
	background: rgba(27, 26, 24, .55);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.worries-grid .reveal:nth-child(2) { transition-delay: .12s; }
.worries-grid .reveal:nth-child(3) { transition-delay: .24s; }
.worry-card__title {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7;
	letter-spacing: .08em;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.worry-card__num {
	font-family: var(--ff-en);
	font-size: 26px;
	color: var(--gold);
	margin-right: 4px;
}
.worry-card__title small {
	display: block;
	font-family: var(--ff-sans);
	font-size: 12px;
	letter-spacing: .1em;
	color: var(--gold);
	margin-top: 4px;
}

.check-list li {
	position: relative;
	padding-left: 32px;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .88);
}
.check-list li + li { margin-top: 16px; }
.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 18px;
	height: 18px;
	border: 1px solid var(--gold);
	border-radius: 50%;
}
.check-list li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: calc(.45em + 5px);
	width: 7px;
	height: 4px;
	border-left: 1px solid var(--gold);
	border-bottom: 1px solid var(--gold);
	transform: rotate(-45deg);
}

/* =========================================================
   TOP: Solution
   ========================================================= */
.solution {
	background: var(--sand);
	text-align: center;
}
.solution__text {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(20px, 2.8vw, 34px);
	line-height: 2;
	letter-spacing: .1em;
}
.solution__text em {
	font-style: normal;
	font-size: 1.45em;
	color: var(--gold-deep);
	background: linear-gradient(transparent 72%, rgba(181, 164, 139, .3) 72%);
	padding: 0 .08em;
}
.solution__line {
	display: block;
	width: 1px;
	height: 64px;
	margin: 40px auto 0;
	background: var(--gold);
}

/* =========================================================
   Page hero (下層)
   ========================================================= */
.page-hero {
	padding: clamp(72px, 11vw, 150px) 0 clamp(48px, 6vw, 72px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(circle at 85% 0%, rgba(181, 164, 139, .18), transparent 45%),
		var(--paper);
}
.page-hero__en {
	font-family: var(--ff-en);
	font-style: italic;
	font-size: clamp(18px, 2vw, 22px);
	color: var(--gold-deep);
	letter-spacing: .08em;
	margin-bottom: 8px;
}
.page-hero__title {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.4;
	letter-spacing: .16em;
}
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(32px, 4vw, 48px);
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--ink-mute);
}
.breadcrumb li + li::before {
	content: "/";
	margin-right: 12px;
	color: var(--gold);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* =========================================================
   事業内容
   ========================================================= */
.service { padding: clamp(80px, 11vw, 150px) 0; }
.service + .service { border-top: 1px solid var(--line); }
.service--reverse { background: var(--sand); }

.service__head {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: clamp(20px, 3vw, 40px);
	align-items: start;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.service__num {
	grid-row: span 2;
	font-family: var(--ff-en);
	font-size: clamp(64px, 9vw, 120px);
	line-height: .8;
	color: var(--gold);
}
.service__title {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: clamp(22px, 2.8vw, 34px);
	line-height: 1.5;
	letter-spacing: .1em;
}
.service__title span {
	display: block;
	font-family: var(--ff-en);
	font-weight: 400;
	font-style: italic;
	font-size: .6em;
	letter-spacing: .06em;
	color: var(--gold-deep);
	margin-top: 4px;
}
.service__lead {
	margin-top: 20px;
	font-family: var(--ff-serif);
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.8;
	letter-spacing: .08em;
	color: var(--ink-soft);
}

.service__body {
	display: grid;
	gap: 40px;
	align-items: center;
}
@media (min-width: 900px) {
	.service__body { grid-template-columns: 7fr 5fr; gap: clamp(48px, 6vw, 88px); }
	.service--reverse .service__media { order: 2; }
	.service--reverse .service__body { grid-template-columns: 5fr 7fr; }
}
.service__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.service__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease);
}
.service__media:hover img { transform: scale(1.04); }
.service__media::after {
	content: "";
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(255, 255, 255, .5);
	pointer-events: none;
}
.service__content > p { color: var(--ink-soft); line-height: 2.2; }
.service__content .reveal, .service__body .reveal:nth-child(2) { transition-delay: .15s; }

.service__point {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-top: 40px;
	padding: 24px 28px;
	background: #fff;
	border-left: 2px solid var(--gold);
	box-shadow: 0 12px 32px rgba(31, 30, 28, .05);
}
.service__point img {
	flex: none;
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 50%;
	background: var(--sand);
	padding: 10px;
	filter: grayscale(1) brightness(.6) contrast(1.3);
}
.service__point p {
	font-family: var(--ff-serif);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .06em;
}

/* =========================================================
   会社概要
   ========================================================= */
.info-table { border-top: 1px solid var(--ink); }
.info-table__row {
	display: grid;
	gap: 8px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
	.info-table__row { grid-template-columns: 200px 1fr; gap: 24px; padding: 32px 8px; }
}
.info-table dt {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: .12em;
}
.info-table dd li + li { margin-top: 4px; }
.info-table dd a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.info-table dd a:hover { color: var(--gold-deep); }

.company-info { padding-bottom: clamp(40px, 6vw, 80px); }

.profile { padding-top: 0; }
.profile__card {
	display: grid;
	background: var(--night);
	color: #fff;
}
@media (min-width: 900px) {
	.profile__card { grid-template-columns: 5fr 7fr; }
}
.profile__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px;
	background:
		radial-gradient(circle at 50% 50%, rgba(181, 164, 139, .22), transparent 65%),
		var(--night-soft);
}
.profile__mark img {
	width: min(240px, 60%);
	filter: brightness(0) invert(1);
	opacity: .85;
}
.profile__body { padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px); }
.profile__caption {
	font-family: var(--ff-en);
	font-style: italic;
	font-size: 18px;
	color: var(--gold);
	letter-spacing: .06em;
}
.profile__name {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: .16em;
	margin-top: 4px;
}
.profile__role {
	margin-top: 16px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	font-size: 13px;
	letter-spacing: .12em;
	color: rgba(255, 255, 255, .7);
}
.profile__label {
	margin-top: 32px;
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .16em;
	color: var(--gold);
}
.profile__text {
	margin-top: 12px;
	font-size: 14.5px;
	line-height: 2.2;
	color: rgba(255, 255, 255, .86);
}

.history { background: var(--sand); }
.timeline { position: relative; }
.timeline::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 12px;
	bottom: 12px;
	width: 1px;
	background: var(--gold);
	opacity: .6;
}
.timeline__item {
	position: relative;
	padding-left: 48px;
}
@media (min-width: 700px) { .timeline__item { padding-left: 64px; } }
.timeline__item + .timeline__item { margin-top: 56px; }
.timeline__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--sand);
	border: 1px solid var(--gold-deep);
	box-shadow: inset 0 0 0 3px var(--sand), inset 0 0 0 8px var(--gold);
}
.timeline__title {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.7;
	letter-spacing: .08em;
	margin-bottom: 16px;
}
.timeline__item p { color: var(--ink-soft); line-height: 2.2; }
.timeline__item strong,
.strength-card strong { color: var(--ink); background: linear-gradient(transparent 65%, rgba(181, 164, 139, .35) 65%); }

.strength-grid {
	display: grid;
	gap: 24px;
}
@media (min-width: 900px) {
	.strength-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.strength-card {
	padding: 48px 36px;
	background: #fff;
	border-top: 2px solid var(--gold);
	box-shadow: 0 16px 40px rgba(31, 30, 28, .05);
}
.strength-grid .reveal:nth-child(2) { transition-delay: .12s; }
.strength-grid .reveal:nth-child(3) { transition-delay: .24s; }
.strength-card__num {
	display: block;
	font-family: var(--ff-en);
	font-size: 44px;
	line-height: 1;
	color: var(--gold);
	margin-bottom: 24px;
}
.strength-card__title {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.7;
	letter-spacing: .08em;
	margin-bottom: 16px;
}
.strength-card p { font-size: 14px; color: var(--ink-soft); line-height: 2.1; }

.results { padding-top: 0; }
.results__box {
	padding: clamp(40px, 5vw, 56px);
	border: 1px solid var(--line);
	text-align: center;
}
.results__label {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .2em;
	color: var(--gold-deep);
	margin-bottom: 16px;
}
.results__text {
	font-family: var(--ff-serif);
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 2.1;
	letter-spacing: .08em;
}

.message {
	background: var(--night);
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.message::before {
	content: "bansolea";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--ff-en);
	font-style: italic;
	font-size: clamp(120px, 22vw, 320px);
	line-height: 1;
	color: rgba(255, 255, 255, .03);
	white-space: nowrap;
	pointer-events: none;
}
.message .container { position: relative; }
.heading-jp--light { color: #fff; }
.message__text {
	font-family: var(--ff-serif);
	font-size: clamp(16px, 1.9vw, 20px);
	line-height: 2.4;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .9);
	text-align: left;
}
@media (min-width: 700px) { .message__text { text-align: center; } }

.philosophy { background: var(--paper); }
.mv-grid {
	display: grid;
	gap: 64px;
	margin-bottom: clamp(88px, 11vw, 140px);
}
@media (min-width: 900px) {
	.mv-grid { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 104px); }
}
.mv-grid .reveal:nth-child(2) { transition-delay: .15s; }
.mv__label {
	font-family: var(--ff-en);
	font-weight: 400;
	font-size: clamp(44px, 5.6vw, 72px);
	line-height: 1;
	letter-spacing: .08em;
	color: var(--gold);
	margin-bottom: 28px;
}
.mv__label--center {
	text-align: center;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.mv__statement {
	font-family: var(--ff-serif);
	font-weight: 600;
	font-size: clamp(19px, 2.1vw, 24px);
	line-height: 1.8;
	letter-spacing: .08em;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.mv p:not(.mv__statement) { color: var(--ink-soft); line-height: 2.2; }

.value-grid {
	display: grid;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
@media (min-width: 768px) {
	.value-grid { grid-template-columns: 1fr 1fr; }
}
.value-card {
	padding: clamp(36px, 4.5vw, 56px);
	background: var(--paper);
}
.value-card__title {
	font-family: var(--ff-en);
	font-weight: 500;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.3;
	letter-spacing: .04em;
	margin-bottom: 20px;
}
.value-card__num { color: var(--gold); margin-right: 4px; }
.value-card__title small {
	display: block;
	margin-top: 8px;
	font-family: var(--ff-serif);
	font-size: 14px;
	letter-spacing: .12em;
	color: var(--gold-deep);
}
.value-card p { font-size: 14px; color: var(--ink-soft); line-height: 2.1; }

/* =========================================================
   汎用コンテンツ（その他の固定ページ）
   ========================================================= */
.entry-content > * + * { margin-top: 1.6em; }
.entry-content h2 {
	font-family: var(--ff-serif);
	font-weight: 500;
	font-size: 26px;
	letter-spacing: .1em;
	margin-top: 2.4em;
	padding-bottom: .6em;
	border-bottom: 1px solid var(--line);
}
.entry-content h3 { font-family: var(--ff-serif); font-size: 20px; margin-top: 2em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content a { color: var(--gold-deep); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--night);
	color: rgba(255, 255, 255, .78);
	font-size: 13.5px;
	line-height: 2;
	padding: clamp(72px, 9vw, 112px) 0 32px;
}
.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	gap: 48px;
}
@media (min-width: 700px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
	.site-footer__inner { grid-template-columns: 1.3fr 1.4fr 1.2fr .8fr; }
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand { align-self: start; }
.site-footer__logo {
	width: 120px;
	height: 120px;
	margin-top: -16px;
	filter: brightness(0) invert(1);
	opacity: .85;
}
.site-footer__title {
	font-family: var(--ff-en);
	font-weight: 500;
	font-size: 17px;
	letter-spacing: .14em;
	color: var(--gold);
	margin-bottom: 12px;
}
.site-footer__col p + p { margin-top: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__nav li + li { margin-top: 6px; }
.site-footer__copy {
	max-width: calc(1200px - 2 * var(--gutter));
	margin: clamp(56px, 7vw, 88px) var(--gutter) 0;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 11.5px;
	letter-spacing: .12em;
	color: rgba(255, 255, 255, .5);
}
@media (min-width: 1200px) {
	.site-footer__copy { margin-left: auto; margin-right: auto; }
}

.page-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .4s, transform .4s var(--ease), visibility .4s, background .3s;
}
.page-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.page-top:hover { background: var(--gold-deep); }

/* 見出しは文節で改行（対応ブラウザのみ） */
h1, h2, h3, h4 { word-break: auto-phrase; }
