@charset "UTF-8";

:root {
	--me-black: #111;
	--me-beige: #f9f7f5;
	--me-muted: #77706b;
	--me-line: #bcb3ac;
	--me-content: 1256px;
	--me-font-gothic: "Shuei KakuGo Gin M", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	--me-font-heading: "Noto Serif JP", "MainichiNewspapersM Light", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
	--me-font-mincho: "Noto Serif JP", "MainichiNewspapersM Light", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--me-black);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-family: var(--me-font-heading) !important;
}

body.renewal-2026 {
  font-family: var(--me-font-gothic);
}

.me-katakana--mincho {
	margin-right: -.01em;
	letter-spacing: -.01em;
}

body.renewal-2026 #gheader,
body.renewal-2026 #gfooter,
body.renewal-2026 .me-contact-cta {
  font-family: var(--me-font-gothic);
}

body.renewal-2026 #gheader .gnav ul li a {
  font-family: var(--me-font-gothic);
}

#wrap {
	padding-top: 0;
	overflow-x: clip;
	overflow-y: visible;
}

/* Header */
#gheader {
	position: sticky;
	top: 0;
	left: auto;
	width: 100%;
	padding: 0 32px;
	background: rgba(255, 255, 255, 0.75);
	-webkit-backdrop-filter: blur(12px) saturate(120%);
	backdrop-filter: blur(12px) saturate(120%);
	z-index: 10000;
}

.gheader-inner {
	position: relative;
	width: 100%;
	max-width: var(--me-content);
	height: 76px;
	margin: 0 auto;
}

.logo-header {
	left: 0;
}

.logo-header a {
	width: 222px;
}

@media screen and (min-width: 1101px) {
	.gheader-inner {
		z-index: 1;
	}

	.gnav {
		right: 0;
		z-index: 3;
	}

	.logo-header {
		z-index: 3;
	}

	.gnav ul li + li {
		margin-left: 9.6px;
	}

	.gnav ul + ul {
		margin-left: 19.2px;
		padding-left: 19.2px;
	}

	.gnav ul + ul::before {
		top: 50%;
		width: 0.5px;
		height: 20px;
		margin-top: -10px;
		background: var(--me-black);
	}

	.gnav ul li a {
		font-family: var(--me-font-gothic);
		padding: 8px 14.4px;
		font-size: 16px;
		letter-spacing: 0;
		white-space: nowrap;
	}

}

#gheader.has-service-section-nav {
	position: relative;
}

.service-section-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 65px;
	padding: 0 32px;
	border-bottom: 1px solid #d6d6d6;
	background: rgba(255, 255, 255, .76);
	-webkit-backdrop-filter: blur(12px) saturate(120%);
	backdrop-filter: blur(12px) saturate(120%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-100%);
	transition: transform .4s cubic-bezier(.2, .75, .2, 1), opacity .3s ease, visibility .4s ease;
	z-index: 10020;
}

.service-section-nav__inner {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: var(--me-content);
	height: 100%;
	margin: 0 auto;
}

.service-section-nav a {
	color: var(--me-black);
	font-family: var(--me-font-gothic);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: color 220ms ease;
}

.service-section-nav a:hover,
.service-section-nav a:focus-visible,
.service-section-nav a.is_active {
	color: var(--me-line);
}

.service-section-nav a.service-section-nav__title {
	flex: 0 0 auto;
	margin-right: 76px;
	font-size: 18px;
}

.service-section-nav__links {
	display: flex;
	align-items: center;
	gap: 54px;
}

.service-section-nav__mobile {
	display: none;
	margin-left: auto;
}

body.is-service-section-nav-active .service-section-nav {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.service-section-nav__backdrop {
	display: none;
}

@media screen and (max-width: 879px) {
	.service-section-nav {
		height: 60px;
		padding: 0 20px;
	}

	.service-section-nav__inner {
		justify-content: space-between;
		gap: 20px;
	}

	.service-section-nav a.service-section-nav__title {
		margin-right: 0;
		font-size: 18px;
	}

	.service-section-nav__links {
		display: none;
	}

	.service-section-nav__mobile {
		display: block;
	}

	.service-section-nav__backdrop {
		position: fixed;
		top: 60px;
		right: 0;
		bottom: 0;
		left: 0;
		display: block;
		background: rgba(255, 255, 255, .12);
		-webkit-backdrop-filter: blur(15px);
		backdrop-filter: blur(15px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .36s ease, visibility 0s linear .36s;
		z-index: 10010;
	}

	body.is-service-section-menu-open .service-section-nav__backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.service-section-nav__mobile summary {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		cursor: pointer;
		list-style: none;
	}

	.service-section-nav__mobile summary::-webkit-details-marker {
		display: none;
	}

	.service-section-nav__chevron {
		width: 11.2px;
		height: 11.2px;
		border-right: 1px solid var(--me-black);
		border-bottom: 1px solid var(--me-black);
		transform: translateY(-2.4px) rotate(45deg);
		transition: transform .25s ease;
	}

	.service-section-nav__mobile[open]:not(.is-enhanced) .service-section-nav__chevron,
	.service-section-nav__mobile.is-menu-open .service-section-nav__chevron {
		transform: translateY(3.2px) rotate(225deg);
	}

	.service-section-nav__dropdown {
		position: fixed;
		top: 60px;
		right: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		padding: 14px 0 20px;
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
		box-shadow: 0 12px 25px #0002;
		z-index: 1;
	}

	.service-section-nav__dropdown a {
		position: relative;
		padding: 12px 32px;
		color: var(--me-black);
		font-size: 16px;
		line-height: 1.4;
	}

	.service-section-nav__dropdown a.is_active {
		color: var(--me-line);
	}

	.service-section-nav__dropdown a.is_active::before {
		position: absolute;
		top: 50%;
		left: 16px;
		width: 1px;
		height: 10px;
		background: var(--me-black);
		transform: translateY(-50%);
		content: "";
	}

	.service-section-nav__mobile.is-enhanced .service-section-nav__dropdown {
		clip-path: inset(0 0 100% 0);
		transition: clip-path .6s cubic-bezier(.4, 0, .2, 1);
	}

	.service-section-nav__mobile.is-enhanced.is-menu-open .service-section-nav__dropdown {
		clip-path: inset(0);
	}

	.service-section-nav__mobile.is-enhanced .service-section-nav__dropdown a {
		opacity: 0;
		transform: translateY(-12px);
		transition: color 220ms ease, opacity .32s ease, transform .42s cubic-bezier(.2, .75, .2, 1);
	}

	.service-section-nav__mobile.is-enhanced.is-menu-open .service-section-nav__dropdown a {
		opacity: 1;
		transform: translateY(0);
	}

	.service-section-nav__mobile.is-enhanced.is-menu-open .service-section-nav__dropdown a:nth-child(1) { transition-delay: .14s; }
	.service-section-nav__mobile.is-enhanced.is-menu-open .service-section-nav__dropdown a:nth-child(2) { transition-delay: .20s; }
	.service-section-nav__mobile.is-enhanced.is-menu-open .service-section-nav__dropdown a:nth-child(3) { transition-delay: .26s; }

	.service-section-nav__mobile.is-menu-closing .service-section-nav__dropdown a {
		transition-delay: 0s;
	}

}

@media (prefers-reduced-motion: reduce) {
	.service-section-nav {
		transition-duration: 1ms !important;
	}
	.service-section-nav__mobile.is-enhanced .service-section-nav__dropdown,
	.service-section-nav__mobile.is-enhanced .service-section-nav__dropdown a,
	.service-section-nav__backdrop {
		transition-duration: 1ms !important;
	}
}

/* Breadcrumb immediately above the beige footer area */
.me-footer-breadcrumb {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 48px), 1256px);
	margin-inline: auto;
	padding: 0;
	font-family: "OptimaNovaLTPro-Regular", "Shuei KakuGo Gin M", sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: var(--me-line);
}

body#service .me-footer-breadcrumb {
	width: min(calc(100% - 64px), 1194px);
}

.me-footer-breadcrumb ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.me-footer-breadcrumb li {
	display: inline;
}

.me-footer-breadcrumb li + li::before {
	display: inline-block;
	width: 4px;
	height: 12px;
	margin: 0 7px;
	background-color: var(--me-black);
	-webkit-mask: url("../img/breadcrumb-arrow.svg") center / 100% 100% no-repeat;
	mask: url("../img/breadcrumb-arrow.svg") center / 100% 100% no-repeat;
	content: "";
}

.me-footer-breadcrumb li > span[aria-current="page"] {
	color: var(--me-line);
}

.me-footer-breadcrumb a {
	color: var(--me-black);
	transition: color 220ms ease;
}

.me-footer-breadcrumb a span {
	color: inherit;
}

.me-footer-breadcrumb a:hover,
.me-footer-breadcrumb a:focus-visible {
	color: var(--me-line);
}

@media screen and (min-width: 880px) {
	.me-footer-breadcrumb {
		margin-bottom: -25px;
	}
}

@media screen and (max-width: 879px) {
	.me-footer-breadcrumb {
		top: auto !important;
		width: calc(100% - 48px);
		margin-bottom: 25px;
	}

	body#service .me-footer-breadcrumb {
		width: calc(100% - 48px);
	}
}

@media screen and (max-width: 767px) {
	.me-footer-breadcrumb {
		font-size: 13px;
		line-height: 16px;
	}

	.me-footer-breadcrumb li + li::before {
		width: 3px;
		height: 9px;
		margin-inline: 6px;
	}
}

@media screen and (max-width: 699px) {
	.me-footer-breadcrumb {
		line-height: 1.56;
	}
}

/* Shared contact call-to-action */
.me-contact-cta {
	height: 573px;
	padding: 269px 32px 0;
	background: linear-gradient(to bottom, #fff 0 198px, var(--me-beige) 198px 100%);
}

.me-contact-cta__inner {
	display: grid;
	grid-template-columns: 568px 571px;
	gap: 0;
	align-items: start;
	max-width: 1194px;
	height: 230px;
	margin: 0 auto;
}

.me-contact-cta h2 {
	padding-top: 49px;
	font-family: var(--me-font-mincho);
	font-size: 42px;
	font-weight: 400;
	line-height: 68px;
	letter-spacing: 5.88px;
	white-space: nowrap;
}

.me-contact-cta__content {
	padding-left: 90px;
}

.me-contact-cta__content > p {
	font-size: 19px;
	line-height: 50px;
	letter-spacing: .57px;
}

.me-contact-cta__links {
	display: flex;
	gap: 0;
	margin-top: 44px;
}

.me-contact-cta__links a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	column-gap: 15px;
	height: 86px;
	padding: 0 42px;
	font-size: 24px;
	letter-spacing: 1.2px;
	transition: border-color 100ms ease;
}

.me-contact-cta__links a:first-child {
	width: max-content;
	border: .5px solid rgba(17, 17, 17, .28);
}

.me-contact-border,
.me-contact-border b {
	position: absolute;
	display: block;
	pointer-events: none;
}

.me-contact-border { inset: -1px; }
.me-contact-border b { background: var(--me-black); }
.me-contact-border__left { bottom: 0; left: 0; width: 1px; height: 0; transition: height 100ms linear; }
.me-contact-border__top { top: 0; left: 0; width: 0; height: 1px; transition: width 147ms linear 100ms; }
.me-contact-border__right { top: 0; right: 0; width: 1px; height: 0; transition: height 100ms linear 247ms; }
.me-contact-border__bottom { right: 0; bottom: 0; width: 0; height: 1px; transition: width 147ms linear 347ms; }
.me-contact-cta__links a:first-child:hover .me-contact-border__left,
.me-contact-cta__links a:first-child:focus-visible .me-contact-border__left,
.me-contact-cta__links a:first-child:hover .me-contact-border__right,
.me-contact-cta__links a:first-child:focus-visible .me-contact-border__right { height: 100%; }
.me-contact-cta__links a:first-child:hover .me-contact-border__top,
.me-contact-cta__links a:first-child:focus-visible .me-contact-border__top,
.me-contact-cta__links a:first-child:hover .me-contact-border__bottom,
.me-contact-cta__links a:first-child:focus-visible .me-contact-border__bottom { width: 100%; }

.me-contact-cta__links a:last-child {
	width: max-content;
	padding-right: 0;
	border: 0;
	background: transparent;
}

.me-contact-cta__links a:first-child:hover,
.me-contact-cta__links a:first-child:focus-visible {
	border-color: transparent;
}

.me-contact-cta__links a span,
.me-more-link span,
.me-service-row > i,
.me-news-list a > i {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 15px;
	background: url(../img/arrow_r.svg) center / contain no-repeat;
	transition: transform 300ms ease;
}

.me-contact-cta__links a:hover span,
.me-more-link:hover span,
.me-service-row:hover > i,
.me-news-list a:hover > i {
	transform: translateX(5px);
}

/* Footer. Page-top markup and behaviour remain from the existing site. */
#gfooter {
	height: 254px;
	padding: 83px 48px 0;
	background: #fff;
	opacity: 1 !important;
}

.gfooter-inner {
	position: relative;
	max-width: 1343px;
	height: 171px;
	margin: 0 auto;
}

.gfooter-info {
	padding: 0;
}

.logo-footer a {
	width: 274px;
}

.gfooter-address {
	margin-top: 19px;
	font-size: 18px;
	line-height: 36px;
	letter-spacing: .9px;
}

#gfooter .social-fb {
	margin-top: 9px;
}

#gfooter .social-fb a {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding-left: 28px;
	font-family: "OptimaNovaLTPro-Regular", Optima, "Optima LT Std", "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
	font-size: 18px;
	letter-spacing: .9px;
}

#gfooter .social-fb a::before,
#gfooter .social-fb a::after {
	top: 0;
	width: 18px;
	height: 18px;
	background-size: contain;
}

#gfooter .cr {
	right: 0;
	bottom: 15px;
	font-family: "OptimaNovaLTPro-Regular", Optima, "Optima LT Std", "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 1.2px;
}

#gfooter .rechapcha-cr {
	display: none;
}

@media screen and (max-width: 1100px) and (min-width: 880px) {
	.me-contact-cta__inner {
		width: calc(100% - 64px);
		grid-template-columns: 42% 58%;
	}
	.me-contact-cta h2 {
		font-size: clamp(24px, 2.8vw, 32px);
		line-height: 1.65;
		letter-spacing: .08em;
		white-space: normal;
	}
	.me-contact-cta h2 br { display: none; }
	.me-contact-cta__content { min-width: 0; padding-left: 40px; }
	.me-contact-cta__content > p {
		font-size: clamp(15px, 1.7vw, 18px);
		line-height: 2.2;
		white-space: normal;
	}
	.me-contact-cta__links {
		width: 100%;
		margin-top: clamp(28px, 3.5vw, 40px);
	}
	.me-contact-cta__links a {
		height: clamp(72px, 7.8vw, 86px);
		font-size: clamp(17px, 1.8vw, 20px);
	}
	.me-contact-cta__links a:first-child {
		flex: 0 0 auto;
		width: max-content;
		min-width: 0;
		padding-inline: clamp(24px, 3vw, 42px);
		column-gap: clamp(40px, 5vw, 55px);
	}
	.me-contact-cta__links a:last-child {
		flex: 0 0 auto;
		width: max-content;
		min-width: 0;
		padding-left: clamp(20px, 2.6vw, 36px);
		column-gap: clamp(20px, 2.3vw, 25px);
	}
}

@media screen and (max-width: 1100px) {
	#gheader {
		position: sticky;
		padding: 0 24px;
	}

	.gheader-inner {
		height: 64px;
	}

	.logo-header a {
		width: 180px;
	}

	.btn-menu {
		right: 0;
		width: 28px;
		height: 22px;
	}

	.btn-menu span {
		width: 28px;
		height: 16px;
	}

	.btn-menu span i {
		width: 28px;
	}

	.btn-menu:not(.on-click) span i:nth-child(1) {
		top: 0;
	}

	.btn-menu:not(.on-click) span i:nth-child(3) {
		bottom: 0;
	}

	.btn-menu:not(.on-click) span i:nth-child(4) {
		opacity: 0;
	}

	.btn-menu:not(.on-click) span i:nth-child(2) { opacity: 1; }

	.btn-menu.on-click span i:nth-child(2),
	.btn-menu.on-click span i:nth-child(4) {
		opacity: 1;
	}

	.btn-menu.on-click span i:nth-child(2),
	.btn-menu.on-click span i:nth-child(4) {
		width: 28px;
	}

	.gnav {
		align-items: flex-start;
	}

	.gnav-inner {
		width: 100%;
		padding: 80px 40px 48px;
		text-align: center;
		transform: none;
	}

	.gnav ul li + li {
		margin-left: 0;
	}

	.gnav ul + ul {
		margin-left: 0;
		padding-left: 0;
	}

	.gnav ul + ul::before {
		right: auto;
		left: 50%;
		height: .5px;
		transform: translateX(-50%);
	}

	.gnav ul li a {
		font-size: 17px;
	}
	
}

@media screen and (max-width: 879px) {

	.me-contact-cta {
		position: relative;
		height: 480px;
		padding: 0;
		background: var(--me-beige);
	}

	.me-contact-cta__inner {
		position: relative;
		display: block;
		width: 100%;
		height: 480px;
	}

	.me-contact-cta h2 {
		position: absolute;
		top: 64px;
		left: 24px;
		width: calc(100% - 48px);
		padding: 0;
		font-size: 25px;
		line-height: 44px;
		letter-spacing: 3.5px;
		white-space: normal;
	}

	.me-contact-cta__content {
		position: absolute;
		top: 186px;
		left: 24px;
		width: calc(100% - 48px);
		padding: 0;
	}

	.me-contact-cta__content > p {
		font-size: 14px;
		line-height: 30px;
		letter-spacing: .42px;
		white-space: normal;
	}

	.me-contact-cta h2 br { display: none; }

	.me-contact-cta__links {
		flex-direction: column;
		align-items: center;
		gap: 34px;
		margin-top: 34px;
	}

	.me-contact-cta__links a {
		height: 72px;
		padding: 0 67px;
		font-size: 20px;
		letter-spacing: 1px;
	}

	.me-contact-cta__links a:first-child {
		width: max-content;
		max-width: 100%;
		column-gap: 30px;
	}

	.me-contact-cta__links a:last-child {
		justify-content: flex-start;
		width: max-content;
		height: 30px;
		padding: 0;
		column-gap: 15px;
		font-size: 18px;
	}

	#gfooter {
		height: 249.447px;
		padding: 56px 24px 0;
	}

	.gfooter-inner {
		height: 193px;
	}

	.gfooter-info {
		padding: 0;
	}

	.logo-footer a {
		width: 220px;
	}

	.gfooter-address {
		margin-top: 22px;
		font-size: 14px;
		line-height: 23px;
		letter-spacing: .7px;
	}

	#gfooter .social-fb {
		margin-top: 22px;
	}

	#gfooter .social-fb a {
		min-height: 20px;
		padding-left: 28px;
		font-size: 14px;
		letter-spacing: .7px;
	}

	#gfooter .cr {
		top: 123px;
		right: 0;
		bottom: auto;
		left: auto;
		text-align: right;
		font-size: 12px;
		line-height: 22px;
	}
}

@media screen and (min-width: 768px) and (max-width: 879px) {
	.me-contact-cta h2,
	.me-contact-cta__content {
		left: 50%;
		width: min(600px, calc(100% - 48px));
		transform: translateX(-50%);
	}
}

@media screen and (min-width: 391px) and (max-width: 767px) {
	.me-contact-cta h2,
	.me-contact-cta__content {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media screen and (max-width: 520px) {
	.me-contact-cta h2 br { display: block; }
}

@media screen and (min-width: 521px) and (max-width: 879px) {
	.me-contact-cta__content { top: 147px; }
}

@media screen and (max-width: 389px) {
	.me-contact-cta h2 {
		font-size: clamp(19px, 5.4vw, 22px);
		line-height: 1.8;
		letter-spacing: .06em;
	}
	.me-contact-cta__content {
		top: 160px;
	}
	.me-contact-cta__links a:first-child {
		padding-inline: 42px;
		white-space: nowrap;
	}
}

/* Shared iPad mini portrait CTA layout. */
@media screen and (min-width: 700px) and (max-width: 820px) {
	.me-contact-cta,
	.me-contact-cta__inner {
		height: 377px;
	}

	.me-contact-cta__links {
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
}
