@charset "utf-8";
/*
 * AlleCiel株式会社 コーポレートサイト
 * 色はロゴの 2 色(空色・青)と、文字用の濃紺だけで組む。
 * 形の決まり: 写真や帯の角を 1 か所だけ大きく丸める(ロゴの鳥の羽の形から)。
 */

/* ------------------------------------------------------------ 基本の値 */
:root {
	--ink: #0c2340;        /* 文字・濃い面 */
	--ink-2: #4a5b6e;      /* 補足の文字 */
	--blue: #0070c0;       /* ロゴの青 */
	--sky: #18b8e8;        /* ロゴの空色 */
	--deep: #06305e;       /* 写真の上に重ねる濃い青 */
	--mist: #eef6fc;       /* 薄い空色の面 */
	--line: #d3e1ec;       /* 罫線 */
	--paper: #fff;

	--font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-en: "Jost", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

	--gutter: clamp(20px, 5vw, 64px);
	--wrap: 1180px;
	--radius: 18px;
	--wing: clamp(56px, 10vw, 150px);
	--header-h: 76px;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

/* 見出しは文節で折り返し、行の長さを揃える。本文は最後の行に 1〜2 文字だけ残さない */
h1, h2, h3 { font-feature-settings: "palt"; line-break: strict; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0 0 1.2em; max-width: 40em; line-break: strict; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 3px;
	border-radius: 4px;
}

.wrap {
	width: min(100% - var(--gutter) * 2, var(--wrap));
	margin-inline: auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.note { font-size: 14px; color: var(--ink-2); }
.plain-list { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------------ ヘッダー */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
/* 背景のぼかしは疑似要素に持たせる。ヘッダー本体に付けると、中の固定配置(スマホのメニュー)がヘッダーの枠内に閉じ込められる */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #3d4853;
	text-decoration: none;
}
.brand-mark { width: auto; height: 46px; }
.brand-name { width: auto; height: 25px; }

.site-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3.2vw, 46px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-family: var(--font-en);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: color 0.2s;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"]:not(.nav-contact)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 2px;
	background: var(--sky);
}
.site-nav .nav-ja { display: none; }
.site-nav .nav-contact {
	padding: 0 26px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	transition: background 0.2s;
}
.site-nav .nav-contact:hover { background: var(--blue); color: #fff; }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before {
	display: block;
	width: 26px;
	height: 2px;
	margin-inline: auto;
	background: var(--ink);
	transition: transform 0.25s;
}
.menu-toggle-bars { transform: translateY(-4px); }
.menu-toggle-bars::before { content: ""; transform: translateY(8px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: rotate(-90deg); }

@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.brand-mark { height: 38px; }
	.brand-name { height: 21px; }
	.menu-toggle { display: block; }

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		padding: 12px var(--gutter) 40px;
		background: #fff;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
	}
	.site-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s, transform 0.2s;
	}
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--line); }
	.site-nav a,
	.site-nav .nav-contact {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		min-height: 0;
		padding: 22px 0;
		border-radius: 0;
		background: none;
		color: var(--ink);
		font-size: 34px;
		font-weight: 300;
		letter-spacing: 0.02em;
		line-height: 1.2;
	}
	.site-nav .nav-contact:hover { background: none; color: var(--blue); }
	.site-nav a[aria-current="page"] { color: var(--blue); }
	.site-nav a[aria-current="page"]:not(.nav-contact)::after { content: none; }
	.site-nav .nav-ja {
		display: inline;
		font-family: var(--font-ja);
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 0.1em;
		color: var(--ink-2);
	}
	body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------ ボタン・リンク */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 32px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { background: var(--blue); border-color: var(--blue); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button-light { background: #fff; border-color: #fff; color: var(--deep); }
.button-light:hover { background: var(--mist); border-color: var(--mist); color: var(--deep); }

.text-link {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 1.5px solid currentColor;
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.6;
	text-decoration: none;
	transition: color 0.2s;
}
.text-link:hover { color: var(--blue); }

/* ------------------------------------------------------------ 飛行の線 */
.flight-line {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.flight-line path {
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
}

/* ------------------------------------------------------------ トップ: ヒーロー */
.hero { padding-top: 6px; }

.hero-frame {
	position: relative;
	isolation: isolate;
	height: clamp(460px, 74vh, 760px);
	margin-inline: clamp(10px, 2vw, 28px);
	border-radius: 22px 22px var(--wing) 22px;
	overflow: hidden;
	background: var(--blue);
}
.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 74% 50%;
}
.hero-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(100deg, rgba(4, 52, 110, 0.6) 0%, rgba(4, 52, 110, 0.26) 44%, rgba(4, 52, 110, 0) 70%),
		linear-gradient(0deg, rgba(4, 40, 90, 0.34), rgba(4, 40, 90, 0) 46%);
}
.hero-line { z-index: 2; }
.hero-line path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	opacity: 0.9;
	animation: flight-draw 2.8s cubic-bezier(0.6, 0.05, 0.2, 1) 0.25s forwards;
}
@keyframes flight-draw { to { stroke-dashoffset: 0; } }

.hero-copy {
	position: absolute;
	z-index: 3;
	left: clamp(22px, 5vw, 76px);
	right: 22px;
	bottom: clamp(38px, 9vh, 100px);
	color: #fff;
	animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
@keyframes hero-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
.hero-copy h1 {
	margin: 0;
	font-size: clamp(25px, 6.2vw, 64px);
	font-weight: 500;
	line-height: 1.42;
	letter-spacing: 0.05em;
	text-shadow: 0 2px 34px rgba(3, 40, 90, 0.3);
}

.hero-below {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px 48px;
	flex-wrap: wrap;
	padding-top: clamp(28px, 4vw, 52px);
}
.hero-lead { flex: 1 1 22em; max-width: 35em; margin: 0; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ セクション共通 */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-mist { background: var(--mist); }

.section-head h2,
.cta h2 {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	line-height: 1.2;
}
.section-en {
	color: var(--blue);
	font-family: var(--font-en);
	font-size: clamp(46px, 7vw, 88px);
	font-weight: 300;
	line-height: 1;
}
.section-ja { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }

.section-title {
	margin: 0 0 clamp(28px, 4vw, 52px);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
.section-head .section-title { margin-bottom: 0; }

.split {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(28px, 6vw, 96px);
	align-items: start;
}

.statement {
	margin: 0 0 0.9em;
	max-width: 22em;
	font-size: clamp(22px, 2.8vw, 34px);
	font-weight: 500;
	line-height: 1.65;
	letter-spacing: 0.05em;
	font-feature-settings: "palt";
}

@media (max-width: 860px) {
	.split { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ トップ: 事業の一覧 */
.section-head-row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(20px, 6vw, 96px);
	align-items: end;
	margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head-row p { margin: 0; }

.work-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ink);
}
.work-list li { border-bottom: 1px solid var(--line); }

.work-row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.4fr);
	gap: clamp(20px, 4vw, 56px);
	align-items: center;
	padding: clamp(20px, 2.8vw, 32px) 0;
	color: inherit;
	text-decoration: none;
}
.work-row h3 {
	margin: 0;
	font-size: clamp(22px, 2.7vw, 34px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.05em;
	transition: color 0.2s;
}
.work-row p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.work-row-img {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: 10px 10px 46px 10px;
	overflow: hidden;
	background: var(--mist);
}
.work-row-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-row:hover h3 { color: var(--blue); }
.work-row:hover img { transform: scale(1.06); }

@media (max-width: 860px) {
	.section-head-row { grid-template-columns: minmax(0, 1fr); }
	.work-row {
		grid-template-columns: minmax(0, 1fr) 104px;
		grid-template-areas: "name img" "text img";
		gap: 6px 18px;
		align-items: start;
	}
	.work-row h3 { grid-area: name; }
	.work-row p { grid-area: text; font-size: 14px; }
	.work-row-img { grid-area: img; aspect-ratio: 1; border-radius: 8px 8px 30px 8px; margin-top: 4px; }
}

/* ------------------------------------------------------------ トップ: アクセス */
.address-large {
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 500;
	line-height: 1.85;
	letter-spacing: 0.05em;
}

/* ------------------------------------------------------------ お問い合わせ案内 */
.cta {
	padding-block: clamp(64px, 9vw, 120px);
	border-radius: var(--wing) 0 0 0;
	background: linear-gradient(118deg, var(--deep) 0%, var(--blue) 100%);
	color: #fff;
}
.cta .section-en { color: #fff; }
/* 直前が薄い空色の面のとき、丸めた角の外側に白が見えないよう同じ色を敷く */
.section-mist + .cta { position: relative; }
.section-mist + .cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: var(--wing);
	height: var(--wing);
	background: var(--mist);
}
.cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
}
.cta-text p { margin-top: 22px; max-width: 33em; color: rgba(255, 255, 255, 0.9); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-tel { margin: 0; line-height: 1.3; }
.cta-tel a {
	color: #fff;
	font-family: var(--font-en);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 300;
	letter-spacing: 0.05em;
	text-decoration: none;
}
.cta-tel a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.cta-tel span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); }

@media (max-width: 860px) {
	.cta-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ------------------------------------------------------------ フッター */
.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.9;
}
.cta + .site-footer { background: var(--ink); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
	gap: 40px clamp(28px, 5vw, 72px);
	width: min(100% - var(--gutter) * 2, var(--wrap));
	margin-inline: auto;
	padding-block: clamp(48px, 7vw, 76px) clamp(36px, 5vw, 52px);
}
.footer-name { margin: 0 0 14px; }
.footer-name img { width: auto; height: 30px; margin-left: -2px; }
.footer-address { margin: 0; max-width: none; }

.footer-nav ul,
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: 6px; }
.footer-nav a { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--font-en); font-size: 17px; letter-spacing: 0.06em; }
.footer-nav-ja { font-family: var(--font-ja); font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.footer-links-label { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.6); }

.site-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	width: min(100% - var(--gutter) * 2, var(--wrap));
	margin-inline: auto;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 12.5px;
}
.site-footer-bottom small { margin-left: auto; font-size: inherit; }

@media (max-width: 860px) {
	.site-footer-inner { grid-template-columns: minmax(0, 1fr); }
	.site-footer-bottom small { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------ 下層ページの見出し */
.page-head {
	position: relative;
	overflow: hidden;
	padding-block: clamp(52px, 9vw, 116px) clamp(36px, 5vw, 64px);
	background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}
.page-head-line path { stroke: var(--sky); opacity: 0.45; }
.page-head .wrap { position: relative; }
.page-head h1 { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.page-head-en {
	color: var(--blue);
	font-family: var(--font-en);
	font-size: clamp(54px, 11vw, 136px);
	font-weight: 300;
	line-height: 0.95;
	letter-spacing: -0.01em;
}
.page-head-ja { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; line-height: 1.5; letter-spacing: 0.16em; }
.page-head-lead { margin: 28px 0 0; max-width: 36em; }

/* ------------------------------------------------------------ 写真と文章の組 */
.media {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(28px, 6vw, 88px);
	align-items: center;
}
.media-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.media-img img { width: 100%; height: 100%; object-fit: cover; }
.wing-left { border-radius: var(--radius) var(--radius) var(--radius) var(--wing); }
.wing-right { border-radius: var(--radius) var(--wing) var(--radius) var(--radius); }

.media-body h2:not(.statement) {
	margin: 0 0 0.6em;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
}
.media-body h3 {
	margin: 2.2em 0 0.8em;
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.service { padding-block: clamp(48px, 7vw, 92px); }
.service-flip .media-img { order: 2; }
.service-lead { font-size: 18px; font-weight: 500; line-height: 1.85; }

.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li {
	position: relative;
	padding: 12px 0 12px 30px;
	border-bottom: 1px solid var(--line);
	line-height: 1.7;
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 1.3em;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--sky);
	border-bottom: 2px solid var(--sky);
	transform: rotate(-45deg);
}

@media (max-width: 860px) {
	.media { grid-template-columns: minmax(0, 1fr); }
	.service-flip .media-img { order: 0; }
}

/* ------------------------------------------------------------ Work: ページ内リンク */
.anchor-nav { border-bottom: 1px solid var(--line); }
.anchor-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 30px;
	margin-block: 0;
	padding: 14px 0;
	list-style: none;
}
.anchor-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.anchor-nav a:hover { color: var(--blue); text-decoration: underline; }

/* ------------------------------------------------------------ About: 大切にしていること */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values > div { padding: 6px clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.values > div:first-child { padding-left: 0; border-left: 0; }
.values h3 { margin: 0 0 0.7em; font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0.05em; }
.values p { color: var(--ink-2); font-size: 15px; }

@media (max-width: 860px) {
	.values { grid-template-columns: minmax(0, 1fr); }
	.values > div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
	.values > div:first-child { padding-top: 0; border-top: 0; }
	.values > div:last-child { padding-bottom: 0; }
}

/* ------------------------------------------------------------ 会社概要などの表 */
.profile { margin: 0; border-top: 1px solid var(--ink); }
.profile > div {
	display: grid;
	grid-template-columns: 9em minmax(0, 1fr);
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.profile dt { padding-top: 0.15em; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.profile dd { margin: 0; }
.profile dd a:not(.text-link) { color: var(--ink); }
.profile dd a:not(.text-link):hover { color: var(--blue); }
.profile .text-link { margin-top: 8px; font-size: 14px; }

@media (max-width: 560px) {
	.profile > div { grid-template-columns: 6em minmax(0, 1fr); }
}

/* ------------------------------------------------------------ Work: 進め方(順番のある手順) */
.flow {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.flow li {
	position: relative;
	padding: 24px 22px 0 0;
	border-top: 1.5px solid var(--blue);
	counter-increment: step;
}
.flow li::after {
	content: "";
	position: absolute;
	left: 0;
	top: -5.5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--blue);
}
.flow li::before {
	content: counter(step);
	display: block;
	margin-bottom: 14px;
	color: var(--blue);
	font-family: var(--font-en);
	font-size: 46px;
	font-weight: 300;
	line-height: 1;
}
.flow h3 { margin: 0 0 0.5em; font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; }
.flow p { color: var(--ink-2); font-size: 14px; line-height: 1.85; }

@media (max-width: 860px) {
	.flow { grid-template-columns: minmax(0, 1fr); }
	.flow li {
		display: grid;
		grid-template-columns: 52px minmax(0, 1fr);
		column-gap: 8px;
		padding: 0 0 30px 22px;
		border-top: 0;
		border-left: 1.5px solid var(--blue);
	}
	.flow li:last-child { padding-bottom: 0; }
	.flow li::after { left: -5.5px; top: 14px; }
	.flow li::before { grid-row: span 2; margin: 0; }
	.flow h3 { padding-top: 6px; }
	.flow p { grid-column: 2; }
}

/* ------------------------------------------------------------ Access */
.access {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.access-info .profile { margin-bottom: 24px; }
.access-info .note { margin-bottom: 28px; }
.access-map { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.access-map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
	.access { grid-template-columns: minmax(0, 1fr); }
	.access-map { aspect-ratio: 1; }
}

/* ------------------------------------------------------------ Contact */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.contact-side h2 { margin: 0 0 0.5em; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; }
.contact-side h2:not(:first-child) { margin-top: 2.6em; }
.contact-tel { margin: 0; line-height: 1.3; }
.contact-tel a {
	color: var(--ink);
	font-family: var(--font-en);
	font-size: 38px;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-decoration: none;
}
.contact-tel a:hover { color: var(--blue); }

.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.required,
.optional {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11.5px;
	line-height: 1.5;
	letter-spacing: 0.06em;
	vertical-align: 1px;
}
.required { background: var(--blue); color: #fff; font-weight: 700; }
.optional { border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }

.form input,
.form select,
.form textarea {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid #b7c9d8;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.6;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.form textarea { min-height: 190px; resize: vertical; }
.form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 46px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230c2340' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
	border-color: var(--blue);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(24, 184, 232, 0.28);
}
.form-actions { margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
	.contact { grid-template-columns: minmax(0, 1fr); }
	.contact-side { order: 2; }
	.form-actions .button { width: 100%; }
}

/* 確認・完了画面(mail.php が出す) */
/* 幅を絞るのは中身だけにして、左端をほかのページと揃える */
.confirm > * { max-width: 820px; }
.confirm .formTable {
	width: 100%;
	margin: 0 0 8px;
	border-collapse: collapse;
	border-top: 1px solid var(--ink);
}
.confirm .formTable th,
.confirm .formTable td {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
	line-height: 1.8;
}
.confirm .formTable th { width: 11em; padding-right: 16px; font-size: 14px; letter-spacing: 0.08em; }
.confirm .error_messe { margin: 0 0 0.4em; color: #b3261e; font-weight: 500; }
.confirm-error { margin-bottom: 24px; padding: 22px 24px; border-radius: 12px; background: #fdf1f0; }
.confirm-error p:last-child { margin-bottom: 0; }
.confirm-error h2 { margin: 0 0 0.6em; font-size: 17px; line-height: 1.6; }

@media (max-width: 560px) {
	.confirm .formTable th,
	.confirm .formTable td { display: block; width: auto; }
	.confirm .formTable th { padding-bottom: 0; border-bottom: 0; }
	.confirm .formTable td { padding-top: 4px; }
}

/* 入力画面の送信ボタンの下に出す案内(SMS での本人確認があること) */
.form-note { margin: 16px 0 0; }

/* SMS での本人確認(確認画面で「送信する」を押すと開く) */
.otp {
	width: min(100% - 32px, 440px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 24px 60px rgba(6, 48, 94, 0.28);
}
.otp::backdrop { background: rgba(12, 35, 64, 0.55); }
.otp-inner { padding: 30px 28px 20px; }
.otp h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.5; letter-spacing: 0.06em; }
.otp-lead { margin: 0 0 22px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.otp .field { margin-bottom: 18px; }
.otp .field .note { margin: 8px 0 0; font-size: 13px; }
.otp .button { width: 100%; }
.otp .button:disabled { opacity: 0.5; cursor: default; }
.otp #otp-code {
	font-family: var(--font-en);
	font-size: 24px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.4em;
	text-align: center;
}
.otp-message { min-height: 1.8em; margin: 14px 0 0; font-size: 14px; line-height: 1.8; color: var(--blue); }
.otp-message.is-error { color: #b3261e; font-weight: 500; }
.otp-text-button {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--blue);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 0.22em;
	cursor: pointer;
}
.otp-close { margin-top: 2px; color: var(--ink-2); }

/* ------------------------------------------------------------ 文章だけのページ(プライバシーポリシー) */
.prose > * { max-width: 820px; }
.prose-block + .prose-block { margin-top: clamp(48px, 7vw, 80px); }
.prose h2 {
	margin: 0 0 1em;
	padding-bottom: 0.6em;
	border-bottom: 1px solid var(--ink);
	font-size: clamp(21px, 2.4vw, 26px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
.prose h3 { margin: 2em 0 0.8em; font-size: 17px; font-weight: 700; line-height: 1.6; }
.prose p { max-width: none; font-size: 15px; line-height: 2; }
.prose .prose-note {
	max-width: 820px;
	margin-top: clamp(48px, 7vw, 80px);
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.link-list li + li { margin-top: 14px; }

/* ------------------------------------------------------------ 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
	.hero-line path { animation: none; stroke-dashoffset: 0; }
	.hero-copy { animation: none; }
	.work-row:hover img { transform: none; }
}
