@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@700&display=swap');

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/




/************************************
** HEADER カスタマイズ（共通）
************************************/
.tagline,
.logo,
.logo-header,
.logo-text,
.search-box.input-box,
#navi,
#navi-in {
  display: none !important;
}

/* 検索フォーム */
.header-search {
  flex: 2;
  align-items: center;
  display: flex;
  justify-content: center;
}
.header-search .search-box {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.header-search input[type="text"] {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 14px / 50%;
  width: 100%;
}
.header-search .search-submit {
  color: #378cb0;
}
.search-edit {
  border-radius: 40px !important;
  background-color: #d3d3d3;
  width: 100%;
  max-width: 280px;
}
.fa-search:before {
  color: gray;
}

/************************************
** ハンバーガーメニュー（共通）
************************************/
.hamburger-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 48px;
  margin: 0 auto;
  margin-left: 85%;	
}



@media screen and (max-width: 768px) {
.hamburger-menu {
        margin-left: 50%;
  }
}

.hamburger-menu .bar {
  width: 24px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hamburger-menu .menu-label {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #333;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/************************************
** モバイルメニュー本体・オーバーレイ
************************************/
.mobile-nav {
  display: none;
  background: #fff;
  padding: 20px;
  border-top: 1px solid #ccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.active {
  display: block;
  max-height: 500px;
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  display: block;
}

/************************************
** ヘッダーレイアウト（最終版）
************************************/

/* ヘッダー内部のレイアウト */
.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* ヘッダーの高さ */
    padding: 0 15px; /* スマホでの左右の余白を詰める */
    width: 100%;
    box-sizing: border-box;
}

/* PC用の古い要素は、常に非表示 */
/* SP: PC専用要素を非表示 */
@media (max-width: 768px) {
  .header-title-pc,
  .header-nav-pc,
  .header-search {
    display: none !important;
  }
}

/* 表示させたいロゴとハンバーガーは、常に表示 */
.header-logo,
.hamburger-menu {
    display: flex !important;
    align-items: center;
    position: static !important;
    transform: none !important;
}

/* ロゴ画像のサイズを厳密に指定 */
.header-logo img.site-logo {
    height: 40px !important; /* ロゴの高さを40pxに */
    width: auto !important;   /* 幅は自動 */
    padding: 0 !important;   /* 不要なpaddingをリセット */
    max-width: none !important; /* max-widthをリセット */
    margin-top: 15%;
    margin-left: 8%;
}

/* PC表示（769px以上）の場合の余白 */
@media screen and (min-width: 769px) {
    .site-header .header-inner {
        padding: 0 30px; /* PCでは左右の余白を広げる */
    }
}


/* --- ハンバーガーメニュー視認性向上 --- */
.page-template-template-full-hero .hamburger-menu {
    background-color: rgba(0, 0, 0, 0.25); /* 半透明の黒い背景 */
    width: 52px;   /* 円のサイズ */
    height: 52px;  /* 円のサイズ */
    border-radius: 50%; /* 角を丸めて円にする */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* UIとして少し浮き上がって見えるように影を追加 */
    transition: background-color 0.3s;
}

/* マウスが乗った時に少し濃くする */
.page-template-template-full-hero .hamburger-menu:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* 中の線や文字の位置を微調整 */
.page-template-template-full-hero .hamburger-menu .bar {
    margin: 3px 0; /* 線と線の間隔を少し詰める */
}
.page-template-template-full-hero .hamburger-menu .menu-label {
    margin-top: 4px;
}

/************************************
** 20250627　フロントページ　ヒーローイメージ
************************************/ 


/* ===============
 0. レイアウトの基本構造をリセット
 =============== */
/* 原因だった余白を強制的に削除 */
.home #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* 親コンテナの幅制限を解除 */
.home #container.container {
    max-width: none !important;
    padding: 0 !important;
}
/* ページの背景は白に */
body.home {
    background-color: #fff !important;
}

/* ===============
 1. ヒーローセクション
 =============== */

.home .front-page-hero {
    position: absolute;
    top: 0px;
    left: 50%; /* 画面の左端から50%の位置に配置 */
    transform: translateX(-50%); /* 要素自身の幅の50%分、左にずらす */
    height: 100vh;
    width: 100vw; /* 表示領域(viewport)の幅いっぱいに指定 */
    z-index: 1;
  overflow: hidden;
}
.home .front-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===============
 キャッチコピー（PCは左寄せ、スマホは中央寄せ）
 =============== */
/* まずPC用のスタイルを定義 */
.home .front-page-hero .hero-catchphrase {
    position: absolute;
    top: 50%;
    left: 8%; /* PCでは左から8%の位置 */
    transform: translateY(-50%);
    width: auto;
    color: white;
    font-family: 'Shippori Mincho', serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    text-align: left; /* PCでは左寄せ */
    opacity: 0;
    white-space: nowrap; /* PCでは改行させない */
    animation: fadeIn-from-left 1.5s ease-out 0.5s forwards;
}

/* --- スマホ表示（画面幅が768px以下）の場合のスタイル --- */
@media screen and (max-width: 768px) {
    .home .front-page-hero .hero-catchphrase {
        left: 50%; /* スマホでは中央に配置 */
        transform: translate(-50%, -50%);
        width: 90%; /* 横幅も調整 */
        text-align: center; /* スマホでは中央揃え */
        white-space: normal; /* スマホでは自動で改行を許可 */
        font-size: 2.2rem; /* スマホ用に少しフォントを小さく */
        animation-name: fadeIn-and-float-mobile; /* スマホ用のアニメーションに切り替え */
    }
}



/* ===============
 2. ヘッダー
 =============== */
.home header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    z-index: 100 !important;
}
.admin-bar.home header.site-header { top: 32px !important; }

.home header.site-header .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 80px !important;
    padding: 0 30px !important;
}
/* PC表示でのヘッダー要素の切り替え */
@media (min-width: 769px) {
    /* スマホ用のロゴとメニューをPCでも表示 */
    .home .header-logo {
        display: flex !important;
    }
    .home .hamburger-menu {
        display: none !important;
    }
    /* PC用のデフォルト要素は非表示に */
    .home .header-title-pc,
    .home .header-nav-pc {
        display: flex !important;
    }
    .home .header-search {
        display: flex !important;
    }
}

/* ロゴとメニューの基本スタイル */
.home .header-logo,
.home .hamburger-menu {
    width: 52px;
    height: 52px;
    transition: background-color 0.3s ease;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 !important;
	margin-left: 5% !important;
}
/* PC: ハンバーガーを非表示・ナビを表示 */
@media (min-width: 769px) {
    .home .hamburger-menu {
        display: none !important;
    }
    .home .header-inner {
        height: 64px;
        align-items: center;
    }
    .home .header-nav-pc {
        display: flex !important;
        align-items: center;
        gap: 1.2rem;
        flex: 1;
        justify-content: flex-end;
        padding-right: 2rem;
    }
}

.home .hamburger-menu:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.home .hamburger-menu .bar {
    width: 24px;
    height: 3px;
    background-color: #fff !important;
    border-radius: 2px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.home .hamburger-menu .menu-label {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #fff !important;
    font-weight: 500;
}
.home .header-logo img.site-logo {
    height: 40px !important;
    width: auto !important;
}

/* 開いた時のアニメーションも .bar に戻します */
.home .hamburger-menu.active .bar:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
}
.home .hamburger-menu.active .bar:nth-of-type(2) {
    opacity: 0;
}
.home .hamburger-menu.active .bar:nth-of-type(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ===============
 3. メインコンテンツ
 =============== */
.home .page-content-wrapper {
    padding-top: 100vh;
    position: relative;
    z-index: 10;
}
/* 各コンテンツセクションの幅を通常に戻し、中央に配置 */
.home .page-content-wrapper > section {
    max-width: 1110px; /* Cocoonの標準的なコンテンツ幅 */
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px;
}

/* ===============
 アニメーションの定義
 =============== */
/* PC用：左からフェードイン */
@keyframes fadeIn-from-left {
    from {
        opacity: 0;
        transform: translateX(-20px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

/* スマホ用：下からふわっとフェードイン */
@keyframes fadeIn-and-float-mobile {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


/* --- キャッチコピー視認性向上（グラデーションスタイル） --- */
/* ヒーローイメージに擬似要素を追加して、その上にグラデーションをかける */
.home .front-page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 下から上へ、黒(透明度40%)から透明へのグラデーション */
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    z-index: 1; /* 画像の上、文字の下に配置 */
}

/* 文字がグラデーションより手前に来るように調整 */
.home .front-page-hero .hero-catchphrase {
    z-index: 2;
}

            


/* --- 【最終対策】menu-overlayを非表示にしてクリック問題を解決 --- */
#menu-overlay {
    display: none !important;
} 



/************************************
** 20250616　フロントページ　スライドショー
************************************/
.featured {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}
/************************************
** 20250319　フロントページ　スライドショー見出し（V3更新）
** 変更内容：border-bottom削除・英語サブ(FEATURED)を::after疑似要素で追加
************************************/
.featured-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.home .featured-heading::after {
  content: 'FEATURED';
  display: block;
  font-size: 0.65em;
  color: #999;
  letter-spacing: .18em;
  font-weight: 400;
  margin-top: 6px;
  margin-bottom: 32px;
}

.featured-button-area {
  text-align: right;
  margin-top: 20px;
  padding-right: 20px;
}

/* スライド全体（画像＋テキスト）を横並びに */
.slide-item {
  display: flex;
  align-items: center; /* ← テキストブロックを縦中央に配置 */
  gap: 30px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.slide-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 = 9 / 16 * 100 */
  flex: 0 0 70%;
  overflow: hidden;
  border-radius: 8px;
}

.slide-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}



.slide-text {
  flex: 0 0 30%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  display: block; /* 中央配置にはflex不要 */
}


/* タイトル：中央寄せ（上下マージン無しで） */
.slide-text h4 {
  font-size: 1.3rem;
  color: #333;
  margin: 0 auto;
  text-align: center;
}

.meta {
  font-size: 0.85em;
  color: #777;
}

.custom-field {
  font-size: 0.9em;
  color: #cc6633;
  font-weight: bold;
  margin-top: 10px;
}

.swiper {
  width: 100%;
  overflow: hidden;
  position: relative; /* ← これが無いと子ボタンの left/right が効かない！ */
}
.swiper-wrapper {
  display: flex;
}

/* swiper-slide をフル幅＆中央に */
.swiper-slide {
  flex-shrink: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center;
}


.slide-text h4 {
  font-size: 1.3rem;
  color: #333;
  margin: 0;
}

/* ① 抜粋文の自動折り返し：最大3行まで表示 */
.excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-top: auto; /* ← これが下寄せ */
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ② ボタンを右側に配置（スライド下） */
.featured-button-area {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding: 0 20px;
}

/* ③ 横長楕円型のボタン：背景グレー・文字黒 */
.flat-button {
  display: inline-block;
  background: #e0e0e0;
  color: #111;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: background 0.2s;
}
.flat-button:hover {
  background: #ccc;
}

/* 「最新記事へ」丸型ボタン */
.circle-button-wrapper {
  margin-top: 10px;
}

.circle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #cc6633;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.2;
  padding: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}
.circle-button:hover {
  background: #b2552b;
}

.swiper-button-prev,
.swiper-button-next {
  color: #cc6633;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* スライダー枠の少し外（-30px）に出す */
.swiper-button-prev {
  left: -30px;
}
.swiper-button-next {
  right: -30px;
}

/* モバイルでは内側に戻す */
@media screen and (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
  }
  .swiper-button-prev {
    left: 10px;
  }
  .swiper-button-next {
    right: 10px;
  }
}



/* モバイル対応 */
@media screen and (max-width: 768px) {
  .slide-item {
    flex-direction: column;
  }
  .slide-img,
  .slide-text {
    flex: 0 0 auto;
    width: 100%;
  }
  .slide-text {
    justify-content: flex-start;
  }
  .circle-button {
    margin-left: 0;
  }
}


/* モバイル対応：中央寄せに変更 */
@media screen and (max-width: 768px) {
  .featured-button-area {
    justify-content: center;
    padding: 0;
    margin-top: 30px;
  }
}



/************************************
** 20250616　フロントページ　「おすすめ」グリッド
************************************/
/************************************
** 「おすすめ」セクション（最終版）
************************************/

/* セクション全体を囲むラッパー */
.recommend-wrapper {
    /* ↓ この数値で全体の幅が決まります。小さくすると、より狭くなります。*/
    max-width: 1000px;

    /* ↓ この2行でブロック全体をページの中央に配置します */
    margin-left: auto !important;
    margin-right: auto !important;

    /* 上下の余白 */
    margin-top: 80px;
    margin-bottom: 80px;
    
    /* 左右の余白 */
    padding-left: 20px;
    padding-right: 20px;
}

/* 「おすすめ」という見出し */
.recommend {
    text-align: center; /* 見出しは左寄せに */
}
.recommend-heading {
    display: inline-block;
    font-size: 1.5rem; /* 見出しを少し小さく、上品に */
    font-weight: bold;
    color: #333;
    border-bottom: none; /* 下線を削除 */
    padding-bottom: 0;
    margin-bottom: 40px; /* 見出しとカードの間の余白 */
    line-height: 1.4;
}
.recommend-heading .sub-en {
    display: block;
    font-size: 0.8em;
    color: #aaa; /* サブタイトルをグレーに */
    letter-spacing: 1px;
    margin-top: 5px;
}

/* カードを並べるコンテナ */
.recommend-cards {
    display: flex;
    flex-direction: column; /* カードを縦に並べる */
    align-items: center; /* ← この1行で中のカードが中央に配置されます */
}

/* 個々のカード（投稿） */
.recommend-card {
    display: flex;
    align-items: center;
　 justify-content: center; /* 水平方向中央揃えを追加 */
    gap: 10%; /* 画像とテキストの間の隙間 */
    border-top: 1px solid #f0f0f0;
	padding: 25px 0px 25px 20%;
}
.recommend-card:first-child {
    border-top: none;
    padding-top: 0;
}

/* カードの画像エリア */
.recommend-card .thumbnail-link {
    width: 35%; /* ← 画像の幅を45%に縮小 */
    flex-shrink: 0;
}
.recommend-card .thumbnail-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* カードのテキストエリア */
.recommend-card .card-text {
    width: 59%; /* ← テキストエリアの幅を49%に拡大 */
    text-align: left;
}

/* カードのタイトル */
.recommend-card h4 {
    font-size: 1.1rem; /* フォントサイズを調整 */
    margin: 0 0 25px 0;
    color: #333;
    line-height: 1.7; /* 行間を少し広げる */
    font-weight: normal; /* 太字を解除 */
}

/* VIEW MORE ボタン */
.recommend-card .view-more-button {
    display: inline-block;
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}
.recommend-card .view-more-button::after {
    content: '→';
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.2s ease;
}
.recommend-card .view-more-button:hover::after {
    transform: translateX(4px);
}

/* 不要な要素は非表示 */
.recommend-card .meta,
.recommend-card .excerpt,
.recommend-card .category-tag,
.recommend-sidebar {
    display: none;
}

/* --- スマホ表示（画面幅が768px以下）の場合のスタイル --- */
@media screen and (max-width: 768px) {
    .recommend-wrapper {
        margin: 40px auto;
        padding: 0 15px;
    }
    .recommend-heading {
        margin-bottom: 30px;
    }
    .recommend-cards {
        gap: 0; /* スマホではカード間の余白をなくす */
    }
    .recommend-card {
        flex-direction: column;
        border: none;
        border-top: none;
        padding: 0;
        margin-bottom: 40px;
        gap: 0;
    }
    .recommend-card .thumbnail-link,
    .recommend-card .card-text {
        width: 100%;
    }
    .recommend-card .card-text {
        padding: 20px 0 0 0; /* 画像との間に少し余白 */
        text-align: left; /* スマホでも左寄せに */
    }
    .recommend-card h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}
/************************************
** 20250628　フロントページ　「バナー」
************************************/
.section-banner {
  width: 100vw;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.section-banner img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
  max-height: 700px;
  display: block;
  border-radius: 0; /* フチ丸め解除（好みに応じて） */
  box-shadow: none; /* 影を消す場合 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .section-banner img {
    max-height: none;
    height: auto;
    width: 100%;
    border-radius: 0;
  }
}




/************************************
** 20250319　フロントページ　「カテゴリ」（V3更新）
** 変更内容：背景色を#FDF7F0→白(#ffffff)に変更
**           見出し下線(border-bottom)を削除
**           カードにホバーアニメーション・ボーダー追加
**           丸アイコン画像にボーダー追加
************************************/
.category-section {
  padding: 72px 20px 64px !important;
  background: #ffffff !important;
  text-align: center !important;
}
.category-heading {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0;
  line-height: 1.4;
  letter-spacing: .03em;
}
.category-heading .sub-en {
  display: block;
  font-size: 0.65em;
  color: #999 !important;
  letter-spacing: .18em;
  font-weight: normal;
  margin-top: 6px;
  margin-bottom: 40px;
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.category-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 32px 20px 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  border-color: rgba(204,102,51,.2);
}
.category-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 2.5px solid rgba(204,102,51,.15);
  transition: border-color .3s;
}
.category-card:hover .category-image {
  border-color: rgba(204,102,51,.45);
}
.category-card h4 {
  font-size: 1.1rem;
  color: #cc6633;
  margin-bottom: 8px;
  font-weight: 700;
}
.category-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  .category-section { padding: 48px 16px 40px !important; }
  .category-cards { grid-template-columns: 1fr; gap: 16px; }
  .category-image { width: 80px; height: 80px; }
}
/* =================================================================
   カテゴリーページのデザイン（新レイアウト版）
   ================================================================= */

/* --- 1. カテゴリーヘッダー --- */
.category-page-header{padding:60px 30px;background-color:#f5f5f5;background-size:cover;background-position:center;color:#333;text-align:center;margin-bottom:50px;border-bottom:1px solid #eee}.category-header-content{max-width:800px;margin:0 auto}.category-title{font-size:2.5rem;margin:0 0 15px 0}.category-description{font-size:1rem;line-height:1.8}
.category-trivia .category-page-header{background-image:url(http://umeshunavi.com/wp-content/uploads/2025/07/bccef22cf20cb0c3b8b2e454d6f667ba.jpg);color:#fff;text-shadow:1px 1px 5px rgba(0,0,0,.4)}

/* --- 2. ページ全体のコンテナ --- */
.category .main-in {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

/* --- 3. 最新記事1件のヒーロー表示 --- */
.category-latest-post { margin-bottom: 60px; }
.latest-post-card { display: block; position: relative; text-decoration: none; color: white; }
.latest-post-card .card-thumbnail img { width: 100%; height: 500px; object-fit: cover; display: block; border-radius: 12px; }
.latest-post-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%); z-index: 2; }
.latest-post-card .card-content { position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 3; }
.latest-post-card .card-title { font-size: 2.2rem; line-height: 1.4; font-weight: bold; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

/* --- 4. 記事グリッド（PC） --- */
.category-post-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.list-post-card { display: block; position: relative; text-decoration: none; color: white; }
.list-post-card .card-thumbnail img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 12px; }
.list-post-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; background: rgba(0,0,0,0.3); transition: background-color 0.3s; }
.list-post-card:hover::after { background: rgba(0,0,0,0.5); }
.list-post-card .card-content { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; }
.list-post-card .card-title { font-size: 1.1rem; line-height: 1.5; font-weight: bold; }

/* --- 5. MOREボタン --- */
.category-more-button { text-align: right; margin-top: 40px; }
.btn-more { display: inline-block; padding: 12px 40px; background: #333; color: #fff; text-decoration: none; border-radius: 5px; font-weight: bold; }

/* =================================================
   スマホ表示（768px以下）
   ================================================= */
@media screen and (max-width: 768px) {
    /* 最新記事 */
    .latest-post-card .card-thumbnail img { height: 300px; }
    .latest-post-card .card-title { font-size: 1.5rem; }
    .latest-post-card .card-content { bottom: 20px; left: 20px; right: 20px; }
    
    /* 記事一覧をジグザグレイアウトに */
    .category-post-list {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .list-post-card {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #333; /* 文字色を黒に */
    }
    .list-post-card::after { display: none; } /* グラデーションを非表示に */
    .list-post-card:nth-child(even) { flex-direction: row-reverse; }
    .list-post-card .card-thumbnail { width: 40%; flex-shrink: 0; }
    .list-post-card .card-thumbnail img { aspect-ratio: 1/1; }
    .list-post-card .card-content { position: static; width: 60%; }
    .list-post-card .card-title { font-size: 1rem; color: #333; }
    
    /* MOREボタン */
    .category-more-button { text-align: center; }
}




/* =================================================================
   梅酒診断ページ専用スタイル（新デザイン）
   ================================================================= */

/* --- ページ全体のレイアウト調整 --- */
.page-diagnose #main {
    padding: 0 !important; /* ページ全体の余白をなくす */
    background-color: #fdfaf6;
    /* 背景に画像を敷く（お好みの画像のURLに変更してください） */
    background-image: url(http://umeshunavi.com/wp-content/uploads/2024/05/drink2.jpg);
    background-size: cover;
    background-position: center;
}

/* --- 診断コンテンツのコンテナ（すりガラス風カード） --- */
#diagnose-container {
    max-width: 600px;
    margin: 100px auto; /* 上下の余白 */
    padding: 50px;
    border-radius: 16px;
    
    /* すりガラス効果 */
    background-color: rgba(255, 255, 255, 0.65); /* 半透明の白 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.diagnose-title {
    font-size: 1.8rem;
    text-align: center;
    color: #333;
    margin: 0 0 40px 0;
    font-family: 'Shippori Mincho', serif;
}

/* --- 質問と回答の表示スタイル --- */
#question-container p {
    background-color: transparent; /* 質問の背景をなくす */
    padding: 0;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 30px 0;
    font-weight: bold;
}
#question-container button {
    display: block;
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    font-size: 1rem;
    font-weight: bold;
    
    color: #8c6d3f; /* ブランドカラー */
    background-color: transparent; /* 背景を透明に */
    border: 2px solid #8c6d3f; /* ブランドカラーの枠線 */
    
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#question-container button:hover {
    background-color: #8c6d3f; /* ホバー時に背景色を塗る */
    color: #fff; /* ホバー時に文字色を白に */
}

/* --- 最終結果の表示スタイル --- */
#question-container .result-title {
    font-size: 1rem;
    color: #888;
}
#question-container .result-name {
    font-size: 2rem;
    font-weight: bold;
    color: #8c6d3f;
    margin: 10px 0 30px 0;
    border-bottom: 2px solid #8c6d3f;
    padding-bottom: 15px;
}

/* --- スマホ表示の調整 --- */
@media screen and (max-width: 768px) {
    #diagnose-container {
        margin: 40px 15px;
        padding: 30px 25px;
    }
    .diagnose-title {
        font-size: 1.5rem;
    }
    #question-container p {
        font-size: 1.1rem;
    }
}








/************************************
** 梅酒Q&A記事 専用スタイル
************************************/

/* 投稿本文のフォントや行間を調整 */
.entry-content {
    line-height: 1.8;
    font-size: 16px;
}

/* 導入文のボックス */
.entry-content .intro {
    background-color: #fdfaf4;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

/* Q&Aの質問(h3)のデザイン */
.entry-content .umeshu-qa h3 {
    font-size: 22px;
    background-color: #FFF8E1; /* 梅酒のような薄い黄色 */
    padding: 12px 20px;
    border-left: 5px solid #FFC107; /* 琥珀色 */
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Q&Aの回答部分 */
.entry-content .q-answer {
    padding-left: 10px; /* 少しインデント */
}

/* 小見出し(h4)のデザイン */
.entry-content h4 {
    font-size: 18px;
    color: #A0522D; /* シエンナ色 */
    margin-top: 25px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ccc;
}

/* 強調文字の色 */
.entry-content strong {
    color: #D2691E; /* チョコレート色 */
}

/* 箇条書きリストのスタイル */
.entry-content ul {
    list-style: none;
    padding-left: 0;
}
.entry-content li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
}
.entry-content li::before {
    content: '●';
    color: #FFC107; /* 琥珀色 */
    position: absolute;
    left: 0;
}

/* 豆知識ボックスのデザイン */
.entry-content .mame-chishiki {
    border: 1px solid #FFDDC1;
    background-color: #FFFBF5;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.entry-content .mame-chishiki-title {
    font-weight: bold;
    color: #D2691E;
}

/* 結びの文章 */
.entry-content .outro {
    background-color: #fdfaf4;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

/* 最後のまとめのデザイン */
.entry-content .final-summary {
    font-size: 20px;
    font-weight: bold;
    background-color: #8B4513; /* 梅酒をイメージした茶色 */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}


/************************************
** 20250319　フロントページ V3-new 追加CSS
** 変更内容：Stats Bar・注目の記事グリッド・診断バナー・
**           カテゴリオーバーレイカード・ベース別グリッド・
**           ペルソナセクション 追加
************************************/

/* ---- 共通 ---- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&family=Shippori+Mincho+B1:wght@700;800&display=swap');

.page-content-wrapper > section,
.page-content-wrapper > div:not(.stats-bar) {
  max-width: none;
  padding: 0;
  margin: 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.label-en {
  font-family: 'EB Garamond', serif;
  font-size: 11px; letter-spacing: 0.45em; font-style: italic;
  color: #CC6633;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.label-en::before { content: ''; width: 24px; height: 1px; background: #CC6633; }

.section-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: #2A1810; margin-bottom: 40px; line-height: 1.35;
}

/* ---- ヒーロー追加要素 ---- */
.home .hero-btns-wrap {
  position: absolute;
  bottom: 100px; left: 8%;
  z-index: 3;
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: fpFadeUp 0.9s ease 1.1s forwards;
}
.home .hero-btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  background: #CC6633; color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(204,102,51,0.4);
  transition: background 0.25s, transform 0.25s;
}
.home .hero-btn-main:hover { background: #A84E22; transform: translateY(-2px); }
.home .hero-btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 13px 24px; border-radius: 100px;
  font-size: 13.5px; letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s;
}
.home .hero-btn-sub:hover { background: rgba(255,255,255,0.22); }

.home .scroll-hint {
  position: absolute; bottom: 28px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
  opacity: 0; animation: fpFadeUp 0.8s ease 1.5s forwards;
}
.home .scroll-hint-text {
  font-size: 9px; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}
.home .scroll-hint-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.home .scroll-hint-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: rgba(255,255,255,0.7);
  animation: fpScrollDown 1.5s ease infinite;
}
@keyframes fpScrollDown { 0%{top:-100%} 100%{top:100%} }
@keyframes fpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* キャッチコピーをヒーロー左下へ */
.home .front-page-hero .hero-catchphrase {
  top: auto !important;
  bottom: 220px !important;
  left: 8% !important;
  transform: none !important;
  text-align: left !important;
  white-space: nowrap !important;
  animation: fpFadeUp 0.9s ease 0.5s forwards !important;
}
@media screen and (max-width: 768px) {
  .home .front-page-hero .hero-catchphrase {
    bottom: 200px !important;
    left: 5% !important;
    font-size: 2rem !important;
    white-space: normal !important;
    width: 90% !important;
  }
  .home .hero-btns-wrap { bottom: 80px; left: 5%; }
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: #3A2416; color: #fff;
  padding: 22px 80px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 44px;
}
.stat-num {
  font-family: 'EB Garamond', serif;
  font-size: 34px; font-weight: 400; color: #D4930E; line-height: 1;
}
.stat-num sup { font-size: 14px; vertical-align: super; }
.stat-label { font-size: 12.5px; opacity: 0.7; letter-spacing: 0.08em; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

@media screen and (max-width: 768px) {
  .stats-bar { padding: 20px 16px; flex-wrap: wrap; gap: 20px; }
  .stat-item { padding: 0 16px; }
}

/* ---- 注目の記事 ---- */
.featured-section {
  background: #F2EDE5;
  padding: 80px 0 !important;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.sub-articles { display: flex; flex-direction: column; gap: 20px; }

.art-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  display: block; text-decoration: none;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.35s, box-shadow 0.35s;
  color: #2A1810;
}
.art-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(58,36,22,0.12); }

.art-card.main-card { display: flex; flex-direction: column; }
.art-card.sub-card { display: grid; grid-template-columns: 110px 1fr; }

.art-img-wrap { overflow: hidden; }
.art-img-photo { width: 100%; display: block; transition: transform 0.55s; }
.art-card.main-card .art-img-photo { aspect-ratio: 16/10; object-fit: cover; }
.art-card.sub-card .art-img-photo { height: 100%; object-fit: cover; }
.art-card:hover .art-img-photo { transform: scale(1.05); }

.art-img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #FAF0E8, #DDB89A);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.art-img-placeholder.small { aspect-ratio: 1/1; font-size: 36px; }

.art-body { padding: 24px; }
.art-card.main-card .art-body { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.art-card.sub-card .art-body { padding: 16px 18px; }

.art-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.art-tag {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(204,102,51,0.1); color: #CC6633;
}
.art-title-main {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 20px; font-weight: 700; color: #2A1810;
  line-height: 1.55; margin-bottom: 12px;
}
.art-title-sub {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 15px; font-weight: 600; color: #2A1810;
  line-height: 1.5; margin-bottom: 8px;
}
.art-excerpt { font-size: 13px; line-height: 1.85; color: #6B5040; margin-bottom: 14px; }
.art-meta { font-size: 11px; color: #9C8070; margin-bottom: 8px; }
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #CC6633; font-weight: 500;
  letter-spacing: 0.06em; margin-top: auto;
  transition: gap 0.2s;
}
.art-card:hover .read-more { gap: 10px; }

.articles-footer { text-align: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(204,102,51,0.35);
  color: #CC6633; padding: 13px 28px; border-radius: 100px;
  font-size: 13.5px; letter-spacing: 0.06em; text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover { background: #CC6633; color: #fff; border-color: #CC6633; }

@media screen and (max-width: 768px) {
  .featured-section { padding: 56px 0 !important; }
  .articles-grid { grid-template-columns: 1fr; }
  .art-card.main-card { grid-row: unset; }
}

/* ---- 診断バナー ---- */
.diagnose-banner {
  background: linear-gradient(125deg, #3A2416 0%, #7A2820 50%, #3A2416 100%);
  padding: 80px 0 !important;
  position: relative; overflow: hidden;
}
.diagnose-banner::before {
  content: '梅'; font-size: 480px; line-height: 1; font-weight: 700;
  color: rgba(255,255,255,0.022);
  position: absolute; right: -30px; top: -80px;
  pointer-events: none; user-select: none;
}
.diagnose-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.diag-kicker {
  font-family: 'EB Garamond', serif;
  font-size: 11px; letter-spacing: 0.45em; font-style: italic;
  color: #D4930E;
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.diag-kicker::before { content: ''; width: 24px; height: 1px; background: #D4930E; }
.diag-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(26px, 3.5vw, 46px); font-weight: 800;
  color: #fff; line-height: 1.35; margin-bottom: 18px;
}
.diag-title em { font-style: normal; color: #D4930E; }
.diag-desc { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  background: #B8760A; color: #fff;
  padding: 16px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(184,118,10,0.38);
  transition: all 0.25s;
}
.btn-gold:hover { background: #D4930E; transform: translateY(-2px); }

.diag-steps { display: flex; flex-direction: column; gap: 12px; }
.diag-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  transition: background 0.25s, transform 0.25s;
}
.diag-step:hover { background: rgba(255,255,255,0.12); transform: translateX(5px); }
.step-no {
  font-family: 'EB Garamond', serif;
  font-size: 22px; font-weight: 300; color: rgba(255,208,138,0.6); min-width: 26px; line-height: 1;
}
.step-content { flex: 1; }
.step-q { font-size: 13.5px; color: rgba(255,255,255,0.88); font-weight: 500; }
.step-hint { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }
.step-arr { color: rgba(255,208,138,0.4); font-size: 16px; }
.diag-result {
  background: rgba(255,208,138,0.16);
  border: 1px solid rgba(255,208,138,0.4);
  border-radius: 14px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.result-icon { font-size: 24px; }
.result-text { font-size: 14px; font-weight: 600; color: #FFD08A; }
.result-sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; }

@media screen and (max-width: 768px) {
  .diagnose-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 20px; }
}

/* ---- カテゴリ（オーバーレイカード型） ---- */
.home .category-section { padding: 80px 0 !important; }
.home .category-section .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.home .category-section .section-title { text-align: left; }

.home .cat-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: none !important;
}
.home .cat-card {
  position: relative; overflow: hidden;
  border-radius: 16px; height: 260px;
  display: block; text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  padding: 0 !important;
  border: none !important;
  transition: transform 0.35s, box-shadow 0.35s !important;
}
.home .cat-card:hover { transform: translateY(-6px) !important; box-shadow: 0 20px 50px rgba(58,36,22,0.15) !important; }
.home .cat-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.55s;
}
.home .cat-card:hover .cat-img { transform: scale(1.07); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,24,16,0.88) 0%, rgba(42,24,16,0.1) 55%, transparent 100%);
}
.cat-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px; text-align: left;
}
.cat-en {
  font-family: 'EB Garamond', serif;
  font-size: 10px; letter-spacing: 0.35em; font-style: italic;
  color: rgba(255,255,255,0.55); margin-bottom: 6px;
}
.cat-name {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 6px; letter-spacing: 0.04em;
}
.home .cat-card h4 { display: none !important; }
.home .cat-card p { display: none; }
.cat-desc { font-size: 12px; color: rgba(255,255,255,0.68); line-height: 1.6; }

/* ---- ベース別 ---- */
.base-section {
  background: #F2EDE5;
  padding: 80px 0 !important;
}
.base-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
}
.base-link {
  font-size: 13px; color: #CC6633; letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(204,102,51,0.3);
  padding-bottom: 2px; text-decoration: none;
  transition: border-color 0.2s;
}
.base-link:hover { border-color: #CC6633; }
.base-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}
.base-card {
  background: #fff; border-radius: 14px;
  padding: 28px 20px; text-align: center;
  border: 1.5px solid transparent; text-decoration: none;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.base-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); border-color: rgba(204,102,51,0.2); }
.base-emoji { font-size: 36px; margin-bottom: 12px; display: block; }
.base-name { font-family: 'Shippori Mincho B1', serif; font-size: 16px; font-weight: 700; color: #2A1810; margin-bottom: 4px; }
.base-en-name { font-family: 'EB Garamond', serif; font-size: 10px; color: #9C8070; letter-spacing: 0.12em; font-style: italic; margin-bottom: 12px; }
.base-badge {
  display: inline-block; font-size: 10px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(204,102,51,0.1); color: #CC6633; font-weight: 500;
}

@media screen and (max-width: 768px) {
  .base-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---- ペルソナ ---- */
.persona-section {
  background: #3A2416;
  padding: 80px 40px !important;
  text-align: center;
}
.persona-inner { max-width: 700px; margin: 0 auto; }
.persona-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(204,102,51,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin: 0 auto 28px;
  border: 3px solid rgba(204,102,51,0.2);
}
.persona-quote {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.9; color: rgba(255,255,255,0.85);
  margin-bottom: 24px; font-style: normal;
}
.persona-quote em { font-style: normal; color: #D4930E; }
.persona-name { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; margin-bottom: 36px; }
.btn-amber-main {
  display: inline-flex; align-items: center; gap: 10px;
  background: #CC6633; color: #fff;
  padding: 16px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(204,102,51,0.35);
  transition: all 0.25s;
}
.btn-amber-main:hover { background: #A84E22; transform: translateY(-2px); }


/************************************
** 20250319　ペルソナ引用・おすすめ・左右余白 修正
************************************/

/* blockquoteのCocoonデフォルトスタイルを無効化 */
.persona-section .persona-quote {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  box-shadow: none !important;
  quotes: none !important;
}
.persona-section .persona-quote::before,
.persona-section .persona-quote::after {
  display: none !important;
}

/* おすすめセクション（V3-new）の余白調整 */
.home .recommend-wrapper .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.home .recommend-wrapper {
  padding: 80px 0 !important;
  background: #fff !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 各セクションの左右の余白統一（Cocoonの幅制限を解除） */
.home .page-content-wrapper > section {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ベース別・おすすめのセクション内パディング */
.base-section .section-inner,
.featured-section .section-inner,
.recommend-wrapper .section-inner,
.persona-section .section-inner,
.home .category-section .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 768px) {
  .base-section .section-inner,
  .featured-section .section-inner,
  .recommend-wrapper .section-inner,
  .home .category-section .section-inner {
    padding: 0 20px;
  }
  .persona-section { padding: 56px 20px !important; }
}


/************************************
** 20250319　スマホ対応 補強CSS
** 変更内容：カテゴリ1列化・Stats Bar折り返し・
**           ヒーローボタン縦並び・各セクション余白縮小
************************************/

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

  /* ---- カテゴリ：3列→1列 ---- */
  .home .cat-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .home .cat-card {
    height: 200px !important;
  }

  /* ---- Stats Bar：2×2に折り返し ---- */
  .stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 16px !important;
  }
  .stat-item {
    padding: 14px 10px !important;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-sep { display: none !important; }
  .stat-num { font-size: 26px !important; }
  .stat-label { font-size: 11px !important; }

  /* ---- ヒーローボタン：縦並び ---- */
  .home .hero-btns-wrap {
    flex-direction: column !important;
    gap: 10px !important;
    bottom: 80px !important;
    left: 5% !important;
    right: 5% !important;
  }
  .home .hero-btn-main,
  .home .hero-btn-sub {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ---- キャッチコピー スマホ調整 ---- */
  .home .front-page-hero .hero-catchphrase {
    bottom: 230px !important;
    font-size: 1.9rem !important;
    white-space: normal !important;
    width: 90% !important;
    left: 5% !important;
    text-align: left !important;
  }

  /* ---- スクロールヒント スマホ非表示 ---- */
  .home .scroll-hint { display: none !important; }

  /* ---- 注目の記事 sub-card縦並び ---- */
  .art-card.sub-card {
    grid-template-columns: 90px 1fr !important;
  }

  /* ---- 診断バナー padding縮小 ---- */
  .diagnose-banner {
    padding: 56px 0 !important;
  }
  .diag-title {
    font-size: 26px !important;
  }

  /* ---- カテゴリセクション padding縮小 ---- */
  .home .category-section {
    padding: 56px 0 !important;
  }
  .home .category-section .section-inner {
    padding: 0 16px !important;
  }

  /* ---- ベース別 padding縮小 ---- */
  .base-section {
    padding: 56px 0 !important;
  }
  .base-section .section-inner {
    padding: 0 16px !important;
  }
  .base-name { font-size: 14px !important; }
  .base-card { padding: 20px 12px !important; }

  /* ---- おすすめ スマホ調整 ---- */
  .home .recommend-cards {
    grid-template-columns: 1fr !important;
  }

  /* ---- ペルソナ ---- */
  .persona-section {
    padding: 56px 16px !important;
  }
  .persona-quote {
    font-size: 16px !important;
  }

  /* ---- セクションタイトル縮小 ---- */
  .section-title {
    font-size: 22px !important;
    margin-bottom: 28px !important;
  }

  /* ---- section-inner デフォルト余白 ---- */
  .section-inner {
    padding: 0 16px !important;
  }
  .featured-section { padding: 56px 0 !important; }
  .featured-section .section-inner { padding: 0 16px !important; }

  /* ---- 注目の記事フッターボタン ---- */
  .articles-footer { padding: 0 16px; }
  .btn-outline { width: 100%; justify-content: center; }

  /* ---- base-header-row 縦並び ---- */
  .base-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
  }
}

/* ---- 極小スマホ（375px以下）追加調整 ---- */
@media screen and (max-width: 390px) {
  .home .front-page-hero .hero-catchphrase {
    font-size: 1.7rem !important;
  }
  .stat-num { font-size: 22px !important; }
  .base-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}


/************************************
** 20250319　スマホ対応 640px以下追加
** 変更内容：カテゴリ1列・フッター1列・
**           ヒーロー余白縮小・フォント調整
************************************/

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

  /* ---- ヒーロー ---- */
  .home .hero-btns-wrap {
    bottom: 60px !important;
  }
  .home .front-page-hero .hero-catchphrase {
    font-size: 1.7rem !important;
    bottom: 210px !important;
  }

  /* ---- カテゴリ 確実に1列 ---- */
  .home .cat-grid {
    grid-template-columns: 1fr !important;
  }
  .home .cat-card {
    height: 180px !important;
  }

  /* ---- ベース別 2列維持 ---- */
  .base-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ---- Stats Bar ---- */
  .stat-num { font-size: 22px !important; }
  .stat-label { font-size: 10px !important; }

  /* ---- フッター 1列 ---- */
  /* WordPressのCocoonフッターにも対応 */
  #footer .footer-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ---- 全体余白縮小 ---- */
  .section-inner,
  .featured-section .section-inner,
  .base-section .section-inner,
  .home .category-section .section-inner {
    padding: 0 14px !important;
  }

  /* ---- 診断バナー ---- */
  .diagnose-banner { padding: 48px 0 !important; }
  .diagnose-inner { padding: 0 14px !important; gap: 32px !important; }
  .diag-title { font-size: 23px !important; }
  .btn-gold { padding: 14px 24px !important; font-size: 13px !important; }

  /* ---- ペルソナ ---- */
  .persona-quote { font-size: 15px !important; }
  .btn-amber-main { padding: 14px 24px !important; font-size: 13px !important; }

  /* ---- ベース別カード ---- */
  .base-card { padding: 18px 10px !important; }
  .base-emoji { font-size: 28px !important; }
  .base-name { font-size: 13px !important; }

  /* ---- おすすめ sub-card ---- */
  .art-card.sub-card {
    grid-template-columns: 80px 1fr !important;
  }
  .art-title-sub { font-size: 13px !important; }
}

/* ---- 超小型（iPhone SE = 375px）---- */
@media screen and (max-width: 375px) {
  .home .front-page-hero .hero-catchphrase {
    font-size: 1.5rem !important;
    bottom: 200px !important;
  }
  .home .hero-btn-main,
  .home .hero-btn-sub {
    font-size: 13px !important;
    padding: 12px 20px !important;
  }
}


/************************************
** 梅酒診断ページ専用 Cocoon制約解除CSS
************************************/

/* 診断ページ：Cocoonのコンテナ・サイドバーを完全解除 */
body.page-template-diagnose-page #container,
body.page-template-diagnose-page #main,
body.page-template-diagnose-page .article-body,
body.page-template-diagnose-page .entry-content,
body.page-template-diagnose-page #content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

body.page-template-diagnose-page #wrap,
body.page-template-diagnose-page .wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 診断ページのメインエリアをフル幅に */
body.page-template-diagnose-page #main-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* 記事タイトル・パンくずを非表示 */
body.page-template-diagnose-page .entry-title,
body.page-template-diagnose-page .breadcrumb,
body.page-template-diagnose-page .byline,
body.page-template-diagnose-page .post-date,
body.page-template-diagnose-page .author-info {
  display: none !important;
}

/* 診断ページ背景をページ全体に適用 */
body.page-template-diagnose-page {
  background: #1a0a05 !important;
}

body.page-template-diagnose-page #wrapper,
body.page-template-diagnose-page #page {
  background: transparent !important;
}

/* Cocoonのpadding系を全除去 */
body.page-template-diagnose-page .main-wrap,
body.page-template-diagnose-page #main-wrap,
body.page-template-diagnose-page .singular-main-wrap {
  padding: 0 !important;
}


/************************************
** 診断ページ レイアウト修正
************************************/

/* content-inを全幅に・中央寄せ強制 */
body.page-template-diagnose-page #content-in,
body.page-template-diagnose-page .content-in {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

body.page-template-diagnose-page #content {
  padding: 0 !important;
  margin: 0 !important;
}

body.page-template-diagnose-page .diagnose-page-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

/* カードを確実に中央寄せ */
body.page-template-diagnose-page .dp-card-wrap,
body.page-template-diagnose-page .dp-result-wrap {
  margin-left: auto !important;
  margin-right: auto !important;
}


/************************************
** モバイルナビ（サイドバー）リデザイン
** ターゲット: #mobile-nav.mobile-nav
************************************/

/* ---- ナビ全体：ダーク和風に ---- */
#mobile-nav {
  background: linear-gradient(160deg, #1a0a05 0%, #2e1208 60%, #3A2416 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

/* 装飾：右上に「梅」文字 */
#mobile-nav::before {
  content: '梅';
  position: absolute;
  top: -30px; right: -20px;
  font-size: 220px;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
}

/* ---- ULリスト ---- */
#mobile-nav ul.menu {
  list-style: none !important;
  padding: 20px 0 24px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* ---- 各LI ---- */
#mobile-nav ul.menu > li {
  margin: 0 !important;
  padding: 0 24px !important;
}
#mobile-nav ul.menu > li::marker,
#mobile-nav ul.menu > li::before {
  display: none !important;
  content: none !important;
}

/* ---- 各リンク ---- */
#mobile-nav ul.menu > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  color: rgba(255,255,255,0.82) !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  border: 1px solid transparent !important;
  transition: all 0.25s !important;
  position: relative !important;
}

/* リンク左のアクセントライン */
#mobile-nav ul.menu > li > a::before {
  content: '' !important;
  width: 3px !important;
  height: 18px !important;
  background: #CC6633 !important;
  border-radius: 2px !important;
  opacity: 0 !important;
  transition: opacity 0.25s !important;
  flex-shrink: 0 !important;
}

/* 右矢印 */
#mobile-nav ul.menu > li > a::after {
  content: '→' !important;
  margin-left: auto !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.25) !important;
  transition: all 0.25s !important;
}

/* ホバー */
#mobile-nav ul.menu > li > a:hover {
  background: rgba(204,102,51,0.12) !important;
  border-color: rgba(204,102,51,0.25) !important;
  color: #fff !important;
  transform: translateX(4px) !important;
}
#mobile-nav ul.menu > li > a:hover::before {
  opacity: 1 !important;
}
#mobile-nav ul.menu > li > a:hover::after {
  color: #CC6633 !important;
  transform: translateX(4px) !important;
}

/* 梅酒診断リンクを特別扱い（最初のリンク） */
#mobile-nav ul.menu > li:first-child > a {
  background: rgba(204,102,51,0.15) !important;
  border-color: rgba(204,102,51,0.3) !important;
  color: #FFD08A !important;
}
#mobile-nav ul.menu > li:first-child > a::before {
  opacity: 1 !important;
  background: #D4930E !important;
}
#mobile-nav ul.menu > li:first-child > a::after {
  color: #D4930E !important;
}

/* ---- 区切り線（リスト下） ---- */
#mobile-nav ul.menu::after {
  content: '' !important;
  display: block !important;
  height: 1px !important;
  background: rgba(255,255,255,0.07) !important;
  margin: 4px 24px 0 !important;
}

/* ---- ハンバーガーボタン（閉じるボタン）のスタイル ---- */
.hamburger-menu.active .bar {
  background: #fff !important;
}
.hamburger-menu.active .menu-label {
  color: rgba(255,255,255,0.7) !important;
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
}

/* ---- 閉じるボタン（×）のスタイル ---- */
.close-button,
#close-navi,
.navi-close {
  color: rgba(255,255,255,0.7) !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
}
.close-button:hover,
#close-navi:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}


/************************************
** モバイルナビ 細部調整
************************************/

/* フォント・行間・サイズ調整 */
#mobile-nav ul.menu > li > a {
  font-family: 'Shippori Mincho B1', serif !important;
  font-size: 17px !important;
  letter-spacing: 0.1em !important;
  padding: 18px 24px !important;
}

/* 梅酒診断の強調をさらに強く */
#mobile-nav ul.menu > li:first-child > a {
  font-size: 18px !important;
  padding: 20px 24px !important;
  border-radius: 14px !important;
}

/* リンク間の区切り線を細く */
#mobile-nav ul.menu > li {
  padding: 0 20px !important;
}
#mobile-nav ul.menu > li + li {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding-top: 4px !important;
  margin-top: 4px !important;
}
#mobile-nav ul.menu > li:first-child {
  padding-bottom: 4px !important;
  margin-bottom: 4px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* 各メニューにアイコン絵文字を追加 */
#mobile-nav ul.menu > li:nth-child(1) > a span::before,
#mobile-nav ul.menu > li:nth-child(2) > a::before { content: '' !important; }

/* ナビ全体の上下パディング */
#mobile-nav ul.menu {
  padding: 16px 0 20px !important;
}

/* 閉じるボタン（ヘッダー右上×）のスタイル改善 */
#header .close-button,
.hamburger-menu .close-btn,
a[href="#close-navi"],
#close-navi {
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.8) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

/* ハンバーガーボタン（メニュー表示中）の×ボタンエリア */
.hamburger-menu.active {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}

/* mobile-nav全体の最小高さを確保 */
#mobile-nav.active {
  min-height: 200px !important;
}

/* アニメーション：スムーズに展開 */
#mobile-nav {
  transition: background 0.3s ease !important;
  overflow: hidden !important;
}

/* 装飾の「梅」文字の位置を最適化 */
#mobile-nav::before {
  right: 40px !important;
  top: -50px !important;
  font-size: 280px !important;
  opacity: 1 !important;
}


/************************************
** モバイルナビ 最終調整
** テキストカラー・各項目にアイコン追加
************************************/

/* テキストを明るく */
#mobile-nav ul.menu > li:not(:first-child) > a {
  color: rgba(255,255,255,0.88) !important;
}

/* 各メニュー項目にアイコンを付与 */
#mobile-nav ul.menu > li:nth-child(2) > a span::before,
#mobile-nav ul.menu > li:nth-child(3) > a span::before,
#mobile-nav ul.menu > li:nth-child(4) > a span::before {
  display: none !important;
}

/* カスタムアイコンをdata属性で管理できないのでCSSカウンターで対応 */
/* 2番目以降：左のバー装飾を薄いオレンジで表示 */
#mobile-nav ul.menu > li:not(:first-child) > a::before {
  opacity: 0.35 !important;
}

/* 右矢印の色を明るく */
#mobile-nav ul.menu > li:not(:first-child) > a::after {
  color: rgba(255,255,255,0.3) !important;
}

/* 区切り線をより見やすく */
#mobile-nav ul.menu > li + li {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

/* ナビ下部の余白 */
#mobile-nav ul.menu {
  padding-bottom: 28px !important;
}


/************************************
** 商品個別ページ スタイル
************************************/

/* 商品スペックテーブル */
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.product-spec-table th,
.product-spec-table td {
  padding: 13px 18px;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
  vertical-align: middle;
}
.product-spec-table th {
  background: #3A2416;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  width: 30%;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.product-spec-table td {
  background: #fff;
  color: #2A1810;
}
.product-spec-table tr:last-child th,
.product-spec-table tr:last-child td {
  border-bottom: none;
}
.product-spec-table tr:hover td {
  background: #FAF6F2;
}

/* 商品レビューラップ */
.product-review-wrap h2 {
  border-left: 4px solid #CC6633;
  padding-left: 14px;
  color: #2A1810;
  font-family: 'Shippori Mincho B1', serif;
}
.product-review-wrap h3 {
  color: #5A2A10;
  font-size: 16px;
  margin-top: 24px;
}
.product-review-wrap ul {
  background: #FAF6F2;
  border-radius: 12px;
  padding: 20px 20px 20px 36px;
}
.product-review-wrap ul li {
  color: #3A2416;
  margin-bottom: 8px;
}
.product-review-wrap p {
  line-height: 1.9;
  color: #3A2416;
}


/************************************
** 法的対応CSS
** 未成年飲酒禁止注記・PR表示・免責文
************************************/

/* ---- 未成年飲酒禁止 フッター注記 ---- */
.legal-alcohol-notice {
  background: #2A1810;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  line-height: 1.8;
}
.legal-alcohol-notice strong {
  color: rgba(255,208,138,0.8);
  font-weight: 600;
}

/* ---- PR・アフィリエイト表示バナー ---- */
.pr-disclosure-banner {
  background: #FAF0E8;
  border: 1px solid rgba(204,102,51,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 0 0 24px;
  font-size: 12px;
  color: #6B5040;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pr-disclosure-banner::before {
  content: 'PR';
  background: #CC6633;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

/* ---- 免責文（商品レビューページ） ---- */
.disclaimer-box {
  background: #F8F8F8;
  border-left: 3px solid #9C8070;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 12px;
  color: #6B5040;
  line-height: 1.8;
}
.disclaimer-box strong { color: #3A2416; }

/* ---- 酒税法注意書き ---- */
.tax-law-notice {
  background: #FFF8E1;
  border: 1px solid #F9A825;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 13px;
  color: #5D4037;
  line-height: 1.85;
}
.tax-law-notice::before {
  content: '⚠️ 酒税法に関する重要なご注意';
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #E65100;
}

/* ---- 健康効果免責文 ---- */
.health-disclaimer {
  background: #E8F5E9;
  border: 1px solid #81C784;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 12.5px;
  color: #2E7D32;
  line-height: 1.85;
}
.health-disclaimer::before {
  content: '🏥 健康効果に関するご注意';
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}





/* 未成年注記：2つ目以降をJS側で除去 */

/************************************
** 公式情報源ボックス
************************************/
.official-source-box {
  background: #f0f4f8;
  border-left: 4px solid #2c5f8a;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 32px 0;
}
.official-source-box h2 {
  font-size: 18px !important;
  margin-top: 0 !important;
  color: #1a3a5c;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.official-source-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}
.official-source-box .product-spec-table th {
  width: 220px;
  font-size: 13px;
}
.official-source-box .product-spec-table td {
  font-size: 13px;
  word-break: break-all;
}
.official-source-box a {
  color: #2c5f8a;
  text-decoration: underline;
}
.official-source-box a:hover {
  color: #1a3a5c;
}

/************************************
** ⑥ 内部リンク 関連記事インラインボックス
************************************/
.related-posts-inline {
  background: #fdf8f0;
  border: 1px solid #e8d5a3;
  border-left: 4px solid #CC6633;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
}
.related-posts-inline h3 {
  font-size: 16px !important;
  margin: 0 0 10px !important;
  color: #7B3F00;
  border: none !important;
  padding: 0 !important;
}
.related-posts-inline ul {
  margin: 0;
  padding-left: 20px;
}
.related-posts-inline li {
  font-size: 14px;
  margin-bottom: 4px;
  color: #444;
}
.related-posts-inline a {
  color: #CC6633;
  text-decoration: none;
}
.related-posts-inline a:hover {
  text-decoration: underline;
  color: #a04d1f;
}


/* =====================================================
   梅酒種類カテゴリ：サブカテゴリナビゲーション
   ===================================================== */
.umeshu-type-nav {
  margin: 0 auto 2rem;
  padding: 1.75rem 1.25rem 1.5rem;
  background: linear-gradient(135deg,#fdf8f3 0%,#fef6ef 100%);
  border-top: 3px solid #8b1a1a;
  border-bottom: 1px solid #e8d5c4;
}
.umeshu-type-nav__title {
  text-align: center;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: .2em;
  color: #8b1a1a !important;
  margin: 0 0 1.1rem !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.umeshu-type-nav__title::before,
.umeshu-type-nav__title::after {
  content: '――';
  margin: 0 .6em;
  opacity: .4;
  font-weight: 300;
}
.umeshu-type-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
  gap: .6rem;
  max-width: 860px;
  margin: 0 auto;
}
.umeshu-type-nav__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .85rem .4rem .7rem;
  background: #fff;
  border: 1.5px solid #e8d5c4;
  border-radius: 10px;
  text-decoration: none !important;
  color: #333 !important;
  transition: all .18s ease;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  cursor: pointer;
}
.umeshu-type-nav__card:hover {
  border-color: #8b1a1a !important;
  box-shadow: 0 4px 14px rgba(139,26,26,.13);
  transform: translateY(-2px);
  background: #fffaf8;
  text-decoration: none !important;
  color: #333 !important;
}
.umeshu-type-nav__card.is-active {
  border-color: #8b1a1a !important;
  background: #8b1a1a !important;
  box-shadow: 0 4px 14px rgba(139,26,26,.28);
}
.umeshu-type-nav__card.is-active .umeshu-type-nav__label,
.umeshu-type-nav__card.is-active .umeshu-type-nav__desc {
  color: #fff !important;
}
.umeshu-type-nav__card.is-active .umeshu-type-nav__count {
  background: rgba(255,255,255,.22);
  color: #fff !important;
}
.umeshu-type-nav__emoji {
  font-size: 1.65rem;
  line-height: 1;
  display: block;
}
.umeshu-type-nav__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #3d2b1a !important;
  text-align: center;
}
.umeshu-type-nav__desc {
  font-size: .63rem;
  color: #888 !important;
  text-align: center;
  line-height: 1.3;
}
.umeshu-type-nav__count {
  position: absolute;
  top: .35rem;
  right: .35rem;
  font-size: .58rem;
  font-weight: 700;
  background: #f3e4d4;
  color: #8b1a1a !important;
  border-radius: 20px;
  padding: .1em .4em;
  line-height: 1.4;
}

/* モバイル */
@media (max-width: 600px) {
  .umeshu-type-nav { padding: 1.25rem .75rem; }
  .umeshu-type-nav__grid { grid-template-columns: repeat(3,1fr); gap: .45rem; }
  .umeshu-type-nav__emoji { font-size: 1.35rem; }
  .umeshu-type-nav__desc { display: none; }
}

/* 記事カードのホバー強化（typeカテゴリ全体） */
body.category-type .cat-entry-card-wrap:hover,
body.category-sake .cat-entry-card-wrap:hover,
body.category-whisky .cat-entry-card-wrap:hover,
body.category-brandy .cat-entry-card-wrap:hover,
body.category-beer .cat-entry-card-wrap:hover,
body.category-brewing-alcohol .cat-entry-card-wrap:hover,
body.category-shochu .cat-entry-card-wrap:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
  transition: all .18s ease;
}


/* =====================================================
   購入ボタン（shop-btn）：縦2列レイアウト
   ===================================================== */
.shop-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 400px;
  margin: 1.5rem auto 0;
}
.shop-btn {
  display: block;
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 6px;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none !important;
  transition: opacity .15s, transform .15s;
  box-sizing: border-box;
  background: #333;
  color: #fff !important;
}
.shop-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.shop-btn-rakuten {
  background: #bf0000;
  color: #fff !important;
}
.shop-price-note {
  text-align: center;
  font-size: .8rem;
  color: #888;
  margin-top: .5rem;
}


/* =====================================================
   レビューリンクカード（recommend記事用）
   ===================================================== */
.review-link-wrap {
  margin: 1.4rem 0 2rem;
}
.review-link-card {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  background: #fff;
  border: 1px solid #e0d5c8;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .18s, box-shadow .18s;
  min-height: 100px;
}
.review-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
  text-decoration: none !important;
}
.review-link-card__img {
  width: 120px;
  min-width: 120px;
  min-height: 100px;
  background: #f5ede0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.review-link-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-link-card__img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #f5ede0 0%, #e8d5b7 100%);
}
.review-link-card__body {
  flex: 1;
  padding: .9rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  border-left: 4px solid #8b1a1a;
  min-width: 0;
}
.review-link-card__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b1a1a;
}
.review-link-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: #2c1a0e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-link-card__meta {
  font-size: .75rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.review-link-card__arrow {
  margin-left: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  color: #8b1a1a;
  font-size: 1.1rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .review-link-card__img {
    width: 90px;
    min-width: 90px;
  }
  .review-link-card__body {
    padding: .7rem .8rem;
  }
  .review-link-card__title {
    font-size: .88rem;
  }
}


.hero-sub-copy {
  font-size: clamp(.78rem, 1.3vw, .95rem);
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  line-height: 1.65;
  margin: .4rem 0 0;
  font-weight: 400;
  max-width: 500px;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  display: block;
}

/* =====================================================
   PC グローバルナビ 常時表示
   ===================================================== */
@media (min-width: 769px) {
  /* PCではグローバルナビを常時表示 */
  .header-nav-pc {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
  }
  .header-nav-pc .menu {
    display: flex;
    align-items: center;
  }
  .header-nav-pc ul {
    display: flex;
    align-items: center;
    gap: .2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .header-nav-pc ul li a {
    display: block;
    padding: .4rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #2c1a0e;
    text-decoration: none;
    border-radius: 20px;
    transition: background .15s, color .15s;
    white-space: nowrap;
  }
  .header-nav-pc ul li a:hover,
  .header-nav-pc ul li.current_page_item > a {
    background: rgba(139,26,26,.1);
    color: #8b1a1a;
  }
  /* PCではハンバーガーを非表示 */
  .hamburger-menu {
    display: none !important;
  }
}


/* =====================================================
   PC ヘッダー整理（ロゴ重複解消・ナビ色調整）
   ===================================================== */
@media (min-width: 769px) {
  /* 画像ロゴ（.header-logo）はPCで非表示 → テキストロゴ(.header-title-pc)を使用 */
  .home .header-logo {
    display: none !important;
  }

  /* テキストロゴのスタイル */
  .home .header-title-pc {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
  }
  .home .header-title-pc a {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: .05em;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    white-space: nowrap;
  }

  /* header-inner レイアウト修正 */
  .home header.site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 2rem !important;
    height: 64px !important;
    gap: 1.5rem;
  }

  /* ナビリンクを白テキストに（Hero画像上） */
  .home .header-nav-pc ul li a {
    color: rgba(255,255,255,.9) !important;
    font-size: .8rem;
    padding: .35rem .7rem;
    border-radius: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
  }
  .home .header-nav-pc ul li a:hover,
  .home .header-nav-pc ul li.current_page_item > a {
    background: rgba(255,255,255,.2) !important;
    color: #fff !important;
  }

  /* 検索フォームはヘッダーでは非表示 */
  .home .header-search {
    display: none !important;
  }
}


/* =====================================================
   TOPページ ヘッダー sticky固定
   ===================================================== */
@media (min-width: 769px) {
  .home .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(20, 8, 2, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s ease;
  }
  .home .site-header:hover {
    background: rgba(20, 8, 2, 0.82) !important;
  }
  /* ヘッダー分のスペースをheroの上部paddingで確保 */
  .home .front-page-hero {
    padding-top: 0;
  }
}

/* WP管理バーがある場合のヘッダー位置調整 */
.admin-bar .home .site-header {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar .home .site-header {
    top: 46px !important;
  }
}

/* =====================================================
   ヘッダーロゴ修正
   - TOPページ: 画像ロゴを表示・テキストロゴを非表示
   - 配下ページ: 画像ロゴを非表示（テキストロゴのみ）
   ===================================================== */
@media (min-width: 769px) {
  /* TOPページ: テキストロゴを非表示・画像ロゴを左端に表示 */
  .home .header-title-pc {
    display: none !important;
  }
  .home .header-logo {
    display: flex !important;
    order: -1 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    background: none !important;
    margin-left: 0 !important;
    flex-shrink: 0;
  }
  .home .header-logo a {
    display: flex;
    align-items: center;
  }
  .home .header-logo img {
    height: 38px;
    width: auto;
    display: block;
  }
  /* ナビを右端に寄せる */
  .home .header-nav-pc {
    margin-left: auto;
  }

  /* 配下ページ: テキストロゴを非表示・画像ロゴを左端に表示 */
  body:not(.home) .header-logo {
    display: flex !important;
    order: -1 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    background: none !important;
    margin-left: 0 !important;
    flex-shrink: 0;
  }
  body:not(.home) .header-logo a {
    display: flex;
    align-items: center;
  }
  body:not(.home) .header-logo img {
    height: 38px;
    width: auto;
    display: block;
  }
  body:not(.home) .header-title-pc {
    display: none !important;
  }
}


/* =====================================================
   配下ページ ヘッダー整備
   ===================================================== */
@media (min-width: 769px) {
  /* 配下ページのヘッダーに背景・影をつけてしっかり見せる */
  body:not(.home) .site-header {
    background: #fff !important;
    box-shadow: 0 1px 8px rgba(0,0,0,.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
  }
  body.admin-bar:not(.home) .site-header {
    top: 32px !important;
  }
  /* ナビリンクを暗い色に（白背景上） */
  body:not(.home) .header-nav-pc ul li a {
    color: #2c1a0e !important;
    text-shadow: none !important;
  }
  body:not(.home) .header-nav-pc ul li a:hover,
  body:not(.home) .header-nav-pc ul li.current_page_item > a {
    background: rgba(139,26,26,.08) !important;
    color: #8b1a1a !important;
  }
  /* テキストロゴの色を元に戻す */
  body:not(.home) .header-title-pc a {
    color: #4a1a0a !important;
    text-shadow: none !important;
    font-weight: 700;
    font-size: 1rem;
  }
  /* ナビをheder-innerで右寄せ */
  body:not(.home) .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 2rem !important;
    height: 64px !important;
  }
  body:not(.home) .header-nav-pc {
    display: flex !important;
    align-items: center;
    margin-left: auto;
  }
}


/* =====================================================
   アフィリエイト広告表示（ステマ規制対応）
   ===================================================== */
.affiliate-notice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: #f9f6f0;
  border: 1px solid #e0d5c5;
  border-radius: 4px;
  padding: .6rem .9rem;
  margin: 0 0 1.6rem;
  font-size: .78rem;
  line-height: 1.6;
  color: #6b5a45;
}
.affiliate-notice__label {
  flex-shrink: 0;
  background: #8b1a1a;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .15rem .4rem;
  border-radius: 3px;
  margin-top: .1rem;
}
.affiliate-notice__text {
  flex: 1;
}
