@charset "UTF-8";
/* ==========================================================================
   base.css
   Reset + typography + shared palette + site-wide utility rules.
   Ported from ref/assets/.../css/reset.css and the non-header/footer/CTA
   portions of ref/assets/.../css/common.css.
   ========================================================================== */

/* ----- reset (ported from reset.css) ----- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	border: 0 none;
	font-family: inherit;
	font-size: 1em;
	font-style: inherit;
	margin: 0;
	outline: 0 none;
	padding: 0;
}
:focus {
	outline: 0 none;
}
img {
	border: medium none;
}
ol, ul {
	list-style: none outside none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

/* ----- palette / shared custom properties ----- */
:root {
	--color-green: #169d00;      /* brand green (header submanu / CTA / accents) */
	--color-orange: #f08300;     /* accent orange (CTA buttons, .en labels) */
	--color-orange-sp: #ef7c00;  /* mobile tel-button orange (slightly different) */
	--color-text: #333;
	--color-black: #000;
	--color-yellow: #fff5c2;     /* faq / table highlight background */
	--color-gray-bg: #f1f1f1;    /* table cell background */
	--header-height: 100px;
	--header-height-sp: 60px;

	/* ----- renewal: muted "wa" tones, same hue families as the brand
	   green (~112deg) and orange (~33deg), just lower saturation/lightness
	   for a calmer washi-paper feel. Used for large section blocks and
	   ink-like accents; --color-green / --color-orange above stay
	   untouched for CTA buttons and small brand accents. ----- */
	--color-green-deep: #32642b;
	--color-terracotta: #b27934;
	--bg-cream: #faf6ec;
	--bg-green-pale: #eaf1e6;
	--bg-terracotta-pale: #f7ebdf;
	--font-mincho: 'Shippori Mincho', serif;
	--font-gothic: 'M PLUS Rounded 1c', 'Noto Sans Japanese', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
}

/* ----- base / typography (ported from common.css) ----- */
* {
	box-sizing: border-box;
}

html {
	overflow: auto;
}
body {
	font-family: var(--font-gothic), "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: normal;
	font-size: 16px;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	line-height: 1;
	color: #333;
	background-color: var(--bg-cream);
	overflow: hidden;
	letter-spacing: 0.05em;
}

/* ----- renewal: washi-inspired heading typeface ----- */
h2, h3 {
	font-family: var(--font-mincho);
}

img {
	border: none;
	vertical-align: bottom;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
}

.clearfix:after {
	content: "";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

.mb0 { margin-bottom: 0px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb50 { margin-bottom: 50px !important; }
.mb60 { margin-bottom: 60px !important; }
.mb1em { margin-bottom: 1em !important; }
.mb2em { margin-bottom: 2em !important; }
.mb3em { margin-bottom: 3em !important; }
.mb4em { margin-bottom: 4em !important; }
.mb5em { margin-bottom: 5em !important; }
.mb6em { margin-bottom: 6em !important; }
.pt0 { padding-top: 0px !important; }
.pb0 { padding-bottom: 0px !important; }
.pt60 { padding-top: 60px !important; }
.pb60 { padding-bottom: 60px !important; }
.center { text-align: center; }
.alignright { text-align: right; }
.aligncenter { text-align: center; }
.bold { font-weight: 900; }
.nowrap { white-space: nowrap; }

.en {
	font-family: 'Josefin Sans', sans-serif;
}

@media screen and (max-width: 767px) {
	.pcOnly {
		display: none !important;
	}
}

@media screen and (min-width: 768px) {
	.spOnly {
		display: none !important;
	}
}

#wrapper {
	width: 100%;
	position: relative;
	margin: 0 auto;
}

@media screen and (max-width: 767px) {
	#wrapper {
		min-width: 100%;
	}
}

#js-menuBk {
	display: none;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

/* ----- shared content tables (used on about / service / medical / recruit, etc.) ----- */
.table_wrap {
	margin-bottom: 30px;
}
.p_table {
	border-left: 2px solid #fff;
	border-top: 2px solid #fff;
}
.p_table .tr {
	display: flex;
	justify-content: space-between;
}
.p_table .th, .p_table .td {
	text-align: center;
	width: 33.3333%;
	line-height: 1.5;
	padding: 20px;
	color: #333;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.p_table .th span, .p_table .td span {
	font-size: 12px;
	margin-left: 10px;
}
.p_table .th {
	background-color: var(--color-green);
	color: #fff;
	font-weight: bold;
}
.p_table .td {
	background-color: var(--color-gray-bg);
}
.p_table .td.yel {
	background-color: var(--color-yellow);
}

@media screen and (max-width: 999px) {
	.p_table .th, .p_table .td {
		font-size: 14px;
	}
}

@media screen and (max-width: 767px) {
	.table_wrap {
		margin-bottom: 20px;
		overflow-x: auto;
	}
	.p_table {
		min-width: 480px;
	}
	.p_table .th, .p_table .td {
		padding: 12px;
		font-size: 13px;
	}
	.p_table .th span, .p_table .td span {
		font-size: 11px;
		margin-left: 5px;
	}
}

/* ----- FAQ accordion (used on faq page, and inline elsewhere) ----- */
.faq_list {
	margin-bottom: 60px;
}
.faq_list li {
	margin-bottom: 30px;
	background-color: var(--color-yellow);
	border-radius: 15px;
}
.faq_list li .dt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	position: relative;
	padding: 20px;
	cursor: pointer;
}
.faq_list li .dt::after {
	position: absolute;
	right: 20px;
	top: 50%;
	width: 23px;
	margin-top: -7px;
	height: 14px;
	content: '';
	display: inline-block;
	background: url("../img/common/btn_open.png") no-repeat left top;
}
.faq_list li.open .dt::after {
	background: url("../img/common/btn_close.png") no-repeat left top;
}
.faq_list li .dt span.en {
	width: 30px;
	height: 30px;
	color: #fff;
	font-weight: 900;
	background-color: var(--color-green);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	padding-top: 4px;
}
.faq_list li .dt span.jp {
	width: calc( 100% - 60px );
	padding-right: 60px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.8;
}
.faq_list li .dd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px;
}
.faq_list li .dd span.en {
	width: 30px;
	height: 30px;
	color: #fff;
	font-weight: 900;
	background-color: var(--color-orange);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	padding-top: 4px;
}
.faq_list li .dd span.jp {
	width: calc( 100% - 60px );
	font-size: 16px;
	line-height: 1.8;
}

@media screen and (max-width: 767px) {
	.faq_list {
		margin-bottom: 40px;
	}
	.faq_list li {
		margin-bottom: 20px;
	}
	.faq_list li .dt {
		padding: 15px;
	}
	.faq_list li .dt::after {
		right: 15px;
	}
	.faq_list li .dt span.en {
		width: 24px;
		height: 24px;
		font-size: 14px;
		padding-top: 4px;
	}
	.faq_list li .dt span.jp {
		width: calc( 100% - 40px );
		padding-right: 40px;
		font-size: 13px;
	}
	.faq_list li .dd {
		padding: 15px;
	}
	.faq_list li .dd span.en {
		width: 24px;
		height: 24px;
		font-size: 14px;
		padding-top: 4px;
	}
	.faq_list li .dd span.jp {
		width: calc( 100% - 40px );
		font-size: 13px;
	}
}

/* ----- scroll-triggered fade-in reveals (driven by main.js IntersectionObserver) ----- */
.fadeIn {
	opacity: 0;
	visibility: hidden;
	transition: all 1s ease;
}
.fadeIn.show {
	opacity: 1;
	visibility: visible;
	transform: translate(0, 0);
}
.fi_top {
	transform: translate(0, 60px);
}
.fi_bottom {
	transform: translate(0, -60px);
}
.fi_right {
	transform: translate(60px, 0);
	transition-delay: 0s;
}
.fi_left {
	transform: translate(-60px, 0);
	transition-delay: 0s;
}
.delay {
	transition-delay: 0.5s !important;
}
.delay2 {
	transition-delay: 1s !important;
}
.delay3 {
	transition-delay: 1.5s !important;
}

@media screen and (max-width: 767px) {
	.delay, .delay2, .delay3 {
		transition-delay: 0 !important;
	}
}

/* ----- loading screen (top page only; safe no-op if #loading is absent) ----- */
#loading {
	width: 100%;
	height: 100%;
	background: #fff;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
}
#loading .ldgimg {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	text-align: center;
}
#loading .ldgimg img {
	width: 200px;
	height: auto;
	margin-bottom: 40px;
}
#loading .ldgimg .en {
	font-size: 14px;
	color: var(--color-green);
	font-weight: 900;
	letter-spacing: 0.05em;
	animation: ldgtxt 1.5s infinite;
}
#loading span {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 5px;
	background-color: var(--color-green);
}
#loading span.loaded {
	width: 0;
	height: 0;
	animation: ldg 1.5s;
}

@media screen and (max-width: 767px) {
	#loading .ldgimg img {
		width: 260px;
		margin-bottom: 30px;
	}
	#loading .ldgimg .en {
		font-size: 12px;
	}
}

@keyframes ldg {
	0% { width: 0; height: 5px; }
	50% { width: 100%; height: 5px; }
	80% { width: 100%; height: 5px; }
	100% { width: 100%; height: 0; }
}

@keyframes ldgtxt {
	0% { opacity: 0; }
	40% { opacity: 1; }
	60% { opacity: 1; }
	100% { opacity: 0; }
}
