@charset "utf-8";
/* ==========================================================================
   Phoenix Accountants & Professionals India — 共通スタイルシート
   全ページ（日本語・英語）でこの1ファイルのみを読み込みます。

   目次
     1. 変数・リセット・基本
     2. アニメーション定義（@keyframes）
     3. ヘッダー（ロゴ・連絡先・言語切替）
     4. メインメニュー（PC／固定／ドロップダウン／スマホ）
     5. ヒーロー（トップ：スライドショー ／ 下層：流れる背景）
     6. 共通パーツ（見出し・ボタン・フッター・ページトップ）
     7. トップページ（写真パネル・ニュース）
     8. 会社概要ページ
     9. サービスページ（Q&Aを含む）
    10. グローバルページ（地図ピン・国別ボタン・実績の数字・拠点カード）
    11. お問い合わせ・採用ページ
    12. 表示の動き（下層ヒーローの登場・スクロール表示の種類）
    13. 動きを減らす設定への配慮
   ========================================================================== */


/* 1. 変数・リセット・基本
   ========================================================================== */
:root {
    --red: #8B0000;
	--ink: #0b1233;          /* 墨紺：見出し・濃色背景 */
	--navy: #0e1a66;         /* ブランドの紺 */
	--vermilion: #c42202;    /* ブランドの朱（メニューバー） */
	--vermilion-dark: #9c1a00;
	--gold: #e3bd6a;         /* メニューのマウスオン色・差し色 */
	--paper: #f3f4f8;        /* 淡い背景 */
	--white: #fff;
	--text: #1c2133;
	--muted: #5b6275;
	--line: #d9dce6;

	--font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
	--font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

	--wrap: 1120px;
	--gutter: clamp(20px, 4vw, 40px);
	--menubar-h: 100px;        /* メニューバーの高さ（通常時） */
	--menubar-h-fixed: 60px;   /* メニューバーの高さ（画面上部に固定時） */
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--menubar-h-fixed) + 24px);  /* 固定メニューに見出しが隠れないように */
}

body {
	margin: 0;
	color: var(--text);
	background: var(--white);
	font-family: var(--font-sans);
	font-size: 17px;           /* 本文の基本サイズ（全ページ共通） */
	line-height: 1.9;
	font-feature-settings: "palt";
}

html[lang="en"] body {
	line-height: 1.75;
	font-feature-settings: normal;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table {
	margin: 0;
	padding: 0;
}

h1, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.45;
	color: var(--ink);
	text-wrap: balance;        /* 見出しの最終行に1文字だけ残るのを防ぐ */
	word-break: auto-phrase;   /* 日本語を文節の区切りで改行（対応ブラウザのみ） */
}

h2 {
	font-family: var(--font-serif);
	font-weight: 800;
	line-height: 1.45;
	color: var(--red);
	text-wrap: balance;        /* 見出しの最終行に1文字だけ残るのを防ぐ */
	word-break: auto-phrase;   /* 日本語を文節の区切りで改行（対応ブラウザのみ） */
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

iframe {
	display: block;
	width: 100%;
	border: 0;
}

a {
	color: var(--navy);
	transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}

a:hover {
	color: var(--vermilion);
}

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

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

.skip-link {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 200;
	padding: 8px 16px;
	background: var(--ink);
	color: var(--white);
}

.skip-link:focus {
	top: 8px;
	color: var(--white);
}

.section {
	padding-block: clamp(56px, 8vw, 104px);
}

.section--paper {
	background: var(--paper);
}


/* 2. アニメーション定義（従来サイトと同じ動き）
   ========================================================================== */

/* 透明 → 表示（ドロップダウン・ページトップボタン・スマホメニュー） */
@keyframes opa1 {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

/* 透明 → 表示 ＋ 少し下からフェードイン（コンテンツ全体） */
@keyframes opa2 {
	0%   { opacity: 0; top: 10px; }
	100% { opacity: 1; top: 0; }
}

/* トップページ：スライドショー（15秒で一巡） */
@keyframes slide1 {
	0%   { opacity: 0; }
	10%  { opacity: 1; }
	35%  { opacity: 1; }
	45%  { opacity: 0; }
	100% { opacity: 0; }
}

@keyframes slide2 {
	0%   { opacity: 0; }
	25%  { opacity: 0; }
	35%  { opacity: 1; }
	60%  { opacity: 1; }
	70%  { opacity: 0; }
	100% { opacity: 0; }
}

@keyframes slide3 {
	0%   { opacity: 0; }
	50%  { opacity: 0; }
	60%  { opacity: 1; }
	75%  { opacity: 1; }
	85%  { opacity: 0; }
	100% { opacity: 0; }
}

/* トップページ：メインタイトルが上から降りてくる */
@keyframes fadeInTitle {
	0%   { opacity: 0; transform: translateX(-50%) translateY(-120px); }
	100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* トップページ：写真パネルの背景がゆっくり拡大 */
@keyframes zoomIn {
	0%   { background-size: 100%; }
	100% { background-size: 110%; }
}

/* 下層ページ：ヒーロー背景が左へゆっくり流れる */
@keyframes moveImage {
	0%   { background-position: 0 center; }
	100% { background-position: -2048px center; }
}

/* サービスページ：見出しを横切る光 */
@keyframes shine {
	0%   { left: -150%; }
	100% { left: 150%; }
}

/* グローバルページ：スクロールで拠点カードがふわっと上がる */
@keyframes fadeUpAnime {
	from { opacity: 0; transform: translateY(100px); }
	to   { opacity: 1; transform: translateY(0); }
}

.fadeUp {
	animation-name: fadeUpAnime;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

/* JSが有効なときだけ初期状態を透明にする（JSが動かない環境でも内容は見える） */
.js .fadeUpTrigger {
	opacity: 0;
}

/* コンテンツ全体のフェードイン（トップ・グローバル・お問い合わせ・採用） */
.contents--fadein {
	position: relative;
	animation: opa2 0.5s 0.5s both;
}


/* 3. ヘッダー（ロゴ・連絡先・言語切替）
   ========================================================================== */
.site-header {
	background: var(--white);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 16px 32px;
	padding: 14px var(--gutter);
}

.site-header__logo {
	flex: 0 1 500px;           /* 社名が長いロゴなので、USサイト（380px）より広め */
	min-width: 0;
	margin-right: auto;
}

.site-header__logo img {
	display: block;
	width: 100%;
}

.site-header__contact {
	display: grid;
	flex: none;
	justify-items: end;
	line-height: 1.35;
	white-space: nowrap;
}

.site-header__tel {
	font-family: Skia, sans-serif ;
	font-size: 1.0rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--vermilion);
	text-decoration: none;
	white-space: nowrap;
}

.site-header__tel-note {
	margin-left: 8px;
	padding: 1px 8px;
	border: 1px solid var(--line);
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--muted);
	vertical-align: 3px;
}

.site-header__mail {
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	color: var(--ink);
	text-decoration: none;
}

.lang-switch {
	display: flex;
	flex: none;
	border: 1px solid var(--ink);
	white-space: nowrap;
	font-size: 0.8125rem;
	line-height: 1;
}

.lang-switch a {
	padding: 9px 14px;
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.lang-switch a:hover {
	background: var(--paper);
	color: var(--ink);
}

.lang-switch a.is-active {
	background: var(--ink);
	color: var(--white);
	font-weight: 700;
}


/* 4. メインメニュー
   ========================================================================== */

/* メニューが画面上部に固定されても下の内容がずれないよう、高さを確保する枠 */
.menubar-slot {
	height: var(--menubar-h);
}

.menubar {
	position: relative;
	z-index: 10;
	height: var(--menubar-h);
	background: var(--vermilion);
	text-align: center;
}

.menubar__list {
	display: flex;
	max-width: 1280px;
	height: 100%;
	margin-inline: auto;
}

.menubar__list > li {
	flex: 1;
}

.menubar__list > li > a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	color: var(--white);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-decoration: none;
}

.menubar__list > li > a:hover,
.menubar__list > li > a[aria-current="page"] {
	color: var(--gold);
}

/* 英語の小さな添え書き */
.menubar__list > li > a span {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.72);
}

/* ドロップダウン（メニューバー直下に全幅で表示） */
.ddmenu {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 10;
	display: flex;
	justify-content: center;
	gap: 8px 36px;
	width: 100%;
	padding: 14px 3%;
	visibility: hidden;
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 12px 24px -18px rgba(11, 18, 51, 0.5);
}

.menubar__list > li:hover > .ddmenu,
.menubar__list > li:focus-within > .ddmenu {
	visibility: visible;
	animation-name: opa1;
	animation-fill-mode: both;
	animation-duration: 0.8s;
	animation-delay: 0.1s;
}

.ddmenu a {
	color: var(--ink);
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-underline-offset: 5px;
}

.ddmenu a:hover {
	color: var(--ink);
	opacity: 0.4;
}

/* 画面上部に固定された状態（main.js が body に is-fixed-menu を付けます） */
body.is-fixed-menu .menubar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--menubar-h-fixed);
}

body.is-fixed-menu .menubar__list > li > a span {
	display: none;
}

/* スマホ用メニューと開閉ボタン（PCでは非表示） */
.menu-toggle,
.menu-s {
	display: none;
}

@media screen and (max-width: 800px) {
	.menubar-slot {
		display: none;
	}

	.menu-toggle {
		display: block;
		position: fixed;
		z-index: 101;
		top: 14px;
		right: 2%;
		width: 50px;
		height: 50px;
		padding: 0;
		border: 1px solid var(--white);
		background: var(--ink);
		cursor: pointer;
	}

	.menu-toggle span,
	.menu-toggle span::before,
	.menu-toggle span::after {
		position: absolute;
		left: 50%;
		width: 24px;
		height: 2px;
		margin-left: -12px;
		background: var(--white);
		content: "";
	}

	.menu-toggle span { top: 50%; margin-top: -1px; }
	.menu-toggle span::before { top: -8px; }
	.menu-toggle span::after { top: 8px; }

	/* 開いているときは「×」 */
	.menu-toggle[aria-expanded="true"] span { background: transparent; }
	.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
	.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

	.menu-s.is-open {
		display: block;
		position: fixed;
		z-index: 100;
		inset: 0;
		overflow: auto;
		padding-top: 78px;
		background: rgba(11, 18, 51, 0.96);
		animation: opa1 0.5s both;
	}

	.menu-s > ul > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.menu-s a {
		display: block;
		padding: 22px 20px 22px 32px;
		color: var(--white);
		font-size: 1rem;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-decoration: none;
	}

	.menu-s a span {
		margin-left: 16px;
		font-size: 0.75rem;
		font-weight: 500;
		letter-spacing: 0.18em;
		color: rgba(255, 255, 255, 0.6);
	}

	.menu-s__sub {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 20px;
		padding: 0 20px 18px 32px;
		margin-top: -10px;
	}

	.menu-s__sub a {
		padding: 4px 0;
		font-size: 0.8125rem;
		font-weight: 400;
		color: rgba(255, 255, 255, 0.78);
		text-decoration: underline;
		text-underline-offset: 4px;
	}

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

	/* ヘッダーを縦に積む */
	.site-header__bar {
		flex-wrap: wrap;
		padding-right: calc(2% + 62px);
	}

	.site-header__logo {
		flex-basis: 100%;
		max-width: 340px;
	}

	.site-header__contact {
		justify-items: start;
		margin-right: auto;
	}

	.site-header__tel {
		font-size: 1.125rem;
	}

	html {
		scroll-padding-top: 16px;
	}
}


/* 5. ヒーロー
   ========================================================================== */

/* --- トップページ：スライドショー --- */
.mainimg {
	position: relative;
	overflow: hidden;
	background: var(--ink);
}

.mainimg__slides {
	position: relative;
	width: 100%;
	aspect-ratio: 2048 / 853;
}

.mainimg__slides img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 1枚目は常に表示、2〜4枚目が順に重なって現れる */
.slide1,
.slide2,
.slide3 {
	animation-duration: 15s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
	animation-delay: 2s;
}

.slide1 { animation-name: slide1; }
.slide2 { animation-name: slide2; }
.slide3 { animation-name: slide3; }

/* タイトルを読みやすくするための薄い影 */
.mainimg::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 18, 51, 0.1) 0%, rgba(11, 18, 51, 0.5) 100%);
	content: "";
	pointer-events: none;
}

.maintitle {
	position: absolute;
	top: 40%;
	left: 50%;
	z-index: 2;
	width: 80%;
	max-width: 1200px;
	transform: translate(-50%, -50%);
	opacity: 0;
	animation: fadeInTitle 2s ease-in-out forwards;
	color: var(--white);
	text-align: center;
	text-shadow: 0 2px 18px rgba(11, 18, 51, 0.65);
	pointer-events: none;
}

.maintitle h1 {
	color: inherit;
	font-size: clamp(1.5rem, 4.2vw, 3.5rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
}

.maintitle p {
	margin-top: 0.6em;
	font-family: var(--font-serif);
	font-size: clamp(0.875rem, 1.9vw, 1.5rem);
	letter-spacing: 0.22em;
}

html[lang="en"] .maintitle h1 { letter-spacing: 0.02em; }
html[lang="en"] .maintitle p { letter-spacing: 0.06em; }

@media screen and (max-width: 768px) {
	.mainimg__slides {
		aspect-ratio: 4 / 3;
	}

	.maintitle {
		top: 46%;
		width: 90%;
	}

	.maintitle h1 {
		font-size: 5.6vw;
		letter-spacing: 0.08em;
	}

	.maintitle p {
		letter-spacing: 0.1em;
	}
}

/* --- 下層ページ：横に流れる背景 --- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 400px;
	overflow: hidden;
	background-color: var(--ink);
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: 0 center;
	animation: moveImage var(--hero-speed, 200s) linear infinite;
	color: var(--white);
}

.hero::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, rgba(11, 18, 51, 0.05) 20%, rgba(11, 18, 51, 0.78) 100%);
	content: "";
}

.hero__content {
	position: relative;
	padding-bottom: 56px;
}

.hero__content::before {
	display: block;
	width: 56px;
	height: 3px;
	margin-bottom: 22px;
	background: var(--vermilion);
	content: "";
}

.hero h1 {
	color: inherit;
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.hero p {
	margin-top: 14px;
	font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
	letter-spacing: 0.16em;
}

html[lang="en"] .hero p { letter-spacing: 0.04em; }

@media screen and (max-width: 768px) {
	.hero { height: 320px; }
	.hero__content { padding-bottom: 36px; }
	.hero p { font-size: 0.875rem; letter-spacing: 0.08em; }
}


/* 6. 共通パーツ
   ========================================================================== */

/* セクション見出し */
.heading {
	margin-bottom: clamp(28px, 4vw, 48px);
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	letter-spacing: 0.1em;
}

.heading::after {
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 18px;
	background: var(--vermilion);
	content: "";
}

.heading small {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: var(--muted);
}

html[lang="en"] .heading { letter-spacing: 0.01em; }

.lead {
	max-width: 46em;
	color: var(--text);
}

/* 枠線ボタン */
.btn {
	display: inline-block;
	padding: 10px 28px;
	border: 1px solid currentColor;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
}

.btn:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--gold);
}

/* フッター */
.site-footer {
	background: var(--red);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.875rem;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--gold);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr auto;
	gap: 32px 56px;
	padding-block: 56px 44px;
}

.site-footer__name {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--white);
}

.site-footer address {
	font-style: normal;
}

.site-footer dt {
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	color: var(--gold);
}

.site-footer dd + dt {
	margin-top: 14px;
}

.site-footer__nav li + li {
	margin-top: 4px;
}

.site-footer__copy {
	padding: 18px var(--gutter);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-align: center;
}

@media screen and (max-width: 800px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		padding-block: 44px 32px;
	}
}

/* ページトップへ戻るボタン（350px以上スクロールすると main.js が表示） */
.pagetop {
	display: none;
}

body.is-fixed-pagetop .pagetop {
	display: block;
	position: fixed;
	z-index: 9;
	bottom: 20px;
	right: 3%;
	width: 50px;
	line-height: 50px;
	border: 1px solid var(--white);
	background: rgba(11, 18, 51, 0.7);
	color: var(--white);
	text-align: center;
	text-decoration: none;
	animation-name: opa1;
	animation-duration: 1s;
	animation-fill-mode: both;
}

body.is-fixed-pagetop .pagetop:hover {
	background: var(--vermilion);
}


/* 7. トップページ
   ========================================================================== */

/* --- 写真パネル（左右交互） --- */
.panels {
	display: grid;
	gap: clamp(40px, 6vw, 72px);
	padding-block: clamp(48px, 7vw, 96px);
	overflow: hidden;
}

.panel {
	position: relative;
}

.panel__photo {
	background-color: var(--ink);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	animation: zoomIn 10s ease-in-out infinite alternate;
}

.panel__body {
	position: relative;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.9);
}

.panel__body::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	background: var(--vermilion);
	content: "";
}

.panel__body h2 {
	margin-bottom: 18px;
	color: var(--white);
	font-size: clamp(1.25rem, 2.3vw, 1.75rem);
	letter-spacing: 0.08em;
}

html[lang="en"] .panel__body h2 { letter-spacing: 0.01em; }

.panel__body p {
	font-size: 1rem;
}

/* PC：写真は片側に200pxの余白、文章ボックスがその境目にまたがる */
@media screen and (min-width: 1025px) {
	.panel {
		display: flex;
		align-items: center;
		height: 500px;
		margin-left: 200px;
	}

	.panel--reverse {
		flex-direction: row-reverse;
		margin-left: 0;
		margin-right: 200px;
	}

	.panel__photo {
		position: absolute;
		inset: 0;
	}

	.panel__body {
		width: min(600px, 52%);
		margin-left: -120px;
		padding: 48px 52px;
	}

	.panel--reverse .panel__body {
		margin-left: 0;
		margin-right: -120px;
	}
}

/* タブレット・スマホ：写真の下に文章ボックスを少し重ねる */
@media screen and (max-width: 1024px) {
	.panel__photo {
		aspect-ratio: 16 / 9;
	}

	.panel__body {
		margin: -48px var(--gutter) 0;
		padding: 32px 28px;
	}
}

/* --- ニュース（インド関連・グループ全体の2本立て） --- */
.news__block + .news__block {
	margin-top: clamp(48px, 7vw, 80px);
}

.news__list {
	border-top: 1px solid var(--line);
}

.news__list li {
	display: flex;
	align-items: baseline;
	gap: 8px 32px;
	padding: 18px 12px;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.3s;
}

.news__list li:hover {
	background: var(--white);
}

.news__list .date {
	flex: 0 0 7.5em;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.news__list a {
	flex: 1;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s;
}

.news__list a:hover {
	color: var(--vermilion);
}

.news__list .news__status {
	color: var(--muted);
}

@media screen and (max-width: 768px) {
	.news__list li {
		flex-direction: column;
		gap: 2px;
	}

	.news__list .date {
		flex: none;
	}
}


/* 8. 会社概要ページ
   ========================================================================== */
.about__title {
	margin-bottom: clamp(28px, 4vw, 48px);
	font-size: clamp(1.25rem, 2.6vw, 1.875rem);
	letter-spacing: 0.08em;
}

html[lang="en"] .about__title { letter-spacing: 0.01em; }

.about__content {
	display: grid;
	grid-template-columns: 5fr 6fr;
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.about__img {
	display: block;
	width: 100%;
}

.about__content p + p {
	margin-top: 1.2em;
}

.about__content--logo {
	grid-template-columns: 3fr 7fr;
}

.about__content--logo .about__img {
	border: 1px solid var(--line);
}

/* 会社概要の表 */
.company-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid var(--ink);
}

.company-table th,
.company-table td {
	padding: 20px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.company-table th {
	width: 13em;
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: 0.3em;
	color: var(--ink);
}

html[lang="en"] .company-table th { letter-spacing: 0.02em; }

.company-table ul li + li {
	margin-top: 6px;
}

.company-table a {
	color: inherit;
}

/* 地図 */
.maps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

/* 地図が1つだけのとき（横いっぱいに表示） */
.maps--single {
	grid-template-columns: 1fr;
}

.maps--single .map iframe {
	aspect-ratio: 16 / 7;
}

.map h3 {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 6px;
	font-size: 1.25rem;
	letter-spacing: 0.08em;
}

.map p {
	margin-bottom: 16px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.map iframe {
	aspect-ratio: 4 / 3;
	height: auto;
	background: var(--white);
}

/* 代表メッセージ */
.executive {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.executive__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
}

.executive__name {
	font-size: 1.375rem;
	letter-spacing: 0.06em;
}

.executive__position {
	margin: 6px 0 20px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.executive__career {
	font-size: 1rem;
}

.executive__message {
	grid-column: 1 / -1;
	padding-top: clamp(28px, 4vw, 44px);
	border-top: 1px solid var(--line);
}

.executive__message h3 {
	margin-bottom: 20px;
	font-size: 1.25rem;
	letter-spacing: 0.08em;
}

.executive__message p + p {
	margin-top: 1.2em;
}

.executive__message .signature {
	margin-top: 32px;
	font-family: var(--font-serif);
	text-align: right;
}

/* --- スタッフ紹介（写真＋名前＋経歴を1人ずつ横並び） --- */
.staff__member {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.staff__member + .staff__member {
	margin-top: clamp(32px, 5vw, 56px);
	padding-top: clamp(32px, 5vw, 56px);
	border-top: 1px solid var(--line);
}

.staff__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
}

.staff__name {
	margin-bottom: 16px;
	font-size: 1.25rem;
	letter-spacing: 0.06em;
}

html[lang="en"] .staff__name { letter-spacing: 0.02em; }

/* 肩書・資格（必要な場合のみ。名前のすぐ下に置きます） */
.staff__position {
	margin: -8px 0 16px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.staff__career {
	font-size: 1rem;
}

@media screen and (max-width: 768px) {
	.staff__member {
		grid-template-columns: 1fr;
	}

	.staff__photo {
		max-width: 220px;
	}
}

@media screen and (max-width: 768px) {
	.about__content,
	.about__content--logo,
	.maps,
	.executive {
		grid-template-columns: 1fr;
	}

	.executive__photo {
		max-width: 220px;
	}

	.maps--single .map iframe {
		aspect-ratio: 4 / 3;
	}

	.about__content--logo .about__img {
		max-width: 320px;
	}

	.company-table th,
	.company-table td {
		display: block;
		width: 100%;
	}

	.company-table th {
		padding-bottom: 4px;
		border-bottom: 0;
		font-size: 0.875rem;
		color: var(--muted);
	}

	.company-table td {
		padding-top: 0;
	}
}


/* 9. サービスページ
   ========================================================================== */

/* タイトルを横切る光（従来の shine-container と同じ動き） */
.shine-container {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 20px;
	overflow: hidden;
	text-align: center;
}

.shine-container::before,
.band::before {
	position: absolute;
	top: 0;
	left: -150%;
	width: 50%;
	height: 100%;
	transform: skewX(-25deg);
	animation: shine 2.8s linear infinite;
	content: "";
	pointer-events: none;
}

.shine-container::before {
	z-index: 2;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
}

.service-title {
	font-size: clamp(1.75rem, 4.4vw, 3rem);
	letter-spacing: 0.12em;
}

.service-title small {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-sans);
	font-size: clamp(0.8125rem, 1.4vw, 1rem);
	font-weight: 500;
	letter-spacing: 0.3em;
	color: var(--muted);
}

html[lang="en"] .service-title { letter-spacing: 0.02em; }
html[lang="en"] .service-title small { letter-spacing: 0.14em; }

.service-lead {
	max-width: 46em;
	margin: 8px auto 0;
	text-align: center;
}

.service-lead::after {
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 28px;
	background: linear-gradient(90deg, var(--vermilion), var(--gold) 55%, rgba(227, 189, 106, 0));
	content: "";
}

/* カードの並び */
.services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
	margin-block: 40px;
}

.service-item {
	padding: 28px 26px;
	background: var(--white);
	box-shadow: 0 3px 12px rgba(11, 18, 51, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
	transform: translateY(-20px);
	box-shadow: 0 5px 20px rgba(11, 18, 51, 0.12);
}

.service-item h3 {
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	letter-spacing: 0.04em;
}

.service-item p {
	font-size: 1rem;
	color: #3a4054;
}

.service-item ul {
	margin-top: 8px;
	font-size: 1rem;
	color: #3a4054;
}

.service-item ul li {
	padding-left: 1em;
	text-indent: -1em;
}

/* 分野の一覧（アイコン付き・クリックで各分野へ） */
.service-item--category {
	border-top: 3px solid var(--vermilion);
}

.service-item__link {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.4;
	text-decoration: none;
}

.service-item__link:last-child {
	margin-bottom: 0;
}

.service-item__link svg {
	flex: none;
	width: 40px;
	height: 40px;
	color: var(--vermilion);
}

/* 分野ごとの帯見出し（光が横切る） */
.band {
	position: relative;
	overflow: hidden;
	padding: 20px 28px 20px 40px;
	background: linear-gradient(to right, var(--ink), var(--navy));
	color: var(--white);
}

.band::before {
	z-index: 1;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
}

.band::after {
	position: absolute;
	left: 0;
	top: 0;
	width: 8px;
	height: 100%;
	background: var(--vermilion);
	content: "";
}

.band h2 {
	position: relative;
	z-index: 2;
	color: inherit;
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	letter-spacing: 0.1em;
}

html[lang="en"] .band h2 { letter-spacing: 0.01em; }

.service-group + .service-group {
	margin-top: clamp(40px, 6vw, 72px);
}

/* 「解決できる課題」Q&A（質問を押すと答えが開く） */
.faq {
	margin-block: 24px 8px;
	background: var(--white);
	box-shadow: 0 3px 12px rgba(11, 18, 51, 0.07);
}

.faq-item + .faq-item {
	border-top: 1px solid var(--line);
}

.faq-heading {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	word-break: normal;
	text-wrap: wrap;
}

.faq-question {
	position: relative;
	display: block;
	width: 100%;
	padding: 18px 56px 18px 24px;
	border: 0;
	background: var(--white);
	color: var(--ink);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.7;
	text-align: left;
	cursor: pointer;
	transition: background 0.3s;
}

.faq-question:hover {
	background: var(--paper);
}

.faq-question::after {
	position: absolute;
	right: 22px;
	top: 50%;
	margin-top: -0.85em;
	color: var(--vermilion);
	font-size: 0.75rem;
	content: "▶";
	transition: transform 0.3s;
}

.faq-question.open::after {
	transform: rotate(90deg);
}

.faq-mark {
	margin-right: 0.5em;
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--vermilion);
}

.faq-answer {
	padding: 0 24px;
}

.faq-answer p {
	padding: 4px 0 20px;
	color: #3a4054;
}

/* JSが有効なときだけ答えを閉じておく（JSが動かない環境では最初から開いた状態） */
.js .faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

/* 「サービス一覧」の小見出し（2色の下線） */
.list-label {
	position: relative;
	margin-top: 28px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--line);
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ink);
}

.list-label::after {
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 30%;
	border-bottom: 2px solid var(--vermilion);
	content: "";
}


/* 10. グローバルページ
   ========================================================================== */
.network__header {
	margin-bottom: clamp(28px, 4vw, 48px);
}

/* 世界地図とピン（ピンの位置は地図の枠に対する％指定） */
.network-map-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 6;      /* ピンの位置がずれるため、この比率は変更しないでください */
	background: var(--white);
}

.network-map-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;         /* 地図は横幅いっぱい・上下中央（ピンの％位置はこの表示が基準） */
}

.map-pins {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.map-pin {
	position: absolute;
	z-index: 2;
	transform: translate(-50%, -100%);
	pointer-events: auto;
}

/* 地図が画面に入るまでピンは上空で待機し、順番に落ちてくる */
.js .map-pin {
	transform: translate(-50%, -100%) translateY(-220px);
	opacity: 0;
	transition: transform 1.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.js .map-pins.revealed .map-pin {
	transform: translate(-50%, -100%) translateY(0);
	opacity: 1;
}

.map-pin-icon {
	display: block;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.map-pin-label {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	z-index: 5;
	padding: 4px 9px;
	transform: translateX(-50%) translateY(4px);
	opacity: 0;
	visibility: hidden;
	background: var(--ink);
	border: 1px solid rgba(227, 189, 106, 0.4);
	color: var(--white);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.5;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}

.map-pin:hover .map-pin-label,
.map-pin:focus-visible .map-pin-label {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.map-pin:hover .map-pin-icon {
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)) brightness(1.15);
}

/* --- 地図の下の国別ボタン（押した国のピンが跳ねて、国名が出たままになります） --- */
.map-filter {
	margin-top: clamp(20px, 3vw, 32px);
}

.map-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.map-tab {
	padding: 8px 20px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--muted);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.map-tab:hover {
	border-color: var(--red);
	color: var(--red);
	transform: translateY(-1px);
}

.map-tab.active {
	border-color: transparent;
	background: var(--red);
	color: var(--white);
	box-shadow: 0 6px 18px rgba(139, 0, 0, 0.3);
}

/* 選択中でない国のピンは控えめにする */
.js .map-pins.revealed.is-filtered .map-pin:not(.is-active) {
	opacity: 0.25;
}

/* ピンが落ち終わった後は、落下の順番待ち（transition-delay）を止めてすぐ反応させる */
.map-pins.is-settled .map-pin {
	transition-delay: 0s !important;
}

/* 選択中のピンは跳ね続ける */
.map-pin.is-active {
	z-index: 6;
}

.map-pin.is-active .map-pin-icon {
	transform-origin: 50% 100%;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)) brightness(1.2);
	animation: pinBounce 1.4s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}

/* 選択中のピンは国名ラベルを出したままにする */
.map-pin.is-active .map-pin-label {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	background: var(--red);
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* 近くに別のピンがあって国名が重なる場合は、ラベルをピンの右横に出す
   （HTML側でピンに map-pin--label-side を追加。現在はホーチミン） */
.map-pin--label-side .map-pin-label {
	bottom: 2px;
	left: calc(100% + 6px);
	transform: translateX(-4px);
}

.map-pin--label-side:hover .map-pin-label,
.map-pin--label-side:focus-visible .map-pin-label,
.map-pin--label-side.is-active .map-pin-label {
	transform: translateX(0);
}

/* 選択中のピンの足元に広がる波紋 */
.map-pin.is-active::after {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 26px;
	height: 10px;
	margin-left: -13px;
	border: 2px solid var(--red);
	border-radius: 50%;
	animation: pinRipple 1.4s ease-out infinite;
	content: "";
	pointer-events: none;
}

@keyframes pinBounce {
	0%   { transform: translateY(0); }
	28%  { transform: translateY(-16px); }
	48%  { transform: translateY(0); }
	62%  { transform: translateY(-7px); }
	78%  { transform: translateY(0); }
	100% { transform: translateY(0); }
}

@keyframes pinRipple {
	0%   { transform: scale(0.4); opacity: 0.9; }
	70%  { transform: scale(1.8); opacity: 0; }
	100% { transform: scale(1.8); opacity: 0; }
}

@media screen and (max-width: 640px) {
	.map-pin-icon {
		width: 12px;
		height: 30px;
	}

	.map-pin-label {
		padding: 3px 6px;
		font-size: 9px;
	}

	.map-tab {
		padding: 6px 14px;
		font-size: 0.8125rem;
	}
}

/* --- 実績セクション（地図の下・濃色の帯） --- */
.sect {
	position: relative;
	padding-block: clamp(56px, 8vw, 96px);
}

.sect-dark {
	background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
	color: var(--white);
}

.contain {
	max-width: 1400px;
	margin: 0 auto;
	padding: 50px 40px;
}

.sect-header {
	margin-bottom: clamp(36px, 6vw, 64px);
	text-align: center;
}

.sect-label {
	margin-bottom: 14px;
	color: var(--gold);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.sect-title {
	color: var(--white);       /* 濃色の帯の上なので、h2 共通の赤ではなく白 */
	font-size: clamp(1.5rem, 3.2vw, 2.25rem);
	letter-spacing: 0.1em;
}

html[lang="en"] .sect-title { letter-spacing: 0.01em; }

.sect-description {
	max-width: 700px;
	margin: 20px auto 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.125rem;
	line-height: 1.8;
}

.service-desc {
	margin-bottom: 30px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.0625rem;
}

/* 数字の並び（PC：4列 ／ 800px以下：2列） */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}

.stat-item {
	position: relative;
	padding: 8px 16px;
}

.stat-item + .stat-item {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-number {
	margin-bottom: 10px;
	color: var(--gold);
	font-family: var(--font-sans);
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 900;                     /* 一番太いウェイト（HTML側のフォント読み込みに 900 が必要） */
	font-variant-numeric: tabular-nums;   /* カウント中に数字の幅が揺れないように */
	line-height: 1.1;
	white-space: nowrap;
}

/* 「拠点」など、数字の後ろに付く文字 */
.stat-number small {
	margin-left: 0.15em;
	font-size: 0.45em;
	font-weight: 900;
}

.stat-label {
	color: rgba(255, 255, 255, 0.7);
	font-size: 1rem;
	letter-spacing: 0.14em;
}

html[lang="en"] .stat-label { letter-spacing: 0.06em; }

@media screen and (max-width: 800px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 40px;
	}

	.stat-item:nth-child(odd) {
		border-left: 0;
	}

	.stat-label {
		font-size: 0.875rem;
		letter-spacing: 0.08em;
	}
}

/* スクロールで下からふわっと表示（main.js が画面に入った要素へ visible を付けます） */
.js .fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}


/* 拠点カード */
.offices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.office {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--red);
	color: var(--white);
}

.office__body {
	flex: 1 0 auto;
}

.office__photo {
	display: block;
}

.office__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 425 / 197;
	object-fit: cover;
}

.office__place {
	padding: 22px 24px 0;
	color: var(--white);
	font-size: 1.25rem;
	letter-spacing: 0.08em;
}

.office__place small {
	display: block;
	margin-top: 2px;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--gold);
}

.office__name {
	padding: 12px 24px 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.6;
}

.office__name-ja {
	padding: 2px 24px 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
}

.office .btn {
	margin: 20px 24px 24px;
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--white);
}

.office .btn:hover {
	background: var(--white);
	border-color: var(--white);
	color: #a67c00;
}

.offices__note {
	margin-top: clamp(32px, 5vw, 56px);
}

@media screen and (max-width: 900px) {
	.offices { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 560px) {
	.offices { grid-template-columns: 1fr; }
}


/* 11. お問い合わせ・採用ページ
   ========================================================================== */
.form-intro {
	margin-bottom: 32px;
}

.form-intro li {
	padding-left: 1em;
	text-indent: -1em;
}

.form-intro .note {
	margin-top: 20px;
	padding: 14px 18px;
	border-left: 3px solid var(--vermilion);
	background: var(--white);
	font-size: 0.9375rem;
}

.form-frame {
	background: var(--white);
	border: 1px solid var(--line);
}

.form-frame iframe {
	height: clamp(600px, 85vh, 900px);
}


/* お問い合わせフォーム（contact.html ／ contact-en.html）
	 送信の処理は js/main.js の「9.」、送信先は <form> の data-endpoint です。 */
.contact-form {
	padding: clamp(24px, 4vw, 48px);
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--vermilion);
}

.contact-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
}

.contact-form__field,
.contact-form__group {
	min-width: 0;
	margin: 0 0 26px;
	padding: 0;
	border: 0;
}

.contact-form__label {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

html[lang="en"] .contact-form__label { letter-spacing: 0.01em; }

/* 「必須」の印 */
.contact-form__req {
	display: inline-block;
	margin-left: 8px;
	padding: 0 8px;
	background: var(--vermilion);
	color: var(--white);
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.08em;
	vertical-align: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background-color: var(--white);
	color: var(--text);
	font: inherit;
	line-height: 1.6;
	transition: border-color 0.2s, background-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.contact-form select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1233' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.contact-form textarea {
	min-height: 200px;
	resize: vertical;
}

.contact-form ::placeholder {
	color: #a3a8b8;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
	border-color: #b4b9c9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--navy);
}

/* 入力に不備がある項目 */
.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
	border-color: var(--vermilion);
	background-color: #fdf5f3;
}

/* ご用件（複数選択できます） */
.contact-form__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.contact-form__choice {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px 7px 12px;
	border: 1px solid var(--line);
	font-size: 0.9375rem;
	line-height: 1.6;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.contact-form__choice:hover {
	border-color: #b4b9c9;
}

.contact-form__choice input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--vermilion);
	cursor: pointer;
}

.contact-form__choice:has(input:checked) {
	border-color: var(--ink);
	background: var(--paper);
}

/* 送信結果・入力エラーの表示 */
.contact-form__status {
	margin: 0 0 26px;
	padding: 14px 18px;
	border-left: 3px solid var(--navy);
	background: var(--paper);
	font-size: 0.9375rem;
}

.contact-form__status[hidden] {
	display: none;
}

.contact-form__status.is-error {
	border-left-color: var(--vermilion);
	background: #fdf5f3;
	color: var(--vermilion-dark);
}

.contact-form__status.is-success {
	border-left-color: #1f7a4d;
	background: #f1f8f4;
	color: #17603c;
}

.contact-form__actions {
	margin-top: 8px;
	text-align: center;
}

.contact-form__submit {
	display: inline-block;
	min-width: 260px;
	padding: 16px 40px;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--white);
	font: inherit;
	font-weight: 500;
	letter-spacing: 0.24em;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

html[lang="en"] .contact-form__submit { letter-spacing: 0.1em; }

.contact-form__submit:hover {
	background: var(--vermilion);
	border-color: var(--vermilion);
}

.contact-form__submit:disabled {
	background: var(--ink);
	border-color: var(--ink);
	opacity: 0.6;
	cursor: progress;
}

@media screen and (max-width: 640px) {
	.contact-form__row {
		grid-template-columns: 1fr;
	}

	.contact-form__submit {
		width: 100%;
		min-width: 0;
	}
}


/* 12. 表示の動き
   どれもHTML側にクラスを付けた要素だけが動きます（付けていないページには影響しません）。

     hero--intro ………… <section class="hero hero--intro">  ページを開いたときにタイトルが下から現れる
     fade-in ……………… 画面に入ったら下からふわっと表示（「10.」で定義。main.js が visible を付けます）
       ＋ fade-in--left ……… 左から
       ＋ fade-in--right …… 右から
       ＋ fade-in--zoom ……… 少し小さい状態から
       ＋ fade-in--stagger … 中の要素を1つずつ順番に（地図など）
       ＋ fade-in--rows ……… 表の行を1行ずつ順番に
       ＋ fade-in--wipe ……… 写真を左から右へめくるように表示
     遅らせたいときは style="--delay: 0.2s" を付けます。
   ========================================================================== */

/* --- 下層ページのヒーロー：赤い線が伸び、タイトルと副題が順に現れる --- */
@keyframes heroBar {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

@keyframes heroText {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hero--intro .hero__content::before {
	transform-origin: left center;
	animation: heroBar 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero--intro h1 {
	animation: heroText 1.1s 0.5s ease both;
}

.hero--intro p {
	animation: heroText 1.1s 0.85s ease both;
}

/* --- スクロール表示：遅らせる時間と、現れる向き --- */
.js .fade-in {
	transition-delay: var(--delay, 0s);
}

.js .fade-in--left  { transform: translateX(-32px); }
.js .fade-in--right { transform: translateX(32px); }
.js .fade-in--zoom  { transform: scale(0.92); }

/* スマホでは横にはみ出さないよう、左右の動きを下からの動きに置き換える */
@media screen and (max-width: 800px) {
	.js .fade-in--left,
	.js .fade-in--right {
		transform: translateY(30px);
	}
}

/* --- 見出しの下の赤い線が左から伸びる --- */
.js .heading.fade-in::after {
	width: 0;
	transition: width 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .heading.fade-in.visible::after {
	width: 48px;
}

/* --- 枠は動かさず、中身だけを動かす種類 --- */
.js .fade-in--stagger,
.js .fade-in--rows,
.js .fade-in--wipe {
	opacity: 1;
	transform: none;
}

/* 中の要素を1つずつ順番に */
.js .fade-in--stagger > * {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .fade-in--stagger.visible > * {
	opacity: 1;
	transform: translateY(0);
}

.js .fade-in--stagger.visible > :nth-child(2) { transition-delay: 0.18s; }
.js .fade-in--stagger.visible > :nth-child(3) { transition-delay: 0.36s; }
.js .fade-in--stagger.visible > :nth-child(4) { transition-delay: 0.54s; }

/* 表の行を1行ずつ順番に */
.js .fade-in--rows tr {
	opacity: 0;
	transform: translateX(-18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in--rows.visible tr {
	opacity: 1;
	transform: translateX(0);
}

.js .fade-in--rows.visible tr:nth-child(2) { transition-delay: 0.08s; }
.js .fade-in--rows.visible tr:nth-child(3) { transition-delay: 0.16s; }
.js .fade-in--rows.visible tr:nth-child(4) { transition-delay: 0.24s; }
.js .fade-in--rows.visible tr:nth-child(5) { transition-delay: 0.32s; }
.js .fade-in--rows.visible tr:nth-child(6) { transition-delay: 0.40s; }
.js .fade-in--rows.visible tr:nth-child(7) { transition-delay: 0.48s; }
.js .fade-in--rows.visible tr:nth-child(n+8) { transition-delay: 0.56s; }

/* 写真を左から右へめくるように表示し、少し引きながら落ち着く */
.js .fade-in--wipe {
	overflow: hidden;
}

.js .fade-in--wipe img {
	clip-path: inset(0 100% 0 0);
	transform: scale(1.12);
	transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.2, 1), transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .fade-in--wipe.visible img {
	clip-path: inset(0 0 0 0);
	transform: scale(1);
}

/* 表示後、マウスを乗せると写真がゆっくり少し大きくなる */
.js .fade-in--wipe.visible:hover img {
	transform: scale(1.04);
}


/* 13. 動きを減らす設定への配慮
   OS側で「視差効果を減らす」を有効にしている閲覧者には、繰り返しの動きを止めます。
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.hero,
	.panel__photo,
	.slide1,
	.slide2,
	.slide3,
	.shine-container::before,
	.band::before {
		animation: none;
	}

	.slide1,
	.slide2,
	.slide3 {
		opacity: 0;
	}
	.js .fade-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.map-pin.is-active .map-pin-icon,
	.map-pin.is-active::after {
		animation: none;
	}

	.hero--intro .hero__content::before,
	.hero--intro h1,
	.hero--intro p {
		animation: none;
	}

	.js .fade-in--stagger > *,
	.js .fade-in--rows tr,
	.js .fade-in--wipe img {
		opacity: 1;
		transform: none;
		clip-path: none;
		transition: none;
	}

	.js .heading.fade-in::after {
		width: 48px;
		transition: none;
	}
}
