/*
Theme Name: Ryoen Shoukaijo Theme
Theme URI: https://ryoen-shoukaijo.local
Author: Ryoen Shoukaijo
Author URI: https://ryoen-shoukaijo.local
Description: 良縁紹介所の公式WordPressテーマ - IBJ加盟の結婚相談所サイト
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ryoen-shoukaijo
Tags: custom-theme, marriage-agency, business
*/

/* ==========================================================================
   基本・変数（デザインガイドライン準拠）
   ========================================================================== */
:root {
	--color-navy: #242a76;
	--color-gold: #D4AF37;
	--color-cream: #FFFEF7;
	--color-text: #333333;
	--color-text-sub: #666666;
	--font-heading: "Noto Serif JP", serif;
	--font-body: "Noto Serif JP", serif;
	/* --font-body: "Noto Sans JP", sans-serif; */
}

body {
	font-family: var(--font-body);
	color: var(--color-text);
	background-color: var(--color-cream);
	line-height: 1.7;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	letter-spacing: 1.1px;
}

/* ヘッダー（全ページ共通・Figmaデザイン準拠） */
.site-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
	min-height: 121px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* ロゴ（左） */
.site-header__logo {
	display: block;
	text-decoration: none;
	flex-shrink: 0;
}
.site-header__logo-img {
	display: block;
	height: 50px;
	width: auto;
	max-width: 301px;
	object-fit: contain;
}
.site-header__name {
	font-family: "Noto Serif JP", serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: rgb(37, 42, 118);
	line-height: 1.2;
}

/* 右カラム：IBJロゴ＋ナビ */
.site-header__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
}

/* IBJロゴ */
.site-header__ibj {
	display: flex;
	justify-content: flex-end;
}
.site-header__ibj-img {
	display: block;
	height: 46px;
	width: auto;
	max-width: 167px;
	object-fit: contain;
}

/* ナビゲーション（デスクトップ） */
.site-header__nav { }
.site-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}
.site-header__menu a {
	font-family: "Noto Serif JP", serif;
	font-size: 1rem;
	font-weight: 400;
	color: rgb(25, 25, 25);
	text-decoration: none;
	line-height: 1.4;
	transition: opacity 0.2s ease;
}
.site-header__menu a:hover {
	opacity: 0.6;
}

/* ハンバーガーボタン（モバイル） */
.site-header__menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: none;
	color: rgb(37, 42, 118);
	padding: 8px;
	cursor: pointer;
}
.site-header__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* モバイル対応 */
@media (max-width: 899px) {
	.site-header__inner {
		padding: 0 16px;
		min-height: 72px;
	}
	.site-header__right {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.site-header__ibj {
		display: none;
	}
	.site-header__menu-toggle {
		display: flex;
	}
	.site-header__nav {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: rgb(37, 42, 118);
		display: none;
		z-index: 200;
	}
	.site-header__nav.is-open {
		display: block;
	}
	.site-header__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 16px 20px;
	}
	.site-header__menu li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}
	.site-header__menu li:last-child {
		border-bottom: none;
	}
	.site-header__menu a {
		display: block;
		padding: 14px 0;
		color: #fff;
		font-size: 1rem;
	}
	.site-header__menu a:hover {
		opacity: 0.8;
	}
}

/* フッター（全ページ共通・Figmaデザイン準拠） */
.site-footer {
	background: rgb(37, 42, 118);
	color: #fff;
	font-family: "Noto Serif JP", serif;
}
.site-footer__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 48px 20px 32px;
}
.site-footer__main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	flex-wrap: wrap;
}

/* 左：社名・連絡先 */
.site-footer__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.site-footer__name {
	font-size: 1.875rem; /* 30px */
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.2;
}
.site-footer__address {
	font-size: 0.875rem; /* 14px */
	font-weight: 700;
	font-style: normal;
	color: #fff;
	line-height: 1.8;
	margin: 0;
}

/* 右：ナビ・SNS */
.site-footer__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 20px;
	width: 100%;
}
.site-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: flex-end;
}
.site-footer__nav-list a {
	font-size: 1rem; /* 16px */
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	line-height: 1.4;
}
.site-footer__nav-list a:hover {
	text-decoration: underline;
}
.site-footer__sns-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 12px;
}
.site-footer__sns-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.site-footer__sns-link:hover {
	opacity: 0.75;
}
.site-footer__sns-link--inactive {
	opacity: 0.4;
	cursor: default;
}

/* 下部：コピーライト */
.site-footer__bottom {
	background: rgb(37, 42, 118);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	text-align: center;
	padding: 16px 20px;
}
.site-footer__copy {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
}
.site-footer__legal {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}
.site-footer__legal a {
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}
.site-footer__legal a:hover {
	color: #fff;
	text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 767px) {
	.site-footer__main {
		flex-direction: column;
	}
	.site-footer__right {
		align-items: flex-start;
		width: 100%;
	}
	.site-footer__nav-list {
		justify-content: flex-start;
	}
}

/* 横スクロール防止 */
.site-main {
	overflow-x: hidden;
}

/* ==========================================================================
   スクロール時のふわっと表示（全ページ共通）
   ========================================================================== */
.ryoen-fade-in,
.site-main > section,
.site-main > article,
.site-main article {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ryoen-fade-in.is-visible,
.site-main > section.is-visible,
.site-main > article.is-visible,
.site-main article.is-visible {
	opacity: 1;
	transform: translateY(0);
}
