@charset "UTF-8";
/* ==========================================================================
   ACCESS（テキスト版）
   すべて .access-text の中だけに効かせる（他ページ・共通パーツには影響させない）
   寸法はカンプ（PC 1920px 幅 / SP 750px 幅）を基準にしている
   ========================================================================== */

.access-text {
	--at-green: #2e683f;
	--at-text: #333;
	--at-card: #fff;

	padding: 140px 0 120px;
	background: url(../img/index/section-back.webp) repeat;
	color: var(--at-text);
	font-size: 16px;
	line-height: 1.9;
	font-weight: 500;
	letter-spacing: 0.04em;
}

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

/* PC: 左のサイドメニューと重ならない位置で中央寄せ */
.access-text__inner {
	width: min(960px, calc(100% - 15vw - 60px));
	margin-left: max(calc((100% - 960px) / 2), calc(15vw + 30px));
	margin-right: auto;
}

.access-text p,
.access-text ul,
.access-text table {
	margin: 0;
	padding: 0;
}

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

.access-text a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- 見出し ---------- */
.access-text .at-heading {
	margin: 0 0 40px;
	padding: 0;
	text-align: center;
	color: var(--at-green);
	line-height: 1.2;
	font-weight: normal;
}

.access-text .at-heading__en {
	display: block;
	font-size: 48px;
	letter-spacing: 0.02em;
}

.access-text .at-heading__ja {
	display: block;
	margin-top: 8px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.access-text .at-section {
	margin-top: 130px;
}

/* ---------- 導入・地図 ---------- */
.access-text .at-lead {
	margin-bottom: 48px;
	text-align: center;
	color: var(--at-green);
	font-size: 18px;
	line-height: 2;
}

.access-text .at-map {
	position: relative;
	aspect-ratio: 1296 / 461;
	background: #eee;
}

.access-text .at-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- 住所・駐車場 ---------- */
.access-text .at-address {
	margin-top: 44px;
	text-align: center;
	color: var(--at-green);
}

.access-text .at-address__name {
	font-size: 22px;
}

.access-text .at-address__addr {
	font-size: 18px;
}

.access-text .at-parking {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 28px;
	margin-top: 36px;
	font-size: 18px;
	color: var(--at-text);
}

.access-text .at-parking__badge {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--at-green);
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.08em;
}

/* ---------- 交通手段 ---------- */
.access-text .at-route {
	width: 100%;
	max-width: 640px;
	margin: 60px auto 0;
	border-collapse: collapse;
	background: var(--at-card);
}

.access-text .at-route th,
.access-text .at-route td {
	border: 1px solid var(--at-green);
	padding: 24px 32px;
	vertical-align: middle;
	text-align: left;
}

.access-text .at-route th {
	width: 180px;
	background: var(--at-green);
	color: #fff;
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

.access-text .at-route td {
	font-size: 15px;
}

.access-text .at-route ul {
	list-style: none;
}

.access-text .at-route li::before {
	content: "・";
}

/* ---------- フロアマップ（立体の建物図） ----------
   線はCSSで描き、文字はテキストのまま。
   --front: 建物正面の幅 / --side: 側面の奥行き（横） / --d: 側面の奥行き（縦）
   右側の文字列は奥行きの分（--d）だけ上にずれて並ぶ */
.access-text .at-fmap {
	--front: 182px;
	--side: 100px;
	--d: 62px;
	--slant: 58px;
	--diag: 117.7px;      /* √(side² + d²) */
	--diag-deg: -31.8deg; /* -atan(d / side) */
	--slant-len: 84.9px;  /* √(slant² + d²) */
	--slant-deg: -46.9deg;/* -atan(d / slant) */
	--line: 1px solid var(--at-green);

	max-width: 700px;
	margin: 0 auto;
	color: var(--at-green);
	font-size: 17px;
	line-height: 1.6;
}

.access-text .at-fmap__roof {
	height: var(--d);
}

.access-text .at-fmap__roof svg {
	display: block;
	width: calc(var(--front) + var(--side));
	height: var(--d);
	overflow: visible;
	fill: none;
	stroke: var(--at-green);
	stroke-width: 1px;
}

.access-text .at-fmap__floor {
	position: relative;
	display: grid;
	grid-template-columns: var(--front) var(--side) 1fr;
}

.access-text .at-fmap__floor--4f { min-height: 94px; }
.access-text .at-fmap__floor--3f { min-height: 190px; }
.access-text .at-fmap__floor--2f { min-height: 92px; }
.access-text .at-fmap__floor--1f { min-height: 94px; }

/* 正面（階数ラベル） */
.access-text .at-fmap__front {
	display: flex;
	align-items: flex-end;
	padding: 0 0 8px 14px;
	border-left: var(--line);
	border-right: var(--line);
	border-bottom: var(--line);
	font-size: 35px;
	line-height: 1;
}

/* 側面（各階の下端の斜線） */
.access-text .at-fmap__side {
	position: relative;
}

.access-text .at-fmap__side::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--diag);
	border-top: var(--line);
	transform-origin: 0 0;
	transform: rotate(var(--diag-deg));
}

/* 右側の文字（奥行きの分だけ上にずらす） */
.access-text .at-fmap__text {
	position: relative;
	top: calc(var(--d) * -1);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 14px 0 14px 35px;
	border-left: var(--line);
	border-bottom: var(--line);
}

.access-text .at-fmap__strong {
	font-weight: 700;
	letter-spacing: 0.06em;
}

.access-text .at-fmap__text ul {
	list-style: none;
}

.access-text .at-fmap__text li + li,
.access-text .at-fmap__sub {
	margin-top: 10px;
}

/* 1F の地面（駐車場） */
.access-text .at-fmap__ground {
	position: absolute;
	left: var(--front);
	right: 0;
	bottom: 0;
	height: var(--d);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--slant) 0 var(--side);
}

.access-text .at-fmap__ground::before {
	content: "";
	position: absolute;
	left: 0;
	right: var(--slant);
	bottom: 0;
	border-bottom: var(--line);
}

.access-text .at-fmap__ground::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: var(--slant-len);
	border-top: var(--line);
	transform-origin: 100% 0;
	transform: rotate(var(--slant-deg));
}

/* フロアガイド（PDF）ボタン */
.access-text .at-fguide {
	margin-top: 56px;
	text-align: center;
}

.access-text .at-fguide__btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 340px;
	padding: 18px 48px;
	border-radius: 999px;
	background: var(--at-green);
	color: #fff;
	font-size: 17px;
	letter-spacing: 0.12em;
	text-decoration: none;
	transition: opacity 0.3s;
}

.access-text .at-fguide__btn:hover {
	opacity: 0.6;
	text-decoration: none;
}

.access-text .at-fguide__note {
	font-size: 0.8em;
	letter-spacing: 0.05em;
}

.access-text .at-fguide__btn::after {
	content: "";
	width: 0.5em;
	height: 0.5em;
	margin-left: 0.8em;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

/* ---------- 周辺環境 ---------- */

/* 写真を画面の左端まで広げる（カンプどおり） */
.access-text .at-feature {
	display: grid;
	grid-template-columns: 50% 1fr;
	align-items: center;
}

.access-text .at-feature__img {
	aspect-ratio: 960 / 550;
	overflow: hidden;
}

.access-text .at-feature__img img,
.access-text .at-spot__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.access-text .at-feature__img img {
	object-position: 50% 60%;
}

.access-text .at-feature__body {
	max-width: calc(3.7vw + 480px);
	padding: 0 32px 0 3.7vw;
}

.access-text .at-feature__title {
	margin: 0 0 20px;
	color: var(--at-green);
	font-size: 22px;
	line-height: 1.6;
	font-weight: 600;
}

.access-text .at-spots {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 100px;
}

.access-text .at-spot {
	padding: 36px 40px;
	background: var(--at-card);
}

.access-text .at-spot--wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.access-text .at-spot__img {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.access-text .at-spot__title {
	margin: 0 0 12px;
	color: var(--at-green);
	font-size: 22px;
	line-height: 1.5;
	font-weight: 600;
}

.access-text .at-spot__walk {
	margin-top: 8px;
	color: var(--at-green);
}

/* ==========================================================================
   スマホ（750px以下）
   ========================================================================== */
@media (max-width: 750px) {
	.access-text {
		padding: 100px 0 80px;
		font-size: 15px;
		line-height: 1.85;
	}

	.access-text__inner {
		width: auto;
		margin: 0 20px;
	}

	.access-text .at-heading__en {
		font-size: 36px;
	}

	.access-text .at-heading__ja {
		font-size: 17px;
	}

	.access-text .at-section {
		margin-top: 90px;
	}

	.access-text .at-lead {
		margin-bottom: 32px;
		font-size: 16px;
		font-weight: 700;
	}

	.access-text .at-map {
		aspect-ratio: 750 / 450;
		margin: 0 -20px;
	}

	.access-text .at-address__name {
		font-size: 19px;
	}

	.access-text .at-address__addr {
		font-size: 15px;
	}

	.access-text .at-parking {
		gap: 18px;
		font-size: 16px;
	}

	.access-text .at-parking__badge {
		width: 64px;
		height: 64px;
		font-size: 13px;
	}

	.access-text .at-route {
		margin-top: 40px;
	}

	.access-text .at-route th,
	.access-text .at-route td {
		padding: 16px 12px;
	}

	.access-text .at-route th {
		width: 84px;
		font-size: 14px;
		letter-spacing: 0.05em;
	}

	.access-text .at-route td {
		font-size: 14px;
	}

	/* フロアマップ: カンプ（750px幅）の半分の寸法。文字は読める大きさを優先 */
	.access-text .at-fmap {
		--front: 85px;
		--side: 47px;
		--d: 29px;
		--slant: 29px;
		--diag: 55.2px;
		--diag-deg: -31.7deg;
		--slant-len: 41px;
		--slant-deg: -45deg;

		font-size: 12px;
		line-height: 1.55;
		letter-spacing: 0.01em;
	}

	.access-text .at-fmap__strong {
		letter-spacing: 0.02em;
	}

	.access-text .at-fmap__floor--4f { min-height: 44px; }
	.access-text .at-fmap__floor--3f { min-height: 88px; }
	.access-text .at-fmap__floor--2f { min-height: 44px; }
	.access-text .at-fmap__floor--1f { min-height: 44px; }

	.access-text .at-fmap__front {
		padding: 0 0 5px 7px;
		font-size: 22px;
	}

	.access-text .at-fmap__text {
		padding: 8px 0 8px 14px;
	}

	.access-text .at-fmap__text li + li {
		margin-top: 6px;
	}

	.access-text .at-fmap__ground {
		font-size: 11px;
	}

	.access-text .at-fguide {
		margin-top: 36px;
	}

	.access-text .at-fguide__btn {
		min-width: 0;
		width: 100%;
		max-width: 300px;
		padding: 15px 20px;
		font-size: 15px;
	}

	.access-text .at-feature {
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 0 20px;
	}

	.access-text .at-feature__img {
		aspect-ratio: 650 / 374;
	}

	.access-text .at-feature__body {
		max-width: none;
		padding: 0;
	}

	.access-text .at-feature__title {
		font-size: 20px;
	}

	.access-text .at-spots {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 40px;
	}

	.access-text .at-spot {
		padding: 24px 20px;
	}

	.access-text .at-spot--wide {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.access-text .at-spot__title {
		font-size: 20px;
	}
}
