.shoyaku-office-access {
	--office-ink: #183832;
	--office-green: #2f6f67;
	--office-green-deep: #173e39;
	--office-green-pale: #e8f2ef;
	--office-gold: #c9a66b;
	--office-gold-pale: #eee0c5;
	--office-paper: #f8f6f1;
	--office-white: #fff;
	--office-text: #273633;
	--office-muted: #66736f;
	--office-line: #d9ddd9;
	overflow: clip;
	background: var(--office-paper);
	color: var(--office-text);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 17px;
	line-height: 1.9;
}

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

.shoyaku-office-access a {
	color: inherit;
}

.office-container {
	width: min(1160px, calc(100% - 48px));
	margin-inline: auto;
}

.shoyaku-office-access__breadcrumb {
	position: relative;
	z-index: 2;
	background: var(--office-green-deep);
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	letter-spacing: 0.04em;
}

.shoyaku-office-access__breadcrumb ol {
	display: flex;
	gap: 10px;
	align-items: center;
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
	padding: 16px 0;
	list-style: none;
}

.shoyaku-office-access__breadcrumb li + li::before {
	margin-right: 10px;
	color: var(--office-gold);
	content: "/";
}

.shoyaku-office-access__breadcrumb a {
	text-decoration: none;
}

.shoyaku-office-access__breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.office-hero {
	position: relative;
	isolation: isolate;
	min-height: 570px;
	overflow: hidden;
	background: linear-gradient(115deg, rgba(23, 62, 57, 0.99), rgba(47, 111, 103, 0.95));
	color: #fff;
}

.office-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 54px 54px;
	content: "";
	mask-image: linear-gradient(to right, #000, transparent 72%);
}

.office-hero__ornament {
	position: absolute;
	top: -250px;
	right: -130px;
	width: 700px;
	height: 700px;
	border: 1px solid rgba(232, 213, 174, 0.23);
	border-radius: 50%;
}

.office-hero__ornament::before,
.office-hero__ornament::after {
	position: absolute;
	border: 1px solid rgba(232, 213, 174, 0.14);
	border-radius: 50%;
	content: "";
}

.office-hero__ornament::before {
	inset: 92px;
}

.office-hero__ornament::after {
	inset: 184px;
}

.office-hero__inner {
	min-height: 520px;
	padding-block: 82px 90px;
}

.office-eyebrow,
.office-section__label {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	color: var(--office-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.2;
}

.office-eyebrow::before,
.office-section__label::before {
	width: 42px;
	height: 1px;
	background: currentColor;
	content: "";
}

.office-hero h1 {
	margin: 24px 0 0;
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 500;
	letter-spacing: 0.07em;
	line-height: 1.4;
}

.office-hero__lead {
	margin: 34px 0 0;
	color: var(--office-gold-pale);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.75;
}

.office-hero__summary {
	max-width: 790px;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 2;
}

.office-local-nav {
	position: relative;
	z-index: 3;
	background: #fff;
	box-shadow: 0 12px 34px rgba(25, 57, 52, 0.08);
}

.office-local-nav .office-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.office-local-nav a {
	position: relative;
	padding: 22px 16px;
	color: var(--office-ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
}

.office-local-nav a + a::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 22px;
	background: var(--office-line);
	content: "";
	transform: translateY(-50%);
}

.office-local-nav a::after {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 0 3px 10px;
	border-right: 1px solid var(--office-gold);
	border-bottom: 1px solid var(--office-gold);
	content: "";
	transform: rotate(45deg);
}

.office-local-nav a:hover {
	background: var(--office-green-pale);
}

.office-section {
	scroll-margin-top: 88px;
	padding-block: clamp(88px, 10vw, 140px);
}

.office-section__heading h2,
.office-consultation h2 {
	margin: 24px 0 0;
	color: var(--office-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.6;
}

.office-section__heading > p:last-child {
	margin: 26px 0 0;
	color: var(--office-muted);
	font-size: 16px;
	line-height: 2;
}

.office-overview {
	background: #fff;
}

.office-overview__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	gap: clamp(58px, 8vw, 108px);
	align-items: center;
}

.office-overview__details {
	margin: 44px 0 0;
	border-top: 1px solid var(--office-line);
}

.office-overview__details > div {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	border-bottom: 1px solid var(--office-line);
}

.office-overview__details dt,
.office-overview__details dd {
	margin: 0;
	padding-block: 18px;
	font-size: 16px;
	line-height: 1.8;
}

.office-overview__details dt {
	color: var(--office-muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.office-overview__details dd {
	color: var(--office-ink);
	font-weight: 600;
}

.office-overview__details address {
	font-style: normal;
	font-weight: 500;
}

.office-overview__phone {
	color: var(--office-ink);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.office-overview__lawyer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(200px, 100%);
	min-height: 48px;
	margin-top: 30px;
	padding: 10px 20px;
	border: 1px solid rgba(47, 111, 103, 0.42);
	border-radius: 3px;
	background: transparent;
	color: var(--office-ink);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.office-overview__lawyer-link:hover {
	border-color: var(--office-green);
	background: var(--office-green-pale);
	color: var(--office-green-deep);
}

.office-overview__lawyer-link:focus-visible {
	outline: 3px solid rgba(47, 111, 103, 0.34);
	outline-offset: 3px;
}

.office-overview__visual {
	position: relative;
	margin: 0;
	padding: 0 28px 28px 0;
}

.office-overview__visual::before {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: 72%;
	height: 64%;
	background: var(--office-green-pale);
	content: "";
}

.office-overview__visual::after {
	position: absolute;
	top: -15px;
	left: -15px;
	z-index: 2;
	width: 88px;
	height: 88px;
	border-top: 1px solid var(--office-gold);
	border-left: 1px solid var(--office-gold);
	content: "";
}

.office-overview__visual img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.office-overview__visual figcaption {
	position: relative;
	z-index: 1;
	margin-top: 13px;
	color: var(--office-muted);
	font-size: 14px;
	letter-spacing: 0.08em;
}

.office-access {
	position: relative;
	background: var(--office-paper);
}

.office-access::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 42%;
	height: 100%;
	background: linear-gradient(145deg, rgba(232, 242, 239, 0.74), transparent 68%);
	content: "";
	pointer-events: none;
}

.office-access > .office-container {
	position: relative;
}

.office-access__heading {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.office-access__heading .office-section__label {
	justify-content: center;
}

.office-access__location {
	display: grid;
	grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
	margin-top: 58px;
	border: 1px solid #dce4e1;
	background: #fff;
}

.office-access__address-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 5vw, 60px);
}

.office-access__address-label {
	margin: 0;
	color: var(--office-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.office-access__address-panel h3 {
	margin: 20px 0 0;
	color: var(--office-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.office-access__address-panel address {
	margin-top: 20px;
	color: var(--office-text);
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 2;
}

.office-access__address-panel a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(220px, 100%);
	min-height: 50px;
	margin-top: 28px;
	padding: 10px 20px;
	border: 1px solid var(--office-green);
	background: var(--office-green);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.office-access__address-panel a:hover {
	background: #fff;
	color: var(--office-green);
}

.office-access__map {
	position: relative;
	min-height: 420px;
	background: #e6e9e7;
}

.office-access__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.office-access__routes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 50px 0 0;
	padding: 0;
	border-top: 1px solid var(--office-line);
	border-bottom: 1px solid var(--office-line);
	list-style: none;
}

.office-access__routes li {
	position: relative;
	padding: 30px 34px 32px;
}

.office-access__routes li + li::before {
	position: absolute;
	top: 28px;
	bottom: 28px;
	left: 0;
	width: 1px;
	background: var(--office-line);
	content: "";
}

.office-access__route-line {
	margin: 0;
	color: var(--office-muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.office-access__routes h3 {
	margin: 8px 0 0;
	color: var(--office-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.office-access__routes li > p:last-child {
	margin: 8px 0 0;
	color: var(--office-green);
	font-size: 16px;
	font-weight: 700;
}

.office-access__route-note {
	margin: 18px 0 0;
	color: var(--office-muted);
	font-size: 14px;
	line-height: 1.8;
	text-align: right;
}

.office-visit {
	background: #fff;
}

.office-visit__heading {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.office-visit__heading .office-section__label {
	justify-content: center;
}

.office-visit__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}

.office-visit__steps li {
	position: relative;
	padding-top: 30px;
	border-top: 2px solid var(--office-gold);
}

.office-visit__steps span {
	color: var(--office-gold);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.office-visit__steps h3 {
	margin: 20px 0 0;
	color: var(--office-ink);
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.7;
}

.office-visit__steps p {
	margin: 18px 0 0;
	color: var(--office-muted);
	font-size: 16px;
	line-height: 2;
}

.office-visit__notice {
	margin: 42px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--office-muted);
	font-size: 14px;
	line-height: 1.9;
}

.office-consultation {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(120deg, var(--office-green-deep), var(--office-green));
	color: #fff;
	text-align: center;
}

.office-consultation__ornament {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 760px;
	height: 760px;
	border: 1px solid rgba(232, 213, 174, 0.14);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.office-consultation__ornament::before,
.office-consultation__ornament::after {
	position: absolute;
	border: 1px solid rgba(232, 213, 174, 0.1);
	border-radius: 50%;
	content: "";
}

.office-consultation__ornament::before {
	inset: 130px;
}

.office-consultation__ornament::after {
	inset: 260px;
}

.office-consultation__inner {
	padding-block: clamp(86px, 10vw, 128px);
}

.office-consultation .office-section__label {
	justify-content: center;
}

.office-consultation h2 {
	color: #fff;
}

.office-consultation__description {
	max-width: 680px;
	margin: 28px auto 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	line-height: 2;
	text-wrap: balance;
}

.office-consultation__description span {
	display: block;
}

.office-consultation__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(340px, 100%);
	min-height: 62px;
	margin: 40px auto 0;
	padding: 0 28px;
	border: 1px solid rgba(232, 213, 174, 0.9);
	border-radius: 4px;
	background: var(--office-paper);
	box-shadow: none;
	color: var(--office-green-deep);
	font: inherit;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.office-consultation__button:hover {
	border-color: var(--office-gold);
	background: #fff;
}

.office-consultation__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.office-consultation__button span {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.07em;
}

.office-consultation__links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 30px;
	justify-content: center;
	margin-top: 32px;
}

.office-consultation__links a {
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
	letter-spacing: 0.04em;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 5px;
}

.office-consultation__links a:hover {
	color: #fff;
	text-decoration-color: var(--office-gold);
}

@media (max-width: 900px) {
	.office-overview__grid,
	.office-access__location {
		grid-template-columns: 1fr;
	}

	.office-overview__visual {
		width: min(720px, 100%);
	}

	.office-access__map {
		min-height: 440px;
	}

	.office-visit__steps {
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.shoyaku-office-access {
		font-size: 16px;
	}

	.office-container,
	.shoyaku-office-access__breadcrumb ol {
		width: min(100% - 36px, 1160px);
	}

	.shoyaku-office-access__breadcrumb ol {
		padding-block: 12px;
	}

	.office-hero {
		min-height: auto;
	}

	.office-hero__inner {
		min-height: auto;
		padding-block: 58px 68px;
	}

	.office-hero__ornament {
		top: -150px;
		right: -250px;
		width: 500px;
		height: 500px;
	}

	.office-eyebrow,
	.office-section__label {
		font-size: 15px;
	}

	.office-hero h1 {
		margin-top: 18px;
		font-size: 38px;
	}

	.office-hero__lead {
		margin-top: 28px;
		font-size: 24px;
	}

	.office-hero__summary {
		margin-top: 24px;
		font-size: 16px;
		line-height: 1.95;
	}

	.office-local-nav {
		overflow-x: visible;
	}

	.office-local-nav .office-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.office-local-nav a {
		padding: 17px 10px;
		border-bottom: 1px solid var(--office-line);
		font-size: 14px;
	}

	.office-local-nav a:nth-child(n + 3) {
		border-bottom: 0;
	}

	.office-local-nav a + a::before {
		display: none;
	}

	.office-local-nav a:nth-child(even)::before {
		display: block;
	}

	.office-local-nav a::after {
		margin-left: 6px;
	}

	.office-section {
		padding-block: 76px;
	}

	.office-section__heading h2,
	.office-consultation h2 {
		margin-top: 20px;
		font-size: 29px;
		line-height: 1.58;
	}

	.office-overview__grid {
		gap: 54px;
	}

	.office-overview__details {
		margin-top: 34px;
	}

	.office-overview__details > div {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.office-overview__details dt,
	.office-overview__details dd {
		padding-block: 15px;
		font-size: 16px;
	}

	.office-overview__details dt {
		font-size: 14px;
	}

	.office-overview__visual {
		padding: 0 20px 22px 0;
	}

	.office-overview__visual::after {
		top: -10px;
		left: -8px;
		width: 64px;
		height: 64px;
	}

	.office-access__location {
		margin-top: 42px;
	}

	.office-access__address-panel {
		padding: 30px 24px 32px;
	}

	.office-access__address-panel h3 {
		font-size: 21px;
	}

	.office-access__map {
		min-height: 330px;
	}

	.office-access__routes {
		grid-template-columns: 1fr;
		margin-top: 38px;
	}

	.office-access__routes li {
		padding: 24px 4px 25px;
	}

	.office-access__routes li + li::before {
		top: 0;
		right: 0;
		bottom: auto;
		left: 0;
		width: auto;
		height: 1px;
	}

	.office-access__routes h3 {
		font-size: 20px;
	}

	.office-access__route-note {
		text-align: left;
	}

	.office-visit__steps {
		grid-template-columns: 1fr;
		gap: 36px;
		margin-top: 44px;
	}

	.office-visit__steps li {
		padding-top: 24px;
	}

	.office-visit__steps h3 {
		font-size: 19px;
	}

	.office-visit__notice {
		margin-top: 36px;
	}

	.office-consultation__inner {
		padding-block: 78px 84px;
	}

	.office-consultation h2 {
		font-size: 26px;
		letter-spacing: 0.02em;
	}

	.office-consultation__description span + span {
		margin-top: 4px;
	}

	.office-consultation__button {
		min-height: 58px;
		margin-top: 34px;
		padding-inline: 22px;
	}

	.office-consultation__button span {
		font-size: 16px;
	}

	.office-consultation__links {
		flex-direction: column;
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.office-access__address-panel a,
	.office-overview__lawyer-link,
	.office-consultation__button {
		transition: none;
	}
}

@media print {
	.office-local-nav,
	.office-consultation {
		display: none;
	}

	.office-hero {
		min-height: auto;
		background: #fff;
		color: #000;
	}

	.office-hero__inner {
		min-height: auto;
		padding-block: 30px;
	}

	.office-hero__lead,
	.office-hero__summary {
		color: #000;
	}

	.office-section {
		padding-block: 36px;
	}
}
