/*
Theme Name: Toshoujuku Theme
Theme URI:
Description: 東消塾公式ウェブサイト用カスタムWordPressテーマ
Author: Affiliencer.LLC
Author URI: https://affiliencer.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: toshoujuku-theme
*/

/* ==========================================================================
   目次（Table of Contents）
   ==========================================================================
   1. ベーススタイル（リセット・アクセシビリティ）
   2. ヘッダー（ロゴ・ナビゲーション・ボタン）
   3. グローバルナビゲーション（PCメニュー・ドロップダウン）
   4. モバイルナビゲーション（ハンバーガーメニュー・SPナビ）
   5. フッター
   6. フロントページ - ヒーローセクション
   7. フロントページ - バナースライダー
   8. フロントページ - 東消塾の特徴（Summary/Method）
   9. フロントページ - コース案内
   10. フロントページ - TOPIC/コラム
   11. フロントページ - バナーリンク
   12. フロントページ - YouTube
   13. フロントページ - LINE相談
   14. フロントページ - 合格者紹介
   15. レイアウト（メイン＋サイドバー）
   16. サイドバーバナー
   ========================================================================== */


/* ==========================================================================
   1. ベーススタイル（リセット・アクセシビリティ）
   ========================================================================== */

/**
 * スクリーンリーダー専用テキスト
 * - 視覚的に非表示だがSEOやアクセシビリティのために読み上げられる
 */
.screen-reader-text,
.visually-hidden {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/**
 * ブラウザのデフォルトマージンをリセット
 * - レイアウトをページ最上部から開始させる
 */
html,
body {
	margin: 0;
	padding: 0;
}

/**
 * 流動的フォントサイズ（Fluid Typography）
 * - PC表示（1200px）を基準として、画面幅に応じて自動的にスケーリング
 * - 基準値: 1200px幅で16px（1rem）
 * - 計算式: font-size = (100vw / 1200) * 16 = 1.3333vw
 * - 最小: 375px幅で10px（モバイル可読性確保）
 * - 最大: 1400px以上で18.67px（大画面での見やすさ確保）
 */
html {
	font-size: clamp(10px, 1.3333vw, 18.67px);
}

/* ==========================================================================
   2. ヘッダー（ロゴ・ナビゲーション・ボタン）
   ========================================================================== */

/**
 * ヘッダー全体のコンテナ
 * - 白背景、下部にボーダー
 */
.l-header,
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

/**
 * ヘッダーバナー（上部の細長いバナー）
 * - 武田塾と同じ最大幅1140px
 */
.l-header__banner,
.header-bnr {
	background-color: #f5f5f5;
	max-width: 1140px;
	margin: 0 auto;
}

.l-header__banner img,
.header-bnr img {
	display: block;
	width: 100%;
	height: auto;
}

/**
 * ヘッダーメイン部分（ロゴとボタンが入る領域）
 */
.l-header__main,
.header-main {
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
}

/**
 * ヘッダー内部のコンテナ
 * - ロゴ（左）とアクションボタン（右）をflex配置
 */
.l-header__inner,
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

/**
 * テキストロゴ（カスタムロゴ画像がない場合のフォールバック）
 */
.l-header__logo {
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
	color: #333333;
}

/**
 * カスタムロゴ（PC用）
 * - 幅260px固定
 */
.l-header__branding .custom-logo-link {
	display: block;
}

.l-header__branding .custom-logo {
	display: block;
	max-height: 100%;
	width: 260px;
	height: auto;
}

/**
 * モバイル用ロゴ
 * - デフォルトでは非表示、モバイル時のみ表示
 */
.l-header__branding .custom-logo-link--mobile {
	display: none;
}

/**
 * ヘッダーアクションボタン（LINE・資料請求）
 */
.l-header__actions {
	display: flex;
	gap: 8px;
}

/**
 * ハンバーガーメニューボタン
 * - PCでは非表示、モバイル時のみ表示
 */
.l-header__menu-toggle {
	display: none;
	margin-left: 16px;
	padding: 8px;
	border: none;
	background: none;
	cursor: pointer;
}

.l-header__menu-icon {
	display: block;
	width: 36px;
	height: auto;
}

.l-header__menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: #333333;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.l-header__menu-toggle-bar + .l-header__menu-toggle-bar {
	margin-top: 4px;
}

/**
 * ナビゲーションバー（PCメニューのコンテナ）
 */
.l-header__nav {
	background-color: #1a1a1a;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 10;
}

/**
 * ナビゲーション閉じるボタン（モバイル用）
 * - PCでは非表示
 */
.l-header__nav-close {
	display: none;
}

/* ==========================================================================
   3. グローバルナビゲーション（PCメニュー・ドロップダウン）
   ========================================================================== */

/**
 * メインナビゲーションリスト
 * - 横並びメニュー、中央揃え
 */
.p-global-nav {
	margin: 0 auto;
	max-width: 1140px;
	display: flex;
	justify-content: center;
	align-items: stretch;
	list-style: none;
	padding: 0 20px;
	height: 70px;
}

@media screen and (max-width: 1280px) {
	.p-global-nav {
		height: 50px;
	}
}

@media screen and (max-width: 1024px) {
	.p-global-nav {
		height: 40px;
	}
}

/**
 * ナビゲーション各項目
 */
.p-global-nav > li {
	display: flex;
	height: 100%;
	padding: 0 35px;
	position: relative;
	text-align: center;
}

@media screen and (max-width: 1280px) {
	.p-global-nav > li {
		padding: 0;
		width: 100%;
	}
}

/**
 * メニュー項目間の縦線（区切り線）
 */
.p-global-nav > li:not(:first-child)::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 70%;
	background-color: #ffffff;
}

/**
 * ナビゲーションリンク
 */
.p-global-nav > li > a {
	align-items: center;
	color: #ffffff;
	display: flex;
	font-size: 16px;
	font-weight: 400;
	height: 100%;
	justify-content: center;
	position: relative;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

/**
 * メニュー項目のホバー演出
 * - 透明度を下げて白くなるイメージ
 */
.p-global-nav .menu-item > a {
	transition: 0.3s;
}

.p-global-nav .menu-item > a:hover,
.p-global-nav .menu-item > a:focus {
	opacity: 0.7;
}

/**
 * ドロップダウンメニュー（子メニュー付き項目）
 */
.p-global-nav > li.menu-item-has-children {
	position: relative;
}

/**
 * ドロップダウン矢印アイコン
 */
.p-global-nav > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin: 0 0 -2px 4px;
	background-image: url("images/header_arrow.webp");
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
}

/**
 * サブメニュー（ドロップダウンパネル）
 */
.p-global-nav > li.menu-item-has-children > .sub-menu {
	background-color: #000000;
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-global-nav > li.menu-item-has-children:hover > .sub-menu,
.p-global-nav > li.menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.p-global-nav > li.menu-item-has-children > .sub-menu > li {
	height: 50px;
	padding: 0 10px;
}

@media screen and (max-width: 1280px) {
	.p-global-nav > li.menu-item-has-children > .sub-menu > li {
		height: 45px;
	}
}

@media screen and (max-width: 1024px) {
	.p-global-nav > li.menu-item-has-children > .sub-menu > li {
		height: 35px;
	}
}

.p-global-nav > li.menu-item-has-children > .sub-menu > li > a {
	align-items: center;
	color: #ffffff;
	display: flex;
	font-size: 14px;
	height: 100%;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

/**
 * ヘッダー用ボタン（LINE・資料請求）
 * - ピル型ボタン、幅180px×高さ45px
 */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 45px;
	box-sizing: border-box;
	border-radius: 9999px;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

.c-btn--line {
	background-color: #00b900;
}

.c-btn--document {
	background-color: #ff0000;
}

.c-btn--line:hover,
.c-btn--line:focus {
	background-color: #009400;
}

.c-btn--line:active {
	background-color: #007a00;
}

.c-btn--document:hover,
.c-btn--document:focus {
	background-color: #cc0000;
}

.c-btn--document:active {
	background-color: #b30000;
}

/**
 * 固定フッターCTA（モバイル用）
 * - 画面下部に固定表示、PCでは非表示
 */
.c-fixed-footer-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: none;
	padding: 12px;
	background-color: #ffffff;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.c-fixed-footer-cta__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 8px;
}

.c-fixed-footer-cta__btn {
	flex: 1 1 0;
}

/* ==========================================================================
   4. モバイルナビゲーション（ハンバーガーメニュー・SPナビ）
   - ブレイクポイント: 799px以下でモバイル表示
   ========================================================================== */

@media screen and (max-width: 799px) {
	/**
	 * モバイル時のヘッダー調整
	 * - ロゴ幅を140pxに縮小
	 * - ヘッダーボタンを非表示
	 */
	.l-header__inner {
		justify-content: flex-start;
		background-color: black;
		margin-top: -1px;
	}

	.l-header__branding .custom-logo {
		width: 140px;
	}

	.l-header__branding .custom-logo-link:not(.custom-logo-link--mobile) {
		display: none;
	}

	.l-header__branding .custom-logo-link--mobile {
		display: block;
	}

	.l-header__branding .custom-logo--mobile {
		width: 160px;
		height: auto;
	}

	.l-header__actions {
		display: none;
	}

	/**
	 * ハンバーガーメニューボタン表示
	 */
	.l-header__menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
	}

	/**
	 * フルスクリーンナビゲーション
	 * - 画面全体を覆う半透明の黒背景
	 */
	.l-header__nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		background-color: rgba(0, 0, 0, 0.85);
		padding: 80px 24px 24px;
		box-sizing: border-box;
		overflow-y: auto;
	}

	/**
	 * 閉じるボタン（×アイコン）
	 */
	.l-header__nav-close {
		position: absolute;
		top: 20px;
		right: 20px;
		width: 32px;
		height: 32px;
		border: none;
		padding: 0;
		background: none;
		cursor: pointer;
		display: block;
	}

	.l-header__nav-close-bar {
		position: absolute;
		left: 0;
		top: 50%;
		width: 100%;
		height: 2px;
		background-color: #ffffff;
		transform-origin: center;
	}

	.l-header__nav-close-bar--1 {
		transform: translateY(-50%) rotate(45deg);
	}

	.l-header__nav-close-bar--2 {
		transform: translateY(-50%) rotate(-45deg);
	}

	/**
	 * SPナビメニューリスト
	 * - 縦並び、左揃え
	 */
	.p-global-nav {
		max-width: none;
		margin: 0;
		padding: 0;
		list-style: none;
		display: block;
	}

	.p-global-nav > li {
		display: block !important;
		width: 100%;
		height: auto !important;
		padding: 0 !important;
		margin: 0;
		text-align: left !important;
	}

	.p-global-nav > li:last-child {
		border-bottom: none;
	}

	.p-global-nav > li:not(:first-child)::after {
		display: none !important;
	}

	.p-global-nav > li > a {
		display: block !important;
		position: relative;
		height: auto !important;
		width: auto !important;
		padding: 12px 0 12px 24px !important;
		font-size: 16px;
		color: #ffffff;
		text-decoration: none;
		text-align: left !important;
		justify-content: flex-start !important;
	}

	/**
	 * サブメニューのアコーディオン開閉
	 * - 閉じた状態：▶、開いた状態：▼
	 */
	.p-global-nav > li.menu-item-has-children > a::before {
		content: "▶";
		position: absolute;
		left: 8px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 0.625rem;
		color: #ffffff;
	}

	.p-global-nav > li.menu-item-has-children.is-open > a::before {
		content: "▼";
	}

	.p-global-nav > li.menu-item-has-children > a::after {
		content: none !important;
		display: none !important;
	}

	.p-global-nav .sub-menu {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
		display: none !important;
	}

	.p-global-nav > li.menu-item-has-children > .sub-menu {
		position: static !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		background-color: transparent !important;
	}

	.p-global-nav > li.menu-item-has-children:hover > .sub-menu,
	.p-global-nav > li.menu-item-has-children:focus-within > .sub-menu {
		display: none !important;
	}

	.p-global-nav > li.menu-item-has-children.is-open > .sub-menu {
		display: block !important;
	}

	.p-global-nav .sub-menu > li {
		padding: 0 !important;
		height: auto !important;
	}

	.p-global-nav .sub-menu > li > a {
		display: block !important;
		padding: 8px 0 8px 24px !important;
		height: auto !important;
		width: auto !important;
		font-size: 16px;
		color: #ffffff;
		text-decoration: none;
		text-align: left !important;
		justify-content: flex-start !important;
	}

	.p-front-passers{
		padding-bottom: 0 !important;
	}

	/**
	 * モバイル時のみ固定フッターCTAを表示
	 */
	.c-fixed-footer-cta {
		display: block;
	}
}

/**
 * SPナビ展開時のスクロール防止
 */
body.is-spnav-open {
	overflow: hidden;
}

/* 480px以下でヘッダーのpaddingを調整 */
@media screen and (max-width: 480px) {
	.l-header__inner,
	.nav-container {
		padding: 4px 16px;
	}
}

/* ==========================================================================
   5. フッター
   ========================================================================== */

/**
 * フッター全体
 * - 黒背景、白文字
 */
.l-footer {
	background-color: #1a1a1a;
	color: #ffffff;
	padding: 24px 12px 20px;
}

.l-footer__inner {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}

.l-footer__nav {
	margin-bottom: 40px;
}

/**
 * フッターナビゲーション
 * - 横並びリンクリスト
 */
.p-footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.p-footer-nav__item a,
.p-footer-nav a {
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
}

.p-footer-nav__item a:hover,
.p-footer-nav__item a:focus,
.p-footer-nav a:hover,
.p-footer-nav a:focus {
	text-decoration: underline;
}

/**
 * コピーライト
 */
.l-footer__copy {
	margin: 0;
	font-size: 12px;
}

@media screen and (max-width: 768px) {
	.l-footer {
		padding: 24px 12px 20px;
	}

	.p-footer-nav {
		gap: 16px;
	}

	.p-footer-nav__item a,
	.p-footer-nav a {
			font-size: 14px;
	}
}

@media screen and (max-width: 479px) {
	.l-footer {
		padding: 24px 12px 100px;
	}

	.l-footer__copy {
		font-size: 12px;
	}
}

/* 799px 以下かつ 480px 以上のときのフッター余白調整（スマホ・小さめタブレット想定） */
@media screen and (max-width: 799px) and (min-width: 480px) {
	.l-footer {
		padding: 24px 12px 90px;
	}
}


/* ==========================================================================
   6. フロントページ - ヒーローセクション
   - ファーストビュー画像とグラデーション背景
   ========================================================================== */

/**
 * ファーストビュー画像コンテナ
 * - 最大幅1500px
 */
.p-front-hero__image {
	max-width: 1500px;
	margin: 0 auto;
}

.p-front-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -1px;
}

/**
 * ヒーローセクション全体
 */
.p-front-hero,
.top-mv {
	margin: 0;
	position: relative;
	z-index: 0;
}

/**
 * 背景グラデーション（下が濃い赤、上が薄い赤）
 */
.p-front-hero::before,
.top-mv::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1500px;
	background: linear-gradient(
		to top,
		#ed0000 0%,
		#e32d2d 50%,
		#de5e5e 100%
	);
	z-index: -1;
}

.p-front-hero__title {
	text-align: center;
	margin: 40px 0 8px;
}

.p-front-hero__subtitle {
	text-align: center;
	margin-bottom: 40px;
}

/* ==========================================================================
   7. フロントページ - バナースライダー
   - 3枚のバナーを左右にスライドするカルーセル
   ========================================================================== */

/**
 * スライダーコンテナ
 */
.p-front-slider {
	position: relative;
	overflow: hidden;
	padding: 60px 0;
}

/**
 * スライダートラック（スライドの親要素）
 */
.p-front-slider__track {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 380px;
	user-select: none;
}

/**
 * 各スライド
 */
.p-front-slider__slide {
	position: absolute;
	top: 50%;
	left: 0;
	width: 60%;
	max-width: 700px;
	transition: transform 0.4s ease, opacity 0.4s ease;
	cursor: pointer;
}

.p-front-slider__slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/**
 * 非アクティブスライド（左右に配置）
 * - 透明度を下げ、白オーバーレイを表示
 */
.p-front-slider__slide:not(.is-active) {
	opacity: 0.7;
}

.p-front-slider__slide:not(.is-active)::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 8px;
	pointer-events: none;
}

/**
 * アクティブスライド（中央に配置）
 */
.p-front-slider__slide.is-active {
	opacity: 1;
	z-index: 10;
}

/**
 * 前後ナビゲーションボタン
 */
.p-front-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	font-size: 1.25rem;
	font-weight: bold;
	color: #333;
	z-index: 10;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.p-front-slider__nav:hover {
	background-color: #ffffff;
	transform: translateY(-50%) scale(1.1);
}

.p-front-slider__nav--prev {
	left: 16px;
}

.p-front-slider__nav--next {
	right: 16px;
}

/**
 * ドットインジケーター（現在位置表示）
 */
.p-front-slider__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.p-front-slider__dot {
	width: 12px;
	height: 12px;
	border: none;
	border-radius: 50%;
	background-color: #ccc;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.p-front-slider__dot:hover {
	background-color: #999;
}

.p-front-slider__dot.is-active {
	background-color: #e32d2d;
	transform: scale(1.2);
}

@media screen and (max-width: 768px) {
	.p-front-slider__slide {
		width: 75%;
	}

	.p-front-slider__nav {
		width: 40px;
		height: 40px;
	}

	.p-front-slider__nav--prev {
		left: 8px;
	}

	.p-front-slider__nav--next {
		right: 8px;
	}
}

@media screen and (max-width: 479px) {
	.p-front-slider {
		padding: 24px 0;
	}

	.p-front-slider__track {
		min-height: 190px;
		gap: 10px;
	}

	.p-front-slider__slide {
		width: 80%;
	}

	.p-front-slider__nav {
		width: 32px;
		height: 32px;
		top: 45%;
	}
}


/* ==========================================================================
   8. フロントページ - 東消塾の特徴（Summary/Method）
   - 紹介動画セクションと学習法カード
   ========================================================================== */

/**
 * サマリーセクション（紹介動画）
 */
.p-front-summary {
	padding: 80px 0 120px;
	background-color: #ffffff;
}

.p-front-summary__title {
	margin-bottom: 40px;
}

/**
 * 埋め込み動画コンテナ
 * - 16:9アスペクト比を維持
 */
.p-front-summary__movie {
	width: 95%;
	max-width: 900px;
	margin: 30px auto 24px;
}

.p-front-summary__movie figure {
	margin: 0;
	position: relative;
	height: 0;
	padding-top: 56.25%; /* 16:9アスペクト比 */
	overflow: hidden;
}

.p-front-summary__movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	display: block;
}

.p-front-summary__lead {
	margin: 40px 0 40px;
	text-align: center;
	font-size: 18px;
	line-height: 1.4;
	color: #333333;
}

.p-front-summary__button {
	margin: 0;
	text-align: center;
}

/**
 * 「東消塾の勉強法をもっと詳しく見る」ボタン
 */
.p-front-summary__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 360px;
	padding: 22px 40px;
	background-color: #1a1a1a;
	color: #ffffff;
	border-radius: 8px;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
	transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.p-front-summary__btn:hover,
.p-front-summary__btn:focus {
	opacity: 0.7;
}

.p-front-summary__btn:active {
	opacity: 0.9;
	transform: translateY(1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 478px) {
	.p-front-summary {
		padding: 80px 1.6rem 120px;
	}

	.p-front-summary__movie {
		width: 100%;
	}
}

/**
 * 学習法セクション（4つのカード）
 */
.p-front-method {
	padding: 80px 0 120px;
	background-color: #f7f7f7;
}

.p-front-method__title {
	text-align: center;
	margin: 0 0 40px;
}

/**
 * 見出し下の赤いアクセントライン
 */
.p-front-method__title::after {
	content: "";
	display: block;
	width: 220px;
	height: 6px;
	background-color: #ed0000;
	margin: 20px auto 0;
	border-radius: 9999px;
}

.p-front-method__title-small {
	font-size: 0.7em;
}

/**
 * カードグリッド（2列レイアウト）
 */
.p-front-method__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 30px;
	max-width: 900px;
	margin: 0 auto;
}

/**
 * 学習法カード
 */
.p-front-method__card {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 24px 24px 26px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.p-front-method__card-title {
	margin: 0 0 16px;
	font-size: 30px;
	font-weight: 700;
	color: #ed0000;
	border-left: 4px solid #ed0000;
	padding-left: 12px;
}

.p-front-method__card-lead {
	margin: 0 0 16px;
	font-size: 26px;
	font-weight: 700;
	color: #333333;
}

.p-front-method__card-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
}


/* ==========================================================================
   9. フロントページ - コース案内
   - 各コースのバナー画像リンク
   ========================================================================== */

.p-front-courses {
	padding: 80px 0 120px;
}

.p-front-courses__title {
	margin-bottom: 40px;
}

.p-front-courses__title-small {
	font-size: 0.8em;
}

/**
 * コース一覧（縦並び）
 */
.p-front-courses__list {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.p-front-courses__item {
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
	border-radius: 6px;
	overflow: hidden;
}

.p-front-courses__item img {
	display: block;
	width: 100%;
	height: auto;
}

.p-front-courses__link {
	display: block;
	transition: opacity 0.3s ease;
}

.p-front-courses__link:hover,
.p-front-courses__link:focus {
	opacity: 0.7;
}

.p-front-courses__link:active {
	opacity: 0.9;
}

@media screen and (max-width: 768px) {
	.p-front-courses {
		padding: 80px 0 60px;
	}

	.p-front-courses__list {
		gap: 24px;
	}
}

@media screen and (max-width: 478px) {
	.p-front-courses {
		padding: 60px 0 20px;
	}
}

/* ==========================================================================
   10. フロントページ - TOPIC/コラム
   - タブ切り替えで「TOPIC」「コラム」の記事一覧を表示
   ========================================================================== */

/**
 * TOPICセクション全体
 */
.p-front-topics {
	padding: 80px 0 0;
	background-color: #ffffff;
}

/**
 * 内部コンテナ（グレー背景）
 */
.p-front-topics__inner {
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
	background-color: #f7f7f7;
	padding: 32px 0 36px;
}

/**
 * タブボタン群
 */
.p-front-topics__tabs {
	display: flex;
	margin: 0 0;
	border-radius: 6px;
	overflow: hidden;
	padding: 0 32px;
}

/**
 * 個別タブボタン
 * - 赤いボーダー、クリックで背景色が赤に
 */
.p-front-topics__tab {
	flex: 1 1 0;
	padding: 10px 0;
	border-radius: 0;
	border: 1px solid #ed0000;
	background-color: #ffffff;
	color: #ed0000;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.p-front-topics__tab + .p-front-topics__tab {
	border-left: none;
}

.p-front-topics__tab:first-child {
	border-radius: 6px 0 0 6px;
}

.p-front-topics__tab:last-child {
	border-radius: 0 6px 6px 0;
}

/**
 * アクティブなタブ
 */
.p-front-topics__tab.is-active {
	background-color: #ed0000;
	color: #ffffff;
}

.p-front-topics__tab:hover,
.p-front-topics__tab:focus {
	opacity: 0.75;
}

/**
 * タブパネル（記事リスト表示エリア）
 */
.p-front-topics__panels {
	margin-top: 4px;
}

.p-front-topics__panel {
	display: none;
}

.p-front-topics__panel.is-active {
	display: block;
}

/**
 * 記事リスト
 */
.p-front-topics__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.p-front-topics__item {
	padding: 0;
}

/**
 * 各記事の区切り線
 */
.p-front-topics__item::after {
	content: "";
	display: block;
	margin: 0 32px;
	border-bottom: 1px solid #e5e5e5;
}

/**
 * 記事リンク（日付 + タイトル）
 */
.p-front-topics__link {
	display: flex;
	align-items: baseline;
	gap: 16px;
	text-decoration: none;
	color: #333333;
	font-size: 14px;
	padding: 16px 32px 10px;
}

.p-front-topics__link:hover,
.p-front-topics__link:focus {
	text-decoration: underline;
}

/**
 * 日付表示
 */
.p-front-topics__date {
	flex: 0 0 auto;
	min-width: 90px;
	font-size: 14px;
	color: #777777;
}

/**
 * 記事タイトル
 * - 長い場合は省略記号で切り捨て
 */
.p-front-topics__item-title {
	flex: 1 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/**
 * 記事がない場合のメッセージ
 */
.p-front-topics__none {
	margin: 0;
	font-size: 14px;
	color: #333333;
	display: block;
	padding: 16px 32px 10px;
}

@media screen and (max-width: 768px) {
	.p-front-topics {
		padding: 60px 0 0;
	}

	.p-front-topics .l-inner {
		padding: 0 1.6rem;
		box-sizing: border-box;
	}

	.p-front-topics__inner {
		width: 100%;
		max-width: 100%;
		padding: 32px 0 36px;
	}

	.p-front-topics__tab {
		padding: 8px 0;
		font-size: 14px;
	}
}


/* ==========================================================================
   11. フロントページ - バナーリンク
   - 関連ページへのバナー画像リンク
   ========================================================================== */

.p-front-banners {
	padding: 80px 0 120px;
	background-color: #ffffff;
}

.p-front-banners__inner {
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
}

/**
 * バナーリスト（縦並び / 3列グリッド）
 */
.p-front-banners__list {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.p-front-banners__item {
	overflow: hidden;
}

.p-front-banners__link,
.p-front-banners__image {
	display: block;
}

.p-front-banners__link img,
.p-front-banners__image img {
	display: block;
	width: 100%;
	height: auto;
}

.p-front-banners__link {
	transition: opacity 0.3s ease;
}

.p-front-banners__link:hover,
.p-front-banners__link:focus {
	opacity: 0.7;
}

.p-front-banners__link:active {
	opacity: 0.9;
}

/**
 * 3列グリッドレイアウト（PC表示時）
 */
@media screen and (min-width: 769px) {
	.p-front-banners__list--grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.p-front-banners__list--grid .p-front-banners__item {
		border-radius: 0;
	}
}

@media screen and (max-width: 768px) {
	.p-front-banners {
		padding: 60px 0 120px;
	}

	.p-front-banners__list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.p-front-banners__list--grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 投稿ページ用バナーセクション */
.p-front-banners--single {
	padding: 40px 0 0;
	margin-top: 40px;
}

.p-front-banners--single .p-front-banners__inner {
	width: 100%;
	max-width: none;
}

/* ==========================================================================
   15. レイアウト（メイン＋サイドバー）
   - 下層ページ用の2カラムレイアウト
   ========================================================================== */

/**
 * メインコンテンツ＋サイドバーのラッパー
 * - PC：2カラム、モバイル：1カラム
 */
.l-main-with-sidebar {
	max-width: 1100px;
	margin: 40px auto 80px;
	padding: 0 1.6rem;
}

.l-main-with-sidebar__content {
	max-width: 100%;
	margin: 0 auto;
}

.l-main-with-sidebar__sidebar {
	margin-top: 40px;
}

@media screen and (min-width: 1025px) {
	.l-main-with-sidebar {
		display: flex;
		align-items: flex-start;
		gap: 40px;
	}

	.l-main-with-sidebar__content {
		flex: 1 1 auto;
		max-width: none;
		margin: 0;
	}

	.l-main-with-sidebar__sidebar {
		flex: 0 0 260px;
		margin-top: 0;
	}
}

@media screen and (max-width: 1024px) {
	.l-main-with-sidebar__sidebar {
		display: none;
	}
}


/* ==========================================================================
   16. サイドバーバナー
   - 右サイドバー用のバナーリンク
   ========================================================================== */

.c-sidebar-banners__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.c-sidebar-banners__item {
	overflow: hidden;
}

.c-sidebar-banners__link,
.c-sidebar-banners__image {
	display: block;
}

.c-sidebar-banners__link img,
.c-sidebar-banners__image img {
	display: block;
	width: 100%;
	height: auto;
}

.c-sidebar-banners__link {
	transition: opacity 0.3s ease;
}

.c-sidebar-banners__link:hover,
.c-sidebar-banners__link:focus {
	opacity: 0.7;
}

.c-sidebar-banners__link:active {
	opacity: 0.9;
}


/* ==========================================================================
   レスポンシブ対応 - 学習法・LINE セクション
   ========================================================================== */

@media screen and (max-width: 834px) {
	.p-front-method .l-inner {
		padding: 0 1.6rem;
		box-sizing: border-box;
	}

	.p-front-method__grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 768px) {
	.p-front-method {
		padding: 60px 0;
	}

	.p-front-method__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   12. フロントページ - YouTube
   - 公式YouTubeチャンネルへの誘導バナー
   ========================================================================== */

.p-front-youtube {
	padding: 80px 0 120px;
	background-color: #f7f7f7;
}

.p-front-youtube__title {
	text-align: center;
	margin: 0 0 40px;
}

/**
 * YouTubeバナー画像
 */
.p-front-youtube__image {
	width: 95%;
	max-width: 900px;
	margin: 0 auto;
}

.p-front-youtube__image img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 6px 6px 10px 0px rgb(0 0 0 / 55%);
}

.p-front-youtube__image a {
	display: block;
	transition: opacity 0.3s ease;
}

.p-front-youtube__image a:hover,
.p-front-youtube__image a:focus {
	opacity: 0.7;
}

.p-front-youtube__image a:active {
	opacity: 0.9;
}

@media screen and (max-width: 768px) {
	.p-front-youtube {
		padding: 60px 0 120px;
	}
}

@media screen and (max-width: 478px) {
	.p-front-youtube {
		padding: 60px 1.6rem 60px;
	}

	.p-front-youtube__image {
		width: 100%;
	}
}


/* ==========================================================================
   13. フロントページ - LINE相談
   - LINE無料相談への3ステップ案内
   ========================================================================== */

.p-front-line {
	padding: 80px 0 120px;
	background-color: #ffffff;
}

.p-front-line__title {
	text-align: center;
	margin: 0 0 40px;
}

/**
 * 見出し下の赤いアクセントライン
 */
.p-front-line__title::after {
	content: "";
	display: block;
	width: 220px;
	height: 6px;
	background-color: #ed0000;
	margin: 20px auto 0;
	border-radius: 9999px;
}

.p-front-line__title-small {
	font-size: 0.7em;
}

.p-front-line__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 900px;
	margin: 0 auto 80px;
}

.p-front-line__step {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.p-front-line__step-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 24px;
	background-color: #ed0000;
	color: #ffffff;
}

.p-front-line__step-number {
	display: inline-block;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
}

.p-front-line__step-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.p-front-line__step-image img {
	display: block;
	width: 100%;
	height: auto;
}


.p-front-line__step-body{
    padding: 24px;
}

.p-front-line__step-text,
.p-front-line__step-body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
}

.p-front-line__button {
	margin: 0;
	text-align: center;
}

.p-front-line__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 360px;
	padding: 22px 40px;
	background-color: #06c755;
	color: #ffffff;
	border-radius: 8px;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
	transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.p-front-line__btn:hover,
.p-front-line__btn:focus {
	opacity: 0.7; /* ヘッダー＆「東消塾の勉強法をもっと詳しく見る」と同じ白くなるイメージ */
}

.p-front-line__btn:active {
	opacity: 0.9;
	transform: translateY(1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 918px 以下：LINE セクションは左右 1.6rem の余白を確保 */
@media screen and (max-width: 918px) {
	.p-front-line .l-inner {
		padding: 0 1.6rem;
		box-sizing: border-box;
	}

	/* カードのグリッドは l-inner 内で素直に全幅を使う */
	.p-front-line__steps {
		max-width: 100%;
	}
}

@media screen and (max-width: 842px) {
	.p-front-line__steps {
		grid-template-columns: 1fr;
	}

	.p-front-line__step-header {
		padding: 12px 40px;
		gap: 24px;
	}

	.p-front-line__step-title {
		font-size: 1.6rem;
	}
}

@media screen and (max-width: 768px) {
	.p-front-line {
		padding: 60px 0 100px;
	}

	.p-front-line__btn {
		width: 100%;
		max-width: 360px;
	}
}

/* ==========================================================================
   14. フロントページ - 合格者紹介
   - 合格者の声をカードスライダーで表示
   ========================================================================== */

/**
 * 合格者紹介セクション
 * - 背景色ピンク
 * - 右側はカードが画面端まで広がるためpadding-rightなし
 */
.p-front-passers {
	background-color: #f7f7f7;
	padding: 60px 0 0 60px;
}

.p-front-passers .l-inner {
	padding: 0;
	max-width: none;
}

/**
 * セクションタイトル
 */
.p-front-passers__title {
	text-align: center;
	margin-bottom: 40px;
}

.p-front-passers__title-sub {
	display: block;
	font-size: 4rem;
	font-weight: 700;
	color: #333;
	line-height: 1.4;
}

.p-front-passers__title-de {
	font-size: 0.8em;
}

.p-front-passers__title-main {
	display: block;
	font-size: 5rem;
	font-weight: 700;
	color: #333;
	line-height: 1.1;
	margin-bottom: 0.3em;
}

/**
 * タイトル下の赤いアクセントライン
 */
.p-front-passers__title::after {
	content: "";
	display: block;
	width: 220px;
	height: 6px;
	background-color: #ed0000;
	margin: 20px auto 0;
	border-radius: 10px;
}

/**
 * 受講生の声セクション（タイトル + 動画の縦並び・左寄せ）
 */
.p-front-passers__voice-section {
	margin-bottom: 120px;
}

.p-front-passers__voice-text {
	margin-bottom: 24px;
}

.p-front-passers__voice-sub {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #ed0000;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.p-front-passers__voice-title {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.4;
}

.p-front-passers__voice-movie {
	width: 60%;
	max-width: 800px;
}

.p-front-passers__voice-movie figure {
	margin: 0;
	position: relative;
	height: 0;
	padding-top: 56.25%; /* 16:9アスペクト比 */
	overflow: hidden;
	border-radius: 8px;
}

.p-front-passers__voice-movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	display: block;
	border-radius: 8px;
}

/**
 * YouTube動画埋め込み（チーム制度と同じスタイル）- 旧スタイル維持
 */
.p-front-passers__movie {
	width: 95%;
	max-width: 900px;
	margin: 30px auto 60px;
}

.p-front-passers__movie figure {
	margin: 0;
	position: relative;
	height: 0;
	padding-top: 56.25%; /* 16:9アスペクト比 */
	overflow: hidden;
}

.p-front-passers__movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	display: block;
}

/**
 * 2カラムレイアウト（左テキスト + 右カード）
 * カードエリアは画面右端まで広がる
 */
.p-front-passers__layout {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 24px;
}

.p-front-passers__text {
	flex: 0 0 300px;
	max-width: 300px;
	margin-top:60px;
}

.p-front-passers__text-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px;
	line-height: 1.5;
}

.p-front-passers__text-desc {
	font-size: 14px;
	line-height: 1.8;
	color: #333;
	margin: 0;
}

.p-front-passers__cards-wrapper {
	flex: 1;
	min-width: 0;
}

/**
 * 他セクションで使われるタイトルスタイルの上書き
 */
.p-front-method .p-front-passers__title::after {
	background-color: #ed0000;
	width: 220px;
	height: 6px;
	margin-top: 20px;
	border-radius: 10px;
}

.p-front-topics .p-front-passers__title::after {
	background-color: #ed0000;
	width: 220px;
	height: 6px;
	margin-top: 20px;
	border-radius: 10px;
}

.p-front-topics .p-front-passers__title-main {
	font-size: 4rem;
}

/**
 * カードスライダーコンテナ
 */
.p-front-passers__slider {
	position: relative;
	width: 100%;
}

/**
 * カード表示枠（横スクロール可能）
 */
.p-front-passers__frame {
	position: relative;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* スクロールバーを非表示 */
.p-front-passers__frame::-webkit-scrollbar {
	display: none;
}

.p-front-passers__frame {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/**
 * カードの並び（横一列）
 */
.p-front-passers__track {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 16px;
}

/**
 * 合格者カード（新デザイン）
 */
.p-front-passers__card {
	position: relative;
	flex: 0 0 260px;
	max-width: 260px;
	text-decoration: none;
	color: inherit;
	display: block;
}

/**
 * ③カード全体を囲むラッパー（padding + hover効果用）
 */
.p-front-passers__card-inner {
	border-radius: 6px;
	overflow: hidden;
	padding: 14px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/**
 * ④hover時のカラー変更は__card-inner全体に適用
 */
.p-front-passers__card:hover .p-front-passers__card-inner {
	background-color: #ffe6e6;
}

/**
 * カード写真エリア
 */
.p-front-passers__card-photo {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 6px;
}

.p-front-passers__photo,
.p-front-passers__photo-placeholder {
	width: 100%;
	aspect-ratio: 11 / 15;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.p-front-passers__card:hover .p-front-passers__photo {
	transform: scale(1.03);
}

.p-front-passers__photo-placeholder {
	background: #e0e0e0;
}

/**
 * ⑤名前オーバーレイ（画像内に表示 - 下側・両サイドにスペースを設ける）
 */
.p-front-passers__name-overlay {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 4px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 500;
	color: #333333;
	text-align: right;
	white-space: nowrap;
}

/**
 * カードボディ（テキスト部分）
 */
.p-front-passers__card-body {
	padding: 12px 0 8px;
	position: relative;
}

/**
 * 合格情報テキスト（合格先 → 東京消防庁一類）
 */
.p-front-passers__pass-info {
	margin: 0 0 12px;
	line-height: 1.4;
}

.p-front-passers__pass-label {
	font-size: 14px;
	font-weight: 700;
	color: #ff0000;
}

.p-front-passers__pass-place {
	font-size: 16px;
	font-weight: 700;
	color: #ff0000;
}

.p-front-passers__content {
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-front-passers__content p {
	margin: 0;
}

/**
 * 「記事を読む」テキストリンク（右寄せ + 矢印ボタン）
 */
.p-front-passers__read-more {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.p-front-passers__read-more-text {
	font-size: 14px;
	color: #ed0000;
}

.p-front-passers__read-more-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background-color: #ffecec;
	border-radius: 50%;
	color: #ed0000;
	font-size: 12px;
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* hover/active時：カラー逆転 */
.p-front-passers__card:hover .p-front-passers__read-more-arrow,
.p-front-passers__card:active .p-front-passers__read-more-arrow {
	background-color: #ed0000;
	color: #fff;
}

/* ==========================================================================
   動画インタビューセクション（独立セクション）
   ========================================================================== */
.p-front-passers-videos {
	background-color: #f7f7f7;
	padding: 60px 1.6rem;
}

.p-front-passers-videos__inner {
	max-width: 1030px;
	margin: 0 auto;
}

.p-front-passers-videos__title {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin-bottom: 30px;
}

.p-front-passers-videos__grid {
	display: flex;
	gap: 20px;
	justify-content: center;
}

	.p-front-passers-videos__card {
		flex: 0 0 calc(33.333% - 14px);
		max-width: calc(33.333% - 14px);
		border-radius: 8px;
		overflow: hidden;
		transition: background-color 0.3s ease, box-shadow 0.3s ease;
		position: relative;
		padding: 12px;
	}

	.p-front-passers-videos__card:hover,
	.p-front-passers-videos__card.is-active {
		background-color: #ffe6e6;
	}

.p-front-passers-videos__wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 アスペクト比 */
	overflow: hidden;
}

.p-front-passers-videos__iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

.p-front-passers-videos__thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	cursor: pointer;
}

.p-front-passers-videos__info {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0 0;
}

.p-front-passers-videos__course {
	display: inline-block;
	padding: 14px 12px;
	background-color: #fff;
	border-radius: 4px;
	font-size: 12px;
	color: #333;
	white-space: nowrap;
	font-weight: 600;
}

.p-front-passers-videos__details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.p-front-passers-videos__place {
	font-size: 13px;
	color: #333333;
}

.p-front-passers-videos__name {
	font-size: 15px;
	color: #333;
}

.p-front-passers-videos__link-wrapper {
	text-align: right;
	margin-top: 20px;
}

.p-front-passers-videos__link {
	display: inline-block;
	color: #ff0000;
	font-size: 14px;
	text-decoration: none;
}

.p-front-passers-videos__link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   合格実績ボックス（独立セクション）
   ========================================================================== */
.p-front-passers-bottom {
	background-color: #f7f7f7;
	padding: 0 1.6rem 120px;
}

.p-front-passers-bottom__inner {
	max-width: 1030px;
	margin: 0 auto;
	background-color: #fff;
	border-radius: 8px;
	padding: 20px 20px 8px;
}

.p-front-passers-bottom__heading {
	margin: 0 0 16px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
}

.p-front-passers-bottom__places {
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.p-front-passers-bottom__places p {
	margin: 0;
}

.p-front-passers-bottom__link {
	margin-top: 16px;
	text-align: center;
}

.p-front-passers-bottom__link a {
	color: #ff0000;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid;
}

.p-front-passers-bottom__link a:hover {
	text-decoration: underline;
}

/* 768px以下：縦1列表示（769px以上は横3列） */
@media screen and (max-width: 768px) {
	.p-front-passers-videos {
		padding: 40px 1.6rem;
	}

	.p-front-passers-videos__grid {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.p-front-passers-videos__card {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	/* 768px以下：aspect-ratioでアスペクト比を維持 */
	.p-front-passers-videos__wrapper {
		padding-top: 0;
		aspect-ratio: 16 / 9;
	}

	.p-front-passers-videos__title {
		font-size: 24px;
	}

	.p-front-passers-videos__info {
		align-items: flex-start;
		gap: 8px;
	}

	.p-front-passers-bottom__places {
		font-size: 14px;
	}

	.p-front-passers-videos__link-wrapper {
		font-size: 16px;
	}
}

/* 1149px以下：合格者カードスライダー横スクロール対応 */
@media screen and (max-width: 1149px) {
	.p-front-passers {
		overflow-x: hidden;
	}

	.p-front-passers__frame {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* 834px 以下：レスポンシブ対応 */
@media screen and (max-width: 834px) {
	/* 合格者セクション */
	.p-front-passers {
		padding: 60px 0 120px;
	}

	/* l-innerのpaddingを0に - カードは端から端まで */
	.p-front-passers .l-inner {
		padding: 0;
		max-width: 100%;
	}

	/* 受講生の声セクション */
	.p-front-passers__voice-section {
		padding: 0 1.6rem;
	}

	.p-front-passers__voice-movie {
		max-width: 100%;
	}

	/* 2カラムレイアウトを縦並びに */
	.p-front-passers__layout {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	/* テキスト部分だけpadding */
	.p-front-passers__text {
		flex: none;
		max-width: 100%;
		text-align: center;
		padding: 0 1.6rem;
	}

	/* カードエリアは画面幅いっぱい */
	.p-front-passers__cards-wrapper {
		width: 100%;
	}

	.p-front-passers__slider {
		width: 100%;
	}

	.p-front-passers__frame {
		width: 100%;
	}

	/* trackに左右paddingで余白確保 */
	.p-front-passers__track {
		justify-content: flex-start;
		padding-left: 1.6rem;
		padding-right: 1.6rem;
	}

}

/* 480px以下：スマホ */
@media screen and (max-width: 480px) {
	.p-front-passers {
		padding: 60px 0 0 1.6rem;
	}

	.p-front-passers__movie {
		width: calc(100% - 1.6rem);
		margin: 20px auto 40px;
	}

	/* スマホ用：カードサイズ調整 */
	.p-front-passers__card {
		flex: 0 0 240px;
		max-width: 240px;
	}

	.p-front-passers__card-inner {
		padding: 14px;
	}

	/* スマホ用：常にホバー状態の色を表示 */
	.p-front-passers__card-inner {
		background-color: #ffe6e6;
	}

	.p-front-passers__read-more-arrow {
		background-color: #ed0000;
		color: #fff;
	}
}

	/* Places list */
.p-front-passers__places {
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	font-weight: 600;
}

.p-front-passers__places p {
	margin: 0;
}

/* Link */
.p-front-passers__link {
	margin-top: 16px;
	text-align: center;
}

.p-front-passers__link a {
	color: #ff0000;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.p-front-passers__link a:hover {
	text-decoration: underline;
}

/* Responsive（タイトルサイズなど） */
@media screen and (max-width: 768px) {
	.p-front-passers__title-sub {
		font-size: 2.2rem;
	}

	.p-front-passers__title-main {
		font-size: 3rem;
	}

	.p-front-passers__text-title {
		font-size: 1.3rem;
	}
}

/* ==========================================================================
   スマホ表示時のフォントサイズ固定
   - 768px以下で特定要素のフォントサイズを固定値に設定
   ========================================================================== */

@media screen and (max-width: 768px) {
		/* スマホ時に 16px 固定にする要素 */
		.p-front-passers__content,
		.p-front-passers__places,
		.p-front-method__card-text,
		.p-front-line__step-text,
		.p-front-line__step-body p,
		.p-front-topics__item-title,
		.p-front-topics__date,
		.p-front-passers__type {
			font-size: 16px !important;
		}

		/* スマホ時のフッターメニューは 14px に固定 */
		.p-footer-nav__item a,
		.p-footer-nav a {
			font-size: 14px !important;
		}

		/* スマホ時に 20px 固定にする要素 */
		.p-front-summary__lead,
		.p-front-method__card-lead,
		.p-front-topics__tab,
		.p-front-passers__link a {
			font-size: 20px !important;
		}

		/* ボタン（スマホ）は18pxに統一 */
		.p-front-summary__btn,
		.p-front-line__btn,
		.p-parents-cta__btn {
			font-size: 18px !important;
		}

	/* 18px 固定 */
	.p-front-line__step-title {
		font-size: 18px !important;
	}

	/* 24px 固定 */
	.p-front-courses__title-small {
		font-size: 24px !important;
	}

	/* 26px 固定 */
	.p-front-method__card-title {
		font-size: 30px !important;
	}

	/* 32px 固定 */
	.p-front-line__step-number,
	.p-front-passers__title-sub {
		font-size: 32px !important;
	}

	/* 36px 固定 */
	.p-front-passers__title-main {
		font-size: 36px !important;
	}

	/* 幅 140px 固定 */
	.p-front-passers__title::after {
		width: 140px !important;
	}

	/* ボタンの横幅を315pxに固定 */
	.p-front-summary__btn,
	.p-front-line__btn {
		width: 315px;
		min-width: 0;
		box-sizing: border-box;
	}
}

/* ==========================================================================
   「東消塾とは」ページ専用スタイル
   ========================================================================== */

/**
 * ヒーローセクション（About）
 * - PC用はfront-pageと同じレイアウト幅を継承
 * - SP用は将来的に変更可能なよう専用クラスを使用
 */
.p-about-hero {
	margin: 0;
	position: relative;
	z-index: 0;
}

.p-about-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	z-index: -1;
}

.p-about-hero__image {
	max-width: 1500px;
	margin: 0 auto;
}

.p-about-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -1px;
}

.p-about-hero__title {
	text-align: center;
	margin: 40px 0 8px;
	color: #fff;
	font-size: 2rem;
}

.p-about-hero__subtitle {
	text-align: center;
	margin-bottom: 40px;
	color: #fff;
}

/**
 * 「東消塾とは」セクション
 */
/**
 * 「東消塾とは」セクション
 * - 背景色: #F7F7F7
 * - h2はトップページと同じデザイン（p-front-passers__title）を継承
 */
.p-about-intro {
	padding: 80px 1.6rem 120px;
	background-color: #f7f7f7;
}

.p-about-intro__title {
	text-align: center;
	margin: 0 0 40px;
}

/**
 * 見出し下の赤いアクセントライン
 */
.p-about-intro__title::after {
	content: "";
	display: block;
	width: 220px;
	height: 6px;
	background-color: #ed0000;
	margin: 20px auto 0;
	border-radius: 9999px;
}

.p-about-intro__title-small {
	font-size: 0.7em;
}

.p-about-intro__subtitle {
	margin: 32px 0 40px;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	line-height: 1.6;
}

/**
 * 白背景カード
 * - トップページLINEセクションのカードと同様のデザイン
 */
.p-about-intro__card {
	border-radius: 2px;
	max-width: 1000px;
	margin: 60px auto 0;
	overflow: hidden;
}

.p-about-intro__card:first-of-type {
	margin-top: 0;
}

.p-about-intro__card-header {
	background-color: #ed0000;
	padding: 16px 24px;
}

.p-about-intro__card-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

.p-about-intro__card-body {
	padding: 24px 0 0;
	line-height: 1.8;
}

.p-about-intro__card-image img {
	width: 100%;
	height: auto;
	display: block;
}

.p-about-intro__card-subtitle {
	margin: 0 0 12px;
	padding-left: 12px;
	border-left: 4px solid #ed0000;
	font-size: 20px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
}

.p-about-intro__card-text {
	margin: 0 0 16px;
	font-size: 16px;
	color: #333;
	line-height: 1.8;
}

.p-about-intro__underline {
	background: linear-gradient(transparent 70%, #f8f941 60%);
	font-weight: 600;
}

/**
 * アコーディオン共通スタイル
 */
.p-about-intro__accordion {
	margin-top: 16px;
	border-radius: 8px;
	overflow: hidden;
}

.p-about-intro__accordion-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 16px;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.p-about-intro__accordion-header:hover {
	opacity: 0.9;
}

.p-about-intro__accordion-header--merit {
	background-color: #001933;
}

.p-about-intro__accordion-header--demerit {
	background-color: #858585;
}

.p-about-intro__accordion-label {
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
}

.p-about-intro__accordion-icon {
	font-size: 12px;
	color: #ffffff;
	transition: transform 0.3s;
}

.p-about-intro__accordion.is-open .p-about-intro__accordion-icon {
	transform: rotate(180deg);
}

.p-about-intro__accordion-body {
	max-height: 0;
	overflow: hidden;
	padding: 0 24px;
	background-color: #f7f7f7;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.p-about-intro__accordion.is-open .p-about-intro__accordion-body {
	padding: 24px;
}

.p-about-intro__merit-title,
.p-about-intro__demerit-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
}

.p-about-intro__merit-title {
	color: #1a1a1a;
}

.p-about-intro__demerit-title {
	color: #1a1a1a;
}

.p-about-intro__merit-text,
.p-about-intro__demerit-text {
	margin: 0 0 20px;
	font-size: 14px;
	color: #333;
	line-height: 1.8;
}

.p-about-intro__merit-text:last-child,
.p-about-intro__demerit-text:last-child {
	margin-bottom: 0;
}

/**
 * ハイライトセクション（OBだからできること等）
 * - アコーディオンなしのメリット風デザイン
 */
.p-about-intro__highlight {
	margin-top: 16px;
	border-radius: 8px;
	overflow: hidden;
}

.p-about-intro__highlight-header {
	padding: 12px 16px;
	background-color: #001933;
}

.p-about-intro__highlight-label {
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
}

.p-about-intro__highlight-body {
	padding: 24px;
	background-color: #f7f7f7;
}

.p-about-intro__highlight-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
}

.p-about-intro__highlight-text {
	margin: 0 0 20px;
	font-size: 14px;
	color: #333;
	line-height: 1.8;
}

.p-about-intro__highlight-text:last-child {
	margin-bottom: 0;
}

/**
 * 得られるものセクション（グリッドレイアウト）
 */
.p-about-intro__benefits {
	max-width: 1000px;
	margin: 40px auto 0;
}

.p-about-intro__benefits--demerit {
	border-color: #858585;
}

.p-about-intro__benefits-label {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 24px;
}

.p-about-intro__benefits-label::before {
	content: "\25A0";
	color: #ed0000;
	margin-right: 8px;
}

.p-about-intro__benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.p-about-intro__benefits-item {
	background-color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.p-about-intro__benefits-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.p-about-intro__benefits-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-about-intro__benefits-title {
	padding:0 24px;
	font-size: 17px;
	font-weight: 700;
	color: #ed0000;
	line-height: 1.6;
	margin: 0;
}

.p-about-intro__benefits-title--demerit {
	color: #ed0000;
	background: linear-gradient(transparent 70%, #ffffffff 60%);
}

.p-about-intro__benefits-text {
	margin: 0;
	font-size: 16px;
	color: #333;
	line-height: 1.6;
	padding: 8px 24px 24px;
}

.p-about-intro__card-summary {
	max-width: 1000px;
	width: 100%;
	margin: 40px auto 0;
	padding: 16px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.p-about-intro__card-spacer {
	height: 40px;
}

/* ==========================================================================
   「東消塾とは」ページ タブレット専用スタイル
   ========================================================================== */
@media (max-width: 900px) {
	.p-about-intro__benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   「東消塾とは」ページ SP専用スタイル
   ========================================================================== */
@media (max-width: 600px) {
	.p-about-intro__benefits-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

}

@media (max-width: 479px) {
	.p-about-hero__title {
		font-size: 1.5rem;
		margin: 30px 0 6px;
	}

	.p-about-hero__subtitle {
		font-size: 0.875rem;
		margin-bottom: 30px;
	}

	.p-about-intro {
		padding: 40px 15px;
	}

	.p-about-intro__card-header {
		padding: 12px 16px;
	}

	.p-about-intro__card-title {
		font-size: 18px;
	}

	.p-about-intro__subtitle {
		margin: 24px 0 32px;
		font-size: 22px;
	}

	.p-about-intro__card-body {
		padding: 24px 0 0;
	}

	.p-about-intro__card-subtitle {
		font-size: 20px;
	}

	.p-about-intro__benefits-label {
		font-size: 18px;
	}

	.p-about-intro__card-text {
		font-size: 16px;
	}

	.p-about-intro__accordion-body {
		padding: 0 16px;
	}

	.p-about-intro__accordion.is-open .p-about-intro__accordion-body {
		padding: 16px;
	}

	.p-about-intro__highlight-body {
		padding: 16px;
	}

	.p-about-intro__card-summary {
		margin-top: 32px;
		padding: 24px;
	}

	.p-about-intro__benefits {
		margin-top: 32px;
	}

	.p-about-intro__card {
		margin-top: 48px;
	}
}

/* ==========================================================================
   「個別スタンダード」ページ専用スタイル
   ========================================================================== */

/**
 * ヒーローセクション（個別スタンダード）
 */
.p-standard-hero {
	margin: 0;
	position: relative;
	z-index: 0;
}

.p-standard-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #0a2a45;
	z-index: -1;
}

/* 個別プレミアムページ専用：ヒーロー背景色 */
.page-premium .p-standard-hero::before {
	background: #a12b2b;
}

.p-standard-hero__image {
	max-width: 80%;
	margin: 0 auto;
}

.p-standard-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -1px;
}

.p-standard-hero__title {
	text-align: center;
	margin: 40px 0 8px;
	color: #fff;
	font-size: 2rem;
}

/* 1024px以下：画像を100%幅で表示 */
@media (max-width: 1024px) {
	.p-standard-hero__image {
		max-width: 100%;
	}
}

/**
 * このコースが選ばれる理由
 */
.p-standard-reasons {
	background-color: #f7f7f7;
	padding: 80px 0;
}

.p-standard-reasons__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.p-standard-reasons__title {
	margin-bottom: 60px;
}

.p-standard-reasons__title-small {
	font-size: 0.8em;
}

/**
 * 見出し下の赤いアクセントライン（トップページと統一）
 */
.p-standard-reasons .p-front-passers__title::after {
	background-color: #ed0000;
	width: 220px;
	height: 6px;
	margin-top: 20px;
	border-radius: 10px;
}

.p-standard-reasons__subtitle {
	margin: 48px 0 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	line-height: 1.6;
}

.p-standard-reasons__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.p-standard-reasons__card {
	background-color: #fff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.p-standard-reasons__card--full {
	grid-column: 1 / -1;
}

.p-standard-reasons__card-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0px;
}

.p-standard-reasons__card-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	background-color: #ed0000;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border-radius: 50%;
}

.p-standard-reasons__card-star {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	background-color: #ed0000;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border-radius: 50%;
}

.p-standard-reasons__card-text {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

/**
 * サービスカード（画像+テキスト）
 */
.p-standard-reasons__card--service {
	padding: 0;
	overflow: hidden;
}

.p-standard-reasons__card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.p-standard-reasons__card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-standard-reasons__card--service .p-standard-reasons__card-text {
	padding: 16px 20px;
	margin: 0;
}

/* タブレット：2列 */
@media (max-width: 900px) {
	.p-standard-reasons__cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.p-standard-reasons__card--full {
		grid-column: 1 / -1;
	}
}

/* スマホ：1列 */
@media (max-width: 600px) {
	.p-standard-reasons {
		padding: 48px 0;
	}

	.p-standard-reasons__title {
		font-size: 24px;
		padding: 12px 24px;
	}

	.p-standard-reasons__cards {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 32px;
	}

	.p-standard-reasons__card {
		padding: 8px 24px;
	}

	.p-standard-reasons__card--service {
		padding: 0;
	}

	.p-standard-reasons__card-title {
		font-size: 16px;
	}

	.p-standard-reasons__subtitle {
		margin: 32px 0 0;
		font-size: 20px;
	}
}

/* ==========================================================================
   合格実績ページ
   ========================================================================== */

/**
 * ヒーローセクション（合格実績）
 */
.p-results-hero {
	margin: 0;
	position: relative;
	z-index: 0;
}

.p-results-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	z-index: -1;
}

.p-results-hero__image {
	max-width: 80%;
	margin: 0 auto;
}

.p-results-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -1px;
}

.p-results-hero__title {
	text-align: center;
	margin: 40px 0 8px;
	color: #1a1a1a;
	font-size: 2rem;
}

/* 1024px以下：画像を100%幅で表示 */
@media (max-width: 1024px) {
	.p-results-hero__image {
		max-width: 100%;
	}
}

/**
 * 合格実績ページ共通：l-inner
 */
.page-results .l-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/**
 * 合格実績・体験談紹介セクション
 */
.p-results-intro {
	padding: 60px 0;
	background: #f7f7f7;
}

.p-results-intro__title {
	margin-bottom: 60px;
}

/* タイトル下の赤いアクセントライン */
.p-results-intro .p-front-passers__title::after {
	background-color: #ed0000;
	width: 220px;
	height: 6px;
	margin-top: 20px;
	border-radius: 10px;
}

/* アンカーリンク（タブ） */
.p-results-tabs {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.p-results-tabs__link {
	display: inline-block;
	min-width: 160px;
	padding: 12px 32px;
	border: 2px solid #ed0000;
	border-radius: 4px;
	background: #fff;
	color: #ed0000;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
	box-sizing: border-box;
}

.p-results-tabs__link:hover,
.p-results-tabs__link.is-active {
	background: #ed0000;
	color: #fff;
}

@media (max-width: 600px) {
	.p-results-tabs {
		gap: 8px;
	}

	.p-results-tabs__link {
		min-width: 0;
		flex: 1 1 calc(33.333% - 8px);
		padding: 10px 8px;
		font-size: 14px;
	}
}

/**
 * 合格実績グループ（高校生・大学生・社会人）
 */
.p-results-group {
	margin-top: 48px;
}

.p-results-group__title {
	font-size: 24px;
	font-weight: 700;
	color: #333333;
	text-align: left;
	margin-bottom: 32px;
}

/* 投稿カードグリッド */
.p-results-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.p-results-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.p-results-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* 投稿カード */
.p-results-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

.p-results-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.p-results-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.p-results-card__thumbnail {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #f0f0f0;
}

.p-results-card__thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.p-results-card:hover .p-results-card__thumbnail img {
	transform: scale(1.05);
}

.p-results-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e0e0e0;
}

.p-results-card__content {
	padding: 16px;
}

.p-results-card__title {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.5;
	color: #333;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-results-card__date {
	display: block;
	font-size: 12px;
	color: #888;
}

@media (max-width: 768px) {
	.p-results-card__content {
		padding: 10px;
	}

	.p-results-card__title {
		font-size: 12px;
		margin-bottom: 4px;
	}

	.p-results-card__date {
		font-size: 10px;
	}
}

/* もっと見るボタン */
.p-results-group__more {
	text-align: center;
	margin-top: 32px;
}

.c-button--outline-red {
	display: inline-block;
	padding: 14px 48px;
	border: 2px solid #1a1a1a;
	border-radius: 8px;
	background: #1a1a1a;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}

.c-button--outline-red:hover,
.c-button--outline-red:focus {
	background: #333;
}

.c-button--outline-red:active {
	background: #444;
}

/* 該当なしメッセージ */
.p-results-group__none {
	text-align: center;
	color: #666;
	padding: 40px 0;
}

/**
 * ========================================
 * カテゴリアーカイブページ
 * ========================================
 */

/* アーカイブヘッダー */
.p-archive-header {
	padding: 60px 0 40px;
	background: #f7f7f7;
}

.p-archive-header__title {
	margin-bottom: 0;
}

/* 投稿一覧セクション */
.p-archive-posts {
	padding: 40px 0 80px;
	background: #f7f7f7;
}

.page-archive .l-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* もっと見るボタン */
.p-archive-posts__more {
	text-align: center;
	margin-top: 40px;
}

.p-archive-posts__more button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* 投稿なしメッセージ */
.p-archive-posts__none {
	text-align: center;
	color: #666;
	padding: 60px 0;
}

/* archive.php 用グリッド */
.p-archive-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 768px) {
	.p-archive-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

.p-archive-pagination {
	margin-top: 40px;
	text-align: center;
}

.p-archive-none {
	text-align: center;
	color: #666;
	padding: 60px 0;
}

/* ==========================================================================
   パンくずリスト（投稿ページ用）
   ========================================================================== */

/**
 * パンくずコンテナ（投稿ページ用）
 * - ヘッダーナビゲーション直下に配置
 */
.c-breadcrumbs--single {
	background-color: #f7f7f7;
	padding: 12px 0;
}

.c-breadcrumbs--single .l-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* スクロールバーを非表示（見た目をすっきり） */
.c-breadcrumbs--single .l-inner::-webkit-scrollbar {
	display: none;
}

.c-breadcrumbs--single .l-inner {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/**
 * カスタムパンくずリスト
 * - フォントカラー: #00afd9
 * - ホバー/クリック時: 少し白く + アンダーライン
 */
.c-breadcrumbs__nav {
	font-size: 14px;
	line-height: 1.4;
}

.c-breadcrumbs__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	white-space: nowrap;
}

.c-breadcrumbs__item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.c-breadcrumbs__link {
	color: #00afd9;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.c-breadcrumbs__link:hover,
.c-breadcrumbs__link:focus {
	color: #4dc8e8;
	text-decoration: underline;
	opacity: 0.85;
}

.c-breadcrumbs__link:active {
	color: #6dd4ed;
	text-decoration: underline;
	opacity: 0.9;
}

/* セパレータ（区切り文字）のスタイル */
.c-breadcrumbs__separator {
	color: #999;
	margin: 0 8px;
}

/* 現在ページ（リンクなし）のスタイル */
.c-breadcrumbs__current {
	color: #666;
}

/**
 * AIOSEO Breadcrumbsスタイル上書き（プラグイン使用時）
 */
.c-breadcrumbs--single .aioseo-breadcrumbs {
	font-size: 14px;
	line-height: 1.4;
}

.c-breadcrumbs--single .aioseo-breadcrumbs a {
	color: #00afd9;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.c-breadcrumbs--single .aioseo-breadcrumbs a:hover,
.c-breadcrumbs--single .aioseo-breadcrumbs a:focus {
	color: #4dc8e8;
	text-decoration: underline;
	opacity: 0.85;
}

.c-breadcrumbs--single .aioseo-breadcrumbs a:active {
	color: #6dd4ed;
	text-decoration: underline;
	opacity: 0.9;
}

.c-breadcrumbs--single .aioseo-breadcrumbs .aioseo-breadcrumb-separator {
	color: #999;
	margin: 0 8px;
}

.c-breadcrumbs--single .aioseo-breadcrumbs span:not(.aioseo-breadcrumb-separator) {
	color: #666;
}

/* スマホ表示時 */
@media screen and (max-width: 768px) {
	.c-breadcrumbs--single {
		padding: 10px 0;
	}

	.c-breadcrumbs__nav,
	.c-breadcrumbs--single .aioseo-breadcrumbs {
		font-size: 12px;
	}

	.c-breadcrumbs__separator,
	.c-breadcrumbs--single .aioseo-breadcrumbs .aioseo-breadcrumb-separator {
		margin: 0 6px;
	}
}

/* ==========================================================================
   投稿ページ（Single Post）
   ========================================================================== */

.p-single {
	max-width: 100%;
	margin: 0 auto;
}

.p-single__header {
	margin-bottom: 24px;
}

.p-single__title {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #333;
}

.p-single__date {
	display: block;
	text-align: right;
	font-size: 14px;
	color: #666;
}

/* 合格実績メタ情報 */
.p-single__results-meta {
	margin-bottom: 24px;
}

.p-single__results-meta-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.p-single__results-meta-label {
	display: inline-block;
	background-color: #ff0000;
	color: #fff;
	font-size: 14px;
	padding: 4px 12px;
}

.p-single__results-meta-place {
	font-size: 14px;
	color: #333;
}

.p-single__results-meta-name {
	font-size: 14px;
	color: #333;
	margin: 0;
}

/* コンテンツ本文 */
.p-single__content {
	font-size: 15px;
	color: #333;
	line-height: 1.8;
}

.p-single__content p,
.p-single__content li,
.p-single__content td,
.p-single__content th {
	color: #333;
}

/* 投稿ページ h2: 左に赤い縦線 + 薄ピンク背景 */
.p-single__content h2 {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin: 40px 0 16px;
	padding: 16px 20px;
	background-color: #ffecec;
	border-left: 4px solid #ed0000;
}

.p-single__content h2:first-child {
	margin-top: 0;
}

/* 投稿ページ h3: 下に赤いアンダーライン */
.p-single__content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin: 32px 0 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ed0000;
}

.p-single__content h3:first-child {
	margin-top: 0;
}

/* タグ表示 */
.p-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
}

.p-single__tag {
	display: inline-block;
	padding: 6px 12px;
	background: #f5f5f5;
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}

.p-single__tag:hover {
	background: #1a1a1a;
	color: #fff;
}

/* 関連記事セクション */
.p-single__related {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.p-single__related-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 24px;
}

.p-single__related-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.p-single__related-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

.p-single__related-item:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.p-single__related-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.p-single__related-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #f0f0f0;
}

.p-single__related-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.p-single__related-thumb-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e0e0e0;
}

.p-single__related-item:hover .p-single__related-thumb img {
	transform: scale(1.05);
}

.p-single__related-content {
	padding: 16px;
}

.p-single__related-item-title {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	line-height: 1.5;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-single__related-date {
	font-size: 12px;
	color: #888;
}

/* 関連記事レスポンシブ */
@media screen and (max-width: 768px) {
	.p-single__related-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.p-single__related-item {
		display: block;
	}

	.p-single__related-thumb {
		aspect-ratio: 16 / 9;
	}

	.p-single__related-content {
		padding: 10px;
	}

	.p-single__related-item-title {
		font-size: 12px;
		margin-bottom: 4px;
		-webkit-line-clamp: 2;
	}

	.p-single__related-date {
		font-size: 10px;
	}
}

.p-single__thumbnail {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 24px;
}

.p-single__thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* スマホ表示時 */
@media screen and (max-width: 768px) {
	.p-single__title {
		font-size: 20px;
	}

	.p-single__date {
		font-size: 12px;
	}

	.p-single__thumbnail {
		margin-bottom: 16px;
	}
}

/* 480px以下：サムネイルを横幅いっぱいに */
@media screen and (max-width: 480px) {
	/* パンくずとサムネイルの間のスペースをなくす */

	/* l-main-with-sidebarの上部マージンを0に */
	.single .l-main-with-sidebar {
		margin-top: 0;
	}

	/* サムネイルを画面幅いっぱいに広げる */
	.p-single__thumbnail {
		margin-left: calc(-1.6rem - 1px);
		margin-right: calc(-1.6rem - 1px);
		width: calc(100% + 3.2rem + 2px);
		margin-top: 0;
	}

	/* 記事全体の上部padding調整 */
	.single .p-single {
		padding-top: 0;
	}
}

/* ==========================================================================
   アーカイブカード
   ========================================================================== */

.p-archive-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

.p-archive-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.p-archive-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.p-archive-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #f0f0f0;
}

.p-archive-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.p-archive-card:hover .p-archive-card__thumb img {
	transform: scale(1.05);
}

.p-archive-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e0e0e0;
}

.p-archive-card__content {
	padding: 16px;
}

.p-archive-card__title {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.5;
	color: #333;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-archive-card__date {
	font-size: 12px;
	color: #888;
}

/* スマホ表示時 */
@media screen and (max-width: 768px) {
	.p-archive-card__content {
		padding: 10px;
	}

	.p-archive-card__title {
		font-size: 12px;
		margin-bottom: 4px;
	}

	.p-archive-card__date {
		font-size: 10px;
	}
}

/* ==========================================================================
   講師紹介ページ
   ========================================================================== */

.page-instructors {
	background-color: #f7f7f7;
}

.page-instructors .l-inner {
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}

.p-instructors-header {
	padding: 40px 0 32px;
	text-align: center;
}

.p-instructors-header__title {
	margin-bottom: 0;
}

.p-instructors-list {
	padding: 40px 1.6rem 60px;
}

.p-instructors-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.p-instructor-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.p-instructor-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f0;
}

.p-instructor-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-instructor-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

.p-instructor-card__bio {
	padding: 24px;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.p-instructors-none {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

/* レスポンシブ（768px以下） */
@media screen and (max-width: 768px) {
	.p-instructors-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.p-instructor-card__bio {
		padding: 24px;
		font-size: 16px;
	}
}

/* ==========================================================================
   よくある質問ページ（FAQ）
   ========================================================================== */

.page-faq {
	background-color: #f7f7f7;
}

.page-faq .l-inner {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

.p-faq-header {
	padding: 40px 0 32px;
	text-align: center;
}

.p-faq-header__title {
	margin-bottom: 0;
}

.p-faq-list {
	padding: 40px 1.6rem 60px;
}

.p-faq-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.p-faq-heading {
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	padding: 16px 20px;
    background-color: #ffecec;
    border-left: 4px solid #ed0000;
	margin-bottom: 0;
}

.p-faq-heading:first-child {
	margin-top: 0;
}

.p-faq-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.p-faq-item__question {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 20px;
	background: #fff;
	border: none;
	cursor: pointer;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: #333333;
	transition: background-color 0.2s ease;
}

.p-faq-item__question:hover {
	background-color: #fafafa;
}

.p-faq-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	background-color: #ed0000;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border-radius: 50%;
	margin-right: 16px;
}

.p-faq-item__icon--answer {
	background-color: #1a1a1a;
}

.p-faq-item__question-text {
	flex: 1;
}

.p-faq-item__toggle-icon {
	position: relative;
	width: 24px;
	height: 24px;
	min-width: 24px;
	margin-left: 16px;
}

.p-faq-item__toggle-icon::before,
.p-faq-item__toggle-icon::after {
	content: "";
	position: absolute;
	background-color: #1a1a1a;
	transition: transform 0.3s ease;
}

.p-faq-item__toggle-icon::before {
	top: 50%;
	left: 4px;
	width: 16px;
	height: 2px;
	transform: translateY(-50%);
}

.p-faq-item__toggle-icon::after {
	top: 4px;
	left: 50%;
	width: 2px;
	height: 16px;
	transform: translateX(-50%);
}

.p-faq-item__question[aria-expanded="true"] .p-faq-item__toggle-icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.p-faq-item__answer {
	display: flex;
	padding: 0 20px 20px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.p-faq-item__answer[hidden] {
	display: none;
}

.p-faq-item__answer-text {
	flex: 1;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.p-faq-none {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

/* レスポンシブ（768px以下） */
@media screen and (max-width: 768px) {
	.p-faq-item__question {
		padding: 16px;
		font-size: 15px;
	}

	.p-faq-item__icon {
		width: 28px;
		height: 28px;
		min-width: 28px;
		font-size: 14px;
		margin-right: 12px;
	}

	.p-faq-item__answer {
		padding: 16px;
		padding-top: 16px;
	}

	.p-faq-item__answer-text {
		font-size: 15px;
	}
}


/* ========================================
   運営会社ページ
======================================== */
.page-company {
	background-color: #f7f7f7;
}

.p-company-header {
	padding: 40px 0 20px;
}

.p-company-header__title {
	text-align: center;
}

.page-company .l-inner {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

.p-company-info {
	padding: 0 0 60px;
	margin: 0 1.6rem 0;
}

.p-company-card {
	background: #fff;
	border-radius: 8px;
	padding: 0 40px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.p-company-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.p-company-list__row {
	display: flex;
	border-bottom: 1px solid #e5e5e5;
	padding: 20px 0;
}

.p-company-list__label {
	flex: 0 0 200px;
	font-weight: 700;
	color: #333;
	font-size: 16px;
}

.p-company-list__value {
	flex: 1;
	font-size: 16px;
	color: #333;
	line-height: 1.6;
}

.p-company-none {
	text-align: center;
	color: #666;
	padding: 40px 0;
}

@media (max-width: 768px) {
	.p-company-card {
		padding: 0 24px;
	}

	.p-company-list__row {
		flex-direction: column;
		gap: 8px;
		padding: 16px 0;
	}

	.p-company-list__label {
		flex: none;
	}
}

/* ========================================
   プライバシーポリシーページ
======================================== */
.p-privacy-card {
	padding: 40px;
}

.p-privacy-content {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

.p-privacy-content h2 {
	font-size: 18px;
	font-weight: 700;
	margin: 40px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #ed0000;
}

.p-privacy-content h2:first-child {
	margin-top: 0;
}

.p-privacy-content h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 32px 0 12px;
}

.p-privacy-content p {
	margin: 0 0 16px;
}

.p-privacy-content ul,
.p-privacy-content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.p-privacy-content li {
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	.p-privacy-card {
		padding: 24px;
	}

	.p-privacy-content h2 {
		font-size: 16px;
		margin: 32px 0 12px;
	}

	.p-privacy-content h3 {
		font-size: 15px;
		margin: 24px 0 10px;
	}
}

/* ==========================================================================
   採用情報ページ（Recruit）
   ========================================================================== */

.page-recruit {
	background-color: #fff;
}

.page-recruit .l-inner {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

		.p-recruit-hero {
			margin: 0;
			position: relative;
			z-index: 0;
		}

		.p-recruit-hero__image {
			max-width: 1500px;
			margin: 0 auto;
		}

		.p-recruit-hero__image img {
			display: block;
			width: 100%;
			height: auto;
			margin-top: -1px;
		}

			/* 採用情報ページでは p-standard-reasons のグレー背景を使わない */
			.page-recruit .p-standard-reasons {
				background-color: transparent;
			}

			/* 採用情報ページでは p-standard-reasons__inner の左右パディングをなくす */
			.page-recruit .p-standard-reasons__inner {
				padding: 0;
			}

		.p-recruit-header {
	padding: 40px 0 32px;
	text-align: center;
}

.p-recruit-header__title {
	margin-bottom: 60px;
}

.p-recruit-content {
	padding: 40px 1.6rem 60px;
}

.p-recruit-content__button {
	text-align: center;
	margin-top: 80px;
}

.p-recruit-content__body {
	background: #fff;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

/* WordPress ブロックエディタのスタイル調整 */
.p-recruit-content__body h2 {
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin: 40px 0 16px;
	padding: 16px 20px;
	background-color: #ffecec;
	border-left: 4px solid #ed0000;
}

.p-recruit-content__body h2:first-child {
	margin-top: 0;
}

.p-recruit-content__body h3 {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin: 32px 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #ed0000;
}

.p-recruit-content__body h3:first-child {
	margin-top: 0;
}

.p-recruit-content__body h4 {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin: 24px 0 8px;
}

.p-recruit-content__body p {
	margin: 0 0 16px;
}

.p-recruit-content__body ul,
.p-recruit-content__body ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.p-recruit-content__body li {
	margin-bottom: 8px;
}

.p-recruit-content__body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.p-recruit-content__body .wp-block-image {
	margin: 24px 0;
}

.p-recruit-content__body .wp-block-table {
	margin: 24px 0;
	overflow-x: auto;
}

.p-recruit-content__body table {
	width: 100%;
	border-collapse: collapse;
}

.p-recruit-content__body th,
.p-recruit-content__body td {
	padding: 12px 16px;
	border: 1px solid #ddd;
	text-align: left;
}

.p-recruit-content__body th {
	background: #f7f7f7;
	font-weight: 600;
}

/* レスポンシブ（768px以下） */
@media screen and (max-width: 768px) {
	.p-recruit-content {
		padding: 24px 1.6rem 40px;
	}

	.p-recruit-content__body {
		font-size: 14px;
	}

	.p-recruit-content__body h2 {
		font-size: 18px;
		margin: 32px 0 12px;
	}

	.p-recruit-content__body h3 {
		font-size: 16px;
		margin: 24px 0 10px;
	}

	.p-recruit-content__body th,
	.p-recruit-content__body td {
		padding: 10px 12px;
		font-size: 13px;
	}
}

/* ==========================================================================
   「保護者の方へ」ページ専用スタイル
   ========================================================================== */

/**
 * ヒーローセクション（保護者の方へ）
 */
.p-parents-hero {
	margin: 0;
	position: relative;
	z-index: 0;
}

.p-parents-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	z-index: -1;
}

/* 保護者の方へ：ファーストビュー画像（採用情報と同じサイズ仕様） */
.p-parents-hero__image {
	max-width: 1500px;
	margin: 0 auto;
}

.p-parents-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -1px;
}

.p-parents-hero__title {
	text-align: center;
	margin: 40px 0 8px;
	color: #333;
	font-size: 2rem;
}

/**
 * 資料請求CTAセクション
 */
.p-parents-cta {
	background-color: #f7f7f7;
	padding: 0 0 80px;
}

.p-parents-cta__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.p-parents-cta__text {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin: 0 0 24px;
}

.p-parents-cta__button {
	margin: 0;
	text-align: center;
}

.p-parents-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 360px;
	padding: 22px 40px;
	background-color: #ff0000;
	color: #ffffff;
	border-radius: 8px;
		font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
	transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.p-parents-cta__btn:hover,
.p-parents-cta__btn:focus {
	opacity: 0.7;
	color: #ffffff;
}

.p-parents-cta__btn:active {
	opacity: 0.9;
	transform: translateY(1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* SP対応 */
@media (max-width: 479px) {
	.p-parents-cta {
		padding: 0 0 48px;
	}

	.p-parents-cta__text {
		font-size: 16px;
		margin-bottom: 16px;
	}

	.p-parents-cta__btn {
		min-width: 280px;
		padding: 18px 32px;
		font-size: 18px;
	}
}

/* ==========================================================================
   お問い合わせページ（Contact）
   ========================================================================== */

.page-contact {
	background-color: #f7f7f7;
}

.page-contact .l-inner {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

.p-contact-header {
	padding: 40px 0 32px;
	text-align: center;
	background-color: #f7f7f7;
}

.p-contact-header__title {
	margin-bottom: 0;
}

.p-contact-content {
	padding: 40px 1.6rem 60px;
}

.p-contact-content__body {

}

/* Contact Form 7 スタイル */
.p-contact-content .wpcf7 {
	max-width: 100%;
}

.p-contact-content .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* CF7が自動挿入する<br>タグを非表示 */
.p-contact-content .wpcf7-form br {
	display: none;
}

/* フォームグループ */
.p-contact-content .wpcf7-form > p {
	margin: 0 0 12px;
}

/* ラベル */
.p-contact-content .wpcf7-form label {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 16px;
}

/* 必須マーク */
.p-contact-content .wpcf7-form .required {
	color: #ed0000;
	margin-left: 4px;
}

/* チェックボックス・ラジオボタングループ */
.p-contact-content .wpcf7-checkbox,
.p-contact-content .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.p-contact-content .wpcf7-checkbox .wpcf7-list-item,
.p-contact-content .wpcf7-radio .wpcf7-list-item {
	display: flex;
	align-items: center;
	margin: 0;
}

.p-contact-content .wpcf7-checkbox .wpcf7-list-item label,
.p-contact-content .wpcf7-radio .wpcf7-list-item label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-weight: 400;
}

.p-contact-content .wpcf7-checkbox .wpcf7-list-item-label,
.p-contact-content .wpcf7-radio .wpcf7-list-item-label {
	font-size: 14px;
	font-weight: 400;
	color: #333;
	margin-left: 4px;
	cursor: pointer;
	line-height: 1;
}

.p-contact-content .wpcf7-checkbox input[type="checkbox"],
.p-contact-content .wpcf7-radio input[type="radio"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	cursor: pointer;
	margin: 0;
}

/* テキスト入力・メール・電話 */
.p-contact-content .wpcf7-form-control-wrap {
	display: block;
}

.p-contact-content .wpcf7-text,
.p-contact-content .wpcf7-email,
.p-contact-content .wpcf7-tel,
.p-contact-content .wpcf7-textarea,
.p-contact-content .wpcf7-select {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-contact-content .wpcf7-text:focus,
.p-contact-content .wpcf7-email:focus,
.p-contact-content .wpcf7-tel:focus,
.p-contact-content .wpcf7-textarea:focus,
.p-contact-content .wpcf7-select:focus {
	outline: none;
	border-color: #ed0000;
	box-shadow: 0 0 0 3px rgba(237, 0, 0, 0.1);
}

/* テキストエリア */
.p-contact-content .wpcf7-textarea {
	min-height: 200px;
	resize: vertical;
}

/* 送信ボタン */
.p-contact-content .wpcf7-form p.form-submit {
	text-align: center;
	margin-top: 32px;
}

.p-contact-content .wpcf7-submit {
	display: inline-block;
	min-width: 300px;
	padding: 16px 32px;
	background-color: #ed0000;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.1s ease;
}

.p-contact-content .wpcf7-submit:hover,
.p-contact-content .wpcf7-submit:focus {
	opacity: 0.8;
}

.p-contact-content .wpcf7-submit:active {
	transform: translateY(1px);
}

/* バリデーションエラー */
.p-contact-content .wpcf7-not-valid-tip {
	color: #ed0000;
	font-size: 13px;
	margin-top: 4px;
}

.p-contact-content .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 16px;
	border-radius: 4px;
	font-size: 14px;
}

/* 送信成功 */
.p-contact-content .wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

/* 送信失敗 */
.p-contact-content .wpcf7-mail-sent-ng,
.p-contact-content .wpcf7-validation-errors {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* プライバシーポリシー同意欄 */
.p-contact-content .form-privacy {
	margin: 24px 0 0;
}

.p-contact-content .form-privacy .wpcf7-acceptance .wpcf7-list-item {
	display: flex;
	align-items: center;
	margin: 0;
}

.p-contact-content .form-privacy .wpcf7-acceptance .wpcf7-list-item label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-weight: 400;
}

.p-contact-content .form-privacy .wpcf7-acceptance input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin: 0;
	cursor: pointer;
}

.p-contact-content .form-privacy .wpcf7-acceptance .wpcf7-list-item-label {
	font-size: 14px;
	font-weight: 400;
	color: #333;
	margin-left: 4px;
	cursor: pointer;
	line-height: 1;
}

.p-contact-content .form-privacy .wpcf7-acceptance .wpcf7-list-item-label a {
	color: #ed0000;
	text-decoration: underline;
}

.p-contact-content .form-privacy .wpcf7-acceptance .wpcf7-list-item-label a:hover {
	text-decoration: none;
}

/* reCAPTCHA注記 */
.p-contact-content .form-recaptcha-note {
	margin: 16px 0 0;
	padding: 0;
	font-size: 12px;
	color: #666;
	text-align: center;
	line-height: 1.8;
}

.p-contact-content .form-recaptcha-note a {
	color: #666;
	text-decoration: underline;
}

.p-contact-content .form-recaptcha-note a:hover {
	color: #333;
}

/* レスポンシブ（768px以下） */
@media screen and (max-width: 768px) {
	.p-contact-header {
		padding: 32px 0 24px;
	}

	.p-contact-content {
		padding: 24px 1.6rem 40px;
	}

	.p-contact-content__body {
		padding: 24px 20px;
	}

	.p-contact-content .wpcf7-form {
		gap: 20px;
	}

	.p-contact-content .wpcf7-form label {
		font-size: 16px;
	}

	.p-contact-content .wpcf7-text,
	.p-contact-content .wpcf7-email,
	.p-contact-content .wpcf7-tel,
	.p-contact-content .wpcf7-textarea,
	.p-contact-content .wpcf7-select {
		padding: 10px 12px;
		font-size: 16px;
	}

	.p-contact-content .wpcf7-submit {
		width: 100%;
		min-width: 0;
		font-size: 16px;
	}


	.p-contact-content .form-recaptcha-note {
		font-size: 11px;
	}
}


/* ==========================================================================
   LP用お問い合わせページ
   ========================================================================== */

.contact-lp-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

.contact-lp-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	padding: 0;
}

.contact-lp-form-area {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
	background-color: #fff;
	border-radius: 16px;
	padding: 32px;
	box-sizing: border-box;
}

/* LP用お問い合わせフォームスタイル */
.contact-lp-form-area .wpcf7-form {
	display: block;
}

.contact-lp-form-area .wpcf7-form br {
	display: none;
}

.contact-lp-form-area .wpcf7-form > p {
	margin: 0 0 20px;
}

.contact-lp-form-area .wpcf7-form label {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
	position: relative;
}

.contact-lp-form-area .wpcf7-form-control-wrap {
	display: block;
	margin-top: 4px;
}

.contact-lp-form-area .wpcf7-not-valid-tip {
	display: block;
	color: #ed0000;
	font-size: 13px;
	margin-top: 4px;
}

.contact-lp-form-area .wpcf7-checkbox,
.contact-lp-form-area .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.contact-lp-form-area .wpcf7-checkbox .wpcf7-list-item,
.contact-lp-form-area .wpcf7-radio .wpcf7-list-item {
	display: flex;
	align-items: center;
	margin: 0;
}

.contact-lp-form-area .wpcf7-checkbox .wpcf7-list-item label,
.contact-lp-form-area .wpcf7-radio .wpcf7-list-item label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-weight: 400;
}

.contact-lp-form-area .wpcf7-checkbox .wpcf7-list-item-label,
.contact-lp-form-area .wpcf7-radio .wpcf7-list-item-label {
	font-size: 14px;
	font-weight: 400;
	color: #333;
	margin-left: 4px;
	cursor: pointer;
	line-height: 1;
}

.contact-lp-form-area .wpcf7-checkbox input[type="checkbox"],
.contact-lp-form-area .wpcf7-radio input[type="radio"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	cursor: pointer;
	margin: 0;
}

.contact-lp-form-area .wpcf7-text,
.contact-lp-form-area .wpcf7-email,
.contact-lp-form-area .wpcf7-tel,
.contact-lp-form-area .wpcf7-textarea,
.contact-lp-form-area .wpcf7-select {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	box-sizing: border-box;
}

.contact-lp-form-area .wpcf7-textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-lp-form-area .wpcf7-submit {
	display: block;
	width: 100%;
	padding: 16px 32px;
	background-color: #ed0000;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}

.contact-lp-form-area .wpcf7-submit:hover {
	opacity: 0.8;
}

/* LP用プライバシーポリシー同意 */
.form-privacy-lp {
	margin: 24px 0 16px;
}

.form-privacy-lp * {
	position: static !important;
}

.form-privacy-lp .wpcf7-form-control-wrap {
	display: inline-block !important;
	margin-top: 0 !important;
}

.form-privacy-lp .wpcf7-acceptance {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.form-privacy-lp .wpcf7-acceptance .wpcf7-list-item {
	display: flex;
	align-items: center;
	margin: 0;
}

.form-privacy-lp .wpcf7-acceptance .wpcf7-list-item label {
	display: inline-flex !important;
	align-items: center;
	margin-bottom: 0 !important;
	font-weight: 400;
	font-size: 14px;
}

.form-privacy-lp .wpcf7-acceptance input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin: 0 6px 0 0;
	cursor: pointer;
}

.form-privacy-lp .wpcf7-acceptance .wpcf7-list-item-label {
	display: inline !important;
	font-size: 14px;
	font-weight: 400;
	color: #333;
	line-height: 1.4;
}

.form-privacy-lp .wpcf7-acceptance .wpcf7-list-item-label a {
	color: #ed0000;
	text-decoration: underline;
}

/* LP用reCAPTCHA注記 */
.form-recaptcha-note-lp {
	padding: 0 !important;
	margin: 0 !important;
	font-size: 12px !important;
	color: #666 !important;
	text-align: center !important;
	line-height: 1.6 !important;
}

.form-recaptcha-note-lp a {
	color: #666 !important;
	text-decoration: underline !important;
}

/* LP用送信ボタン */
.form-submit-lp {
	margin-top: 32px !important;
}

@media screen and (max-width: 768px) {
	.contact-lp-container {
		padding: 24px 20px;
	}

	.contact-lp-form-area {
		padding: 24px 20px;
		border-radius: 12px;
	}
}


/* ==========================================================================
   LP専用ページスタイル
   ========================================================================== */

/**
 * LP用ボディ設定
 * - PCでは背景画像が表示される（page-lp.phpで動的に設定）
 * - スマホでは白背景
 */
.lp-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/**
 * LPメインコンテナ
 * - PC: 450px幅で中央表示、背景の上に配置
 * - スマホ: フル幅で表示
 */
.lp-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	padding: 0;
}

/**
 * LPコンテンツラッパー（中央コンテンツ + サイドバー）
 */
.lp-content-wrapper {
	position: relative;
	width: 100%;
	padding: 50px 20px 0;
	box-sizing: border-box;
}

/* 451px〜約490pxの幅帯では、.lp-content-wrapper の左右パディングがあると
 * 内側の .lp-container だけが 450px より狭くなり、フッターと幅がズレる。
 * そのため、この帯域では左右パディングだけを 0 にして、
 * メインコンテンツもフッターも 450px 幅で揃うようにする。*/
@media screen and (max-width: 490px) and (min-width: 451px) {
	.lp-content-wrapper {
		padding-left: 0;
		padding-right: 0;
	}
}

.lp-container {
	width: 450px;
	max-width: 100%;
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

/**
 * LPサイドバー（PC左右固定）
 */
.lp-sidebar {
	position: fixed;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 10;
}

.lp-sidebar--left {
	left: 30px;
	align-items: flex-start;
}

.lp-sidebar--right {
	right: 30px;
	align-items: flex-end;
}

.lp-sidebar-item {
	display: block;
}

.lp-sidebar-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 250px;
	border-radius: 8px;
}

/* サイドバーが中央コンテンツに重なる画面幅で非表示 */
@media screen and (max-width: 1100px) {
	.lp-sidebar {
		display: none;
	}
}

/**
 * LP用コンテンツブロック
 */
.lp-content-block {
	width: 100%;
	line-height: 0;
}

.lp-content-block a {
	display: block;
	line-height: 0;
}

/* フォームエリア内のスタイルをリセット */
.lp-content-block.contact-lp-form-area {
	line-height: 1.5;
}

.lp-content-block.contact-lp-form-area a {
	display: inline;
	line-height: inherit;
}

.lp-content-image {
	width: 100%;
	height: auto;
	display: block;
}

/**
 * LPスライダー
 */
.lp-slider-block {
	position: relative;
	overflow: hidden;
}

.lp-slider-block .swiper {
	width: 100%;
}

.lp-slider-block .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.lp-slider-image {
	width: 100%;
	height: auto;
	display: block;
}

.lp-slider-block .swiper-button-prev,
.lp-slider-block .swiper-button-next {
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	transition: background 0.3s ease;
}

.lp-slider-block .swiper-button-prev:hover,
.lp-slider-block .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.5);
}

.lp-slider-block .swiper-button-prev::after,
.lp-slider-block .swiper-button-next::after {
	font-size: 18px;
	font-weight: bold;
}

	/**
	 * スマホ対応
	 */
	@media screen and (max-width: 450px) {
	.lp-page {
		background-color: #fff !important;
		background-image: none !important;
	}

	.lp-content-wrapper {
		padding: 0;
		gap: 0;
	}

	.lp-container {
		box-shadow: none;
		border-radius: 0;
	}

		.lp-sidebar {
			display: none;
		}
	}

/**
 * LP固定フッターボタン
 */
.lp-fixed-footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	max-width: 450px;
	width: 100%;
	z-index: 9999;
	display: flex;
	justify-content: center;
	background: transparent;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 1s ease;
}

.lp-fixed-footer.is-visible {
	opacity: 1;
	visibility: visible;
}

.lp-fixed-footer--one {
	/* 1ボタン: 中央配置 */
}

.lp-fixed-footer--two {
	/* 2ボタン: 横並び */
}

.lp-fixed-footer__button {
	display: block;
	line-height: 0;
	flex: 1;
	max-width: 225px;
}

.lp-fixed-footer--one .lp-fixed-footer__button {
	max-width: 450px;
}

.lp-fixed-footer__button img {
	width: 100%;
	height: auto;
	display: block;
}

/**
 * LP マーキー（流れるテキスト）
 * 背景画像の上、LPコンテナの後ろ（レイヤー下）に配置
 */
.lp-marquee {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: transparent;
	z-index: 0;
	pointer-events: none;
}

.lp-marquee__track {
	display: flex;
	white-space: nowrap;
	animation: lp-marquee-scroll var(--marquee-speed, 60s) linear infinite;
}

.lp-marquee__text {
	font-weight: 600;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-transform: uppercase;
}

@keyframes lp-marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* LPコンテナをマーキーより上のレイヤーに */
.lp-container {
	position: relative;
	z-index: 1;
}

	/* モバイル時はマーキー非表示（背景画像もないため） */
	@media screen and (max-width: 450px) {
		.lp-marquee {
			display: none;
		}
	}

/**
 * LP フッターメニュー（テキストリンク縦並び）
 */
.lp-footer-menu {
	width: 450px;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 30px;
	padding-left: 20px;
	padding-right: 20px;
	/* padding-bottom はインラインスタイルで設定 */
	position: relative;
	z-index: 2; /* マーキー(z-index:0)より上、固定フッター(z-index:9999)より下 */
	box-sizing: border-box;
	}

/* ビューポート幅 451px 以上では、LP本体コンテナ(.lp-container)と
 * 完全に同じ 450px 幅で中央揃えにする（他スタイルの影響を受けないように）
 */
@media screen and (min-width: 451px) {
	.lp-footer-menu {
		width: 450px;
		max-width: 450px;
		margin-left: auto;
		margin-right: auto;
	}
}

.lp-footer-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.lp-footer-menu__item {
	margin: 0;
	padding: 0;
}

.lp-footer-menu__link {
	display: block;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.lp-footer-menu__link:hover {
	opacity: 0.7;
}

/* reCAPTCHA バッジ非表示 */
.grecaptcha-badge {
	visibility: hidden;
}

/* ==========================================================================
   LP離脱時バナーポップアップ
   ========================================================================== */

/**
 * オーバーレイ背景
 */
.lp-exit-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 99998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lp-exit-popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/**
 * ポップアップコンテナ
 */
.lp-exit-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	z-index: 99999;
	max-width: 90vw;
	max-height: 90vh;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.lp-exit-popup.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

/**
 * ポップアップ内部ラッパー
 */
.lp-exit-popup__inner {
	position: relative;
	display: inline-block;
}

/**
 * 閉じるボタン
 */
.lp-exit-popup__close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 36px;
	height: 36px;
	background-color: #fff;
	border: 2px solid #333;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: bold;
	color: #333;
	line-height: 1;
	transition: background-color 0.2s ease, transform 0.2s ease;
	z-index: 1;
}

.lp-exit-popup__close:hover {
	background-color: #f0f0f0;
	transform: scale(1.1);
}

.lp-exit-popup__close:active {
	transform: scale(0.95);
}

/**
 * バナー画像リンク
 */
.lp-exit-popup__link {
	display: block;
	line-height: 0;
}

/**
 * バナー画像
 */
.lp-exit-popup__image {
	max-width: 600px;
	max-height: 80vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/**
 * スマホ対応
 */
@media screen and (max-width: 768px) {
	.lp-exit-popup__image {
		max-width: 85vw;
	}

	.lp-exit-popup__close {
		top: -10px;
		right: -10px;
		width: 32px;
		height: 32px;
		font-size: 18px;
	}
}
