/*
Theme Name: Takahashi Asset
Theme URI: https://takahashiassets.com/
Author: 株式会社タカハシアセット
Description: 株式会社タカハシアセット コーポレートサイト用オリジナルテーマ。フルスクリーン写真スライダー、英字見出し×日本語見出し、写真を多用したセクション構成。外観＞カスタマイズから写真・文言・会社情報を変更できます。
Version: 2.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: takahashi-asset
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
	--navy: #0b1f3a;
	--navy-2: #13294b;
	--ink: #1b1f27;
	--muted: #5d6573;
	--line: #e3e6ec;
	--bg: #ffffff;
	--bg-soft: #f4f6f9;
	--gold: #b8924a;
	--gold-2: #d4b06a;
	--white: #ffffff;
	--en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--wrap: 1200px;
	--header-h: 88px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================
   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;
	font-family: var(--ja);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .04em;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s, background .3s; }
a:hover { color: var(--gold); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.5; font-weight: 700; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 0 0 40px;
	color: var(--white);
	transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s, height .4s;
}
.site-header.is-solid,
body:not(.home) .site-header {
	background: rgba(255,255,255,.97);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--line);
	backdrop-filter: blur(8px);
}
.site-header.is-solid { height: 72px; }
.site-logo { display: flex; align-items: center; gap: 14px; line-height: 1.2; }
.site-logo:hover { color: inherit; }
.site-logo__mark {
	width: 42px; height: 42px; flex: none;
	display: grid; place-items: center;
	border: 1.5px solid currentColor;
	font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .05em;
}
.site-logo__text { display: flex; flex-direction: column; }
.site-logo__en { font-family: var(--en); font-size: 11px; letter-spacing: .25em; opacity: .75; }
.site-logo__ja { font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.site-logo img { max-height: 44px; width: auto; }

.gnav { display: flex; align-items: center; height: 100%; }
.gnav__list { display: flex; height: 100%; }
.gnav__list > li { height: 100%; }
.gnav__list > li > a {
	height: 100%; padding: 0 22px;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	font-size: 14px; font-weight: 500; line-height: 1.4; position: relative;
}
.gnav__list > li > a .en {
	font-family: var(--en); font-size: 10px; letter-spacing: .2em; color: var(--gold-2); font-weight: 600;
}
.site-header.is-solid .gnav__list > li > a .en,
body:not(.home) .gnav__list > li > a .en { color: var(--gold); }
.gnav__list > li > a::after {
	content: ""; position: absolute; left: 18px; right: 18px; bottom: 22%;
	height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease);
}
.gnav__list > li > a:hover { color: inherit; }
.gnav__list > li > a:hover::after { transform: scaleX(1); }
.gnav__cta {
	height: 100%; min-width: 180px; margin-left: 18px;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	background: var(--gold); color: var(--white) !important;
	font-family: var(--en); font-weight: 700; letter-spacing: .2em; font-size: 15px; line-height: 1.4;
}
.gnav__cta small { font-family: var(--ja); font-size: 11px; letter-spacing: .1em; font-weight: 500; }
.gnav__cta:hover { background: var(--navy); }

.menu-toggle {
	display: none; width: var(--header-h); height: 100%; border: 0; background: var(--navy);
	color: var(--white); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
	position: absolute; left: 50%; width: 26px; height: 2px; background: currentColor; transform: translateX(-50%);
	transition: transform .35s var(--ease), background .2s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; transform: none; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.is-menu-open .menu-toggle span { background: transparent; }
.is-menu-open .menu-toggle span::before { transform: translateY(8px) rotate(45deg); }
.is-menu-open .menu-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1240px) {
	:root { --header-h: 68px; }
	.site-header { padding-left: 20px; }
	.site-header.is-solid { height: var(--header-h); }
	.menu-toggle { display: block; }
	.gnav {
		position: fixed; inset: var(--header-h) 0 0; height: auto;
		flex-direction: column; align-items: stretch; justify-content: flex-start;
		background: var(--navy); color: var(--white); padding: 24px 24px 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
	}
	.is-menu-open .gnav { opacity: 1; visibility: visible; }
	.gnav__list { flex-direction: column; height: auto; }
	.gnav__list > li > a {
		flex-direction: row-reverse; justify-content: space-between; padding: 18px 4px;
		border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; color: var(--white);
	}
	.gnav__list > li > a::after { display: none; }
	.gnav__cta { margin: 28px 0 0; height: 72px; min-width: 0; }
	.site-logo__ja { font-size: 15px; }
	.site-logo__mark { width: 36px; height: 36px; font-size: 13px; }
}

/* ==========================================================
   Buttons / headings
   ========================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
	min-width: 260px; padding: 18px 28px;
	border: 1px solid currentColor; font-weight: 500; font-size: 15px; letter-spacing: .1em;
	position: relative; overflow: hidden; z-index: 0;
}
.btn::before {
	content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1;
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover { color: var(--white); border-color: var(--navy); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { width: 28px; height: 1px; background: currentColor; position: relative; flex: none; }
.btn .arrow::after {
	content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 1px; background: currentColor; transform: rotate(35deg); transform-origin: right;
}
.btn--light { color: var(--white); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--navy); border-color: var(--white); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--white); }

.sec-head { margin-bottom: 56px; }
.sec-head__en {
	display: block; font-family: var(--en); font-weight: 700;
	font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: .02em; color: var(--navy);
}
.sec-head__ja {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 16px;
	font-size: 15px; font-weight: 700; letter-spacing: .15em; color: var(--gold);
}
.sec-head__ja::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-head--light .sec-head__en { color: var(--white); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__ja::after { content: ""; width: 36px; height: 1px; background: currentColor; }

.lead { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.7; letter-spacing: .08em; margin-bottom: 32px; }
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
	.js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transform: scale(1.12);
}
.hero__slide.is-active .hero__img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(8,20,40,.78) 0%, rgba(8,20,40,.45) 50%, rgba(8,20,40,.15) 100%);
}
.hero__copy {
	position: absolute; z-index: 2; left: clamp(24px, 7vw, 120px); bottom: clamp(120px, 20vh, 220px); right: 24px;
}
.hero__en, .hero__ja { margin: 0; }
.hero__en {
	font-family: var(--en); font-weight: 800; font-size: clamp(48px, 9vw, 128px); line-height: .95; letter-spacing: .01em;
	overflow: hidden;
}
.hero__en span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease) .3s; }
.hero__ja {
	margin-top: 28px; font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; letter-spacing: .16em; line-height: 1.6;
	opacity: 0; transform: translateY(20px); transition: opacity 1.2s .8s, transform 1.2s var(--ease) .8s;
}
.hero__slide.is-active .hero__en span { transform: none; }
.hero__slide.is-active .hero__ja { opacity: 1; transform: none; }

.hero__pager { position: absolute; z-index: 3; left: clamp(24px, 7vw, 120px); bottom: 56px; display: flex; gap: 14px; align-items: center; }
.hero__pager button {
	width: 60px; height: 20px; border: 0; background: none; padding: 0; cursor: pointer; position: relative;
}
.hero__pager button::before, .hero__pager button::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; }
.hero__pager button::before { width: 100%; background: rgba(255,255,255,.35); }
.hero__pager button::after { width: 0; background: var(--white); }
.hero__pager button.is-active::after { animation: pager 6s linear forwards; }
@keyframes pager { to { width: 100%; } }
.hero__count { font-family: var(--en); font-size: 13px; letter-spacing: .2em; margin-left: 10px; }

.hero__scroll {
	position: absolute; z-index: 3; right: 40px; bottom: 0; writing-mode: vertical-rl;
	font-family: var(--en); font-size: 11px; letter-spacing: .3em; padding-bottom: 110px;
}
.hero__scroll::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 96px; background: rgba(255,255,255,.4);
}
.hero__scroll::before {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 96px; background: var(--white);
	transform-origin: top; animation: scrollline 2.2s var(--ease) infinite; z-index: 1;
}
@keyframes scrollline { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 767px) { .hero__scroll { right: 16px; } }

/* ==========================================================
   Message
   ========================================================== */
.message { overflow: hidden; }
.message__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.message__text p { color: var(--muted); }
.message__text .btn { margin-top: 32px; color: var(--navy); }
.message__photo { position: relative; margin-right: calc((100vw - min(var(--wrap), 100vw - 48px)) / -2); }
.message__photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.message__photo-sub {
	position: absolute; left: -64px; bottom: -64px; width: 42%; border: 8px solid var(--white);
}
.message__photo-sub img { aspect-ratio: 1; }
.bg-word {
	position: absolute; white-space: nowrap; pointer-events: none; user-select: none;
	font-family: var(--en); font-weight: 800; font-size: clamp(80px, 13vw, 200px); line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(11,31,58,.08);
}
.message .bg-word { left: -20px; bottom: -0.15em; }
@media (max-width: 900px) {
	.message__grid { grid-template-columns: 1fr; gap: 56px; }
	.message__photo { margin-right: -24px; }
	.message__photo-sub { left: -24px; bottom: -40px; width: 40%; }
}

/* ==========================================================
   Photo marquee
   ========================================================== */
.marquee { overflow: hidden; padding: 0; background: var(--bg); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track img { width: 360px; height: 240px; object-fit: cover; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .marquee__track img { width: 220px; height: 150px; } }

/* ==========================================================
   Solution
   ========================================================== */
.solution__intro { max-width: 760px; color: var(--muted); margin-bottom: 64px; }
.solution__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sol-card { background: var(--white); display: flex; flex-direction: column; box-shadow: 0 20px 50px -30px rgba(11,31,58,.35); }
.sol-card__photo { position: relative; overflow: hidden; }
.sol-card__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.sol-card:hover .sol-card__photo img { transform: scale(1.06); }
.sol-card__num {
	position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white);
	font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; padding: 10px 18px;
}
.sol-card__body { padding: 32px 32px 36px; display: flex; flex-direction: column; flex: 1; }
.sol-card__title { font-size: 19px; line-height: 1.7; margin-bottom: 24px; }
.sol-card__label { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .15em; margin-bottom: 12px; }
.sol-card__points li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 10px; }
.sol-card__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--gold); }
.sol-card__link {
	margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line);
	display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; color: var(--navy);
}
.sol-card__link::after { content: "→"; font-family: var(--en); transition: transform .3s; }
.sol-card__link:hover::after { transform: translateX(6px); }
@media (max-width: 960px) { .solution__list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ==========================================================
   Service
   ========================================================== */
.service-item { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; margin-bottom: clamp(80px, 10vw, 140px); position: relative; }
.service-item:last-child { margin-bottom: 0; }
.service-item:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.service-item:nth-child(even) .service-item__photo { order: 2; }
.service-item__photo { position: relative; }
.service-item__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-item__box {
	background: var(--white); padding: clamp(36px, 5vw, 64px); margin-left: -100px; position: relative; z-index: 1;
	box-shadow: 0 30px 60px -30px rgba(11,31,58,.3);
}
.service-item:nth-child(even) .service-item__box { margin-left: 0; margin-right: -100px; }
.service-item__no { font-family: var(--en); font-weight: 700; color: var(--gold); letter-spacing: .2em; font-size: 14px; display: flex; align-items: center; gap: 12px; }
.service-item__no b { font-size: 44px; line-height: 1; color: var(--navy); letter-spacing: 0; }
.service-item__en { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--muted); margin: 20px 0 8px; display: block; }
.service-item__title { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .1em; margin-bottom: 24px; }
.service-item__text { color: var(--muted); font-size: 15px; }
.service-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.service-item__tags li { font-size: 12px; padding: 4px 14px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--navy); }
.service-item .btn { color: var(--navy); min-width: 220px; }
@media (max-width: 900px) {
	.service-item, .service-item:nth-child(even) { grid-template-columns: 1fr; }
	.service-item:nth-child(even) .service-item__photo { order: 0; }
	.service-item__box, .service-item:nth-child(even) .service-item__box { margin: -60px 16px 0; }
}

/* ==========================================================
   Strength (dark)
   ========================================================== */
.strength { background: var(--navy); color: var(--white); overflow: hidden; }
.strength .sec-head__ja { color: var(--gold-2); }
.strength__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.str-card { position: relative; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.str-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.str-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,20,40,.95) 0%, rgba(8,20,40,.55) 55%, rgba(8,20,40,.15) 100%); }
.str-card:hover img { transform: scale(1.07); }
.str-card__body { position: relative; z-index: 1; padding: 40px 36px; }
.str-card__num { font-family: var(--en); font-weight: 800; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-2); }
.str-card__title { font-size: 21px; margin: 16px 0 14px; letter-spacing: .1em; }
.str-card__text { font-size: 14px; line-height: 1.9; opacity: .85; }
@media (max-width: 960px) { .strength__list { grid-template-columns: 1fr; } .str-card { min-height: 420px; } }

/* ==========================================================
   Flow
   ========================================================== */
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: flow; }
.flow-step { position: relative; background: var(--white); padding: 0 0 32px; }
.flow-step__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flow-step__no {
	display: inline-block; margin: -22px 0 0 24px; position: relative;
	background: var(--gold); color: var(--white); font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .15em; padding: 10px 16px;
}
.flow-step__title { font-size: 18px; margin: 18px 24px 12px; }
.flow-step__text { margin: 0 24px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.flow-step:not(:last-child)::after {
	content: ""; position: absolute; right: -20px; top: 32%; width: 16px; height: 16px;
	border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); z-index: 1;
}
@media (max-width: 960px) {
	.flow__list { grid-template-columns: 1fr 1fr; }
	.flow-step::after { display: none; }
}
@media (max-width: 560px) { .flow__list { grid-template-columns: 1fr; } }

/* ==========================================================
   Mission (parallax photo)
   ========================================================== */
.mission { color: var(--white); overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; }
.mission__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.mission::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,20,40,.72); }
.mission .wrap { position: relative; z-index: 2; }
.mission .sec-head__ja { color: var(--gold-2); }
.mission__catch { font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); font-weight: 600; line-height: 1.6; letter-spacing: .12em; margin-bottom: 40px; }
.mission__text { max-width: 760px; opacity: .9; }
.mission__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); margin-top: 72px; }
.mission__values li { background: rgba(8,20,40,.55); padding: 32px 28px; backdrop-filter: blur(4px); }
.mission__values b { display: block; font-family: var(--en); letter-spacing: .2em; font-size: 13px; color: var(--gold-2); margin-bottom: 8px; }
.mission__values span { font-size: 18px; font-weight: 700; }
.mission .bg-word { z-index: 1; right: -20px; bottom: -.12em; -webkit-text-stroke: 1px rgba(255,255,255,.14); }
@media (max-width: 767px) { .mission__values { grid-template-columns: 1fr; } }

/* ==========================================================
   News
   ========================================================== */
.news__grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; }
.news__head .btn { margin-top: 8px; color: var(--navy); min-width: 220px; }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list li:first-child { border-top: 1px solid var(--line); }
.news__list a { display: grid; grid-template-columns: 120px 120px 1fr 24px; gap: 20px; align-items: center; padding: 28px 8px; }
.news__list a:hover { color: var(--navy); background: var(--bg-soft); }
.news__date { font-family: var(--en); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.news__cat { font-size: 12px; text-align: center; padding: 2px 10px; border: 1px solid var(--navy); color: var(--navy); }
.news__title { font-weight: 500; }
.news__list a::after { content: "→"; font-family: var(--en); color: var(--gold); }
.news__empty { color: var(--muted); padding: 28px 0; }
@media (max-width: 900px) {
	.news__grid { grid-template-columns: 1fr; gap: 32px; }
	.news__list a { grid-template-columns: auto auto 1fr; gap: 8px 16px; }
	.news__title { grid-column: 1 / -1; }
	.news__list a::after { display: none; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq__list { max-width: 960px; margin-inline: auto; }
.faq-item { background: var(--white); margin-bottom: 16px; }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: center;
	padding: 26px 64px 26px 28px; font-weight: 700; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item__a::before {
	font-family: var(--en); font-weight: 700; font-size: 22px; flex: none; width: 32px;
}
.faq-item summary::before { content: "Q"; color: var(--navy); }
.faq-item summary::after {
	content: "+"; position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
	font-family: var(--en); font-size: 26px; font-weight: 300; color: var(--gold); transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__a { display: flex; gap: 20px; padding: 0 28px 28px; color: var(--muted); }
.faq-item__a::before { content: "A"; color: var(--gold); line-height: 1.5; }

/* ==========================================================
   Contact CTA
   ========================================================== */
.cta { position: relative; color: var(--white); padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.6s var(--ease); }
.cta:hover .cta__bg { transform: scale(1.04); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(11,31,58,.92), rgba(11,31,58,.6)); }
.cta .wrap { position: relative; z-index: 2; }
.cta .sec-head { margin-bottom: 32px; }
.cta__text { font-size: 17px; margin-bottom: 48px; }
.cta__btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta__btns .btn { min-width: 320px; padding: 24px 32px; font-size: 16px; }
@media (max-width: 560px) { .cta__btns .btn { min-width: 0; width: 100%; } }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: #07152a; color: rgba(255,255,255,.85); padding: 96px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; padding-bottom: 72px; }
.footer__brand .site-logo { color: var(--white); margin-bottom: 28px; }
.footer__brand p { opacity: .7; }
.footer__nav { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer__nav a { display: inline-flex; gap: 10px; align-items: center; }
.footer__nav a::before { content: ""; width: 12px; height: 1px; background: var(--gold-2); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 400; }
.company-table th { width: 8em; color: var(--gold-2); font-weight: 500; white-space: nowrap; padding-right: 24px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .7; }
.footer__bottom small { font-family: var(--en); letter-spacing: .1em; }
.footer__slogan { font-family: var(--en); font-weight: 800; letter-spacing: .05em; font-size: clamp(28px, 5.4vw, 92px); line-height: 1; color: rgba(255,255,255,.06); text-align: center; padding-bottom: 8px; white-space: nowrap; overflow: hidden; margin-top: 0; }
.pagetop {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px; border: 0; cursor: pointer;
	background: var(--gold); color: var(--white); font-family: var(--en); font-size: 10px; letter-spacing: .1em;
	opacity: 0; visibility: hidden; transform: translateY(16px); transition: .4s var(--ease);
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 auto 4px; border-top: 2px solid; border-left: 2px solid; transform: rotate(45deg) translate(2px, 2px); }
@media (max-width: 900px) {
	.footer__grid { grid-template-columns: 1fr; gap: 48px; }
	.footer__bottom { flex-direction: column; gap: 8px; }
}
.company-table--light th { color: var(--gold); }
.company-table--light th, .company-table--light td { border-color: var(--line); padding: 24px 0; }
.company-table--light { border-top: 1px solid var(--line); }

/* ==========================================================
   Sub pages
   ========================================================== */
.page-hero { position: relative; height: clamp(360px, 50vh, 520px); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; margin-top: 0; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 8s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(8,20,40,.85), rgba(8,20,40,.35)); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; }
.page-hero__en { font-family: var(--en); font-weight: 800; font-size: clamp(40px, 7vw, 88px); line-height: 1; display: block; }
.page-hero__title { font-size: clamp(18px, 2vw, 22px); letter-spacing: .15em; margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.page-hero__title::before { content: ""; width: 36px; height: 1px; background: var(--gold-2); }
.breadcrumb { padding: 20px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }

.entry { padding: clamp(64px, 9vw, 120px) 0; }
.entry__inner { max-width: 880px; margin-inline: auto; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 {
	font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .1em; margin-top: 2.6em; padding-bottom: 16px; position: relative;
	border-bottom: 1px solid var(--line);
}
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 2px; background: var(--gold); }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 20px; margin-top: 2.2em; padding-left: 18px; border-left: 3px solid var(--navy); }
.entry-content h4 { font-size: 17px; margin-top: 2em; color: var(--navy); }
.entry-content ul li { position: relative; padding-left: 22px; margin-bottom: .5em; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 2px; background: var(--gold); }
.entry-content ol { counter-reset: ol; }
.entry-content ol li { counter-increment: ol; position: relative; padding-left: 36px; margin-bottom: .6em; }
.entry-content ol li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; font-family: var(--en); font-weight: 700; color: var(--gold); }
.entry-content img { margin-block: 1em; }
.entry-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.entry-content th, .entry-content td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content th { width: 25%; background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
.entry-content hr { border: 0; height: 1px; background: var(--line); }
.entry-content .wp-block-button__link { background: var(--navy); border-radius: 0; padding: 16px 36px; color: var(--white); text-decoration: none; }
.entry-content input:not([type=submit]):not([type=checkbox]):not([type=radio]), .entry-content textarea, .entry-content select {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-soft); font: inherit;
}
.entry-content input[type=submit], .entry-content button[type=submit] {
	display: block; margin: 32px auto 0; min-width: 280px; padding: 18px 32px; border: 0; cursor: pointer;
	background: var(--navy); color: var(--white); font: inherit; font-weight: 700; letter-spacing: .15em;
}
.entry-content input[type=submit]:hover { background: var(--gold); }
.alignwide { margin-inline: calc((880px - min(1200px, 100vw - 48px)) / 2); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }

.post-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 40px; font-family: var(--en); color: var(--muted); font-size: 14px; }
.post-title { font-size: clamp(24px, 3vw, 34px); letter-spacing: .08em; margin-bottom: 16px; }
.post-thumb { margin-bottom: 48px; }
.post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-nav { display: flex; justify-content: center; margin-top: 80px; }
.post-nav .btn { color: var(--navy); }

.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.archive-card__photo { overflow: hidden; margin-bottom: 20px; }
.archive-card__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s var(--ease); }
.archive-card:hover img { transform: scale(1.06); }
.archive-card__date { font-family: var(--en); font-size: 13px; color: var(--muted); }
.archive-card__title { font-size: 17px; margin-top: 6px; line-height: 1.7; }
.pagination { margin-top: 72px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--en); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (max-width: 900px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .archive-grid { grid-template-columns: 1fr; } }

.company-page__photo { margin: 0 0 72px; }
.company-page__photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.company-page__message { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.company-page__message img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.company-page__sign { margin-top: 24px; text-align: right; font-weight: 700; letter-spacing: .15em; }
@media (max-width: 767px) { .company-page__message { grid-template-columns: 1fr; } }

/* ==========================================================
   Additions
   ========================================================== */
.cta--quiet { padding: clamp(80px, 9vw, 120px) 0; }
.cta--quiet .cta__text { font-size: 15px; margin-bottom: 36px; }
#company .company-table--light { max-width: 960px; }
.str-card__num { letter-spacing: .04em; }

/* ==========================================================
   Contact Form 7
   ========================================================== */
.ta-form__note { padding: 20px 24px; background: var(--bg-soft); border-left: 3px solid var(--gold); font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.ta-form__row { display: grid; grid-template-columns: 220px 1fr; gap: 12px 32px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.ta-form__row:first-of-type, .ta-form__note + .ta-form__row { border-top: 1px solid var(--line); }
.ta-form__row > label { font-weight: 700; padding-top: 12px; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.ta-form__req, .ta-form__opt { font-size: 11px; font-weight: 700; padding: 2px 8px; letter-spacing: .05em; line-height: 1.6; }
.ta-form__req { background: var(--gold); color: var(--white); }
.ta-form__opt { background: var(--line); color: var(--muted); }
.ta-form__row .wpcf7-form-control-wrap { display: block; }
.entry-content .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.entry-content .wpcf7 textarea { border-radius: 0; transition: border-color .2s, background .2s; }
.entry-content .wpcf7 input:focus, .entry-content .wpcf7 textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.entry-content .wpcf7 textarea { min-height: 220px; resize: vertical; }
.ta-form__submit { text-align: center; margin-top: 48px !important; }
.ta-form__submit .wpcf7-spinner { display: block; margin: 16px auto 0; }
.wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 32px 0 0; padding: 16px 20px; border-width: 1px; font-size: 14px; }
@media (max-width: 767px) {
	.ta-form__row { grid-template-columns: 1fr; gap: 8px; }
	.ta-form__row > label { padding-top: 0; }
}

/* ==========================================================
   代表メッセージ / 会社概要
   ========================================================== */
.message-page { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; margin-bottom: 96px; }
.message-page__photo { position: sticky; top: calc(var(--header-h) + 32px); }
.message-page__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message-page__catch { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.7; letter-spacing: .1em; color: var(--navy); margin-bottom: 40px; }
.message-page .entry-content p { line-height: 2.2; }
.message-page__sign { margin-top: 56px; text-align: right; display: flex; flex-direction: column; gap: 4px; letter-spacing: .12em; }
.message-page__sign span { font-size: 13px; color: var(--muted); }
.message-page__sign b { font-size: 22px; margin-left: .3em; }
.company-page__extra { margin-top: 56px; }
.company-page__link { margin-top: 72px; }
.company-page__link .btn { color: var(--navy); }
@media (max-width: 767px) {
	.message-page { grid-template-columns: 1fr; }
	.message-page__photo { position: static; }
}
