@charset "UTF-8";
/* CSS Document */


/* ////////////////////////////////////////////////////////////////////////////////

	Common

//////////////////////////////////////////////////////////////////////////////// */

/* WordPressの下層ページ（既存テーマのCSS）に影響しないよう、要素指定は ol- の範囲内に限定 */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

:where(.ol-body, .ol-header, .ol-footer) img {
	max-width: 100%;
	height: auto;
}
:where(.ol-body, .ol-header, .ol-footer) ul { list-style: none;}

.anim {
	opacity: 0;
	transition: all .6s ease-out;
}
.anim.on {
	opacity: 1;
}

@media screen and (min-width: 821px) {
	.ol-sp { display: none;}
}
@media screen and (max-width: 820px) {
	.ol-pc { display: none;}
}
/* タッチ端末では sticky hover で操作が阻害されるため、ホバー演出はポインタデバイスのみ */
@media (hover: hover) and (pointer: fine) {
	:where(.ol-body, .ol-header, .ol-footer) a { transition: opacity .3s ease-out;}
	:where(.ol-body, .ol-header, .ol-footer) a:hover { opacity: .5;}
}


/* ////////////////////////////////////////////////////////////////////////////////

	Renewal Common（ol- prefix）
	既存サイトのCSSと衝突しないよう、すべて「ol-」から始まるクラスで定義

//////////////////////////////////////////////////////////////////////////////// */
:root {
	--ol-font-en: "Inter", sans-serif;
	--ol-font-ja: "Noto Sans JP", sans-serif;
	--ol-color-text: #111;
	--ol-color-sub: #777;
	--ol-color-bg: #ebebeb;
	--ol-color-line: #c8c8c8;
	--ol-color-line-dark: #555;
	--ol-inner-max: 1340px;
	--ol-inner-gutter: clamp(20px, 3.5vw, 50px);
	--ol-header-h: 90px;
	--ol-header-h-scrolled: 70px;
	--ol-ease: cubic-bezier(.25, .8, .25, 1);
}

/*
	フォント上書き対策:
	- 親への !important は子の独自 font-family を消せない
	- TypeSquare 等の <style>h1,h2,…{font-family:…}</style> は要素自身への指定
	→ 子孫すべてに font-family:!important を当てる
	- 英字用は html body.ol-body .xxx 側で --ol-font-en を再指定（詳細度で勝つ）
*/
html body.ol-body {
	background: var(--ol-color-bg);
	color: var(--ol-color-text);
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
}
html body.ol-body,
html body.ol-body *:not(script):not(style):not(code):not(kbd):not(pre):not(samp),
html body.ol-body h1,
html body.ol-body h2,
html body.ol-body h3,
html body.ol-body h4,
html body.ol-body h5,
html body.ol-body h6,
html body.ol-body .entry-title,
html body.ol-body .hentry,
html body.ol-body b,
html body.ol-body strong {
	font-family: var(--ol-font-ja) !important;
}
html body.ol-body button,
html body.ol-body input,
html body.ol-body select,
html body.ol-body textarea {
	font-family: var(--ol-font-ja) !important;
}
:where(.ol-body) a {
	color: inherit;
	text-decoration: none;
}
:where(.ol-body, .ol-header, .ol-footer) img {
	vertical-align: top;
}

/* 下層ページ（.ol-body 以外）でもヘッダー・フッターの見た目を保つための基本設定 */
html body .ol-header,
html body .ol-footer {
	color: var(--ol-color-text);
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
}
html body .ol-header,
html body .ol-footer,
html body .ol-header *:not(script):not(style):not(code):not(kbd):not(pre):not(samp),
html body .ol-footer *:not(script):not(style):not(code):not(kbd):not(pre):not(samp) {
	font-family: var(--ol-font-ja) !important;
}
:where(.ol-header, .ol-footer) *,
:where(.ol-header, .ol-footer) ::before,
:where(.ol-header, .ol-footer) ::after {
	box-sizing: border-box;
}
.ol-header a,
.ol-header a:hover,
.ol-footer a,
.ol-footer a:hover {
	color: inherit;
	text-decoration: none;
}

.ol-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--ol-inner-max) + var(--ol-inner-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ol-inner-gutter);
}


/* ----------------------------------------------------------------
	header
---------------------------------------------------------------- */
.ol-header {
	position: sticky;
	top: 0;
	/* オープニング(10000)より低く、ページ内 sticky / transform 要素より高く */
	z-index: 9000;
	background: rgba(235, 235, 235, .88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: box-shadow .3s ease;
	pointer-events: auto;
}
.admin-bar .ol-header {
	top: 32px;
}
.ol-header.is-scrolled {
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.ol-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--ol-header-h);
	transition: height .3s ease;
}
.ol-header.is-scrolled .ol-header__inner {
	height: var(--ol-header-h-scrolled);
}
.ol-header__logo {
	position: relative;
	z-index: 2;
}
.ol-header__logo a {
	display: block;
}
.ol-header__logo img {
	width: 84px;
}

.ol-gnav {
	align-self: stretch;
}
.ol-gnav__list {
	display: flex;
	height: 100%;
	gap: clamp(14px, 1.8vw, 32px);
	list-style: none;
}
.ol-gnav__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
html body.ol-body .ol-gnav__link {
	display: block;
	font-family: var(--ol-font-en) !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1;
}

/* ＋マーク（開いている間は−） */
.ol-gnav__toggle {
	position: relative;
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	padding: 0;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
}
.ol-gnav__toggle::before,
.ol-gnav__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .3s var(--ol-ease);
}
.ol-gnav__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ol-gnav__dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.ol-gnav__sub {
	min-width: 200px;
	padding: 22px 26px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	list-style: none;
	font-size: 13px;
	line-height: 1.6;
	white-space: nowrap;
}
.ol-gnav__sub > li + li {
	margin-top: 12px;
}
.ol-gnav__sub a {
	display: block;
}
.ol-gnav__grandchild {
	margin-top: 8px;
	list-style: none;
	font-size: 12px;
	color: var(--ol-color-sub);
}
.ol-gnav__grandchild li + li {
	margin-top: 6px;
}
.ol-gnav__grandchild a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ol-gnav__grandchild a::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 1px;
	background: currentColor;
}

@media screen and (min-width: 821px) {
	.ol-gnav__item--has-child:focus-within > .ol-gnav__dropdown,
	.ol-gnav__item--has-child.is-open > .ol-gnav__dropdown {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
	.ol-gnav__item--has-child:focus-within > .ol-gnav__toggle::after,
	.ol-gnav__item--has-child.is-open > .ol-gnav__toggle::after {
		transform: translate(-50%, -50%) rotate(0deg);
	}
}
@media screen and (min-width: 821px) and (hover: hover) and (pointer: fine) {
	.ol-gnav__item--has-child:hover > .ol-gnav__dropdown {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
	.ol-gnav__item--has-child:hover > .ol-gnav__toggle::after {
		transform: translate(-50%, -50%) rotate(0deg);
	}
}

.ol-menu-btn {
	display: none;
}


/* ----------------------------------------------------------------
	section head / links
---------------------------------------------------------------- */
.ol-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
html body.ol-body .ol-sec-head__title {
	font-family: var(--ol-font-en) !important;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.2;
}

html body.ol-body .ol-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ol-font-en) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1;
	white-space: nowrap;
}
.ol-more::after {
	content: "";
	width: 13px;
	height: 12px;
	background: url("../images/ico_arrow_right.svg") center / contain no-repeat;
	transition: transform .3s var(--ol-ease);
}
.ol-more:hover::after {
	transform: translateX(4px);
}

/* 白抜き背景用：矢印ボックス付きリンク */
html body.ol-body .ol-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--ol-font-en) !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1;
}
.ol-arrow-link::after {
	content: "";
	width: 30px;
	height: 22px;
	border-radius: 999px;
	background: url("../images/ico_arrow_right.svg") center / 12px auto no-repeat #fff;
	transition: transform .3s var(--ol-ease);
}
.ol-arrow-link:hover::after {
	transform: translateX(4px);
}


/* ----------------------------------------------------------------
	footer
---------------------------------------------------------------- */
.ol-footer {
	padding-bottom: 50px;
	background: var(--ol-color-bg);
}
.ol-footer__pagetop {
	display: flex;
	justify-content: center;
	border-top: 1px solid var(--ol-color-line);
}
/* NEWS詳細など ol-body が付かないページでもフッター見た目を揃える */
html body .ol-footer .ol-pagetop {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 10px;
	font-family: var(--ol-font-en) !important;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1;
}
.ol-pagetop::after {
	content: "";
	width: 10px;
	height: 12px;
	background: url("../images/ico_arrow_up.svg") center / contain no-repeat;
}
.ol-footer__body {
	display: grid;
	grid-template-columns: 240px 1fr;
	border-top: 1px solid var(--ol-color-line);
}
.ol-footer__info {
	display: flex;
	flex-direction: column;
	padding: 40px 30px 20px 0;
	border-right: 1px solid var(--ol-color-line);
}
.ol-footer__logo {
	display: block;
	width: 84px;
}
html body .ol-footer .ol-footer__sns {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-top: 40px;
	list-style: none;
	font-family: var(--ol-font-en) !important;
	font-size: 12px;
	font-weight: 500;
}
html body .ol-footer .ol-footer__copy {
	margin-top: auto;
	padding-top: 40px;
	font-family: var(--ol-font-en) !important;
	color: var(--ol-color-sub);
}
.ol-footer__copy small {
	font-size: 10px;
}
.ol-footer__sitemap {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 30px 14px;
	padding: 40px 0 20px 50px;
}
html body .ol-footer .ol-footer__heading {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ol-color-line);
	font-family: var(--ol-font-en) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
}
.ol-footer__links {
	list-style: none;
	font-size: 12px;
	line-height: 1.6;
}
.ol-footer__links li + li {
	margin-top: 8px;
}
.ol-footer__sub {
	margin-top: 8px;
	padding-left: 0;
	list-style: none;
	font-size: 12px;
	color: var(--ol-color-sub);
}
.ol-footer__sub li + li {
	margin-top: 6px;
}
.ol-footer__sub a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ol-footer__sub a::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 1px;
	background: currentColor;
}


/* ----------------------------------------------------------------
	responsive
---------------------------------------------------------------- */
@media screen and (max-width: 1100px) {

	.ol-footer__body {
		grid-template-columns: 1fr;
	}
	.ol-footer__info {
		padding: 32px 0;
		border-right: none;
		border-bottom: 1px solid var(--ol-color-line);
	}
	.ol-footer__copy {
		padding-top: 24px;
	}
	.ol-footer__sitemap {
		grid-template-columns: repeat(7, minmax(0, 1fr));
		gap: 24px 10px;
		padding: 32px 0 0;
	}

}

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

	:root {
		--ol-header-h: 64px;
		--ol-header-h-scrolled: 64px;
	}

	/* backdrop-filter があると固定配置のメニューが header 基準になるため無効化 */
	.ol-header {
		background: var(--ol-color-bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.ol-header__logo img {
		width: 72px;
	}

	.ol-menu-btn {
		position: relative;
		z-index: 3;
		display: block;
		width: 44px;
		height: 44px;
		margin-right: -10px;
		background: none;
		border: none;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	.ol-menu-btn span {
		position: absolute;
		left: 11px;
		width: 22px;
		height: 1.5px;
		background: var(--ol-color-text);
		transition: transform .3s var(--ol-ease), top .3s var(--ol-ease);
	}
	.ol-menu-btn span:nth-child(1) { top: 17px;}
	.ol-menu-btn span:nth-child(2) { top: 25px;}
	.is-menu-open .ol-menu-btn span:nth-child(1) {
		top: 21px;
		transform: rotate(30deg);
	}
	.is-menu-open .ol-menu-btn span:nth-child(2) {
		top: 21px;
		transform: rotate(-30deg);
	}

	.ol-gnav {
		position: fixed;
		inset: 0;
		z-index: 1;
		overflow-y: auto;
		padding: calc(var(--ol-header-h) + 16px) var(--ol-inner-gutter) 48px;
		background: var(--ol-color-bg);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .3s ease, visibility .3s ease;
	}
	.is-menu-open .ol-gnav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	/* is-menu-open は html に付与される */
	html.is-menu-open {
		overflow: hidden;
	}
	.ol-gnav__link,
	.ol-gnav__toggle {
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	.ol-gnav__list {
		flex-direction: column;
		gap: 0;
		height: auto;
		border-top: 1px solid var(--ol-color-line);
	}
	.ol-gnav__item {
		flex-wrap: wrap;
		gap: 0;
		border-bottom: 1px solid var(--ol-color-line);
	}
	.ol-gnav__link {
		flex: 1;
		padding: 20px 0;
		font-size: 18px;
		font-weight: 600;
	}
	.ol-gnav__toggle {
		width: 44px;
		height: 44px;
		margin-right: -12px;
	}
	.ol-gnav__toggle::before,
	.ol-gnav__toggle::after {
		width: 14px;
	}
	.ol-gnav__item.is-open > .ol-gnav__toggle::after {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	.ol-gnav__dropdown {
		position: static;
		display: none;
		width: 100%;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.ol-gnav__item.is-open > .ol-gnav__dropdown {
		display: block;
	}
	.ol-gnav__sub {
		min-width: 0;
		padding: 0 0 22px;
		background: none;
		border-radius: 0;
		box-shadow: none;
		font-size: 14px;
		white-space: normal;
	}
	.ol-gnav__grandchild {
		font-size: 13px;
	}

	.ol-sec-head__title {
		font-size: 18px;
	}

	/* ロゴ・SNS・コピーライトはメニューの下に */
	.ol-footer__info {
		order: 1;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 0 20px;
		padding: 28px 0 0;
		border-top: 1px solid var(--ol-color-line);
		border-bottom: none;
	}
	html body .ol-footer .ol-footer__sns {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		gap: 18px;
		margin-top: 0;
	}
	.ol-footer__copy {
		grid-column: 1 / -1;
		padding-top: 28px;
	}
	.ol-footer__sitemap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
		padding: 32px 0;
	}

}

/* WordPressログイン時の管理バー */
@media screen and (max-width: 782px) {
	.admin-bar .ol-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	.admin-bar .ol-header {
		top: 0;
	}
}

/* NEWS詳細下部の検索・最近の記事：TypeSquare 明朝をサイト共通ゴシックに揃える */
html body #widget_bottom_search,
html body #widget_bottom_search .headline,
html body #widget_bottom_search .headline.typesquare_option,
html body #widget_bottom_search input,
html body #recent_post,
html body #recent_post .headline,
html body #recent_post .headline.rich_font,
html body #recent_post .title,
html body #recent_post .title.typesquare_option,
html body #recent_post .typesquare_option {
	font-family: var(--ol-font-ja) !important;
}

/* NEWS詳細：黒背景ブロック内のテキストをスマホで左寄せ */
@media screen and (max-width: 820px) {
	body.single .post_content .has-black-background-color.has-text-align-center,
	body.single .post_content .has-black-background-color .has-text-align-center,
	body.single .post_content .wp-block-columns.has-black-background-color,
	body.single .post_content .wp-block-column.has-black-background-color,
	body.single .post_content .wp-block-group.has-black-background-color {
		text-align: left !important;
	}

	/* tetsukasa2026-result：見出し・グレー背景テキストを少し小さく */
	body.postid-33721 .post_content .has-large-font-size {
		font-size: 22px !important;
	}
	body.postid-33721 .post_content p.has-background.has-medium-font-size {
		font-size: 15px !important;
	}
	body.postid-33721 .post_content p.has-background:not(.has-medium-font-size):not(.has-small-font-size) {
		font-size: 13px !important;
	}
	body.postid-33721 .post_content p.has-background.has-small-font-size {
		font-size: 12px !important;
	}
}
