/*
Theme Name: bohr 
 */

/* ============================
	common
============================ */

#wrapper {
	/* デザイン幅1440pxに合わせる（bohr既定は1040px） */
	min-width: var(--w-design);
	overflow: hidden;
}

.flex-between {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.flex-start {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.ofi {
	font-family: "object-fit: cover;";
	-o-object-fit: cover;
	object-fit: cover;
}

.bold {
	font-weight: 700;
}

.c-primary {
	color: var(--c-primary);
}

body {
	font-family: var(--f-base);
	color: var(--c-text);
}

@media screen and (max-width: 767px) {
	#wrapper {
		min-width: 0;
		margin: 0 auto;
		box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
	}
}

/* ============================
	sp-menu
============================ */
#sp-menu {
	box-sizing: border-box;
	position: absolute;
	transition: all 0.35s ease;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.9);
	width: 100%;
	padding: 80px 20px 40px;
	opacity: 0;
	pointer-events: none;
	z-index: 998;
}

#sp-menu.opening {
	position: fixed;
	transition: all 0.35s ease;
	opacity: 1;
	pointer-events: auto;
	height: 100vh;
	overflow-y: auto;
}

#sp-menu .menu-item a {
	text-align: center;
	line-height: 1;
	display: block;
	width: 100%;
	padding: 20px 0;
	font-size: var(--fs-17);
	font-weight: 500;
	color: var(--c-text);
}

#sp-menu .menu-item + .menu-item {
	border-top: 1px solid var(--c-border);
}

#sp-menu .sub-menu {
	display: none;
	opacity: 0;
	transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
	display: block;
	opacity: 1;
	transition: 0.35s all ease;
}

#sp-menu .sp-contact-box a {
	box-sizing: border-box;
	display: block;
	background-color: var(--c-primary);
	border-radius: var(--r-pill);
	text-align: center;
	color: var(--c-white);
	font-size: var(--fs-17);
	font-weight: 500;
	padding: 12px 0;
}

/* btn-hamburger */
#btn-hamburger {
	position: relative;
	top: 0;
	right: 0;
	background-color: transparent;
	width: 44px;
	height: 44px;
	z-index: 1000;
	cursor: pointer;
}

#btn-hamburger .border {
	position: absolute;
	left: 7px;
	transition: opacity, transform 0.2s ease;
	background: var(--c-text) no-repeat left top;
	width: 30px;
	height: 2px;
	z-index: 1;
}

#btn-hamburger .border:first-child {
	top: 33%;
}

#btn-hamburger .border:nth-child(2) {
	transform: rotate(0);
	opacity: 1;
	top: 50%;
}

#btn-hamburger .border:nth-child(3) {
	top: 67%;
}

#btn-hamburger.opening .border:first-child {
	transform: rotate(45deg);
	top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
	opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
	top: 50%;
	transform: rotate(-45deg);
}

/* ============================
	header
============================ */
#header {
	top: var(--offset-header);
	left: 0;
	right: 0;
	width: 100%;
	min-width: 1200px;
	margin: 0 auto;
	padding: 0 25px;
	z-index: 999;
	box-sizing: border-box;
}

#header.h-fixed {
	position: fixed;
}

#header .h-inner {
	box-sizing: border-box;
	align-items: center;
	width: 100%;
	padding: 15px;
	border-radius: var(--r-m);
	background: rgba(255, 255, 255, 0.65);
}

#h-site-logo {
	flex-shrink: 0;
	width: 250px;
}

#h-site-logo h1,
#h-site-logo h2 {
	margin: 0;
}

#h-gnav-box.flex-start {
	align-items: center;
	margin: 0 0 0 auto;
	gap: 40px;
}

#menu-header-nav {
	column-gap: 30px;
}

/*#h-gnav-box .menu-item + .menu-item {
	margin: 0 0 0 50px;
}*/

#h-gnav-box .menu-item a {
	font-size: var(--fs-15);
	font-weight: 500;
	line-height: var(--lh-tight);
	color: var(--c-text);
}

#h-gnav-box .menu-item a:hover {
	color: var(--c-primary);
	opacity: 1;
}

/*#h-gnav-contact {
	margin-left: 40px;
}*/

#h-gnav-contact a,
#f-gnav-contact a {
	display: block;
	box-sizing: border-box;
	background-color: var(--c-primary);
	border-radius: var(--r-pill);
	text-align: center;
	color: var(--c-off-white);
	font-size: var(--fs-15);
	font-weight: 500;
	line-height: 1;
	width: 150px;
	padding: 11px 0;
}

#h-gnav-contact a:hover,
#f-gnav-contact a:hover {
	background-color: var(--c-primary-hover);
	opacity: 1;
}

@media screen and (max-width: 1300px) {
	#header {
		top: 10px;
		padding: 0 10px;
		min-width: 0;
	}

	#header .h-inner {
		padding: 0 10px;
	}

	#h-site-logo {
		width: 180px;
	}
}

/* ============================
	footer
============================ */
#footer .f-inner {
	padding: 70px 0 40px;
	background-color: var(--c-dark);
	color: var(--c-white);
}

#footer .f-content {
	align-items: flex-start;
	text-align: left;
}

#footer .f-logo {
	width: 250px;
	text-align: left;
}

#footer .f-address {
	margin: 18px 0 0;
	font-family: var(--f-body);
	font-size: var(--fs-14);
	line-height: var(--lh-body-s);
	color: var(--c-white);
}

#footer .f-nav-box {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 21px;
}

#footer .f-gnav-box .menu-item a {
	font-size: var(--fs-15);
	font-weight: 500;
	line-height: var(--lh-tight);
	color: var(--c-white);
}

#copyright {
	background-color: var(--c-dark);
	padding: 20px 0;
}

#copyright p {
	text-align: left;
	color: var(--c-border);
	font-size: var(--fs-12);
	line-height: var(--lh-tight);
	margin: 0;
}

#copyright .f-privacy a:hover {
	color: var(--c-white);
}

@media screen and (max-width: 767px) {
	#footer .f-inner {
		padding: 50px 0 30px;
	}

	#footer .f-content {
		display: block;
	}

	#footer .f-nav-box {
		align-items: flex-start;
		margin: 30px 0 0;
	}

	#copyright .content-width {
		flex-direction: column-reverse;
		gap: 30px;
	}
}

/* ============================
	mainvisual
============================ */
.mainvisual {
	width: 100%;
	margin: 0;
}

#top-mv {
	position: relative;
	/*overflow: hidden;*/
	background: url('./img/fv-main.png') no-repeat top center / cover;
}

#top-mv .mv-inner {
	position: relative;
	z-index: 1;
	height: 100vh;
	min-height: 700px;
	align-items: flex-end;
	padding: 0 0 200px;
	box-sizing: border-box;
}

#top-mv .mv-inner.flex-start {
	justify-content: flex-start;
}

#mv-ttl {
	display: inline-block;
	margin: 0;
	font-family: var(--f-base);
	font-size: var(--fs-70);
	font-weight: 500;
	line-height: 1.43;
	letter-spacing: var(--ls-fv);
	color: var(--c-off-white);
	backdrop-filter: blur(5px);
	background-color: rgba(255, 255, 255, 0.3);
	padding: 5px 0 10px 20px;
}

#top-mv .mv-scroll {
	position: absolute;
	width: 1px;
	height: 50px;
	background: #fff;
	left: 50%;
	bottom: 0px;
	z-index: 2;
	margin: 0;
	transform: translateX(-50%);
}

#top-mv .mv-scroll::before {
	content: "";
	display: block;
	width: 1px;
	height: 50px;
	background: var(--c-text-sub);
	position: absolute;
	top: 100%;
}

#top-mv .mv-scroll::after {
	content: "";
	display: block;
	width: 1px;
	height: 5px;
	background: var(--c-text-sub);
	position: absolute;
	top: calc(100% + 45px);
	transform: rotate(45deg);
	transform-origin: bottom left;
}

#top-mv .mv-scroll span {
	display: block;
	font-family: var(--f-en);
	font-size: var(--fs-9);
	font-weight: 300;
	letter-spacing: var(--ls-en);
	color: var(--c-text-sub);
	writing-mode: vertical-rl;
	margin: 0 auto;
	position: absolute;
	top: calc(100% + 5px);
	left: 2px;
	white-space: nowrap;
}

#top-mv .mv-deco-map {
	position: absolute;
	left: calc(50% - 6px);
	bottom: -236px;
	z-index: 5;
	width: 360px;
	pointer-events: none;
}

#top-mv .mv-deco-map img {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	#top-mv .mv-inner {
		height: 520px;
		min-height: 0;
		padding-bottom: 80px;
	}

	#mv-ttl {
		margin-left: 0;
		line-height: 1.5;
	}

	#top-mv .mv-scroll {
		display: none;
	}

	#top-mv .mv-deco-map {
		left: auto;
		right: 10px;
		bottom: -110px;
		width: 170px;
	}
}

#page-mv {
	position: relative;
	overflow: hidden;
	background: url('./img/mv-page.png') no-repeat center center / cover;
}

#page-mv .mv-inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	height: 350px;
	align-items: flex-end;
	padding: 0 0 90px;
}

#page-mv .page-ttl {
	margin: 0;
	font-family: var(--f-base);
	font-size: var(--fs-70);
	font-weight: 500;
	line-height: 1.43;
	letter-spacing: var(--ls-fv);
	color: var(--c-off-white);
}

@media screen and (max-width: 767px) {
	#page-mv .mv-inner {
		height: 200px;
		padding-bottom: 50px;
	}
}

/* ============================
	section
============================ */
.sec-inner {
	padding: var(--pad-sec) 0;
}

.sec-ttl {
	text-align: center;
	margin: 0;
}

.content-width {
	box-sizing: border-box;
	width: var(--w-content);
	padding: 0 20px;
	margin: 0 auto;
}

.content-box {
	margin: 50px 0 0;
}

@media screen and (max-width: 767px) {
	.content-width {
		width: 100%;
	}
}

/* ============================
	sec-ttl-box（英字ラベル＋見出し＋リード）
============================ */
.sec-en {
	display: block;
	margin: 0 0 20px;
	font-family: var(--f-en);
	font-size: var(--fs-18);
	font-weight: 400;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-en);
	color: var(--c-primary);
}

.sec-ttl-box .sec-ttl {
	font-size: var(--fs-40);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: var(--ls-h2);
	color: var(--c-ink);
}

.sec-lead {
	margin: 25px 0 0;
	font-family: var(--f-body);
	font-size: var(--fs-17);
	font-weight: 400;
	line-height: var(--lh-body);
	color: var(--c-text);
}

@media screen and (max-width: 767px) {
	.sec-en {
		margin-bottom: 12px;
		font-size: var(--fs-14);
	}

	.sec-lead {
		margin-top: 18px;
	}
}

/* ============================
	btn-arrow
============================ */
.btn-box {
	margin: 0;
}

a.btn-arrow {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: var(--w-btn);
	max-width: 300px;
	min-height: var(--h-btn);
	padding: 0 40px;
	border: 1px solid var(--c-primary);
	border-radius: var(--r-pill);
	background: var(--c-primary);
	font-size: var(--fs-20);
	font-weight: 500;
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-btn);
	color: var(--c-white);
}

a.btn-arrow:hover {
	opacity: 1;
	background: var(--c-primary-hover);
	border-color: var(--c-primary-hover);
}

a.btn-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5.5px 0 5.5px 9.5px;
	border-color: transparent transparent transparent currentColor;
	/* hover復帰でのズレ防止に基点を明示する（規約 2-1） */
	transform: translateY(-50%) scale(1);
	transition: transform var(--transition);
}

a.btn-arrow:hover::after {
	transform: translateY(-50%) translateX(4px) scale(1);
}

a.btn-arrow-invert {
	background: var(--c-off-white);
	border-color: var(--c-off-white);
	color: var(--c-primary);
}

a.btn-arrow-invert:hover {
	background: var(--c-white);
	border-color: var(--c-white);
	color: var(--c-primary-hover);
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
	padding: 14px 0;
	background: var(--c-bg-light);
	font-family: var(--f-body);
	font-size: var(--fs-12);
	line-height: 1.6;
	color: var(--c-text-sub);
}

.breadcrumbs a,
.breadcrumbs span {
	color: var(--c-text-sub);
}

.breadcrumbs a:hover {
	color: var(--c-primary);
	opacity: 1;
}

.breadcrumbs .crumb-sep {
	margin: 0 8px;
	color: var(--c-border);
}

.breadcrumbs .crumb-current {
	color: var(--c-ink);
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
	clear: both;
	margin: 30px 0 0;
	font-size: 1.6rem;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	width: 3em;
	height: 3em;
	margin: 0 0.5em;
	font-family: var(--f-en);
	font-weight: 400;
	line-height: 3;
	color: var(--c-text-sub);
	border: 1px solid var(--c-border);
	border-radius: 50%;
	text-align: center;
	vertical-align: middle;
	transition: all 0.3s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current,
.wp-pagenavi span:not(.extend):not(.pages) {
	background: var(--c-primary);
	color: var(--c-white);
	border-color: var(--c-primary);
	opacity: 1;
	text-decoration: none;
}

.wp-pagenavi .pages {
	width: auto;
	padding: 0 1em;
	border: none;
	border-radius: 0;
	background: none;
	color: var(--c-text-sub);
}

.wp-pagenavi a:hover {
	transition: all 0.5s ease;
}

.wp-pagenavi .extend {
	width: 1em;
	color: var(--c-text-sub);
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border: medium none;
}

.wp-pagenavi .extend::after {
	content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	position: relative;
	width: 3em;
	height: 3em;
	background: var(--c-white);
	text-indent: -999999px;
	vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	border-top: 2px solid var(--c-text-sub);
	border-right: 2px solid var(--c-text-sub);
}

.wp-pagenavi .previouspostslink::after {
	transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
	transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
	border-color: var(--c-white);
}

.result_count {
	margin-bottom: 15px;
	text-align: center;
	font-size: 1.4rem;
	color: #999;
}

/* ============================
	post parts
============================ */
.post-date {
	font-family: var(--f-base);
	font-size: var(--fs-15);
	min-width: 70px;
	color: var(--c-text-sub);
}

.post-cats {
	line-height: 1;
	margin: 0 0 0 20px;
}

.post-cats.flex-start {
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
}

.post-cat {
	box-sizing: border-box;
	display: block;
	background-color: transparent;
	border: 1px solid var(--c-primary);
	border-radius: var(--r-pill);
	color: var(--c-primary);
	font-family: var(--f-base);
	font-size: var(--fs-12);
	font-weight: 500;
	line-height: var(--lh-heading);
	padding: 4px 16px;
	width: auto;
	text-align: center;
}

.post-cat + .post-cat {
	margin: 0;
}

.post-cat:link {
	color: #fff;
}

.post-cat:visited {
	color: #fff;
}

/* ============================
	news list
============================ */
/* ▼▼▼ 2026-09-10 変更：トップのお知らせセクションと同じ行レイアウトに統一 ▼▼▼
	トップ・お知らせ一覧・カテゴリアーカイブで共用する。 */
.news-list {
	border-top: 1px solid var(--c-border);
}

.news-item {
	align-items: baseline;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-border);
	color: var(--c-text-sub);
}

.news-item .post-date {
	width: 137px;
	min-width: 0;
	font-size: var(--fs-18);
	font-weight: 500;
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-btn);
}

.news-item .post-ttl {
	width: calc(100% - 148px);
	margin: 0 0 0 11px;
	font-size: var(--fs-20);
	font-weight: 500;
	line-height: var(--lh-heading);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.news-item .post-ttl a:hover {
	color: var(--c-primary);
}

@media screen and (max-width: 767px) {
	.news-item {
		display: block;
	}

	.news-item .post-date {
		width: auto;
		font-size: var(--fs-14);
	}

	.news-item .post-ttl {
		width: 100%;
		margin: 4px 0 0;
		-webkit-line-clamp: 2;
	}
}
/* ▲▲▲ 2026-09-10 変更ここまで ▲▲▲ */

/* ============================
	card list
============================ */
.card-list {
	margin-top: -30px;
	margin-left: -80px;
}

.card-item {
	width: 280px;
	margin-top: 30px;
	margin-left: 80px;
}

.card-item .post-thumb img {
	width: 100%;
}

.card-item .post-info {
	margin-top: 20px;
}

.card-item .post-ttl {
	font-size: 1.5rem;
	margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
	.card-item {
		width: 100%;
	}
}

/* ============================
	contact form
============================ */
.contact-box table {
	border: none;
	margin: 0;
}

.contact-box th,
.contact-box td {
	padding: 0 0 15px;
	border: none;
	background: none;
	vertical-align: top;
}

.contact-box th {
	width: 260px;
	padding-top: 12px;
	font-family: var(--f-body);
	font-size: var(--fs-17);
	font-weight: 400;
	line-height: var(--lh-body);
	color: var(--c-text);
	text-align: left;
}

.contact-box td {
	width: calc(100% - 260px);
}

.contact-box td.contact-radio {
	padding-top: 12px;
	height: 75px;
}

.contact-box table p {
	margin: 0;
}

.contact-box .required {
	display: inline-block;
	background-color: #e21414;
	color: #fafafa;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	margin: 0 0 0 20px;
	padding: 4px 8px;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box textarea {
	width: 100%;
	min-height: 55px;
	padding: 14px 20px;
	border: 1px solid var(--c-border);
	border-radius: var(--r-s);
	background: var(--c-white);
	box-shadow: none;
	font-family: var(--f-body);
	font-size: var(--fs-17);
	line-height: var(--lh-body);
	color: var(--c-text);
	box-sizing: border-box;
}

.contact-box textarea {
	min-height: 330px;
}

.contact-box .wpcf7-list-item {
	margin: 0;
}

.contact-box .wpcf7-list-item + .wpcf7-list-item {
	margin-left: 1em;
}

.contact-box .your-email {
	box-sizing: border-box;
	width: 100%;
}

.contact-box .zip {
	width: 150px;
	box-sizing: border-box;
}

.contact-box .your-address {
	box-sizing: border-box;
	width: 100%;
}

.contact-box .your-content {
	width: 100%;
	box-sizing: border-box;
}

/*.contact-note {
	text-align: center;
	color: var(--c-text-sub);
}*/


#consent-box {
	text-align: center;
}

#submit-box .wpcf7-response-output {
	text-align: center;
}

#btn-submit {
	width: 300px;
	position: relative;
	margin: 60px auto 0;
}

#btn-submit .wpcf7-submit {
	width: 300px;
	border: none;
	border-radius: var(--r-pill);
	background: var(--c-primary);
	font-family: var(--f-base);
	font-size: var(--fs-20);
	font-weight: 500;
	letter-spacing: var(--ls-btn);
	padding: 13px 0;
		color: #fff;
		line-height: 1;
}

#btn-submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 0 0 10px;
}

@media screen and (max-width: 767px) {
	.contact-box input[type="text"],
	.contact-box input[type="password"],
	.contact-box input[type="email"],
	.contact-box input[type="tel"],
	.contact-box input[type="url"],
	.contact-box input[type="number"],
	.contact-box textarea {
		width: 100%;
	}

	.contact-box table,
	.contact-box tbody,
	.contact-box tr,
	.contact-box th,
	.contact-box td {
		display: block;
		width: 100%;
	}

	.contact-box th {
		padding: 0 0 6px;
	}

	.contact-box td {
		padding-bottom: 20px;
	}

	.contact-box td.contact-radio {
		padding-top: 0;
		height: auto;
	}

	.contact-box textarea {
		min-height: 200px;
	}

	.contact-box .wpcf7-list-item {
		display: block;
	}

	.contact-box .wpcf7-list-item + .wpcf7-list-item {
		margin: 0;
	}

	#btn-submit {
		width: 100%;
		margin-top: 30px;
	}

	#btn-submit .wpcf7-submit {
		width: 100%;
	}
}

/* ============================
	404
============================ */
#error-404 .content-box p {
	text-align: center;
}

@media screen and (min-width: 1301px) {
	#sp-menu {
		display: none;
	}

	#btn-hamburger {
		display: none;
	}
}

@media screen and (max-width: 1300px) {
	#h-gnav-box {
		display: none;
	}
}
