/* =========================================================
   FantasyCreate — main.css
   写真主役 × ナチュラル。配色は :root を変更すれば全体に反映
   ========================================================= */

:root {
	/* ▼ ブランドカラー（写真を引き立てる控えめなモスグリーン） */
	--c-accent:        #5c6f52;
	--c-accent-dark:   #46543e;
	--c-accent-light:  #eef1e8;
	--c-accent-shadow: 92, 111, 82; /* --c-accent のRGB（影用） */

	/* ベース（白〜生成り、チャコール文字） */
	--c-bg:        #fdfdfb;
	--c-bg-alt:    #f6f5f0;
	--c-bg-dark:   #26251f;
	--c-text:      #24231f;
	--c-text-sub:  #6e6a60;
	--c-border:    #e7e5dd;

	/* LINEボタン専用（LINEブランド色） */
	--c-line:      #06c755;
	--c-line-dark: #04a045;

	/* レイアウト */
	--maxw:        1120px;
	--maxw-narrow: 760px;
	--radius:      16px;
	--header-h:    76px;

	--font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
	--font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--c-text);
	line-height: 1.9;
	font-size: 16px;
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--c-accent-dark); }

.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: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Layout helpers ===== */
.section { padding: 110px 24px; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: #f4f2ea; }
.section--dark .section-lead { color: #b9b5a8; }
.section--cta { background: var(--c-bg-alt); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-inner--narrow { max-width: var(--maxw-narrow); }

.section-head { margin-bottom: 56px; }
.section-title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .1em;
}
.section-lead { font-size: 16px; color: var(--c-text-sub); max-width: 640px; margin-top: 16px; }
.section-action { margin-top: 44px; }

.eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-size: 12px; font-weight: 500; letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--c-accent); }
.section--dark .eyebrow { color: #aebfa0; }
.section--dark .eyebrow::before { background: #aebfa0; }
[style*="text-align:center"] .eyebrow,
.eyebrow--center { justify-content: center; }

/* ===== Buttons ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 10px; min-height: 56px; padding: 14px 36px;
	font-weight: 500; font-size: 15px; letter-spacing: .08em;
	border-radius: 999px;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
/* CTA: ホバーで濃色が左からスイープ */
.btn--cta {
	color: #fff;
	background-color: var(--c-accent);
	background-image: linear-gradient(var(--c-accent-dark), var(--c-accent-dark));
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	transition: transform .25s ease, box-shadow .25s ease, background-size .4s cubic-bezier(.65,0,.25,1);
}
.btn--cta:hover {
	color: #fff;
	background-size: 100% 100%;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(var(--c-accent-shadow), .28);
}
.btn--ghost { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); }
.btn--ghost:hover { color: var(--c-text); border-color: var(--c-accent); transform: translateY(-2px); }
.btn--line { background: var(--c-line); color: #fff; }
.btn--line:hover { background: var(--c-line-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6,199,85,.28); }
.section--dark .btn--ghost { color: #f4f2ea; border-color: rgba(255,255,255,.35); }

/* ===== Header（透明→スクロールで白） ===== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: transparent;
	transition: background .35s ease, box-shadow .35s ease, transform .45s cubic-bezier(.65,0,.25,1);
}
/* 下スクロールで隠れ、上に戻すと現れる */
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
	max-width: var(--maxw); margin: 0 auto;
	min-height: var(--header-h);
	display: flex; align-items: center; gap: 28px;
	padding: 0 24px;
}
.site-header__brand { margin-right: auto; }
.site-header__title {
	display: inline-flex; align-items: center; gap: 9px;
	font-weight: 500; font-size: 20px; letter-spacing: .04em;
	color: #fff;
	transition: color .35s ease;
}
.site-header__title:hover { color: #fff; opacity: .85; }
.site-logo-mark { display: block; flex-shrink: 0; }

/* ロゴ: 星が軌跡を描いて飛び込む（読込時 .is-play / ホバーで再生） */
@keyframes logo-star-fly {
	from { transform: translate(-17px, 3px) scale(.5); opacity: 0; }
	60%  { opacity: 1; }
	to   { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes logo-trail-draw {
	from { stroke-dashoffset: 24; }
	to   { stroke-dashoffset: 0; }
}
.site-logo-mark line { stroke-dasharray: 24; stroke-dashoffset: 0; }
.site-logo-mark.is-play path,
.site-header__title:hover .site-logo-mark path {
	animation: logo-star-fly .85s cubic-bezier(.2,.6,.2,1);
}
.site-logo-mark.is-play line,
.site-header__title:hover .site-logo-mark line {
	animation: logo-trail-draw .7s ease both;
}
.site-logo-mark.is-play line:nth-of-type(2),
.site-header__title:hover .site-logo-mark line:nth-of-type(2) { animation-delay: .12s; }
.site-logo-mark.is-play line:nth-of-type(3),
.site-header__title:hover .site-logo-mark line:nth-of-type(3) { animation-delay: .24s; }
.site-header__brand img { max-height: 44px; width: auto; }

.site-nav__list { display: flex; gap: 30px; align-items: center; }
.site-nav__list a { position: relative; font-weight: 400; font-size: 14px; letter-spacing: .1em; color: #fff; }
.site-nav__list a:hover { color: #fff; }

/* ナビ: 文字が上へ抜け、金色の同じ文字がせり上がるロールオーバー（JSがspanを生成） */
.site-nav__list a .roll {
	display: inline-block; position: relative;
	overflow: hidden; vertical-align: top;
}
.site-nav__list a .roll__a,
.site-nav__list a .roll__b {
	display: block;
	transition: transform .38s cubic-bezier(.65,0,.25,1);
}
.site-nav__list a .roll__b {
	position: absolute; left: 0; top: 100%; width: 100%;
	color: #c8a24b;
}
.site-nav__list a:hover .roll__a,
.site-nav__list a:hover .roll__b { transform: translateY(-100%); }
.site-header__cta { min-height: 42px; padding: 8px 22px; font-size: 13px; }

/* スクロール後 / 下層ページ */
.site-header.is-scrolled,
body:not(.home) .site-header {
	background: rgba(253,253,251,.92);
	backdrop-filter: saturate(160%) blur(12px);
	box-shadow: 0 1px 0 var(--c-border);
}
.site-header.is-scrolled .site-header__title,
body:not(.home) .site-header__title { color: var(--c-text); }
.site-header.is-scrolled .site-nav__list a,
body:not(.home) .site-nav__list a { color: var(--c-text); }
.site-header.is-scrolled .site-nav__list a:hover,
body:not(.home) .site-nav__list a:hover { color: var(--c-accent-dark); opacity: 1; }

/* 下層ページはヘッダー分の余白 */
body:not(.home) .site-main { padding-top: var(--header-h); }

.nav-toggle {
	display: none; position: relative;
	width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
	background: #fff; transition: transform .25s ease, opacity .25s ease, background .35s ease;
}
.site-header.is-scrolled .nav-toggle__bar,
.site-header.is-scrolled .nav-toggle__bar::before,
.site-header.is-scrolled .nav-toggle__bar::after,
body:not(.home) .nav-toggle__bar,
body:not(.home) .nav-toggle__bar::before,
body:not(.home) .nav-toggle__bar::after,
.site-header.is-open .nav-toggle__bar::before,
.site-header.is-open .nav-toggle__bar::after { background: var(--c-text); }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent !important; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero（全画面写真） ===== */
.hero--photo {
	position: relative;
	min-height: min(94vh, 900px);
	display: flex; align-items: flex-end;
	overflow: hidden;
	color: #fff;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
	width: 100%; height: 100%; object-fit: cover;
	animation: hero-zoom 22s ease-out both;
}
/* 動画は写真の上に重ねる（動画なし/無効時は写真が見える） */
.hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
}
@keyframes hero-zoom {
	from { transform: scale(1.08); }
	to   { transform: scale(1); }
}
.hero__overlay {
	position: absolute; inset: 0;
	/* 上部を少し濃く: 透明ヘッダーの文字が写真に埋もれないように */
	background: linear-gradient(180deg, rgba(20,22,16,.52) 0%, rgba(20,22,16,.16) 26%, rgba(20,22,16,.18) 50%, rgba(20,22,16,.62) 100%);
}
.hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 140px 24px 96px;
}
.hero__eyebrow {
	font-size: 12px; font-weight: 500; letter-spacing: .28em;
	text-transform: uppercase;
	color: rgba(255,255,255,.85);
	margin-bottom: 22px;
}
.hero__title {
	font-family: var(--font-serif);
	font-size: clamp(38px, 7vw, 80px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .12em;
	margin-bottom: 22px;
	text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
/* 1文字ずつの出現演出（JSが .char に分割） */
.hero__title .char {
	display: inline-block;
	opacity: 0;
	transform: translateY(.55em);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1);
	transition-delay: calc(var(--char-i) * .055s + .25s);
}
.hero__title.is-ready .char { opacity: 1; transform: translateY(0); }
.hero__lead {
	font-size: clamp(15px, 1.6vw, 17px);
	color: rgba(255,255,255,.92);
	max-width: 560px;
	margin-bottom: 36px;
	line-height: 2.1;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero__actions .btn--ghost:hover { color: #fff; border-color: #fff; }

/* 縦書きの和文アクセント（左端） */
.hero__vertical {
	position: absolute; left: 28px; bottom: 96px;
	font-size: 12px; letter-spacing: .42em;
	color: rgba(255,255,255,.78);
	writing-mode: vertical-rl;
	font-feature-settings: "vpal";
}

.hero__scroll {
	position: absolute; right: 28px; bottom: 0;
	font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
	color: rgba(255,255,255,.75);
	writing-mode: vertical-rl;
	padding-bottom: 88px;
}
.hero__scroll::after {
	content: ""; position: absolute; left: 50%; bottom: 0;
	width: 1px; height: 72px;
	background: rgba(255,255,255,.6);
	transform-origin: top;
	animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== 写真ブレイク（全幅写真 + ひとこと / 視差） ===== */
.photo-break {
	position: relative;
	min-height: clamp(360px, 52vh, 520px);
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.photo-break__bg { position: absolute; inset: -18% 0; will-change: transform; }
.photo-break__bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-break__overlay {
	position: absolute; inset: 0;
	background: rgba(20, 22, 16, .34);
}
.photo-break__copy {
	position: relative; z-index: 1;
	font-family: var(--font-serif);
	font-size: clamp(22px, 3.4vw, 36px);
	font-weight: 600;
	letter-spacing: .16em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0,0,0,.3);
	padding: 0 24px;
	text-align: center;
}

/* ===== カスタムカーソル（点＋追従リング / マウス環境のみ） ===== */
.cursor-dot, .cursor-ring {
	position: fixed; top: 0; left: 0; z-index: 1000;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0;
	transition: opacity .3s ease;
}
.cursor-dot {
	width: 8px; height: 8px;
	background: var(--c-accent);
	margin: -4px 0 0 -4px;
}
.cursor-ring {
	width: 40px; height: 40px;
	border: 1px solid #8a8a80;
	margin: -20px 0 0 -20px;
	mix-blend-mode: difference;
	transition: opacity .3s ease, width .3s ease, height .3s ease, margin .3s ease;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-active {
	width: 64px; height: 64px;
	margin: -32px 0 0 -32px;
	border-color: #fff;
}
@media (pointer: coarse) {
	.cursor-dot, .cursor-ring { display: none; }
}

/* ===== スクロールで現れる要素 ===== */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s ease, transform .9s ease;
	transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== 事業内容: 雑誌風の交互レイアウト ===== */
.service-list { display: flex; flex-direction: column; gap: 110px; margin-top: 8px; }
.service-row {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0 32px;
	align-items: center;
}
.service-row__media {
	grid-column: 1 / 8; grid-row: 1;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-bg-alt);
}
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__body { grid-column: 8 / 13; grid-row: 1; position: relative; padding: 8px 0; }
.service-row--rev .service-row__media { grid-column: 6 / 13; }
.service-row--rev .service-row__body { grid-column: 1 / 6; }

.service-row__num {
	position: absolute; top: -84px; left: -6px; z-index: 0;
	font-size: clamp(84px, 9vw, 120px);
	font-weight: 700; line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px #dcd9cc;
	text-stroke: 1px #dcd9cc;
	pointer-events: none;
}
.service-row__en {
	position: relative; z-index: 1;
	display: flex; align-items: center; gap: 14px;
	font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: 14px;
}
.service-row__en::before { content: ""; width: 36px; height: 1px; background: var(--c-accent); }
.service-row__title {
	position: relative; z-index: 1;
	font-family: var(--font-serif);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600; letter-spacing: .08em; line-height: 1.5;
	margin-bottom: 16px;
}
.service-row__text { position: relative; z-index: 1; font-size: 14px; color: var(--c-text-sub); line-height: 2.1; }
.service-row__badge {
	font-style: normal;
	font-size: 11px; font-weight: 500; letter-spacing: .12em;
	color: #fff; background: var(--c-accent);
	padding: 3px 12px; border-radius: 999px;
}
.service-row__tags {
	position: relative; z-index: 1;
	display: flex; flex-wrap: wrap; gap: 8px;
	margin-top: 18px;
}
.service-row__tags li {
	font-size: 12px; letter-spacing: .04em;
	color: var(--c-text-sub);
	background: var(--c-bg-alt);
	border: 1px solid var(--c-border);
	padding: 5px 14px; border-radius: 999px;
}

/* 写真のワイプ演出（カーテンのように現れる）
   注意: clip-path は監視対象の外枠ではなく内側の img に掛ける。
   外枠に掛けると幅0と判定され IntersectionObserver が発火しない。 */
.reveal--wipe { opacity: 1; transform: none; }
.reveal--wipe img {
	clip-path: inset(0 100% 0 0);
	transform: scale(1.14);
	transition: clip-path 1.1s cubic-bezier(.65,0,.25,1), transform 1.4s cubic-bezier(.2,.6,.2,1);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal--wipe-rev img { clip-path: inset(0 0 0 100%); }
.reveal--wipe.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); transition-delay: 0s; }
.reveal--wipe.is-visible:hover img { transform: scale(1.05); transition-duration: .8s, .8s; }

/* ===== 幕開けカーテン（ページ読込時） ===== */
.page-curtain {
	position: fixed; inset: 0; z-index: 999;
	background: var(--c-bg);
	display: flex; align-items: center; justify-content: center;
	transform: translateY(0);
	transition: transform .85s cubic-bezier(.65,0,.25,1), visibility 0s .9s;
}
.page-curtain__logo {
	font-family: var(--font-serif);
	font-size: 22px; font-weight: 600; letter-spacing: .3em;
	color: var(--c-text);
	opacity: 0;
	animation: curtain-logo .9s ease .15s both;
}
@keyframes curtain-logo {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
.page-curtain.is-done { transform: translateY(-100%); visibility: hidden; }
html:not(.js) .page-curtain { display: none; }

/* ===== 写真カード ===== */
.card-grid { display: grid; gap: 32px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.photo-card { display: block; }
.photo-card__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-bg-alt);
	margin-bottom: 22px;
}
.photo-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.photo-card:hover .photo-card__media img { transform: scale(1.06); }
.photo-card__num { font-size: 12px; letter-spacing: .2em; color: var(--c-accent); margin-bottom: 8px; display: block; }
.photo-card__title { font-size: 20px; font-weight: 500; letter-spacing: .04em; margin-bottom: 10px; }
.photo-card__text { font-size: 14px; color: var(--c-text-sub); line-height: 2; }

/* テキストカード（汎用） */
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; }
.card--link { transition: transform .3s ease, box-shadow .3s ease; padding: 0; overflow: hidden; }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(38,37,31,.1); color: inherit; }
.card--link .card__title, .card--link .card__text { padding: 0 26px; }
.card--link .card__title { margin-top: 22px; }
.card--link .card__text { padding-bottom: 26px; }
.card__media { aspect-ratio: 3 / 2; background: var(--c-bg-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card--link:hover .card__media img { transform: scale(1.06); }
.card__title { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.card__text { font-size: 14px; color: var(--c-text-sub); }

/* ===== News list ===== */
.news-list { max-width: 860px; }
.news-list__item {
	display: flex; gap: 28px; align-items: baseline;
	padding: 22px 4px; border-bottom: 1px solid var(--c-border);
}
.news-list__date { font-size: 13px; color: var(--c-text-sub); letter-spacing: .06em; flex-shrink: 0; min-width: 104px; }
.news-list__link { font-weight: 400; }

/* ===== Page hero / content ===== */
.page-hero { background: var(--c-bg-alt); padding: 84px 24px 64px; }
.page-hero__title { font-size: clamp(26px, 4vw, 40px); font-weight: 500; letter-spacing: .06em; max-width: var(--maxw); margin: 0 auto; }
.page-hero__date { display: block; color: var(--c-text-sub); font-size: 14px; margin: 0 auto 8px; max-width: var(--maxw); }

.entry-content { font-size: 16px; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: 26px; font-weight: 500; letter-spacing: .04em; margin-top: 2.2em; }
.entry-content h3 { font-size: 20px; font-weight: 500; margin-top: 1.8em; }
.entry-content a { color: var(--c-accent-dark); text-decoration: underline; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-thumb { margin-bottom: 1.6em; border-radius: var(--radius); overflow: hidden; }

.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers {
	display: inline-block; padding: 8px 15px; margin: 0 3px;
	border: 1px solid var(--c-border); border-radius: 10px; font-size: 14px;
}
.pagination .current { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ===== お問い合わせフォーム（Contact Form 7 対応） ===== */
.entry-content .wpcf7 label { font-size: 14px; font-weight: 500; letter-spacing: .04em; display: block; margin-bottom: 6px; }
.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 input[type="tel"],
.entry-content .wpcf7 input[type="url"],
.entry-content .wpcf7 textarea,
.entry-content .wpcf7 select {
	width: 100%;
	font: inherit; font-size: 15px;
	color: var(--c-text);
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	padding: 13px 16px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.entry-content .wpcf7 input:focus,
.entry-content .wpcf7 textarea:focus,
.entry-content .wpcf7 select:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px rgba(var(--c-accent-shadow), .15);
}
.entry-content .wpcf7 textarea { min-height: 180px; resize: vertical; }
.entry-content .wpcf7 input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 14px 48px;
	font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .08em;
	color: #fff; background: var(--c-accent);
	border: 0; border-radius: 999px; cursor: pointer;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.entry-content .wpcf7 input[type="submit"]:hover {
	background: var(--c-accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(var(--c-accent-shadow), .28);
}
.entry-content .wpcf7 .wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; margin-top: 4px; }
.entry-content .wpcf7 .wpcf7-response-output { border-radius: 12px; padding: 14px 18px; margin: 24px 0 0; border-color: var(--c-accent); }

/* ===== Footer ===== */
.site-footer { background: var(--c-bg-dark); color: #b9b5a8; padding: 72px 24px 32px; }
.site-footer__inner {
	max-width: var(--maxw); margin: 0 auto;
	display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.site-footer__title { color: #f4f2ea; font-weight: 500; font-size: 18px; letter-spacing: .06em; }
.site-footer__desc { font-size: 14px; margin-top: 10px; }
.site-footer__list { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__list a { font-size: 13px; letter-spacing: .08em; color: #b9b5a8; }
.site-footer__list a:hover { color: #f4f2ea; }
.site-footer__copy {
	max-width: var(--maxw); margin: 44px auto 0;
	padding-top: 24px; border-top: 1px solid rgba(244,242,234,.14);
	font-size: 12px; letter-spacing: .08em;
}

@keyframes nav-item-in {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ===== 動きを減らす設定に対応（アクセシビリティ） ===== */
@media (prefers-reduced-motion: reduce) {
	.site-header.is-hidden { transform: none; }
	.site-logo-mark path, .site-logo-mark line { animation: none !important; }
	.site-nav__list a .roll__a, .site-nav__list a .roll__b { transition: none; }
	.btn--cta { transition: none; background-size: 0% 100%; }
	html { scroll-behavior: auto; }
	.hero__bg img { animation: none; }
	.hero__bg { transform: none !important; }
	.hero__video { display: none; }
	.hero__scroll::after { animation: none; }
	.photo-break__bg { transform: none !important; inset: 0; }
	.cursor-dot, .cursor-ring { display: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.reveal--wipe img, .reveal--wipe-rev img { clip-path: none; transform: none; transition: none; }
	.hero__title .char { opacity: 1; transform: none; transition: none; }
	.page-curtain { display: none; }
	.btn, .photo-card__media img, .card__media img { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
	/* 中間幅では縦書きアクセントが本文と重なるため非表示 */
	.hero__vertical { display: none; }
}
@media (max-width: 960px) {
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.nav-toggle { display: block; }
	.site-header__cta { display: none; }
	.site-nav {
		position: fixed; inset: 0 0 auto 0;
		padding: calc(var(--header-h) + 8px) 24px 24px;
		background: rgba(253,253,251,.98);
		transform: translateY(-105%); transition: transform .3s ease;
		box-shadow: 0 18px 40px rgba(38,37,31,.12);
	}
	.site-header.is-open { background: rgba(253,253,251,.98); }
	.site-header.is-open .site-header__title { color: var(--c-text); }
	.site-header.is-open .site-nav { transform: translateY(0); }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--c-border); color: var(--c-text) !important; }
	/* メニュー項目が順にふわっと現れる */
	.site-header.is-open .site-nav__list li {
		animation: nav-item-in .45s ease both;
	}
	.site-header.is-open .site-nav__list li:nth-child(2) { animation-delay: .07s; }
	.site-header.is-open .site-nav__list li:nth-child(3) { animation-delay: .14s; }
	.site-header.is-open .site-nav__list li:nth-child(4) { animation-delay: .21s; }
	.site-header.is-open .site-nav__list li:nth-child(5) { animation-delay: .28s; }
	.card-grid--3 { grid-template-columns: 1fr; }
	.news-list__item { flex-direction: column; gap: 4px; }
	.news-list__date { min-width: 0; }
	.section { padding: 72px 20px; }
	.hero__inner { padding: 120px 20px 84px; }
	/* 「想像を、かたちに。」(9文字)が必ず1行に収まるサイズ・字間 */
	.hero__title { font-size: clamp(28px, 8.4vw, 38px); letter-spacing: .06em; }
	/* CTAはスマホの定石=幅いっぱいの縦積み（押しやすさ優先） */
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
	.hero__scroll { display: none; }
	.hero__vertical { display: none; }
	.photo-break { min-height: 300px; }
	.service-list { gap: 72px; }
	.service-row { display: block; }
	.service-row__media { margin-bottom: 26px; }
	.service-row__body { padding: 0; }
	.service-row__num { top: -54px; left: auto; right: 0; font-size: 72px; }
}

/* スマホでは「主力事業」バッジを非表示 */
@media (max-width: 768px) {
	.service-row__badge { display: none; }
}

/* reCAPTCHA v3: 右下バッジを非表示（Google規約に沿い.recaptcha-noteで表記） */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { font-size: 12px; line-height: 1.9; color: var(--c-text-sub); text-align: center; margin-top: 22px; }
.recaptcha-note a { color: var(--c-accent-dark); text-decoration: underline; }

/* ===== About（自己紹介 / 中の人 BAMBI） ===== */
.section.about-fc { padding-top: 72px; padding-bottom: 40px; }
.about-fc__card { position: relative; max-width: 880px; margin: 0 auto; background: var(--c-accent); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(38,37,31,.12); }
.about-fc__cover { height: 92px; background: var(--c-bg-alt); border-bottom: 1px solid rgba(200,162,75,.45); }
.bambi-avatar { position: absolute; left: 52px; top: 30px; width: 132px; height: 132px; border-radius: 50%; background-color: #ececec; background-repeat: no-repeat; background-position: 50% 12%; background-size: 165% auto; box-shadow: 0 0 0 5px var(--c-accent), 0 10px 24px rgba(38,37,31,.22); z-index: 2; }
.about-fc__body { padding: 30px 48px 40px 214px; color: #e8ede1; }
.about-fc__body .eyebrow { color: #c9d3a8; }
.about-fc__body .eyebrow::before { background: #c9d3a8; }
.about-fc__title { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.5; letter-spacing: .06em; color: #fff; margin-bottom: 18px; }
.about-fc__text { font-size: 15px; line-height: 2.0; color: #e8ede1; margin-bottom: 14px; text-wrap: balance; }
.about-fc__text--split .ln { display: block; }
.about-fc__sign { font-size: 13px; letter-spacing: .1em; color: #c9d3a8; border-top: 1px solid rgba(201,211,168,.3); padding-top: 18px; margin-top: 10px; }
.about-fc__sign strong { color: #fff; font-weight: 600; }
.section#service { padding-top: 64px; }
@media (max-width: 768px) {
	.section.about-fc { padding-top: 48px; padding-bottom: 44px; }
	.about-fc__cover { height: 54px; }
	.bambi-avatar { left: 50%; top: 12px; transform: translateX(-50%); width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--c-accent), 0 8px 20px rgba(38,37,31,.22); }
	.about-fc__body { padding: 58px 20px 36px; text-align: center; }
	.about-fc__text--split .seg { display: block; }
	.section#service { padding-top: 40px; }
}
