@charset "UTF-8";
/* ==========================================================================
   Japan IRC テーマ core.css
   - 文字サイズ: clamp(最小rem, rem + vw, 最大rem)。最小は 375px 幅、最大は 1200px 幅で到達。
   - clamp() を使うルールには Safari の再計算対策として min-height:.001vw を必ず付ける（0vw は圧縮で単位が消えるため不可）。
   - 16px 未満は注記（ナビの日本語補足・パンくず・コピーライト・必須/任意ラベル）のみ。
   - 予備値は同じルールに同じプロパティを2回書かず、@supports で分ける。
   - 不自然な改行は .u-ib（inline-block）で囲んで防ぐ。
   ========================================================================== */

/* ---------- 変数 ---------- */
:root {
	--c-text: #333;
	--c-link: #1e73be;
	--c-link-hover: #63b5f7;
	--c-primary: #3bb26f;
	--c-primary-dark: #2f8e59;
	--c-accent: #800000;
	--c-gold: #aea94b;
	--c-footer: #1c1c1c;
	--container: 1140px;
	--gutter: 15px;
	--admin-bar: 0px;
	--font: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) {
	.admin-bar { --admin-bar: 46px; }
}

/* ---------- リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--admin-bar);
}
body {
	margin: 0;
	min-height: .001vw;
	font-family: var(--font);
	font-size: clamp(1rem, .972rem + .121vw, 1.0625rem);
	line-height: 1.7;
	color: var(--c-text);
	background: #fff;
	overflow-wrap: anywhere;
	animation: jirc-fadein 2s ease 0s 1 normal;
}
@keyframes jirc-fadein { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
a { color: var(--c-link); }
a:hover { color: var(--c-link-hover); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1.5rem; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.u-ib { display: inline-block; }
.u-br-pc { display: none; }
@media (min-width: 768px) {
	.u-br-pc { display: inline; }
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed;
	top: calc(var(--admin-bar) + 8px);
	left: 8px;
	z-index: 3000;
	padding: .5em 1em;
	background: #fff;
	color: var(--c-text);
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header-space { position: relative; z-index: 1000; }
.site-header {
	position: relative;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header__logo {
	margin: 0;
	padding: 17.6px 0 16px;
	line-height: 1;
}
.site-header__logo a { display: inline-block; }
.site-header__logo img { width: 276px; height: 45px; }

.global-nav__list {
	display: flex;
	list-style: none;
}
.global-nav__list > li > a {
	display: block;
	padding: 14px 18px;
	text-align: center;
	line-height: 1.4;
	color: var(--c-text);
	text-decoration: none;
}
.global-nav__list > li > a:hover { color: var(--c-text); opacity: .75; }
.global-nav__en {
	display: block;
	min-height: .001vw;
	font-size: clamp(1rem, .986rem + .0606vw, 1.03125rem);
	font-weight: 700;
	white-space: nowrap;
}
/* 注記扱い（英語ナビの日本語補足） */
.global-nav__ja {
	display: block;
	min-height: .001vw;
	font-size: clamp(.6875rem, .673rem + .0606vw, .71875rem);
	line-height: 1.3;
	color: #000;
	white-space: nowrap;
}

/* スクロール時：ヘッダー固定・ロゴ非表示・ナビ中央（旧 Lightning と同じ挙動） */
@keyframes jirc-header-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (min-width: 992px) {
	.is-header-fixed .site-header {
		position: fixed;
		top: var(--admin-bar);
		left: 0;
		width: 100%;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
		animation: jirc-header-drop .5s ease-out;
	}
	.is-header-fixed .site-header__logo { display: none; }
	.is-header-fixed .site-header__inner { justify-content: center; }
}

/* ---------- モバイルメニュー（991px以下） ---------- */
.mobile-nav-btn { display: none; }
@media (max-width: 991px) {
	.site-header__inner { justify-content: center; }
	.site-header__logo { padding: 12px 0; }
	.site-header__logo img { width: 230px; height: auto; }
	.global-nav { display: none; }

	.mobile-nav-btn {
		display: block;
		position: fixed;
		top: calc(var(--admin-bar) + 5px);
		right: 5px;
		z-index: 2100;
		width: 34px;
		height: 34px;
		padding: 0;
		border: 1px solid #333;
		border-radius: 2px;
		background: rgba(255, 255, 255, .8);
		cursor: pointer;
	}
	.mobile-nav-btn__bar,
	.mobile-nav-btn__bar::before,
	.mobile-nav-btn__bar::after {
		position: absolute;
		left: 50%;
		width: 20px;
		height: 2px;
		margin-left: -10px;
		background: #333;
		transition: transform .3s, opacity .3s;
	}
	.mobile-nav-btn__bar { top: 50%; margin-top: -1px; }
	.mobile-nav-btn__bar::before,
	.mobile-nav-btn__bar::after { content: ""; left: 0; margin-left: 0; }
	.mobile-nav-btn__bar::before { top: -6px; }
	.mobile-nav-btn__bar::after { top: 6px; }
	.mobile-nav-btn[aria-expanded="true"] .mobile-nav-btn__bar { background: transparent; }
	.mobile-nav-btn[aria-expanded="true"] .mobile-nav-btn__bar::before { transform: translateY(6px) rotate(45deg); }
	.mobile-nav-btn[aria-expanded="true"] .mobile-nav-btn__bar::after { transform: translateY(-6px) rotate(-45deg); }

	.mobile-nav {
		position: fixed;
		top: var(--admin-bar);
		right: 0;
		z-index: 2000;
		width: 100%;
		height: calc(100% - var(--admin-bar));
		padding: 45px 10px;
		overflow-y: auto;
		background: #fff;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform .5s ease-out, visibility .5s;
	}
	.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
}
@media (min-width: 992px) {
	.mobile-nav { display: none; }
}
.mobile-nav__list { list-style: none; }
.mobile-nav__list a {
	display: block;
	padding: .7em .5em;
	border-bottom: 1px solid #ccc;
	color: #333;
	font-weight: 600;
	text-decoration: none;
}
html.is-nav-open { overflow: hidden; }

/* ==========================================================================
   トップ：スライダー（Swiper / VK 置き換え）
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: #000;
}
.hero__track { display: grid; }
.hero__slide {
	grid-area: 1 / 1;
	position: relative;
	opacity: 0;
	transition: opacity 2s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img { display: block; width: 100%; height: auto; }
.hero__cover {
	position: absolute;
	inset: 0;
	background: #000;
}
.hero__text {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	text-align: center;
}
.hero__title {
	margin: 0;
	min-height: .001vw;
	font-size: clamp(1.25rem, .909rem + 1.45vw, 2rem);
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
}
.hero__title.has-shadow { text-shadow: 0 0 2px #777; }
@media (max-width: 575px) {
	/* 375px 幅だと画像高さが 118px 程度で文字が収まらないため、スマホだけ画像を縦に広げる（中央トリミング） */
	.hero__img { aspect-ratio: 1900 / 1000; object-fit: cover; }
	.hero__text .container { padding-inline: 36px; }
}
@media (max-width: 575px) {
	.hero__title {
		min-height: .001vw;
		font-size: clamp(1.125rem, .99rem + .65vw, 1.25rem);
		line-height: 1.45;
	}
}
@supports not (aspect-ratio: 1 / 1) {
	@media (max-width: 575px) {
		.hero__img { height: 52.6vw; }
	}
}

.hero__dots {
	position: absolute;
	bottom: 10px;
	left: 0;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #333;
	opacity: .2;
	cursor: pointer;
}
.hero__dot.is-active { background: #f2f2f2; opacity: 1; }

.hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 27px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: transparent no-repeat center / 27px 44px;
	cursor: pointer;
}
.hero__arrow--prev {
	left: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22 22 0l2.1 2.1L4.2 22l19.9 19.9L22 44z' fill='%23fff'/%3E%3C/svg%3E");
}
.hero__arrow--next {
	right: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22 5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0z' fill='%23fff'/%3E%3C/svg%3E");
}
@media (max-width: 575px) {
	.hero__arrow { width: 18px; height: 30px; margin-top: -15px; background-size: 18px 30px; }
}

/* ==========================================================================
   トップ：イントロ・3コンテンツ
   ========================================================================== */
.top-intro { padding: 64px 0; }
.top-intro__title {
	margin: 0 0 28px;
	min-height: .001vw;
	font-size: clamp(1.375rem, 1.2rem + .727vw, 1.75rem);
	text-align: center;
}
.top-intro__lead {
	max-width: 780px;
	margin: 0 auto 1.5rem;
	font-weight: 600;
	text-align: center;
}

.top-card { margin-bottom: 50px; }
.top-card--bg-a { background: rgba(245, 245, 245, .7); }
.top-card--bg-b { background: rgba(239, 242, 243, .7); }
.top-card--bg-c { background: rgba(241, 238, 236, .7); }
.top-card__link {
	display: block;
	padding: 4.5rem 0;
	color: #333;
	text-decoration: none;
}
.top-card__link:hover { color: #1c74e9; transition: all .3s; }
.top-card__link:hover img { opacity: .9; filter: brightness(110%); transition: all .3s; }
.top-card__body { display: flex; align-items: flex-start; }
.top-card__body--img-right { flex-direction: row-reverse; }
.top-card__img,
.top-card__txt { width: 50%; }
.top-card__body--img-left .top-card__img { padding-right: 32px; }
.top-card__body--img-right .top-card__img { padding-left: 32px; }
.top-card__txt { padding: 0 15px; }
.top-card__img img { display: block; width: 100%; margin-bottom: 4px; }
.top-card__title {
	margin: 0 0 .8em;
	min-height: .001vw;
	font-size: clamp(1.375rem, 1.2rem + .727vw, 1.75rem);
	line-height: 1.5;
}
.top-card__text { margin: 0; line-height: 1.8; }
@media (max-width: 991px) {
	.top-card__link { padding: 3.5rem 0; }
}
@media (max-width: 575px) {
	.top-card__body,
	.top-card__body--img-right { flex-direction: column; }
	.top-card__img,
	.top-card__txt { width: 100%; }
	.top-card__body--img-left .top-card__img,
	.top-card__body--img-right .top-card__img { padding: 0; }
	.top-card__txt { padding: 1.5rem 0 0; }
	.top-card__title { margin-bottom: .3em; }
}

/* 旧 Shortcodes Ultimate [su_animate fadeInUp 3s] の置き換え */
/* 旧SU同梱の Animate.css（2013年版）と同じ：20px 下から、3秒、ease、1回だけ */
@keyframes jirc-fadeup {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.js .js-fadeup { opacity: 0; }
.js .js-fadeup.is-inview { animation: jirc-fadeup 3s ease both; }
@media (prefers-reduced-motion: reduce) {
	.js .js-fadeup { opacity: 1; }
	.js .js-fadeup.is-inview { animation: none; }
	.hero__slide { transition: none; }
	body { animation: none; }
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */
.page-header {
	padding: 24px 0;
	background-image: radial-gradient(circle 993px at .5% 50.5%, rgba(137, 171, 245, .37) 0%, rgba(245, 247, 252, 1) 100.2%);
}
.page-header__title {
	margin: 0;
	min-height: .001vw;
	font-size: clamp(1.5rem, 1.27rem + .97vw, 2rem);
	line-height: 1.4;
	color: #777;
}

/* 注記扱い（パンくず） */
.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	padding: 6px 0;
	list-style: none;
	min-height: .001vw;
	font-size: clamp(.75rem, .736rem + .0606vw, .78125rem);
	line-height: 1.2;
}
.breadcrumb__item { display: flex; align-items: center; }
.breadcrumb__item:not(:last-child)::after { content: "/"; margin: 0 .5em; color: #666; }
.breadcrumb__item a { display: inline-flex; align-items: center; gap: .3em; color: #666; text-decoration: none; }
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__icon { width: 1.1em; height: 1.1em; }

.site-main { padding: 56px 0 64px; }
.site-main--front { padding: 0; }

.kotei-title {
	margin: 0 0 32px;
	min-height: .001vw;
	font-size: clamp(1.5rem, 1.27rem + .97vw, 2rem);
	font-weight: 600;
	line-height: 1.5;
	border-bottom: 1px solid #333;
}
.kotei-lead { font-weight: 600; }

.kotei-box {
	background: #fff;
	border: 1px solid #ddd;
	border-top: 6px solid var(--c-gold);
	border-radius: 5px;
	box-shadow: 0 0 13px rgba(76, 76, 76, .2);
}
.kotei-box__inner { margin: 50px; }
.kotei-box__inner > :last-child { margin-bottom: 0; }

.kotei-h3 {
	margin: 48px 0 24px;
	padding-left: 5px;
	min-height: .001vw;
	font-size: clamp(1.1875rem, 1.05rem + .606vw, 1.5rem);
	line-height: 1.4;
	border-bottom: 1px solid #888;
}
.kotei-box__inner > .kotei-h3:first-child { margin-top: 0; }
.kotei-h3__sq {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: .3em;
	background: var(--c-accent);
	vertical-align: 0;
}
.kotei-role { font-weight: 600; color: #b00000; }
.kotei-map img { display: block; }
.kotei-list { margin: 16px 0 24px; padding-left: 24px; }
.kotei-list li { margin: 8px 0; line-height: 1.45; }

@media (max-width: 479px) {
	.kotei-box__inner { margin: 30px; }
}
@media (max-width: 374px) {
	.kotei-box__inner { margin: 24px 18px; }
}

/* 投稿（ブロックエディター） */
.entry-meta { color: #777; }
.entry-content > * { margin-top: 0; margin-bottom: 1.5rem; }
.entry-content h2 { margin-top: 2.5rem; min-height: .001vw; font-size: clamp(1.375rem, 1.2rem + .727vw, 1.75rem); }
.entry-content h3 { margin-top: 2rem; min-height: .001vw; font-size: clamp(1.1875rem, 1.05rem + .606vw, 1.5rem); }
.post-list { list-style: none; border-top: 1px solid #ddd; }
.post-list__item { display: flex; flex-wrap: wrap; gap: .25em 1.5em; padding: 1em 0; border-bottom: 1px solid #ddd; }
.post-list__date { color: #777; }

/* ==========================================================================
   お問い合わせ（Contact Form 7）
   ========================================================================== */
/* iPhone の入力時ズーム防止：入力欄は clamp() を使わず 16px 固定 */
.p-form input,
.p-form textarea,
.p-form select { font-size: 16px; }

.p-form .inquiry__table {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
	border: 3px solid #e6e5c9;
}
.p-form .inquiry__table th,
.p-form .inquiry__table td {
	padding: 8px 16px;
	vertical-align: middle;
	border-top: 1px solid #e6e5c9;
	border-bottom: 1px solid #e6e5c9;
	font-size: 1rem;
	line-height: 1.7;
}
.p-form .inquiry__table th {
	font-weight: 700;
	text-align: left;
	background: #eeeddb;
}
.p-form .inquiry__table p { margin: 0 0 1.5rem; }
.p-form .inquiry__table br { display: none; }

/* 注記扱い（必須／任意ラベル） */
.p-form .inquiry__req,
.p-form .inquiry__unreq {
	display: inline-block;
	margin-right: 1em;
	padding: 0 5px;
	border-radius: 3px;
	color: #fff;
	min-height: .001vw;
	font-size: clamp(.78125rem, .767rem + .0606vw, .8125rem);
	line-height: 1.9;
}
.p-form .inquiry__req { background: #f77b72; }
.p-form .inquiry__unreq { background: #8fa4ae; }

.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="tel"],
.p-form input[type="url"],
.p-form input[type="number"],
.p-form input[type="date"],
.p-form textarea,
.p-form select {
	display: block;
	width: 100%;
	margin: 0;
	padding: .8em 1em;
	border: 1px solid #d8d8d8;
	border-radius: 5px;
	background: #fff;
	color: var(--c-text);
	line-height: 1.5;
}
.p-form textarea { height: 188px; resize: vertical; }
.p-form ::placeholder { color: #797979; opacity: 1; }
.p-form .wpcf7-list-item { display: inline-block; margin: 0 0 0 1em; }
.p-form .wpcf7-list-item.first { margin-left: 0; }
.p-form .wpcf7-list-item input { margin: 0 .3em 0 0; }

.p-form .contact-inner-submit { margin: 20px; text-align: center; }
.p-form .contact-inner-submit p { margin: 0; }
.p-form input[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
	min-width: 250px;
	padding: .5em 2em;
	border: 1px solid var(--c-primary-dark);
	border-radius: 5px;
	background: var(--c-primary);
	color: #fff;
	line-height: 1.5;
	cursor: pointer;
}
.p-form input[type="submit"]:hover { background: var(--c-primary-dark); color: #fff; }
.p-form .wpcf7-spinner { width: 0; margin: 0; }
.p-form .wpcf7-not-valid-tip { display: block; margin-top: .3em; color: #dc3232; font-size: 1rem; }
.p-form .wpcf7-response-output { margin: 1.5em 0 0; padding: .8em 1em; border: 2px solid #ffb900; }
.p-form form.sent .wpcf7-response-output { border-color: #46b450; }
.p-form form.invalid .wpcf7-response-output,
.p-form form.failed .wpcf7-response-output { border-color: #dc3232; }
.p-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
/* CF7 標準CSSを読み込まないため、必要な最低限をここで指定 */
.p-form .hidden-fields-container { display: none; }
.p-form form.init .wpcf7-response-output,
.p-form form.resetting .wpcf7-response-output,
.p-form form.submitting .wpcf7-response-output { display: none; }
.p-form .wpcf7-form-control-wrap { position: relative; display: block; }
.p-form form.submitting input[type="submit"] { opacity: .6; cursor: wait; }

@media (min-width: 992px) {
	.p-form .inquiry__table th { width: 30%; }
}
@media (min-width: 768px) and (max-width: 991px) {
	/* 「メールアドレス確認」が1文字だけ折り返さない幅 */
	.p-form .inquiry__table th { width: 36%; }
}
@media (max-width: 767px) {
	.p-form .inquiry__table { width: 95%; }
	.p-form .inquiry__table,
	.p-form .inquiry__table tbody,
	.p-form .inquiry__table tr,
	.p-form .inquiry__table th,
	.p-form .inquiry__table td { display: block; width: 100%; }
	.p-form .inquiry__table th,
	.p-form .inquiry__table td { border: 0; line-height: 2.5; }
	.p-form .inquiry__table p { margin: 0; }
	.p-form .inquiry__table td { padding-bottom: 1em; }
	.p-form input[type="submit"] { min-width: 0; width: 100%; max-width: 250px; }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
	background: var(--c-footer);
	color: #fff;
}
.site-footer a { color: #fff; }
.site-footer__content { padding-top: 48px; margin-block: 50px; }
.site-footer__row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.site-footer__col { width: 100%; padding: 0 15px; }
@media (min-width: 768px) {
	.site-footer__col { width: 50%; }
}
@media (min-width: 992px) {
	.site-footer__col { width: 33.3333%; }
}
.footer-company { margin-top: .75rem; }
.footer-company__name {
	margin: 0 0 1em;
	min-height: .001vw;
	font-size: clamp(1.125rem, 1.03rem + .398vw, 1.33rem);
	font-weight: 700;
	line-height: 1.4;
}
.footer-company__address { line-height: 1.7; }
.footer-links { margin: .75rem 0 1.5rem; padding-left: 18px; list-style: none; }
.footer-links li { margin: .7em 0 .45em; font-weight: 600; line-height: 1.4; }
.footer-links a { position: relative; display: inline-block; text-decoration: none; }
.footer-links a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .5s;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::after { transform: scale(1, 1); }
@media (max-width: 767px) {
	.footer-links { padding-left: 0; }
}

/* 注記扱い（コピーライト） */
.site-footer__copyright { padding: 1rem; }
.site-footer__copyright p {
	margin: .5rem;
	text-align: center;
	min-height: .001vw;
	font-size: clamp(.75rem, .736rem + .0606vw, .78125rem);
	line-height: 1.7;
}

/* ページトップ */
.page-top {
	position: fixed;
	right: 38px;
	bottom: 27px;
	z-index: 1500;
	width: 40px;
	height: 38px;
	background: rgba(0, 0, 0, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 11 8 5l6 6' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 2px rgba(0, 0, 0, .8);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.page-top.is-show { opacity: 1; visibility: visible; }
@media (max-width: 575px) {
	.page-top { right: 12px; bottom: 12px; }
}
