/*
 * front-page.css - トップページ専用スタイル
 * ヒーローエリア、.homeクラス要素、エリアアコーディオンなど
 * 
 * 読み込み順序: 2番目（base.cssの後）
 * 条件: is_front_page() の場合のみ読み込み
 */

/* ============================================

2. ヒーローセクション（赤いエリア）

============================================ */

.mep-hero-simple {

background: linear-gradient(135deg, var(--mep-red) 0%, var(--mep-red-dark) 100%) !important;

padding: 60px 20px 60px !important;

text-align: center;

color: #fff !important;

/* margin: 0 !important; */

position: relative;

}



.mep-hero__title {

font-size: 30px;

font-weight: 700;

margin-bottom: 15px !important;

}



.mep-hero__subtitle {

font-size: 15px;

opacity: 0.9;

margin: 0 !important;

}



.mep-hero__count-badge {

display: inline-flex;

align-items: center;

background: rgba(255, 255, 255, 0.2);

padding: 8px 20px;

border-radius: 50px;

margin-top: 25px;

border: 1px solid rgba(255, 255, 255, 0.3);

color: #fff !important;

}

.mep-hero__count-number {

font-size: 26px;

font-weight: bold;

margin-right: 5px;

}




/* ============================================

3. エリアアコーディオン（トップ・一覧用）

============================================ */

.area-archive-container {

width: 100%;

max-width: 1200px;

margin: 40px auto 80px !important; /* 上下の余白調整 */

padding: 20px;

}



.archive-title {

text-align: center;

font-size: 2rem;

margin-bottom: 10px;

font-weight: bold;

}

.archive-desc {

text-align: center;

margin-bottom: 40px;

color: #666;

}



/* アニメーション領域 */

.sooon-style-container {

display: flex;

width: 100%;

height: 500px;

overflow: hidden;

gap: 0;

}



/* 個別のカード */

.sooon-item {

position: relative;

flex: 1;

transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);

overflow: hidden;

text-decoration: none;

color: #fff;

background-size: cover;

background-position: center;

background-color: #333; /* 画像読み込み前 */

display: flex;

flex-direction: column;

justify-content: flex-end;

border-right: 1px solid rgba(255,255,255,0.2);

}

.sooon-item:last-child { border-right: none; }



/* ホバー時の挙動 */

.sooon-item:hover { flex: 2.5; }

.sooon-style-container:hover .sooon-item:not(:hover) .sooon-overlay {

background: rgba(0,0,0,0.6);

}



/* 内部テキスト */

.sooon-overlay {

position: absolute;

top: 0; left: 0;

width: 100%; height: 100%;

background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6));

transition: background 0.4s;

z-index: 1;

}

.sooon-content {

position: relative;

z-index: 2;

padding: 40px;

width: 100%;

white-space: nowrap;

}

.sooon-en {

font-size: 1rem;

letter-spacing: 0.1em;

opacity: 0.8;

margin-bottom: 5px;

text-transform: uppercase;

}

.sooon-title {

font-size: 2.4rem;

font-weight: bold;

margin-bottom: 10px;

color: #fff !important;

text-shadow: 0 2px 5px rgba(0,0,0,0.3);

}

.sooon-sub {

font-size: 0.9rem;

opacity: 0.7;

margin-bottom: 20px;

overflow: hidden;

text-overflow: ellipsis;

}

.sooon-view-more {

display: inline-flex;

align-items: center;

gap: 10px;

font-size: 1rem;

border-bottom: 1px solid #fff;

padding-bottom: 5px;

opacity: 0;

transform: translateY(10px);

transition: all 0.4s ease;

}

.sooon-item:hover .sooon-view-more {

opacity: 1;

transform: translateY(0);

}



/* スマホ対応（縦積み） */

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

.sooon-style-container { flex-direction: column; height: auto; }

.sooon-item {

height: 200px;

flex: none;

width: 100%;

border-right: none;

border-bottom: 1px solid rgba(255,255,255,0.2);

}

.sooon-item:hover { flex: none; opacity: 0.9; }

.sooon-content { padding: 20px; }

.sooon-title { font-size: 1.8rem; }

.sooon-view-more { opacity: 1; transform: translateY(0); }

}




/* ============================================

【完全版 v3】PCアコーディオン & スマホ完全シームレス

============================================ */



/* --- 1. PCベースのレイアウト設定 --- */



/* 全体の枠組み（角丸・影） */

.sooon-wrapper {

display: flex;

flex-direction: column;

width: 100%;

border-radius: 12px;

overflow: hidden;

box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}



/* 行（Row） */

.sooon-row {

display: flex;

width: 100%;

height: 350px; /* PCでの高さ */

margin: 0; padding: 0; gap: 0; /* 隙間なし */

}



/* 個別パネル（基本設定） */

.sooon-item {

position: relative;

flex: 1;

transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* PC用アコーディオンの動き */

overflow: hidden;

text-decoration: none;

display: flex;

flex-direction: column;

justify-content: flex-end;

margin: 0 !important;

border: none !important;

background-size: cover !important;

background-position: center center !important;

background-repeat: no-repeat !important;

}



/* PCホバー時の動き（アコーディオン） */

@media screen and (min-width: 769px) {

.sooon-item:hover { flex: 2.5; }


/* PCでのみ右と下の境界線を引く（シームレスでも区切りが分かるように） */

.sooon-item { border-right: 1px solid rgba(255,255,255,0.15) !important; }

.sooon-item:last-child { border-right: none !important; }

.sooon-row:first-child .sooon-item { border-bottom: 1px solid rgba(255,255,255,0.15) !important; }

}



/* オーバーレイ */

.sooon-overlay {

position: absolute; top: 0; left: 0; width: 100%; height: 100%;

background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);

transition: background 0.3s; pointer-events: none;

}

@media screen and (min-width: 769px) {

.sooon-item:hover .sooon-overlay { background: rgba(0,0,0,0.3); }

}





/* --- 2. テキスト・コンテンツ設定 --- */

.sooon-content {

position: relative; z-index: 2;

padding: 40px 30px;

color: #fff; width: 100%; white-space: nowrap; box-sizing: border-box;

}

.sooon-en {

font-size: 0.85rem; letter-spacing: 2px; opacity: 0.8;

margin-bottom: 8px; text-transform: uppercase;

font-family: 'Helvetica Neue', sans-serif;

}

.sooon-title {

font-size: 2rem; font-weight: bold;

margin-bottom: 8px;

color: #fff !important;

text-shadow: 0 2px 5px rgba(0,0,0,0.3);

line-height: 1.2;


/* SWELL等の帯・装飾を完全削除 */

border: none !important;

background: none !important;

padding: 0 !important;

margin-left: 0 !important;

}

.sooon-title::after, .sooon-title::before { content: none !important; display: none !important; }



.sooon-sub {

font-size: 0.95rem; opacity: 0.9; margin-bottom: 0;

}



/* View more ボタン */

.sooon-view-more {

display: inline-flex; align-items: center; gap: 10px;

margin-top: 20px;

opacity: 0; transform: translateY(15px); transition: all 0.4s ease;

}

@media screen and (min-width: 769px) {

.sooon-item:hover .sooon-view-more { opacity: 1; transform: translateY(0); }

}

.count-bubble { background: #ff5a5f; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }





/* --- 3. 画像設定（URL指定） --- */

.bg-osaka { background-image: url('https://images.unsplash.com/photo-1590559899731-a382839e5549?w=800') !important; }

.bg-kyoto { background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?w=800') !important; }

.bg-hyogo { background-image: url('https://images.unsplash.com/photo-1542051841857-5f90071e7989?w=800') !important; }

.bg-nara { background-image: url('http://mens-esthe-kuchikomi.com/wp-content/uploads/2026/01/d90bb876a73297001ed594f8d073d88c_t.jpeg') !important; }

.bg-shiga { background-image: url('http://mens-esthe-kuchikomi.com/wp-content/uploads/2026/01/360_F_1174299064_3GAJ1DwZ6w3CNuPMgivzwakXMbLnDTBY.jpg') !important; }

.bg-wakayama { background-image: url('http://mens-esthe-kuchikomi.com/wp-content/uploads/2026/01/34686f38a688c6f79b72935d06ea6593_t.jpeg') !important; }





/* --- 4. スマホ対応（シームレス化の修正箇所） --- */

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


/* 全体の枠組みは維持（ここで外枠の角丸を作る） */

.sooon-wrapper {

border-radius: 12px;

overflow: hidden;

box-shadow: 0 4px 15px rgba(0,0,0,0.1);

display: flex; /* 念の為再指定 */

flex-direction: column;

}



/* 行を縦並びにするが、隙間（gap）はゼロにする */

.sooon-row {

flex-direction: column;

height: auto;

gap: 0 !important; /* ★ここが重要：隙間を消す */

}



/* 個別パネル */

.sooon-item {

height: 200px; /* スマホでの高さ */

width: 100%;

flex: none; /* アコーディオン無効化 */


/* 個別の角丸や影を消す（シームレスにするため） */

border-radius: 0 !important;

box-shadow: none !important;


/* 境界線のみ追加（区切り用） */

border-bottom: 1px solid rgba(255,255,255,0.2) !important;

}


/* 一番下のアイテムだけ線を消す */

.sooon-row:last-child .sooon-item:last-child {

border-bottom: none !important;

}



/* 余白調整 */

.sooon-content { padding: 25px 20px; }

.sooon-title { font-size: 1.6rem; }



/* View moreは常時表示 */

.sooon-view-more { opacity: 1; transform: translateY(0); margin-top: 15px; }

}


/* ============================================

【決定版】ロゴ画像・掲載数・広告レイアウト

============================================ */



/* 全体の枠組み（白背景） */

.mep-hero-estama {

background: hsla(0, 0%, 100%, .1);

padding: 60px 0;

/* border-bottom: 1px solid #eee; */

width: 100%;

}



/* 左右レイアウト（Flexbox） */

.mep-hero-flex {

display: flex;

justify-content: space-between;

align-items: center; /* 上下中央揃え */

gap: 40px;

max-width: 1100px;

margin: 0 auto;

}



/* --- 左側エリア --- */

.mep-hero-left {

flex: 1; /* 残りの幅を全部使う */

display: flex;

flex-direction: column;

justify-content: center;

}



/* キャッチコピー */

.mep-hero-sub {

font-size: 0.9rem;

color: #ff5a5f; /* アクセントカラー */

font-weight: bold;

margin-bottom: 15px;

letter-spacing: 0.05em;

}



/* ロゴ画像（H1）の調整 */

.mep-hero-logo {

margin: 0 0 25px 0;

padding: 0;

line-height: 1;

border: none; /* テーマの枠線を消す */

}

.mep-hero-logo img {

max-width: 100%;

width: 380px; /* PCでのロゴサイズ（お好みで調整） */

height: auto;

display: block;

}



/* 店舗数表示ボックス */

.mep-hero-count-box {

background: #333;

color: #fff;

padding: 12px 30px;

border-radius: 50px;

box-shadow: 0 4px 10px rgba(0,0,0,0.1);

width: fit-content; /* 中身のサイズに合わせる */

display: flex;

align-items: center;

gap: 15px;

}

.mep-hero-count-box .label {

font-size: 0.85rem;

opacity: 0.9;

font-weight: bold;

}

.mep-hero-count-box .number {

font-size: 1.8rem;

font-weight: bold;

line-height: 1;

color: #ffd700; /* ゴールド色 */

font-family: Arial, sans-serif;

}

.mep-hero-count-box .unit {

font-size: 0.9rem;

color: #fff;

margin-left: 3px;

font-weight: normal;

}





/* --- 右側エリア（広告のみ） --- */

.mep-hero-right {

width: 300px; /* 広告サイズ固定 */

flex-shrink: 0;

}



/* 広告枠のデザイン */

.mep-hero-ad-slot {

width: 300px;

height: 250px;

background: #f5f5f5;

display: flex;

align-items: center;

justify-content: center;

color: #999;

font-size: 14px;

text-align: center;

border-radius: 4px;

border: 1px dashed #ccc;

}

/* 広告画像が入った時 */

.mep-hero-ad-slot img {

width: 100%; height: 100%; object-fit: cover;

}





/* --- スマホ対応 --- */

@media (max-width: 768px) {

.mep-hero-estama { padding: 40px 20px; }


.mep-hero-flex {

flex-direction: column; /* 縦並び */

align-items: center;

text-align: center;

gap: 30px;

}


.mep-hero-left {

width: 100%;

align-items: center; /* 中央揃え */

}


/* スマホでのロゴサイズ調整 */

.mep-hero-logo img {

width: 280px;

margin: 0 auto;

}


.mep-hero-count-box { margin: 0 auto; }



/* 右側（広告） */

.mep-hero-right { width: 100%; max-width: 300px; margin: 0 auto; }

}


/* ============================================

【決定版】見出しデザイン修正

・フォント：サイト標準（ゴシック）に統一

・紺色の帯：完全に削除してシンプルに

============================================ */



/* 対象：セクションタイトル、Aboutタイトル、CTAタイトルなど */

h2.mep-section-title,

h2.mep-about-title,

.mep-cta-title {

/* SWELL等のテーマ標準スタイルを強力リセット */

background: transparent !important; /* 背景色（紺色）を透明に */

border: none !important; /* 枠線を消す */

border-radius: 0 !important;

box-shadow: none !important;

padding: 0 0 15px 0 !important; /* 下に余白 */

margin: 0 0 40px 0 !important; /* 周囲の余白 */


/* 新しいデザイン（シンプル） */

position: relative;

border-bottom: 1px solid #e0e0e0 !important; /* 薄いグレーの下線 */


/* フォント設定（ゴシック体で統一） */

font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;

font-weight: 700 !important;

color: #333 !important;

font-size: 1.8rem !important;

line-height: 1.4 !important;

}



/* ▼ アクセント（左下の赤い線） */

h2.mep-section-title::after,

h2.mep-about-title::after {

content: '';

position: absolute;

bottom: -1px; /* 下線の上に重ねる */

left: 0;

width: 60px; /* 線の長さ */

height: 3px; /* 線の太さ */

background: #ff5a5f !important; /* アクセントカラー（赤） */

}



/* ▼ 既存の飾り（上下の線など）を消す */

h2.mep-section-title::before,

h2.mep-about-title::before {

content: none !important;

display: none !important;

}





/* --------------------------------------

【修正】「店舗オーナー様へ」の特例

（背景色が濃いエリアなので文字を白にする）

-------------------------------------- */

.mep-cta-title {

color: #ffffff !important;

border-bottom-color: rgba(255,255,255,0.3) !important; /* 下線を半透明の白に */

text-align: center; /* 中央寄せ */

}

/* CTAタイトルのアクセント線（中央） */

.mep-cta-title::after {

content: '';

position: absolute;

bottom: -1px;

left: 50%;

transform: translateX(-50%);

width: 60px;

height: 3px;

background: #ffffff !important; /* 白いアクセント */

}





/* --------------------------------------

【再確認】カード内の文字には装飾をつけない

-------------------------------------- */

.sooon-title,

.sooon-item h2 {

background: none !important;

border: none !important;

padding: 0 !important;

margin-bottom: 10px !important;


/* フォントをゴシックに統一 */

font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;

color: #fff !important;

}


/* ============================================

【Sooon風】メディアセクション用スタイル

Concept: Clean, Minimal, Grid layout

============================================ */



/* グリッドレイアウト（PCは3列） */

.sooon-media-grid {

display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 40px; /* 余白を広めにとってスッキリさせる */

margin-bottom: 50px;

}



/* カード全体 */

.sooon-media-card {

display: flex;

flex-direction: column;

text-decoration: none;

background: transparent; /* 背景なしでシンプルに */

transition: opacity 0.3s ease;

}



.sooon-media-card:hover {

opacity: 0.8; /* ホバー時は少し薄くするだけ（シンプル） */

}



/* --- サムネイルエリア --- */

.sooon-media-thumb {

width: 100%;

padding-top: 60%; /* 横長（16:10くらい） */

position: relative;

overflow: hidden;

margin-bottom: 20px; /* 画像と文字の間隔 */

border-radius: 4px; /* 角をほんの少しだけ丸く */

}



.sooon-media-thumb img {

position: absolute;

top: 0; left: 0;

width: 100%; height: 100%;

object-fit: cover;

transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);

}

/* 画像ズームエフェクト */

.sooon-media-card:hover .sooon-media-thumb img {

transform: scale(1.05);

}





/* --- テキストエリア --- */

.sooon-media-body {

display: flex;

flex-direction: column;

color: #333;

}



/* メタ情報（カテゴリ・日付） */

.sooon-media-meta {

display: flex;

align-items: center;

justify-content: space-between; /* 左右に配置 */

margin-bottom: 12px;

font-family: 'Helvetica Neue', Arial, sans-serif;

font-size: 0.8rem;

color: #888;

}



/* カテゴリタグ */

.sooon-media-cat {

background: #f4f4f4;

color: #333;

padding: 4px 12px;

border-radius: 2px;

font-weight: 600;

font-size: 0.75rem;

letter-spacing: 0.05em;

}



/* 日付（曜日付き） */

.sooon-media-date {

font-weight: 500;

letter-spacing: 0.05em;

color: #999;

}



/* タイトル */

.sooon-media-title {

font-size: 1.1rem;

font-weight: 700;

line-height: 1.5;

color: #333;

margin: 0 0 10px 0;


/* 2行制限 */

display: -webkit-box;

-webkit-line-clamp: 2;

-webkit-box-orient: vertical;

overflow: hidden;


/* SWELLなどの装飾リセット */

border: none !important;

background: none !important;

padding: 0 !important;

}



/* 抜粋文 */

.sooon-media-excerpt {

font-size: 0.85rem;

color: #666;

line-height: 1.6;

margin: 0;


/* 3行制限 */

display: -webkit-box;

-webkit-line-clamp: 3;

-webkit-box-orient: vertical;

overflow: hidden;

}





/* --- スマホ対応 --- */

@media (max-width: 768px) {

.sooon-media-grid {

grid-template-columns: 1fr; /* 1列 */

gap: 30px;

}

.sooon-media-title {

font-size: 1rem;

}

.sooon-media-thumb {

margin-bottom: 15px;

}

}


/* ============================================

見出しアイコン統一（控えめサイズ×最高級シャンパンゴールド）

============================================ */



/* 枠のサイズを小さく調整 */

.mep-section-title__icon {

display: inline-block;

position: relative;

width: 1.1em; /* 【変更】サイズを小さく（1.4em → 1.1em） */

height: 1.1em; /* 【変更】サイズを小さく */

margin-right: 6px; /* 【変更】余白も少し狭く */

vertical-align: middle;

top: -2px; /* 位置の微調整 */


/* 元の文字を完全に見えなくする */

color: transparent !important;

text-shadow: none !important;

}



/* 擬似要素で星を描画 */

.mep-section-title__icon::after {

content: "";

position: absolute;

left: 0; top: 0;

width: 100%; height: 100%;


/* SVGマスク（形はそのまま維持） */

-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");

mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");

-webkit-mask-repeat: no-repeat;

mask-repeat: no-repeat;

-webkit-mask-position: center;

mask-position: center;

-webkit-mask-size: contain;

mask-size: contain;



/* ▼▼▼ 【変更】落ち着いたシャンパンゴールドのグラデーション ▼▼▼ */

background: linear-gradient(

135deg,

#a6852f 0%, /* 深みのあるくすんだ金 */

#e8d28a 30%, /* 上品な光沢（白すぎない） */

#c3a343 60%, /* 中間の落ち着いた金 */

#f2e2a8 85%, /* 上品な光沢 */

#8f6f1e 100% /* 影になる濃い金 */

);


/* ▼▼▼ 【追加】ほんの少し影を落として立体感を出す ▼▼▼ */

filter: drop-shadow(0 1px 1px rgba(90, 70, 10, 0.3));

}


/* =================================================================

Escomi トップページスタイル (mep-*) - 復元＆拡張版

================================================================= */



/* --- ヒーローエリア --- */

.mep-hero-estama {

background: #f4f4f4;

padding: 50px 0;

border-bottom: 5px solid #00a4a6;

}

.mep-hero-flex {

display: flex;

justify-content: space-between;

align-items: center;

gap: 40px;

}

.mep-hero-left { flex: 1; }

.mep-hero-sub {

font-size: 14px;

color: #00a4a6;

font-weight: bold;

margin-bottom: 10px;

letter-spacing: 0.1em;

}

.mep-hero-logo img { max-width: 100%; height: auto; }

.mep-hero-count-box {

margin-top: 20px;

background: #fff;

padding: 15px 30px;

display: inline-flex;

align-items: baseline;

gap: 10px;

border-radius: 50px;

box-shadow: 0 4px 10px rgba(0,0,0,0.05);

}

.mep-hero-count-box .label { font-size: 14px; font-weight: bold; color: #666; }

.mep-hero-count-box .number { font-size: 32px; font-weight: bold; color: #00a4a6; line-height: 1; }

.mep-hero-count-box .unit { font-size: 14px; font-weight: bold; color: #333; }

.mep-hero-right { width: 300px; flex-shrink: 0; }

.mep-hero-ad-slot {

width: 300px; height: 250px; background: #ddd;

display: flex; align-items: center; justify-content: center; color: #666;

}



/* --- 検索フォーム --- */

.mep-white-section { padding: 60px 0; background: #fff; }

.mep-section-title { font-size: 24px; font-weight: bold; margin-bottom: 30px; color: #333; display: flex; align-items: center; }

.mep-section-title--center { justify-content: center; }

.mep-section-title__icon { margin-right: 10px; font-size: 1.2em; }

.mep-search-form { max-width: 600px; margin: 0 auto; display: flex; gap: 10px; }

.mep-search-input {

flex: 1; padding: 15px; border: 2px solid #eee; border-radius: 50px;

font-size: 16px; outline: none; transition: border-color 0.3s;

}

.mep-search-input:focus { border-color: #00a4a6; }

.mep-search-btn {

background: #00a4a6; color: #fff; border: none; padding: 0 30px;

border-radius: 50px; font-weight: bold; cursor: pointer; transition: background 0.3s;

}

.mep-search-btn:hover { background: #008587; }



/* --- 共通カードレイアウト（新着・コラム・特集） --- */

.mep-feature-cards {

display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 20px;

}

.mep-feature-card {

position: relative;

border-radius: 12px;

overflow: hidden;

text-decoration: none;

background: #fff;

box-shadow: 0 4px 10px rgba(0,0,0,0.05);

transition: transform 0.3s;

display: block;

}

.mep-feature-card:hover { transform: translateY(-5px); }



/* エリアアコーディオン (Escomi配色) */

.area-accordion-3-section { margin: 0 auto; max-width: 900px; }

.area-accordion-3-wrapper { border: 1px solid #e0e0e0; background: #fff; border-radius: 8px; overflow: hidden; }

.area-accordion-3-row { display: flex; border-bottom: 1px solid #eee; }

.area-accordion-3-row:last-child { border-bottom: none; }

.area-accordion-3-cell { flex: 1; border-right: 1px solid #eee; }

.area-accordion-3-button {

width: 100%; padding: 15px 20px; background: #fff; border: none; text-align: left;

cursor: pointer; display: flex; justify-content: space-between; align-items: center;

font-weight: 600; color: #333; transition: background 0.2s;

}

.area-accordion-3-button:hover { background: #f5f5f5; }

.area-accordion-3-button.active { background: #e0f2f2; color: #00a4a6; } /* アクティブ時ティール色 */

.area-accordion-3-content { display: none; padding: 20px; background: #fafafa; border-top: 1px solid #eee; width: 100%; }

.area-accordion-3-city-item { padding: 8px 10px; border-bottom: 1px dashed #ddd; font-size: 14px; }

.area-accordion-3-city-item a { text-decoration: none; color: #555; display: block; }

.area-accordion-3-city-item a:hover { color: #00a4a6; }

.prefecture-item { background: #eee; font-weight: bold; border-radius: 4px; margin-bottom: 5px; }



/* レスポンシブ */

@media (max-width: 768px) {

.mep-hero-flex { flex-direction: column; text-align: center; }

.mep-hero-right { display: none; }

.mep-feature-cards { grid-template-columns: 1fr !important; }

.mep-search-form { flex-direction: column; }

.mep-search-btn { width: 100%; padding: 12px; }

}


/* =================================================================

Escomi トップページスタイル (mep-*) - デザイン修正版

================================================================= */



/* --- コンテナ設定 --- */

.mep-container {

max-width: 1100px;

margin: 0 auto;

padding: 0 20px;

box-sizing: border-box;

}



/* --- セクション共通設定 --- */

/* 余白を均一に整えます */

.mep-white-section,

.mep-area-section,

.mep-blog-section,

.mep-feature-section,

.mep-about-section {

padding: 60px 0;

width: 100%;

box-sizing: border-box;

}



/* 背景色の設定 */

.mep-white-section, .mep-blog-section { background: #fff; }

.mep-area-section, .mep-feature-section { background: #f9f9f9; }

.mep-about-section { background: #fff; text-align: center; }



/* --- 見出しデザイン --- */

.mep-section-title {

font-size: 24px;

font-weight: bold;

margin-bottom: 40px; /* 下の余白を少し広げる */

color: #333;

display: flex;

align-items: center;

line-height: 1.4;

}

.mep-section-title--center { justify-content: center; }

.mep-section-title__icon { margin-right: 10px; font-size: 1.2em; }



/* --- ヒーローエリア（上部） --- */

.mep-hero-estama {

background: #f4f4f4;

padding: 60px 0; /* 上下の余白 */

border-bottom: 5px solid #00a4a6;

margin-bottom: 0; /* 下のセクションとの隙間をなくす */

}

.mep-hero-flex {

display: flex;

justify-content: space-between;

align-items: center;

gap: 40px;

}

.mep-hero-left { flex: 1; }

.mep-hero-sub {

font-size: 14px;

color: #00a4a6;

font-weight: bold;

margin-bottom: 15px;

letter-spacing: 0.1em;

}

.mep-hero-logo { margin: 0 0 25px 0; line-height: 1; }

.mep-hero-logo img { max-width: 100%; height: auto; display: block; }



.mep-hero-count-box {

margin-top: 10px;

background: #fff;

padding: 15px 30px;

display: inline-flex;

align-items: baseline;

gap: 12px;

border-radius: 50px;

box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 影を少し強めに */

}

.mep-hero-count-box .label { font-size: 14px; font-weight: bold; color: #666; }

.mep-hero-count-box .number { font-size: 32px; font-weight: bold; color: #00a4a6; line-height: 1; }

.mep-hero-count-box .unit { font-size: 14px; font-weight: bold; color: #333; }



.mep-hero-right { width: 300px; flex-shrink: 0; }

.mep-hero-ad-slot {

width: 300px; height: 250px; background: #ddd;

display: flex; align-items: center; justify-content: center; color: #666;

}



/* --- カードグリッド（新着・コラム共通） --- */

.mep-feature-cards {

display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 25px; /* カード間の隙間を調整 */

margin-bottom: 0;

}



.mep-feature-card {

position: relative;

border-radius: 12px;

overflow: hidden;

text-decoration: none;

background: #fff;

box-shadow: 0 4px 10px rgba(0,0,0,0.05);

transition: transform 0.3s ease;

display: block;

height: 100%; /* 高さを揃える */

}

.mep-feature-card:hover { transform: translateY(-5px); }



/* 画像エリア */

.mep-card-img {

position: relative;

height: 200px; /* 画像の高さを固定 */

overflow: hidden;

}

.mep-card-img img {

width: 100%;

height: 100%;

object-fit: cover; /* 比率を保ってトリミング */

transition: transform 0.5s ease;

}

.mep-feature-card:hover .mep-card-img img { transform: scale(1.05); }



/* コンテンツエリア */

.mep-card-body {

padding: 20px;

}

.mep-card-title {

font-size: 16px;

font-weight: bold;

color: #333;

margin: 0 0 10px 0;

line-height: 1.5;

}

.mep-card-date {

font-size: 12px;

color: #999;

display: block;

margin-bottom: 5px;

}

.mep-area-label {

font-size: 11px;

color: #00a4a6;

font-weight: bold;

display: block;

margin-bottom: 5px;

}

.mep-card-price {

font-size: 15px;

font-weight: bold;

color: #666;

margin: 0;

}



/* --- ボタン --- */

.mep-cta-btn {

display: inline-block;

padding: 14px 50px;

border-radius: 50px;

text-decoration: none;

font-weight: bold;

transition: all 0.3s;

font-size: 14px;

}

.mep-cta-btn:hover { opacity: 0.8; }

.mep-cta-btn--outline {

border: 2px solid #00a4a6;

color: #00a4a6 !important;

background: transparent;

}

.mep-cta-btn--outline:hover {

background: #00a4a6;

color: #fff !important;

}



/* --- レスポンシブ (SP) --- */

@media (max-width: 768px) {

.mep-hero-estama { padding: 40px 0; }


.mep-hero-flex {

flex-direction: column;

text-align: center;

gap: 30px;

}

.mep-hero-right { display: none; } /* スマホでは広告を消してスッキリさせる */


.mep-feature-cards {

grid-template-columns: 1fr; /* 1列にする */

gap: 20px;

}


.mep-section-title {

font-size: 20px;

margin-bottom: 30px;

}


/* カードの高さをスマホ用に調整 */

.mep-card-img { height: 180px; }

.mep-card-body { padding: 15px; }

}


/* =========================================
   【追加修正】トップページ H2デザイン上書き
   ========================================= */

/* 1. 既存のH2装飾（アイコンや枠線など）を全てリセット */
.home h2,
.home .mep-section-title {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 50px 0 !important;
}

/* 既存のアイコンや疑似要素を非表示にする */
.home h2::before,
.home .mep-section-title__icon {
    display: none !important;
    content: none !important;
}

/* 2. 新しい高級感のあるデザインを適用 */
.home h2,
.home .mep-section-title {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important; /* 明朝体で高級感 */
    font-size: 26px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-align: center !important; /* 中央寄せ */
    position: relative !important;
    display: block !important;
    letter-spacing: 0.05em !important;
}

/* 3. 下にゴールドのラインを引く */
.home h2::after,
.home .mep-section-title::after {
    content: "";
    display: block !important;
    width: 60px !important;       /* 線の長さ */
    height: 3px !important;       /* 線の太さ */
    /* 高級感のあるゴールドグラデーション */
    background: linear-gradient(135deg, #BFAE6B, #9E8546) !important; 
    margin: 20px auto 0 auto !important; /* 中央に配置 */
    position: static !important;
}
/* =================================================================
   エリア画像内の文字色修正（白文字＋影）
   ================================================================= */

/* 英語タイトル（KYOTOなど）と 日本語タイトル（河原町など） */
.sooon-en,
.sooon-title,
.sooon-sub,
.sooon-content h2 {
    color: #ffffff !important;  /* 文字色を白に強制 */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7) !important; /* 黒い影をつけて読みやすく */
}

/* もしリンクになっている場合も白くする */
.sooon-item a {
    color: #ffffff !important;
}
/* =================================================================
   エリア特集セクション (p-areaFeature)
   ================================================================= */

/* セクション全体 */
.p-areaFeature {
    background-color: #fff; /* 背景色 */
    padding-bottom: 20px;   /* 下余白調整 */
}

/* リストコンテナ（将来的な横スクロール対応） */
.p-areaFeature__list {
    display: flex;
    flex-wrap: nowrap;      /* 折り返さない（横並び） */
    overflow-x: auto;       /* はみ出たらスクロール */
    gap: 30px;              /* スライド間の隙間 */
    padding-bottom: 20px;   /* スクロールバーの干渉避け */
    -webkit-overflow-scrolling: touch; /* スマホでの慣性スクロール */
}

/* 個別のカードアイテム */
.p-areaFeature__item {
    flex: 0 0 100%;         /* 1枚で幅100% */
    max-width: 1000px;      /* PCでの最大幅 */
    margin: 0 auto;         /* 中央寄せ */
    display: flex;          /* 画像とテキストを横並び */
    background: #fffcf0;    /* 薄いゴールド系の背景（目立たせる） */
    border: 1px solid #BFAE6B; /* ゴールドの枠線 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 複数枚ある場合、少し小さくして並べるならここを調整 */
/* .p-areaFeature__item { flex: 0 0 85%; } // スマホで少し端が見えるようにする場合 */

/* 画像エリア */
.p-areaFeature__img {
    width: 45%;
    position: relative;
    overflow: hidden;
}
.p-areaFeature__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.p-areaFeature__item:hover .p-areaFeature__img img {
    transform: scale(1.05); /* ホバーで拡大 */
}

/* テキストエリア */
.p-areaFeature__body {
    width: 55%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 小見出し */
.p-areaFeature__sub {
    display: inline-block;
    color: #BFAE6B; /* ゴールド */
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

/* タイトル */
.p-areaFeature__title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #1a3a4d; /* ネイビー */
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 説明文 */
.p-areaFeature__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ボタン */
.p-areaFeature__btnWrap {
    text-align: left;
}
.p-areaFeature__btn {
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
}

/* --- スマホ対応 (768px以下) --- */
@media screen and (max-width: 768px) {
    .p-areaFeature__item {
        flex-direction: column; /* 縦並びにする */
        max-width: 100%;
    }
    .p-areaFeature__img {
        width: 100%;
        height: 200px; /* 画像の高さを固定 */
    }
    .p-areaFeature__body {
        width: 100%;
        padding: 20px;
    }
    .p-areaFeature__title {
        font-size: 1.3rem;
    }
    .p-areaFeature__desc {
        font-size: 0.9rem;
    }
    .p-areaFeature__btnWrap {
        text-align: center; /* ボタン中央寄せ */
    }
    .p-areaFeature__btn {
        width: 100%; /* ボタン幅いっぱい */
    }
}
/* ヒーローエリア直下の余白を詰める */
.mep-hero-estama {
    margin-bottom: 0 !important; /* 強制的に下の隙間をなくす */
}

/* 追加したエリア特集の上側の余白を調整 */
.p-areaFeature {
    margin-top: 0 !important;
    padding-top: 40px; /* ここを増減して好みの間隔にしてください（例: 20px〜60px） */
}
/* =================================================================
   エリア特集用：リッチボタンのスタイル
   ================================================================= */

/* ボタン本体のデザイン */
.p-areaFeature__richBtn {
    display: flex;
    justify-content: space-between; /* 文字と矢印を左右に配置 */
    align-items: center;
    width: 100%;
    max-width: 380px; /* ボタンの最大幅 */
    margin: 0 auto 0 0; /* 左寄せ（中央にしたい場合は margin: 0 auto; に変更） */
    padding: 18px 30px;
    
    /* ゴールドのグラデーション背景 */
    background: linear-gradient(135deg, #BFAE6B 0%, #dcd08a 40%, #a2924a 100%);
    color: #fff !important; /* 文字色 */
    
    border-radius: 50px; /* 丸み */
    box-shadow: 0 5px 15px rgba(162, 146, 74, 0.4); /* 影 */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* スマホでは中央寄せにする */
@media screen and (max-width: 768px) {
    .p-areaFeature__richBtn {
        margin: 0 auto;
        max-width: 100%;
        padding: 15px 20px;
    }
}

/* ボタンの文字 */
.richBtn-text {
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 右側の矢印アイコン */
.p-areaFeature__richBtn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

/* --- ホバー時の動き（キラッと光る＋浮き上がる） --- */
.p-areaFeature__richBtn:hover {
    transform: translateY(-3px); /* 少し上に浮く */
    box-shadow: 0 8px 20px rgba(162, 146, 74, 0.5); /* 影が濃くなる */
    background: linear-gradient(135deg, #dcd08a 0%, #BFAE6B 100%); /* グラデーションの向き変える */
}

.p-areaFeature__richBtn:hover i {
    transform: translateX(5px); /* 矢印が右に動く */
}

/* キラッと光るエフェクト */
.p-areaFeature__richBtn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; } /* 素早く通り過ぎる */
    100% { left: 200%; } /* 残りの時間は待機 */
}