@charset "UTF-8";

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
	--bg-white: #fdfbf7; /* 温かみのある上質な書籍用紙の白 */
	--text-muted: #656170; /* 墨色に合わせたグレー */

	/* $B!zFCDj$7$?%m%4$NGX7J?'!J<g?'!K(B */
	--logo-bg: #231f2d; /* 活版印刷のインクのような深い墨色 */

	/* RGB$BI=8=!JF)L@EY%3%s%H%m!<%kMQ!'(B76, 72, 102$B!K(B */
	--logo-bg-rgb: 35, 31, 45;
	--accent-color: #d34e4e; /* 落款（ハンコ）のような落ち着いた朱赤 */

	/* $B%R!<%m!<%-%c%C%A%3%T!<MQ$N%4!<%k%I(B */
	--hero-gold: #fbdd74;

	--font-serif: "Noto Serif JP", serif;
	--font-sans: "Noto Sans JP", sans-serif;

	--header-height: 90px; /* $B%m%49b$5$r9MN8$7$F>/$79-$a$KD4@0(B */
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-white);
	color: var(
		--logo-bg
	); /* $BA4BN$N%F%-%9%H<g?'$r%m%4GX7J?'$K$7$FH~$7$/E}0l(B */
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.95; /* 行間をゆったり広げて、紙書籍のような温かみある可読性を演出 */
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.7;
}

li {
	list-style: none;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 30px; /* $B2hLLC<$N$f$H$j(B */
}

/* $B6&DL%;%/%7%g%s%?%$%H%k!J%8%c%s%WN($r9b$a!"J8;z4V3V$r$f$C$?$j9-$2$k!K(B */
.section-title {
	font-family: var(--font-serif);
	font-size: 1.75rem;
	letter-spacing: 0.15em;
	margin-bottom: 60px;
	border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.15);
	padding-bottom: 18px;
	font-weight: 700;
}

/* $B2hLLI}$N@)8fMQ%/%i%9(B */
.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

@media (max-width: 768px) {
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
}

/* ==========================================================================
   2. HEADER NAVIGATION
   ========================================================================== */
#global-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px); /* $B9b5i46$N$"$k$9$j%,%i%9%(%U%'%/%H(B */
	z-index: 100;
	border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.06);
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
}

/* $B%m%4$H<RL>$re:No$K2#JB$S$K$9$k@_Dj(B */
.header-logo a {
	display: flex;
	align-items: center;
	gap: 12px; /* $B%m%4$H<RL>%F%-%9%H$N4V$N7d4V(B */
}

/* $B%X%C%@!<%m%42hA|$N%5%$%:@)8f(B */
.header-logo {
	display: flex;
	align-items: center;
	height: 100%;
}

.header-company-name {
	font-family: var(--font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--logo-bg);
	display: block; /* デスクトップ表示時に文字を表示 */
}

.header-logo-img {
	height: 42px; /* シンボルマークロゴの高さ */
	width: auto;
	display: block;
}

.global-nav ul {
	display: flex;
	gap: 35px;
}

.global-nav a {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

@media (max-width: 900px) {
	#global-header {
		position: absolute;
		height: auto;
		padding: 20px 0;
	}
	.header-inner {
		flex-direction: column;
		gap: 15px;
	}
	.header-logo-img {
		height: 35px;
	}
	.global-nav ul {
		gap: 15px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.global-nav a {
		font-size: 0.8rem;
	}
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.section-hero {
	min-height: 100vh;
	display: flex;
	_align-items: center;
	justify-content: center;
	padding: calc(var(--header-height) + 60px) 30px 60px 30px;
	position: relative;
}

.hero-container {
	max-width: 1000px;
	width: 100%;
}

.hero-logo-area {
	margin-bottom: 60px;
}

.brand-logo {
	max-width: 240px; /* $B%a%$%s%3%T!<$N>e$KPJ$`>]D'E*$J%5%$%:(B */
	height: auto;
}

.main-copy {
	font-family: var(--font-serif);
	font-size: 3rem; /* 前の3.4remから約10%小さくしてメリハリを強化 */
	font-weight: 700;
	line-height: 1.45;
	margin-bottom: 40px;
	letter-spacing: 0.04em;
}
/*  キャッチーの最初の1文字を対象にする設定 */
.first-letter {
	font-size: 1.2em; /* main-copyのサイズに対する比率 */
	color: var(--hero-gold);
	margin-right: -4px;
	font-weight: 700;
}

.second-line {
	display: inline;
	font-size: 0.8em;
	margin-left: 0.5em;
}
.sub-copy {
	font-size: 1.1rem;
	line-height: 1.95;
	color: var(--text-muted);
}
.mantora-letter {
	display: inline;
	font-size: 1.6em;
	margin-left: 0.5em;
	font-weight: 700;
	color: var(--accent-color);
}

/* $B%9%/%m!<%k%$%s%8%1!<%?!<(B */
.scroll-down {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.scroll-text {
	font-size: 0.7rem;
	letter-spacing: 0.25em;
	color: var(--text-muted);
}

.scroll-line {
	width: 1px;
	height: 45px;
	background-color: var(--accent-color);
}

@media (max-width: 768px) {
	/* 1. $B%9%^%[$N;~$O%X%C%@!<<+BN$N9b$5$r!V(B90px$B!W$+$i!V(B70px$B!W$KGv$/$7$F!">eIt$r%3%s%Q%/%H$K(B */
	#global-header {
		height: 70px !important;
	}
	/* 2. $B%-%c%C%A%3%T!<$rJq$`%R!<%m!<%(%j%"A4BN$N9b$5$rD4@0$7!"(B
          $BITMW$J>eIt%Q%G%#%s%0$r:o$C$FJ8>O$r>e$K0z$->e$2$k(B */
	.section-hero {
		height: auto !important;
		min-height: 0 !important; /* PC$BMQ$N:GDc9b$5@_Dj!J(B600px$BEy!K$b40A4%j%;%C%H(B */
		padding-top: calc(70px + 40px) !important;
		padding-bottom: 60px !important; /* $B2<B&!J(BNEWS$B%;%/%7%g%s$H$N4V!K$N7d4V(B */
		display: block !important; /* $BCf1{=8$a$N(BFlexbox$B$r2r=|$7!">e5M$a$NDL>o$NN.$l$KLa$9(B */
		align-items: center; /* $BJ8>O$r2hLL$N>e2<Cf1{$K%T%?%C$HG[CV(B */
	}
	.section-hero {
		padding-bottom: 0 !important;
	}

	.hero-container {
		padding: 0 25px !important;
		margin: 0 !important;
	}

	.second-line {
		display: block;
		font-size: 1.3rem;
		font-weight: 700;
		margin-top: 4px;
		margin-left: 0;
	}

	.main-copy {
		font-size: 1.75rem; /*  2.1rem  $B$+$i (B 1.75rem  $B$K>/$7%3%s%Q%/%H2= (B */
		line-height: 1.6; /*  $B9T4V$r>/$7$f$C$?$j$5$;$FL@D+BN$N5$IJ$r=P$9 (B */
		letter-spacing: 0.03em; /*  $BJ8;zF1;N$N4V3V$r$o$:$+$K0z$-Dy$a$k (B */
		margin-top: 0 !important;
		margin-bottom: 24px !important;
		word-break: normal; /*  $B%9%^%[;~$O@5>o$K9TN|$7$FB<ctrl42>$1=P$5$J$$ (B */
		overflow-wrap: break-word;
	}
	.sub-copy {
		font-size: 1rem;
	}
	.brand-logo {
		max-width: 180px;
	}
	.scroll-down {
		margin-top: 1rem;
		display: none !important;
	}
}

/* ==========================================================================
   4. BUSINESS SECTION
   ========================================================================== */
.section-business {
	padding: 100px 0;
}

.business-lead {
	font-family: var(--font-serif);
	font-size: 1.75rem;
	line-height: 1.55;
	margin-bottom: 90px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.business-grid {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.business-card {
	position: relative;
	padding-left: 70px;
}

.card-number {
	position: absolute;
	left: 0;
	top: -8px;
	font-family: var(--font-serif);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--accent-color);
	opacity: 0.85;
}

.business-card h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 18px;
	letter-spacing: 0.03em;
}

.card-text {
	color: var(--text-muted);
	text-align: justify;
}

@media (max-width: 768px) {
	.business-lead {
		font-size: 1.35rem;
		margin-bottom: 50px;
	}
	.business-card {
		padding-left: 0;
		padding-top: 40px;
	}
	.card-number {
		top: 0;
	}
}

/* ==========================================================================
   5. PROFILE SECTION
   ========================================================================== */
.section-profile {
	padding: 100px 0;
}

.profile-table {
	display: grid;
	grid-template-columns: 240px 1fr;
	row-gap: 28px;
	column-gap: 20px;
}

.profile-table dt {
	font-weight: 700;
	letter-spacing: 0.05em;
}

.profile-table dd {
	color: var(--text-muted);
}

.profile-bullet-list li {
	list-style: square;
	margin-left: 20px;
	margin-bottom: 6px;
}

@media (max-width: 768px) {
	.profile-table {
		grid-template-columns: 1fr;
		row-gap: 15px;
	}
	.profile-table dt {
		border-left: 3px solid var(--logo-bg);
		padding-left: 10px;
	}
	.profile-table dd {
		padding-left: 13px;
	}
}

/* 個人の代表プロフィール用の独自スタイル */
.personal-profile-wrapper {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.personal-profile-avatar {
	flex-shrink: 0;
	width: 240px;
}

.avatar-img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 10px 35px rgba(var(--logo-bg-rgb), 0.08);
}

.personal-profile-info {
	flex-grow: 1;
}

.personal-title {
	font-family: var(--font-sans);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--logo-bg);
	margin-bottom: 25px;
	letter-spacing: 0.02em;
}

.personal-bio-ja p {
	font-size: 0.98rem;
	line-height: 1.8;
	color: var(--text-color);
	margin-bottom: 18px;
}

.personal-hobbies {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 25px 0;
	font-weight: 700;
	color: var(--logo-bg);
	font-size: 0.95rem;
}

.hobby-separator {
	color: rgba(var(--logo-bg-rgb), 0.2);
	font-weight: 400;
}

.personal-divider {
	border: none;
	border-top: 1px solid rgba(var(--logo-bg-rgb), 0.1);
	margin: 25px 0;
}

.personal-bio-en p {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 14px;
}

@media (max-width: 768px) {
	.personal-profile-wrapper {
		flex-direction: column;
		gap: 35px;
		align-items: center;
	}

	.personal-profile-avatar {
		width: 180px;
	}

	.personal-profile-info {
		width: 100%;
	}

	.personal-title {
		font-size: 1.15rem;
		text-align: center;
		margin-bottom: 20px;
	}

	.personal-hobbies {
		justify-content: center;
		font-size: 0.85rem;
	}

	.hobby-separator {
		display: none;
	}

	.personal-bio-ja p {
		font-size: 0.92rem;
	}
}

/* ==========================================================================
   6. HAKEN SECTION
   ========================================================================== */
.section-haken {
	padding: 100px 0;
}

.haken-lead {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	margin-bottom: 25px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.haken-text {
	color: var(--text-muted);
	margin-bottom: 45px;
}

.haken-info-box {
	padding: 40px;
	background-color: #fcfcfd; /* $B8B$j$J$/Gr$K6a$$%0%l!<(B */
	border-left: 3px solid var(--accent-color);
	box-shadow: 0 4px 30px rgba(var(--logo-bg-rgb), 0.02);
}

.haken-info-box h3 {
	font-size: 1.1rem;
	margin-bottom: 15px;
	font-weight: 700;
}

.haken-info-box p {
	font-size: 0.95rem;
	color: var(--text-muted);
}

.license-number {
	margin-top: 18px;
	font-weight: 700;
	color: var(--logo-bg) !important;
}

/* ==========================================================================
   7. NEWS SECTION
   ========================================================================== */
.section-news {
	padding: 100px 0;
}

#news-list {
	border-top: none;
}

.news-item {
	border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.05);
}

.news-details {
	width: 100%;
}

.news-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 28px 0;
	cursor: pointer;
	list-style: none; /* デフォルトの矢印を非表示に */
	outline: none;
}

.news-summary::-webkit-details-marker {
	display: none; /* Webkitブラウザ用矢印消去 */
}

.news-summary-left {
	display: flex;
	gap: 50px;
	align-items: center;
}

.news-date {
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	min-width: 110px;
}

.news-title {
	color: var(--text-muted);
}

/* アコーディオンの開閉プラス・マイナス記号 */
.news-arrow {
	position: relative;
	width: 16px;
	height: 16px;
	display: inline-block;
	flex-shrink: 0;
	margin-left: 20px;
}

.news-arrow::before,
.news-arrow::after {
	content: "";
	position: absolute;
	background-color: var(--logo-bg);
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

/* 横線 */
.news-arrow::before {
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
}
/* 縦線 */
.news-arrow::after {
	top: 0;
	left: 7px;
	width: 2px;
	height: 16px;
}

/* 展開時に縦線を消しマイナスにする */
.news-details[open] .news-arrow::after {
	transform: rotate(90deg);
	opacity: 0;
}
.news-details[open] .news-arrow::before {
	transform: rotate(180deg);
}

/* アコーディオン展開部分のスタイル */
.news-content {
	padding: 0 0 28px 0;
	font-size: 0.92rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.news-content p {
	margin-bottom: 12px;
}

.news-content p:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.news-summary {
		padding: 22px 0;
	}
	.news-summary-left {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.news-content {
		padding: 0 0 22px 0;
	}
}

/* ==========================================================================
   8. CONTACT SECTION & FOOTER
   ========================================================================== */
.section-contact {
	padding: 100px 0 140px 0;
}

.contact-lead {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	margin-bottom: 25px;
	font-weight: 700;
}

.contact-text {
	color: var(--text-muted);
	margin-bottom: 45px;
}

.contact-action {
	text-align: center;
}

input.form-toggle-input {
	display: none !important;
	position: absolute !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}

/* $B%\%?%s$N%9%?%$%k!J(Blabel$B%?%0$r%\%?%s2=!K(B */
.btn-contact {
	display: inline-block;
	background-color: var(--logo-bg);
	color: var(--bg-white);
	padding: 22px 60px;
	font-weight: 700;
	letter-spacing: 0.08em;
	box-shadow: 0 10px 30px rgba(var(--logo-bg-rgb), 0.15);
	cursor: pointer; /* $B%^%&%9$r>h$;$?$i;X%^!<%/$K$9$k(B */
	transition:
		transform 0.2s ease,
		background-color 0.3s ease;
	user-select: none;
}

.btn-contact:hover {
	transform: translateY(-2px);
	opacity: 0.95;
}
/* $B%\%?%s$NCf$N%F%-%9%H@)8f!'=i4|>uBV$O!VJD$8$k!W$r>C$7$F$*$/(B */
.btn-text-close {
	display: none;
}

/* --------------------------------------------------------------------------
   $B%U%)!<%`$N=i4|>uBV!J9b$5$r(B0$B$K$7$F40A4$K1#$7!"%"%K%a!<%7%g%s$N=`Hw$r$9$k!K(B
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
	max-height: 0; /* $B9b$5$r%<%m$K(B */
	opacity: 0; /* $BF)L@$K(B */
	overflow: hidden;
	transition:
		max-height 0.5s cubic-bezier(0, 1, 0, 1),
		opacity 0.4s ease,
		margin-top 0.4s ease;
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 4px 30px rgba(var(--logo-bg-rgb), 0.03);
	border-radius: 4px;
	margin-top: 0;
}

.google-form-iframe {
	display: block;
	width: 100%;
	background-color: transparent;
}

/* --------------------------------------------------------------------------
    $B%/%j%C%/!J%A%'%C%/(BON$B!K$5$l$?=V4V$NO"F0%(%U%'%/%H!J(BCSS$B%^%8%C%/!K(B
-------------------------------------------------------------------------- */

/* 1. $B%A%'%C%/$,F~$C$?$i!"%U%)!<%`$r3j$i$+$K=P8=$5$;$k(B */
.form-toggle-input:checked ~ .contact-form-wrapper {
	max-height: 1200px; /* $B%U%)!<%`$,<}$^$k==J,$J9b$5$r2rJ|!J%"%K%a!<%7%g%s$7$^$9!K(B */
	opacity: 1; /* $B%/%C%-%jI=<((B */
	margin-top: 50px; /* $B%\%?%s$H$N4V$Ke:No$JM>Gr$r6u$1$k(B */
}

/* 2. $B%A%'%C%/$,F~$C$?$i!"%\%?%s$NJ8;z$r!V%U%)!<%`$rJD$8$k!W$K@Z$jBX$($k(B */
.form-toggle-input:checked ~ .contact-action .btn-text-open {
	display: none;
}
.form-toggle-input:checked ~ .contact-action .btn-text-close {
	display: inline;
}

/* 3. $B%A%'%C%/$,F~$C$?$i!"%\%?%s$N?'$r>/$7M%$7$/$7$F!V3+$$$F$$$k>uBV!W$rI=8=(B */
.form-toggle-input:checked ~ .contact-action .btn-contact {
	background-color: var(--text-muted);
	box-shadow: none;
}

/* $B%9%^%[1\Mw;~$N9b$5HyD4@0(B */
@media (max-width: 768px) {
	.form-toggle-input:checked ~ .contact-form-wrapper {
		max-height: 1400px; /* $B%9%^%[$O=DD9$K$J$k$?$a:GBg9b$5$r>/$7B?$a$K3NJ](B */
		margin-top: 30px;
	}
	.google-form-iframe {
		height: 1200px;
	}
}
#global-footer {
	background-color: #fcfcfd;
	padding: 60px 20px; /* $B%j%s%/$,A}$($F$b5g6~$K$J$i$J$$$h$&>e2<M>Gr$r>/$73HD%(B */
	border-top: 1px solid rgba(var(--logo-bg-rgb), 0.05);
	font-size: 0.85rem;
}

.footer-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start; /* $B%j%s%/$,J#?t9T$K$J$C$F$bJx$l$J$$$h$&>eB7$($K(B */
}

/* $B4XO"%j%s%/$N%V%m%C%/(B */
.footer-links-group {
	max-width: 50%;
}

/* $B!V(BRELATED SITES$B!W$H$$$&6K>.$NGv$$%i%Y%k(B */
.links-title {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	font-weight: 700;
	margin-bottom: 12px;
	opacity: 0.8;
}

/* $B%j%s%/$NJB$S!'(BFlexbox$B$G2#JB$S!"0n$l$?$i<+F0$G<!$N9T$X(B */
.footer-links-list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 25px; /* $B%j%s%/F1;N$N2#$N4V3V(B */
	row-gap: 10px; /* 2$B9TL\$K$J$C$?;~$N=D$N4V3V(B */
}

.footer-links-list a {
	color: var(--logo-bg);
	font-weight: 700;
	transition: color 0.3s ease;
}

/* $B%[%P!<;~$K%V%i%s%I%+%i!<$,>/$76/D4$5$l$k1i=P(B */
.footer-links-list a:hover {
	color: var(--text-muted);
	opacity: 1;
}

/*  $B1&B&!'%W%i%$%P%7!<!u%3%T!<%i%$%H$N%V%m%C%/ (B */
.footer-meta-group {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	justify-content: flex-end;
}

.footer-nav a {
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--logo-bg);
	transition: color 0.3s ease;
}

.footer-nav a:hover {
	color: var(--text-muted);
}

.copyright {
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

/* ==========================================================================
   $B%9%^%[1\Mw;~$N%l%9%]%s%7%V!JCf1{B7$($N=DJB$S$K%9%$%C%A!K(B
   ========================================================================== */
@media (max-width: 768px) {
	.footer-inner {
		flex-direction: column;
		align-items: center;
		gap: 40px; /* $B%V%m%C%/4V$NDx$h$$6u4V(B */
		text-align: center;
	}

	.footer-links-group {
		max-width: 100%;
	}

	.footer-links-list {
		justify-content: center; /* $B%9%^%[;~$O%j%s%/$rCf1{4s$;$K(B */
		column-gap: 20px;
	}

	.footer-meta-group {
		text-align: center;
	}
	.footer-nav {
		justify-content: center;
	}
}

/* ==========================================================================
   9. PRIVACY MODAL (PURE CSS)
   ========================================================================== */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(
		var(--logo-bg-rgb),
		0.4
	); /* $BGX7J%*!<%P!<%l%$$b%m%4?'$HF14|(B */
	display: none;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.modal:target {
	display: flex;
}

.modal-content {
	background-color: var(--bg-white);
	padding: 45px;
	max-width: 650px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.modal-close {
	position: absolute;
	top: 25px;
	right: 25px;
	font-size: 1.4rem;
	font-weight: 700;
}

.modal-content h3 {
	font-family: var(--font-serif);
	font-size: 1.4rem;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--logo-bg);
	letter-spacing: 0.05em;
}

.privacy-body h4 {
	font-size: 1.05rem;
	margin: 25px 0 10px 0;
	font-weight: 700;
}

.privacy-body p,
.privacy-body li {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.privacy-body ul {
	padding-left: 20px;
	margin-bottom: 15px;
}

.privacy-body li {
	list-style: disc;
}
/* ==========================================================================
   11. SMARTPHONE FOOTER NAVIGATION ($B%9%^%[8BDj2<It8GDj%J%S(B)
   ========================================================================== */
/* $B%G%U%)%k%H!J(BPC$BBg2hLL!K$G$OB8:_<+BN$r40A4$K>C$7$F$*$/(B */
#mobile-footer-nav {
	display: none;
}

/*  $B%9%^!<%H%U%)%s4D6-!J2hLLI}(B768px$B0J2<!K$G$NI=<(@)8f(B */
@media (max-width: 768px) {
	#mobile-footer-nav {
		display: block; /* $B%9%^%[$N$_=P8=(B */
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 65px; /* $B?F;X$,<+A3$KFO$/!"2!$7$d$9$$9b$5(B */
		background-color: rgba(
			255,
			255,
			255,
			0.94
		); /* $B%X%C%@!<$H$*B7$$$N$9$j%,%i%9(B */
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		z-index: 9999; /* $B$I$s$J%3%s%F%s%D$h$j$b:GA0LL$K8GDj(B */
		border-top: 1px solid rgba(var(--logo-bg-rgb), 0.08);
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03); /* $B2<$+$iIb$->e$,$C$F8+$($k$h$&$JHy:Y$J1F(B */
		padding-bottom: env(
			safe-area-inset-bottom
		); /* iPhone$B$N%[!<%`%P!<!J2<It$N@~!K$H$NHo$j$r<+F02sHr(B */
	}

	#mobile-footer-nav ul {
		display: flex;
		width: 100%;
		height: 100%;
		align-items: center;
		justify-content: space-around;
	}

	#mobile-footer-nav li {
		flex: 1;
		height: 100%;
	}

	#mobile-footer-nav a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		text-align: center;
		color: var(--logo-bg);
		transition: background-color 0.2s ease;
	}

	/* $B%?%C%W$7$?=V4V$K0l=V!"%H!<%s$,M%$7$/$J$k1i=P(B */
	#mobile-footer-nav a:active {
		background-color: rgba(var(--logo-bg-rgb), 0.03);
	}

	/* $B>eCJ$N1Q8l!J%"%$%3%sBe$o$j$NCNE*$J5-9fI=8=!K(B */
	.nav-icon {
		font-family: var(--font-serif);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.05em;
		line-height: 1.2;
		color: var(--accent-color); /* $B%3!<%i%k!&%l%C%I$r%"%/%;%s%H$K(B */
	}

	/* $B2<CJ$NF|K\8l!J3N<B$J%J%S%2!<%H!K(B */
	.nav-label {
		font-family: var(--font-sans);
		font-size: 0.62rem; /* 4$BJ8;z$G$b@dBP$KDY$l$J$$@dL/$J6K>.%5%$%:(B */
		font-weight: 400;
		color: var(--text-muted);
		margin-top: 3px;
	}

	/* $B%9%^%[1\Mw;~!"0lHV2<$N%3%s%F%s%D$d%U%C%?!<$,$3$N%J%SN"$K1#$l$F$7$^$&$N$rKI$0$?$a!"(B
       $B%a%$%s%V%m%C%/$H%U%C%?!<$N:G2<It$K$=$l$>$l==J,$J%/%C%7%g%s!JM>Gr!K$r;}$?$;$k(B */
	main {
		padding-bottom: 70px;
	}
	#global-footer {
		padding-bottom: 100px !important;
	}
	/* $B%9%^%[$N;~$O%X%C%@!<Fb$N%J%S%2!<%7%g%s$r40A4$KHsI=<($K$9$k(B */
	.global-nav {
		display: none !important;
	}
}
/* ==========================================================================
   $B6&DL%;%/%7%g%s%?%$%H%k!J2#JB$S%O%$%V%j%C%IHG!K(B
   ========================================================================== */
.section-title {
	font-family: var(--font-serif);
	margin-bottom: 60px;
	border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.15);
	padding-bottom: 18px;

	/* $B2#JB$S$K$7$F!"J8;z$N2<B7$(!J%Y!<%9%i%$%s!K$r40`z$K0lCW$5$;$k(B */
	display: flex;
	align-items: baseline;
}

/* $B<gLr$N1Q8l!'BgJ8;z$G:Y$/!"$f$C$?$j$H9-$2$k(B */
.en-title {
	font-size: 1.75rem;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: var(--accent-color);
}

/* $BOFLr$NF|K\8l!'1Q8l$N8e$K>/$7M>Gr$r6u$1$F!"$"$($F$+$J$j>.$5$/Gv$/(B */
.ja-title {
	font-family: var(--font-sans);
	font-size: 0.82rem; /* $B;k3PE*%N%$%:$K$J$i$J$$@dL/$J>.$5$5(B */
	color: var(--text-muted); /* $B<g?'$h$j0lJb0z$$$?%0%l!<%Q!<%W%k(B */
	font-weight: 400;
	margin-left: 20px; /* $B1Q8l$H$N?4CO$h$$5wN%46!J4V!K$r$"$1$k(B */
	letter-spacing: 0.05em;
}
/* $B%9%^%[1\Mw;~!'2hLLI}$,69$/$J$C$F$bH~$7$5$rJ]$DD4@0(B */
@media (max-width: 500px) {
	.section-title {
		flex-direction: column; /* $BHs>o$K69$$2hLL!J8E$$%9%^%[Ey!K$N;~$@$1!"J8;zHo$j$rKI$0$?$a0BA4$K=DJB$S$X%9%$%C%A(B */
		align-items: flex-start;
		gap: 4px;
	}
	.ja-title {
		margin-left: 0; /* $B=DJB$S;~$O:8M>Gr$r%<%m$K(B */
		font-size: 0.78rem;
	}
}
/* ==========================================================================
   6. HAKEN SECTION (STAFFING)
   ========================================================================== */
.section-haken {
	padding: 100px 0;
}

.haken-lead {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	margin-bottom: 25px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.haken-text {
	color: var(--text-muted);
	margin-bottom: 50px;
}

/* $B>pJs8x3+$NOHAH$_(B */
.haken-info-box {
	padding: 45px;
	background-color: #fcfcfd;
	border-left: 3px solid var(--logo-bg);
	box-shadow: 0 4px 30px rgba(var(--logo-bg-rgb), 0.02);
}

/* $B>pJs8x3+$N%X%C%@!<ItJ,(B */
.haken-info-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.1);
	padding-bottom: 15px;
	margin-bottom: 30px;
}

.haken-info-box h3 {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.haken-date {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* dl, dt, dd $B$r;H$C$?H~$7$$JBNs%l%$%"%&%H!J(BFlexbox$B!K(B */
.haken-data-list {
	display: flex;
	flex-wrap: wrap;
	row-gap: 20px;
}

.haken-data-list dt {
	width: 40%; /* $B:8B&!'9`L\L>$NI}(B */
	font-weight: 700;
	font-size: 0.95rem;
	padding-right: 20px;
	display: flex;
	flex-direction: column; /* $B!Z(BA$B![$J$I$NJdB-$r=D$Ke:No$KJB$Y$k$?$a(B */
	justify-content: center;
}

.haken-data-list dd {
	width: 60%; /* $B1&B&!'%G!<%??tCM$NI}(B */
	color: var(--text-muted);
	font-size: 0.95rem;
	border-bottom: 1px dashed rgba(var(--logo-bg-rgb), 0.08); /* $B9`L\4V$N$&$C$9$i$H$7$?6h@Z$j@~(B */
	padding-bottom: 8px;
	display: flex;
	align-items: center;
}

/* $B!Z(BA$B![$d!Z(B(A-B)/A$B![$J$I$N?t<0!&JdB-MQ$N6K>.%U%)%s%H(B */
.formula-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	font-weight: 400;
	margin-top: 2px;
}

/* $B%^!<%8%sN($J$I!"FC$K6/D4$7$?$$?tCM(B */
.highlight-value {
	font-weight: 700;
	color: var(--logo-bg);
}

/* $B%9%^%[1\Mw;~!'2#I}$,69$/$J$C$?$i<+F0$G(B1$B%+%i%`!J=DJB$S!K$K%9%$%C%A(B */
@media (max-width: 768px) {
	.haken-info-box {
		padding: 25px;
	}
	.haken-info-header {
		flex-direction: column;
		gap: 8px;
	}
	.haken-data-list dt,
	.haken-data-list dd {
		width: 100%; /* $B%9%^%[;~$O(B100%$B$K$7$F=D$KJB$Y$k(B */
	}
	.haken-data-list dt {
		padding-right: 0;
		margin-top: 10px;
	}
	.haken-data-list dd {
		padding-bottom: 12px;
		border-bottom: 1px solid rgba(var(--logo-bg-rgb), 0.05); /*  $B%9%^%[;~$O>/$7@~$r$O$C$-$j$H (B */
	}
}
@media (max-width: 768px) {
	#global-header .global-nav {
		display: none !important;
	}
}

/* ==========================================================================
   12. BLOG SECTION (NOTE RSS)
   ========================================================================== */
.section-blog {
	padding: 100px 0;
}

.note-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.note-card {
	display: block;
	background: #fff;
	border: 1px solid rgba(var(--logo-bg-rgb), 0.1);
	border-radius: 4px;
	overflow: hidden;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.note-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.note-card-img {
	width: 100%;
	height: 180px;
	overflow: hidden;
	text-align: center;
}

.note-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* 画像のアスペクト比を維持しつつ、エリアを埋める */
}

.note-card-body {
	padding: 20px;
}

.note-card h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	font-weight: 700;
	line-height: 1.4;
}

.note-snippet {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 10px;
	line-height: 1.6;
}

.note-date {
	font-size: 0.8rem;
	color: var(--text-muted);
	font-weight: 700;
}

@media (max-width: 768px) {
	.section-blog {
		padding: 60px 0;
	}
	.note-grid {
		gap: 20px;
	}
}
/* モーダル表示時の派遣事業・会社概要セクション調整 */
.modal-content .section-haken,
.modal-content .section-company-detail {
	padding: 0;
}

/* モーダル表示時の会社概要プロフィールテーブル調整 */
.modal-content .profile-table {
	grid-template-columns: 120px 1fr;
	row-gap: 16px;
}

/* スマホ表示時の余白（マージン・パディング）の削減（間延び解消） & ロゴテキスト非表示 */
@media (max-width: 768px) {
	.section-business,
	.section-profile,
	.section-haken,
	.section-news,
	.section-contact {
		padding: 60px 0;
	}
	.section-contact {
		padding-bottom: 100px;
	}
	/* スマホ表示時のヘッダー左寄せ ＆ ロゴのサイズ調整 */
	#global-header {
		height: 70px !important;
		position: fixed !important;
		padding: 0 !important;
	}
	.header-inner {
		flex-direction: row !important;
		justify-content: flex-start !important;
		align-items: center !important;
		height: 100% !important;
		padding: 0 20px !important;
	}
	/* 文字ロゴを表示し、サイズを調整 */
	.header-company-name {
		display: block !important;
		font-size: 1rem;
	}
	.header-logo-img {
		height: 30px !important; /* スマホ時のロゴ高さ */
	}

	/* スマホ時のファーストレターサイズ固定 */
	.first-letter {
		font-size: 4.2rem !important; /* スマホでは大きすぎないよう元のサイズを維持 */
	}

	.modal-content .profile-table {
		grid-template-columns: 100%;
		row-gap: 12px;
	}
}
