@charset "UTF-8";

/*--------------------------------------------------------------------------
	1. 共通インポート & 出し分け設定
--------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@100&family=Zen+Kaku+Gothic+New:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Kurenaido&display=swap');


/*--------------------------------------------------------------------------
	1. 全体設定・基準フォントサイズ変更
--------------------------------------------------------------------------*/
html {
    font-size: 16px; /* 基準フォントサイズを16pxに設定 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    background-color: #f8f8f8;
    color: var(--text-main);
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    width: 100%;
}


/* 変数定義 */
:root {
    --primary-green: #004D40; /* 濃いグリーン（ヘッダー・アクセント） */
    --bg-cream: #FFF9F0;      /* クリーム色の背景 */
    --bg-green: #e7ede6;      /* 薄いグリーン */
    --text-main: #333333;     /* 基本の文字色 */
    --accent-red: #D32F2F;    /* FAQ数字・CTAボタン */
    --border-light: #E0E0E0;  /* 境界線 */
}

/* 全体リセット */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* PC/SP 出し分け */
.pc__only { display: block; }
.sp__only { display: none; }

@media only screen and (max-width: 768px) {
    .pc__only { display: none; }
    .sp__only { display: block; }
}

/* アニメーション */
.anim {
    animation-name: fadein;
    animation-duration: 2s;
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
}

/* ヘッダー */
.head {
    position: relative;
    width: 100%;
    height: 62px;
    display: block;
    background-color: #FFFFFF;
    border-bottom: 1px solid #d5e0d6;
}

.headlog {
    width: 110px;
    position: absolute;
    top: 11px;
    left: 20px;
}

@media only screen and (max-width: 768px) {
    .headlog {
        position: relative;
        width: 110px;
        height: auto;
        top: 10px;
        left: 10px;
    }
}

/* フッタースマホ */
#SPfooter .SPfooter_bottom {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",Helvetica,sans-serif;
    -webkit-text-size-adjust: 100%;
}

@media only screen and (max-width: 760px) {
    .rb1710_footer__last__nav {
        display: flex;
        justify-content: center;
    }
    .rb1710_footer__last__copyright {
        text-align: center;
        line-height: 1.5;
    }
}

/*--------------------------------------------------------------------------
	2. 記事全体のレスポンシブコンテナ構造
--------------------------------------------------------------------------*/
.hatake {
    width: 100%;
    margin: auto;
}

/* 記事メイン領域（幅のレスポンシブ制御） */
article {
    width: 100%;
    max-width: 680px; /* スマホ・タブレット標準幅 */
    margin: 0 auto;
    background-color: #FFFFFF;
    padding-bottom: 70px; /* 下部の余白を広めに拡張 */
}

@media only screen and (min-width: 768px) {
    article {
        max-width: 800px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
        margin: 0 auto;
        overflow: hidden;
        padding-bottom: 80px;
    }
}

.container, .section-inner {
    padding: 0 20px;
}

@media only screen and (min-width: 768px) {
    .container, .section-inner {
        padding: 0 40px;
    }
}

.text-center { text-align: center; }
.bold { font-weight: bold; }

/* プレースホルダー（仮画像） */
.placeholder-image {
    background-color: #ECEFF1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #90A4AE;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* タイトルバー */
.page-title-bar {
    background-color: var(--primary-green);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 20px;
    text-align: center;
    margin-bottom: 30px; /* 余白追加 */
}

/* メインビジュアル（FV画像が780x520pxでも全幅表示されるよう調整） */
.main-visual {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px; /* 余白追加 */
}

.main-visual img {
    width: 100% !important;
    height: auto;
    display: block;
    max-width: none;
}

/* コンテンツ本文 */
.content-body {
    font-size: 16px;
    color: #555555;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 各セクションブロック共通 */
.section-block {
    margin-bottom: 50px; /* セクション同士の間隔を拡大 (旧:30px) */
}

/* 見出し */
.section-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-green);
}

/* ポイント・イラストボックス */
.points-box {
    background-color: var(--bg-cream);
    padding: 24px 25px;
    border-radius: 12px;
    margin: 40px 0;
}

/* ポイントボックス内の見出し */
.points-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-green); /* ブランドグリーン */
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F0E2D0; /* 薄い仕切り線 */
    display: flex;
    align-items: center;
    gap: 6px;
}

.points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.points-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.points-list li:last-child {
    margin-bottom: 0;
}

.points-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.recipe-image {
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}


/*--------------------------------------------------------------------------
	3. レシピカードエリア (.recipe-card)
--------------------------------------------------------------------------*/
.recipe-card {
    background-color: #FFFFFF;
    width: 100%;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid #FFEAE8;
    margin: 50px 0 20px 0;
}

/* 一番上のタイトル */
.recipe-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

/* 画像（左）と 材料（右）の横並びコンテナ */
.recipe-top-flex {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    gap: 20px;
    margin-bottom: 30px;
}

/* PC・タブレットサイズ（画面幅600px以上）で左右横並びにする */
@media only screen and (min-width: 600px) {
    .recipe-top-flex {
        flex-direction: row;      /* 左右並びに切り替え */
        align-items: flex-start;  /* 上揃え */
        gap: 24px;                /* 画像と材料の間隔 */
    }

    .image-container {
        flex: 0 0 50%;            /* 画像エリアの幅を全体の50%に固定 */
        max-width: 309px;
        margin-bottom: 0;
    }

    .ingredients-section {
        flex: 1;                  /* 材料エリアが残りの幅を占有 */
    }
}

/* 画像本体のサイズと見た目設定 */
.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-container img,
.image-placeholder {
    width: 100%;
    max-width: 309px;  /* 幅 309px */
    height: 217px;     /* 高さ 217px */
    border-radius: 20px;
    border: none;
    object-fit: cover;
}

/* 各セクション見出し設定 */
.ingredients-section h2,
.instructions-section h2 {
    font-size: 17px;
    font-weight: 700;
}

/* 材料見出しエリア（左寄せ・「材料」と「※4人分」の並び） */
.ingredients-section .section-header {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 16px;
}

/* 人数前（※4人分）のスタイル */
.servings {
    font-size: 12px;
    color: #777777;
    font-weight: normal;
}

.ingredients-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.ingredients-list li {
    font-size: 14px;
    color: #444444;
    margin-bottom: 10px;
    position: relative;
    padding-left: 12px;
}

.ingredients-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #666666;
}

.instructions-section h2 {
    padding-bottom: 8px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 20px;
}

.instructions-list {
    list-style: none;
    padding: 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.step-number {
    background-color: #D3382D;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h3 {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

/* 枠外配置ボタン */
.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;          /* カード枠直下の位置調整 */
    margin-bottom: 55px;       /* 下部セクションとの余白を拡大 (旧:40px) */
}

.recommend-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #FFF0ED;
    color: #D3382D;
    border: 1px solid #FFD3CD;
    border-radius: 20px;
    padding: 8px 18px 8px 20px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.recommend-button:hover {
    background-color: #FFE5E0;
}

/*--------------------------------------------------------------------------
	4. FAQ・信頼性・こだわり野菜・バナー・カルーセル
--------------------------------------------------------------------------*/
/* FAQ */
.faq-section {
    margin-bottom: 55px; /* マージン拡大 (旧:40px) */
}

.faq-title {
    font-size: 17px;
    color: #1A4D2E;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #FFDCDA;
    margin-bottom: 24px;
}

.faq-item {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #E5E5E5;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.q-icon {
    background-color: #1A4D2E;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 15px;
    font-weight: bold;
    color: #1A4D2E;
    line-height: 1.4;
}

.faq-answer {
    font-size: 13.5px;
    color: #555555;
    line-height: 1.6;
}

/* 信頼性 */
.authority-section {
    margin-bottom: 55px; /* マージン拡大 (旧:40px) */
}

.authority-section h2 {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 14px;
}

.authority-section p {
    font-size: 13.5px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.citation-link {
    text-align: right;
}

.citation-link a {
    font-size: 13px;
    color: #777777;
    text-decoration: underline;
}

/* こだわり野菜 (image_b81b5d.png スタイル) */
.enjoy-section {
    margin-bottom: 55px; /* マージン拡大 (旧:30px) */
}

.enjoy-title {
    font-size: 18px;
    font-weight: bold;
    color: #1A4D2E;
    text-align: center;
    line-height: 1.4;
    padding-bottom: 10px;
    border-bottom: 2px solid #1A4D2E;
    margin-bottom: 24px;
}

.enjoy-section p {
    font-size: 16px;
    color: #444444;
    line-height: 1.7;
}

/*--------------------------------------------------------------------------
	おためしセットバナーセクション（#ccc の外枠を追加）
--------------------------------------------------------------------------*/
.trial-banner-section {
    margin-bottom: 55px;
}

.trial-catchphrase {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 5px;
}

/* バナー画像を囲むリンク（#ccc の枠線と角丸を付与） */
.trial-banner-link {
    display: block;
    margin-bottom: 16px;
    text-decoration: none;
    border: 1px solid #ccc; /* 指定の枠線カラー #ccc */
    border-radius: 8px;     /* バナー枠の角丸（不要なら削除してください） */
    overflow: hidden;       /* 角丸から画像がはみ出すのを防ぐ */
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.trial-banner-link:hover {
    border-color: #999;     /* ホバー時に枠線を少し濃く */
    opacity: 0.95;
}

/* バナー画像本体（リンク側に枠を付けたため画像のボーダーは除去） */
.trial-banner-placeholder,
.trial-banner-image {
    width: 100%;
    height: auto;
    border: none;           /* 重複防止のため画像の枠線は解除 */
    display: block;
}

.trial-banner-placeholder {
    aspect-ratio: 16 / 9; 
    background-color: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.trial-description {
    font-size: 15px;
    color: #111111;
    line-height: 1.6;
    text-align: center;
}

/* 関連記事カルーセル */
.related-carousel-section {
    margin-top: 40px;
    margin-bottom: 20px;
}

.carousel-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 14px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 160px;
    min-width: 160px;
    background-color: #FFFFFF;
    border: 1px solid #FFEBE8;
    border-radius: 16px;
    padding: 6px;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    width: 100%;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-image-wrapper img,
.card-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-placeholder {
    background-color: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-size: 12px;
}

.card-title {
    font-size: 13px;
    font-weight: bold;
    color: #222222;
    line-height: 1.4;
    padding: 2px 4px 6px 4px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.dot {
    width: 7px;
    height: 7px;
    background-color: #DCDCDC;
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background-color: #1A4D2E;
}

/*--------------------------------------------------------------------------
	5. PC（768px以上）レスポンシブ微調整
--------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
    .page-title-bar {
        font-size: 16px;
        padding: 16px 20px;
        margin-bottom: 40px;
    }

    .section-block {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .recipe-title {
        font-size: 22px;
    }

    .faq-section,
    .authority-section,
    .enjoy-section,
    .trial-banner-section {
        margin-bottom: 70px; /* PCサイズではさらにゆったり配置 */
    }

    .carousel-card {
        flex: 0 0 200px;
        padding: 10px;
    }

    .card-image-wrapper {
        height: 130px;
    }

    .card-title {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------------------
	チップ型（ハッシュタグ）ナビゲーション
--------------------------------------------------------------------------*/
.category-chips-nav {
    width: 100%;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* 横スクロール可能なコンテナ */
.chips-scroll-container {
    display: flex;
    gap: 8px;                  /* チップ同士の間隔 */
    overflow-x: auto;          /* 横スクロールを有効化 */
    scroll-snap-type: x mandatory;
    padding: 4px 0 8px 0;      /* シャドウや枠線が見切れないための余白 */
    -webkit-overflow-scrolling: touch; /* iOSでの滑らかなスクロール */
    
    /* スクロールバーを非表示（スッキリ見せるため） */
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.chips-scroll-container::-webkit-scrollbar {
    display: none;             /* Chrome/Safari */
}

/* チップ（丸角ボタン）本体 */
.chip-item {
    flex: 0 0 auto;            /* 文字数に合わせてボタン幅を自動調整 */
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    background-color: #F0F4F1;  /* 淡いグリーン系の背景 */
    color: #1A4D2E;             /* 深緑色の文字 */
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;        /* 完全な丸角（カプセル型） */
    text-decoration: none;
    border: 1px solid #E0ECE3;
    transition: all 0.2s ease;
}

/* ホバー・タップ時の変化 */
.chip-item:hover {
    background-color: #1A4D2E;
    color: #FFFFFF;
}

/* 現在表示中のタグ（アクティブ状態） */
.chip-item.active {
    background-color: #1A4D2E;
    color: #FFFFFF;
    border-color: #1A4D2E;
}

/*--------------------------------------------------------------------------
	本文内リスト (.content-list) & 太字設定
--------------------------------------------------------------------------*/
/* strongタグの太字を全域で保証 */
strong, b {
    font-weight: 700 !important;
    color: #111111;
}

/* 本文内の箇条書きリスト */
.content-list {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
    margin-bottom: 20px;
}

.content-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444444;
    line-height: 1.7;
}

/* リスト先頭の「・」マーク */
.content-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/*--------------------------------------------------------------------------
	ページトップへ戻る追従ボタン (#js-pagetop)
--------------------------------------------------------------------------*/
.pagetop-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-green); /* ブランドグリーン */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

/* 上向き矢印アイコン */
.pagetop-btn .arrow-up {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #FFFFFF;
    border-right: 2.5px solid #FFFFFF;
    transform: rotate(-45deg);
    margin-top: 3px;
}

/* スクロール時に表示されるクラス */
.pagetop-btn.is-show {
    opacity: 1;
    visibility: visible;
}

/* ホバー時の効果 */
.pagetop-btn:hover {
    transform: translateY(-3px);
    background-color: #00362D;
}

/* スマホ表示時のサイズ微調整 */
@media only screen and (max-width: 768px) {
    .pagetop-btn {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
    }
}

.breadcrumb-nav {
    background-color: #F0F4F1;
    padding: 8px 0;
    font-size: 12px;
    margin-bottom: 20px;
}
.breadcrumb-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 20px;
}
.breadcrumb-nav a {
    color: var(--primary-green);
    text-decoration: underline;
}
.breadcrumb-nav li::after {
    content: "›";
    margin-left: 8px;
    color: #888888;
}
.breadcrumb-nav li:last-child::after {
    content: "";
}
.breadcrumb-nav span {
    color: #666666;
}

.bottom-index-cta {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 0 20px;
}
.index-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    padding: 14px 24px;
    background-color: var(--primary-green);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.index-btn:hover {
    background-color: #00362D;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}



/*--------------------------------------------------------------------------
	INDEX (一覧) ページ専用スタイル
--------------------------------------------------------------------------*/
.index-page {
}

/* FVエリア */
.index-fv-section {
    padding: 2% 0 12%;
    border-bottom: 1px solid #E0E0E0;
    background: var(--bg-green);
}
.index-fv-area {
    position: relative;
    background: url(../images/bg_book_sp_mid.png) repeat-y;
    background-size: 100%;
    padding-bottom: 20px;
}
.index-fv-sub {
    font-size: 12px;
    color: #666666;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.index-fv-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.3;
    margin-bottom: 10px;
}
.index-fv-area::after {
    content: "";
    display: block;
    width: 100%;
    min-height: 40px;
}
.index-fv-area::after {
    background: url(../images/bg_book_sp_btm.png)no-repeat center top;
    background-size: 100%;
    position: absolute;
    bottom: -34px;
}
.index-fv-lead {
    font-size: 13.5px;
    color: #444444;
    line-height: 1.7;
    text-align: left;
    width: 78%;
    margin: auto;
    padding: 14px 5% 20px;
    background: var(--bg-green);
    border-radius: 10px;
}

@media only screen and (min-width: 768px) {
    .index-fv-section {
        padding: 30px 0 7%;
        background: var(--bg-green) url(../images/bg_book_pc.png) no-repeat center 30px;
        background-size: 800px auto;
        min-height: 470px;
    }
    .index-fv-area {
        background: none;
        padding-bottom: 10px;
    }
    .index-fv-title {
        width: 490px;
        margin: auto;
    }
    .index-fv-area::after {display: none;}
    .index-fv-lead {
        text-align: center;
        padding: 14px 20px 18px;
        width: 680px;
    }
}

/* 検索エリア */
.index-search-section {
    padding:20px 4%;
    margin-bottom: 20px;
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.search-input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    outline: none;
    background-color: #FFFFFF;
}

.search-input:focus {
    border-color: var(--primary-green);
}

.search-btn {
    height: 42px;
    padding: 0 16px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 13px;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

@media only screen and (min-width: 768px) {
.index-search-section {
    padding:20px 40px;}
}
/* 記事カード 2列グリッド (ワイヤーフレーム通り) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* スマホ・PCともに2列表示 */
    gap: 16px 12px;
    margin-bottom: 50px;
}

/* 記事カード本体 */
.article-card-item {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC; /* ワイヤーフレームのグレー枠 */
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #D8D8D8;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 10px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-date {
    font-size: 11px;
    color: #777777;
    margin-bottom: 6px;
    display: block;
    text-align: right;
}

.card-title {
    font-size: 12.5px;
    font-weight: bold;
    color: #222222;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-result-text {
    text-align: center;
    color: #888888;
    font-size: 14px;
    padding: 40px 0;
}

/* PCサイズ微調整 */
@media only screen and (min-width: 768px) {
    .cards-grid { gap: 24px 20px; }
    .card-info { padding: 14px 14px 18px 14px; }
    .card-date { font-size: 12px; }
    .card-title { font-size: 14px; }
}


/*--------------------------------------------------------------------------
	ヘッダー（ロゴ＆右ナビレイアウト修正版）
--------------------------------------------------------------------------*/
.head {
    position: relative;
    width: 100%;
    height: 62px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #d5e0d6;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* 左右に振る */
    padding: 0 20px !important;
}

/* ロゴのスタイルリセット */
.headlog {
    width: 130px !important;
    height: auto !important;
    position: static !important; /* absoluteを強制的解除 */
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
}

.headlog a,
.headlog img {
    display: block;
    width: 100%;
    height: auto;
}

/* 右側ナビゲーション (ul) */
.menu__navi {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu__navi li {
    display: flex;
    align-items: center;
}

.menu__navi a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.menu__navi a:hover {
    opacity: 0.7;
}

/* アイコン画像サイズ設定 */
.menu__navi img {
    height: 38px !important;
    width: auto !important;
    display: block !important;
}

/* スマホ表示時の微調整 */
@media only screen and (max-width: 768px) {
    .head {
        padding: 0 12px !important;
        height: 56px !important;
    }
    
    .headlog {
        width: 110px !important;
    }

    .menu__navi {
        gap: 10px !important;
    }

    .menu__navi img {
        height: 32px !important;
    }
}

/* スマホ一覧カードのテキスト省略（3行で綺麗に「…」にする） */
.article-card-item {
    height: auto !important;
}

.card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important; /* ★3行までに制限 */
    overflow: hidden !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    max-height: 50px !important; /* 3行分の高さに制限 */
}