/* ===================================
   ギフトナビ CSS
   Refined Luxury Design
=================================== */

/* CSS Variables */
:root {
    --color-navy: #1a2332;
    --color-navy-light: #2d3a4f;
    --color-gold: #b8956c;
    --color-gold-light: #d4b896;
    --color-gold-pale: #f5efe6;
    --color-cream: #faf9f7;
    --color-white: #ffffff;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-border: #e8e4df;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;

    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 35, 50, 0.12);
    --shadow-gold: 0 4px 20px rgba(184, 149, 108, 0.15);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== リセット・基本設定 ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--color-text);
    background-color: var(--color-cream);
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul, ol {
    list-style: none;
}

/* ===== レイアウト ===== */
.l-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px;
}

.l-container--main {
    background-color: transparent;
}

.u-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== ヘッダー ===== */
header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
}

.giftnavi_header {
    max-width: 1140px;
    margin: 0 auto;
}

.giftnavi_navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 24px;
}

.header_pc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header_pc .logo {
    margin-bottom: 18px;
}

.header_pc .logo_img {
    height: 42px;
    width: auto;
}

.header_nav {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    width: 100%;
    justify-content: center;
}

.header_nav li {
    position: relative;
}

.header_nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: var(--color-border);
}

.header_nav li a {
    display: block;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 14px;
    position: relative;
    letter-spacing: 0.03em;
    transition: color var(--transition-fast);
}

.header_nav li a:hover {
    color: var(--color-gold);
}

.header_nav__emoji {
    margin-right: 6px;
    font-size: 1.2rem;
}

/* ヘッダー検索（PC版 - ナビ内） */
.header_nav__search {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.header_nav__search::after {
    display: none;
}

.header_nav__search button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: 24px;
    transition: all var(--transition-fast);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}

.header_nav__search button:hover {
    background: var(--color-gold-pale);
    border-color: var(--color-gold-light);
    color: var(--color-gold);
}

.header_nav__search button svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* 検索モーダル */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.search-modal.active {
    display: block;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.7);
    backdrop-filter: blur(8px);
}

.search-modal__content {
    position: relative;
    max-width: 620px;
    margin: 100px auto 0;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-modal__header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.search-modal__input {
    flex: 1;
    border: none;
    font-size: 1.8rem;
    font-family: var(--font-body);
    padding: 8px 0;
    outline: none;
    background: transparent;
}

.search-modal__input::placeholder {
    color: var(--color-text-light);
}

.search-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.search-modal__close:hover {
    background: var(--color-gold-pale);
    color: var(--color-gold);
}

.search-modal__results {
    max-height: 420px;
    overflow-y: auto;
    padding: 12px;
}

.search-hint,
.search-no-results {
    padding: 32px 20px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.4rem;
}

.search-recommended-label {
    padding: 10px 16px 6px;
    font-size: 1.2rem;
    color: var(--color-text-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}


.search-result-thumb {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
}

.search-result-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.search-result-item a:hover,
.search-result-item.focused a {
    background: var(--color-gold-pale);
}

.search-result-section {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.search-result-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.search-result-summary {
    display: block;
    font-size: 1.3rem;
    color: var(--color-text-light);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .search-modal__content {
        margin: 24px 16px 0;
        border-radius: 16px;
    }

    .search-modal__input {
        font-size: 1.6rem;
    }

    .search-modal__results {
        max-height: 60vh;
    }
}

.header_sp {
    display: none;
}

.menu_toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu_toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.sp_menu {
    display: none;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.sp_menu ul {
    padding: 10px 0;
}

.sp_menu li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--color-text);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--color-border);
}

.sp_menu li a:hover {
    background-color: var(--color-gold-pale);
    color: var(--color-gold);
}

.sp_menu__emoji {
    margin-right: 10px;
    font-size: 1.4rem;
}

/* ===== パンくずリスト ===== */
.l-breadcrumb {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.p-breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.2rem;
    color: #888;
}

.p-breadcrumb li {
    display: flex;
    align-items: center;
}

.p-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #ccc;
}

.p-breadcrumb a {
    color: #888;
}

.p-breadcrumb a:hover {
    color: #e8a300;
}

.p-breadcrumb strong {
    color: #666;
}

/* ===== セクションタイトル ===== */
.p-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: none;
    letter-spacing: 0.04em;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.p-title__icon {
    font-size: 1.6rem;
}

/* TOPページセクション共通 */
.scene-section,
.category-section,
.trend-section,
.pickup-section,
.guide-section,
.tag-section {
    margin-top: 56px;
}

.guide-section .pagination {
    margin-top: 24px;
}

#NR-main {
    margin-top: 24px;
}

/* ===== 記事一覧 ===== */
.p-articleList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.p-articleList.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.p-articleList__item {
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.p-articleList__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.p-articleList__item--url {
    display: block;
    position: relative;
    overflow: hidden;
}

.p-articleList__item--thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.p-articleList__item:hover .p-articleList__item--thumb {
    transform: scale(1.05);
}

.p-articleList__item--title {
    padding: 16px 18px 8px;
}

.p-articleList__item--titleText {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.65;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}

.p-articleList__item:hover .p-articleList__item--titleText {
    color: var(--color-gold);
}

.p-articleList__item-info {
    padding: 0 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-articleList__item-info--category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 1.1rem;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.p-articleList__item-info--date {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* ===== 詳細ページ ===== */
.l-article_content {
    max-width: 720px;
    margin: 0 auto;
}

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

.p-intro h1 {
    font-size: 2.4rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.p-intro__published {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
}

.p-intro__imgbox {
    margin-bottom: 25px;
}

.p-intro__imgbox img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 4px;
}

.p-intro__body {
    font-size: 1.5rem;
    line-height: 2;
    color: #555;
}

/* 編集部おすすめ度 */
.p-intro__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff8f0;
    border-left: 3px solid #f5a623;
    border-radius: 4px;
    font-size: 1.4rem;
}
.p-intro__rating-label {
    color: #888;
    white-space: nowrap;
}
.p-intro__rating-stars {
    letter-spacing: 2px;
}
.star--full  { color: #f5a623; }
.star--half  { color: #f5a623; opacity: 0.6; }
.star--empty { color: #ddd; }
.p-intro__rating-value {
    font-weight: bold;
    font-size: 1.6rem;
    color: #333;
}
.p-intro__rating-max {
    font-size: 1.2rem;
    color: #888;
    font-weight: normal;
}

/* 目次 */
.p-table_of_contents {
    background-color: #fafafa;
    border-radius: 4px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.p-table_of_contents h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.p-table_of_contents ul {
    padding-left: 20px;
}

.p-table_of_contents li {
    margin-bottom: 8px;
    list-style: decimal;
    color: #666;
    font-size: 1.4rem;
}

.p-table_of_contents a {
    color: #555;
}

.p-table_of_contents a:hover {
    color: #e8a300;
}

/* 本文 */
.l-body h2 {
    font-size: 2rem;
    color: #333;
    margin: 50px 0 20px;
    padding: 18px 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #e8a300;
    font-weight: 600;
}

.l-body h3 {
    font-size: 1.7rem;
    color: #333;
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.l-body p {
    margin-bottom: 25px;
    line-height: 2;
    color: #444;
}

.l-body ul, .l-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.l-body li {
    margin-bottom: 8px;
    list-style: disc;
    line-height: 1.8;
}

.l-body ol li {
    list-style: decimal;
}

.l-body a:not([class*="sc-product"]):not([class*="p-product"]) {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.l-body a:not([class*="sc-product"]):not([class*="p-product"]):hover {
    color: var(--color-gold-dark, #b8860b);
}

.l-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.l-body th {
    background-color: #f5f0e8;
    color: #333;
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid #ddd;
    text-align: left;
}

.l-body td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    color: #444;
    line-height: 1.7;
    vertical-align: top;
}

.l-body tr:nth-child(even) td {
    background-color: #fafafa;
}

/* ===== 商品カード ===== */
.p-product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.p-product-card__rank {
    background-color: #e8a300;
    padding: 10px 20px;
}

.p-product-card__rank .rank-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

.p-product-card__content {
    display: flex;
    padding: 25px;
    gap: 25px;
}

.p-product-card__image {
    flex-shrink: 0;
    width: 200px;
}

.p-product-card__image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #fafafa;
}

.p-product-card__info {
    flex: 1;
}

.p-product-card__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.p-product-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: #e8a300;
    margin-bottom: 12px;
}

.p-product-card__description {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.p-product-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p-product-card__btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.p-product-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
    opacity: 0.95;
    color: #fff;
}

.p-product-card__btn--amazon {
    background-color: #ff9900;
}

.p-product-card__btn--rakuten {
    background-color: #bf0000;
}

.p-product-card__btn--yahoo {
    background-color: #ff0033;
}

.p-product-card__features {
    padding: 20px 25px;
    background-color: #fafafa;
    border-top: 1px solid #eee;
}

.p-product-card__features h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.p-product-card__features ul {
    padding-left: 20px;
}

.p-product-card__features li {
    margin-bottom: 5px;
    list-style: disc;
    color: #666;
    font-size: 1.3rem;
}

/* ===== フッター ===== */
.l-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    margin-top: 80px;
}

.p-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.p-footer__logo img {
    filter: brightness(0) invert(1);
    height: 32px;
}

.p-footer__nav ul {
    display: flex;
    gap: 28px;
}

.p-footer__nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.p-footer__nav a:hover {
    color: var(--color-gold-light);
}

.p-footer__links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.p-footer__links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.p-footer__links a:hover {
    color: var(--color-gold-light);
}

.p-footer__copyright {
    text-align: center;
    padding: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
}

/* ===== ページネーション ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 56px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1.4rem;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.pagination .active {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

/* CTAボタン（もっと見る系） */
.pagination a:only-child {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-white);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-smooth);
}

.pagination a:only-child:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(184, 149, 108, 0.4);
}

.pagination a:only-child::after {
    content: " →";
    transition: transform var(--transition-fast);
}

.pagination a:only-child:hover::after {
    transform: translateX(4px);
}

/* ===== アフィリエイト開示 ===== */
.p-affiliate-disclosure {
    font-size: 1.2rem;
    color: #888;
    background: #f8f8f8;
    border-left: 3px solid #ccc;
    padding: 8px 12px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ===== 著者ボックス（記事内） ===== */
.p-author-box {
    display: flex;
    gap: 16px;
    margin-top: 50px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}
.p-author-box__avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: #ddd;
}
.p-author-box__body {
    flex: 1;
    min-width: 0;
}
.p-author-box__label {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 4px;
}
.p-author-box__name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 6px;
}
.p-author-box__name a {
    color: #333;
    text-decoration: none;
}
.p-author-box__name a:hover {
    color: #e8682c;
    text-decoration: underline;
}
.p-author-box__role {
    font-size: 1.2rem;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
}
.p-author-box__bio {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
}

/* ===== 著者プロフィールページ ===== */
.p-author-profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.p-author-profile__header {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 32px;
}
.p-author-profile__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: #ddd;
}
.p-author-profile__role {
    font-size: 1.2rem;
    color: #e8682c;
    font-weight: bold;
    margin-bottom: 4px;
}
.p-author-profile__name {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 4px;
}
.p-author-profile__kana {
    font-size: 1.3rem;
    color: #888;
    font-weight: normal;
}
.p-author-profile__job {
    font-size: 1.3rem;
    color: #666;
}
.p-author-profile__bio,
.p-author-profile__specialties {
    margin-bottom: 32px;
}
.p-author-profile__bio h2,
.p-author-profile__specialties h2 {
    font-size: 1.6rem;
    border-left: 3px solid #e8682c;
    padding-left: 10px;
    margin-bottom: 12px;
}
.p-author-profile__specialties ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}
.p-author-profile__specialties li {
    background: #fff0e8;
    color: #e8682c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.3rem;
}

/* ===== 関連記事 ===== */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 1024px) {
    .p-articleList,
    .p-articleList.three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56.25%;
    }

    .header_pc {
        display: none;
    }

    .giftnavi_navbar {
        padding: 10px 16px;
    }

    .header_sp {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .header_sp .logo_img {
        height: 32px;
    }

    .header_sp__actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header_sp__search {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        color: #333;
        cursor: pointer;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .header_sp__search:hover {
        background: #f5f5f5;
    }

    .menu_toggle {
        display: flex;
    }

    .sp_menu.active {
        display: block;
    }

    .p-articleList,
    .p-articleList.three-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .p-articleList__item--thumb {
        height: 160px;
    }

    .p-intro h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .l-container {
        padding: 20px 15px;
    }

    .p-articleList,
    .p-articleList.three-columns {
        grid-template-columns: 1fr;
    }

    .p-articleList__item--thumb {
        height: 200px;
    }

    .p-intro h1 {
        font-size: 1.9rem;
    }

    .l-body h2 {
        font-size: 1.7rem;
        padding: 15px;
    }

    .l-body h3 {
        font-size: 1.5rem;
    }

    .p-product-card__content {
        flex-direction: column;
    }

    .p-product-card__image {
        width: 100%;
    }

    .p-product-card__image img {
        height: 220px;
    }

    .p-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .p-footer__nav ul, .p-footer__links ul {
        justify-content: center;
        gap: 4px;
    }

    .p-footer__nav a, .p-footer__links a {
        display: block;
        padding: 10px 12px;
    }

    .p-product-card__links {
        flex-direction: column;
    }

    .p-product-card__btn {
        width: 100%;
    }
}

/* ===== 商品ショートコード ===== */
.sc-product {
    margin: 30px 0;
}

.sc-product__rank {
    display: inline-block;
    background-color: #e8a300;
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 8px 18px;
    border-radius: 4px 4px 0 0;
}

.sc-product__name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.sc-product__price {
    font-size: 2rem;
    font-weight: 700;
    color: #e8a300;
    margin-bottom: 10px;
}

.sc-product__desc {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.sc-product__features {
    padding-left: 20px;
    margin-bottom: 15px;
}

.sc-product__features li {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 5px;
    list-style: disc;
}

.sc-product__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sc-product__btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.sc-product__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
    opacity: 0.95;
    color: #fff;
}

.sc-product__btn--amazon {
    background-color: #ff9900;
}

.sc-product__btn--rakuten {
    background-color: #bf0000;
}

.sc-product__btn--yahoo {
    background-color: #ff0033;
}

/* ========================================
   商品スライダー v2（参考ページ風）
   ======================================== */

.sc-product--v2 {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

/* 画像ボックス全体 */
.sc-product--v2 .sc-product__imagebox {
    position: relative;
    margin-bottom: 12px;
}

/* 左上ラベル */
.sc-product--v2 .sc-product__label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 153, 0, 0.92);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* 左右矢印ボタン */
.sc-product--v2 .sc-product__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sc-product--v2 .sc-product__arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sc-product--v2 .sc-product__arrow--left {
    left: 10px;
}

.sc-product--v2 .sc-product__arrow--right {
    right: 10px;
}

/* メイン画像エリア（最大320×320pxでテキストを圧迫しない） */
.sc-product--v2 .sc-product__image-main {
    --sc-product-img-size: min(270px, 82vw);
    position: relative;
    width: var(--sc-product-img-size);
    height: var(--sc-product-img-size);
    max-width: 270px;
    max-height: 270px;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
    box-sizing: border-box;
}

.sc-product--v2 .sc-product__image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sc-product--v2 .sc-product__image-item.active {
    opacity: 1;
    pointer-events: auto;
}

/* SP: 画像オーバーレイAmazonボタン */
.sc-product--v2 .sc-product__img-btn--amazon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 0;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 4;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}

.sc-product--v2 .sc-product__img-btn--amazon:hover {
    background: rgba(255, 153, 0, 0.88);
}

@media (min-width: 768px) {
    .sc-product--v2 .sc-product__img-btn--amazon {
        display: none;
    }
}

/* 出典表記 */
.sc-product--v2 .sc-product__source {
    font-size: 1.2rem;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

.sc-product--v2 .sc-product__source a {
    color: #0066cc;
    text-decoration: none;
}

.sc-product--v2 .sc-product__source a:hover {
    text-decoration: underline;
}

/* サムネイル一覧 */
.sc-product--v2 .sc-product__thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 8px 0;
    justify-content: center;
}

.sc-product--v2 .sc-product__thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    padding: 0;
    transition: border-color 0.2s;
}

.sc-product--v2 .sc-product__thumbnail:hover {
    border-color: #ccc;
}

.sc-product--v2 .sc-product__thumbnail.active {
    border-color: #ff9900;
}

.sc-product--v2 .sc-product__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   v2 compact（見た目ほぼ同じで縮小）
   ======================================== */

.sc-product--v2-compact {
    padding: 14px;
}

.sc-product--v2-compact .sc-product__imagebox {
    margin-bottom: 14px;
}

.sc-product--v2-compact .sc-product__image-main {
    max-width: min(360px, 90vw);
    max-height: 280px;
    border-radius: 6px;
}

.sc-product--v2-compact .sc-product__arrow {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
}

.sc-product--v2-compact .sc-product__arrow--left {
    left: 8px;
}

.sc-product--v2-compact .sc-product__arrow--right {
    right: 8px;
}

.sc-product--v2-compact .sc-product__thumbnails {
    gap: 6px;
    margin-top: 10px;
    padding: 6px 0;
}

.sc-product--v2-compact .sc-product__thumbnail {
    width: 48px;
    height: 48px;
}

.sc-product--v2-compact .sc-product__name {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.sc-product--v2-compact .sc-product__price {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.sc-product--v2-compact .sc-product__desc {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sc-product--v2-compact .sc-product__btn {
    padding: 10px 18px;
    font-size: 1.2rem;
}

.sc-product--v2-compact .sc-product__label {
    top: 8px;
    left: 8px;
    padding: 5px 9px;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .sc-product--v2 {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 12px;
    }

    .sc-product--v2 .sc-product__imagebox {
        flex: 0 0 400px;
        margin-bottom: 0;
    }

    .sc-product--v2 .sc-product__body {
        flex: 1;
    }

    /* compact は横幅/間隔を詰める */
    .sc-product--v2-compact {
        gap: 12px;
        padding: 10px;
    }

    .sc-product--v2-compact .sc-product__imagebox {
        flex: 0 0 320px;
    }
}

/* ----- card スタイル ----- */
.sc-product__card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.sc-product__card .sc-product__rank {
    border-radius: 0;
    display: block;
}

.sc-product__card .sc-product__image {
    text-align: center;
    padding: 25px;
    background-color: #fafafa;
}

.sc-product__card .sc-product__image img {
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
}

.sc-product__card .sc-product__body {
    padding: 25px;
}

/* ----- horizontal スタイル ----- */
.sc-product__horizontal {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.sc-product__horizontal .sc-product__rank {
    border-radius: 0;
    display: block;
}

.sc-product__horizontal-inner {
    display: flex;
    padding: 25px;
    gap: 25px;
}

.sc-product__horizontal .sc-product__image {
    flex-shrink: 0;
    width: 200px;
}

.sc-product__horizontal .sc-product__image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #fafafa;
    border-radius: 4px;
}

.sc-product__horizontal .sc-product__body {
    flex: 1;
}

/* ----- minimal スタイル ----- */
.sc-product__minimal {
    background-color: #fafafa;
    border-radius: 4px;
    padding: 15px;
}

.sc-product__minimal-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sc-product__minimal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 4px;
    flex-shrink: 0;
}

.sc-product__minimal-info {
    flex: 1;
}

.sc-product__minimal-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.sc-product__minimal-info .sc-product__price {
    font-size: 1.6rem;
    margin: 0;
}

.sc-product__minimal-links {
    display: flex;
    gap: 10px;
}

.sc-product__minimal-links a {
    padding: 8px 15px;
    background-color: #e8a300;
    color: #fff;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 600;
}

.sc-product__minimal-links a:hover {
    opacity: 0.85;
    color: #fff;
}

/* ----- featured スタイル ----- */
.sc-product__featured {
    background: linear-gradient(135deg, #fffbf0, #fff);
    border: 2px solid #e8a300;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.sc-product__featured-badge {
    position: absolute;
    top: 15px;
    left: -30px;
    background-color: #e8a300;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 6px 35px;
    transform: rotate(-45deg);
    z-index: 1;
}

.sc-product__featured-inner {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.sc-product__featured .sc-product__image {
    flex-shrink: 0;
    width: 250px;
}

.sc-product__featured .sc-product__image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 8px;
}

.sc-product__featured .sc-product__body {
    flex: 1;
}

.sc-product__featured .sc-product__name {
    font-size: 2.2rem;
}

.sc-product__featured .sc-product__price {
    font-size: 2.4rem;
}

/* ----- compact スタイル ----- */
.sc-product__compact {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
}

.sc-product__compact img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: #fafafa;
    border-radius: 4px;
    flex-shrink: 0;
}

.sc-product__compact-info {
    flex: 1;
}

.sc-product__compact-info h4 {
    font-size: 1.4rem;
    margin-bottom: 3px;
    color: #333;
    font-weight: 600;
}

.sc-product__compact-info span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8a300;
}

.sc-product__compact-links {
    display: flex;
    gap: 8px;
}

.sc-product__compact-links .sc-product__btn {
    padding: 8px 15px;
    font-size: 1.2rem;
}

/* ----- error スタイル ----- */
.sc-product--error {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 4px;
    padding: 15px;
    color: #cc0000;
}

/* ----- ショートコード レスポンシブ ----- */
@media screen and (max-width: 768px) {
    .sc-product__horizontal-inner {
        flex-direction: column;
    }

    .sc-product__horizontal .sc-product__image {
        width: 100%;
    }

    .sc-product__horizontal .sc-product__image img {
        height: 200px;
    }

    .sc-product__featured-inner {
        flex-direction: column;
    }

    .sc-product__featured .sc-product__image {
        width: 100%;
    }

    .sc-product__minimal-inner {
        flex-wrap: wrap;
    }

    .sc-product__minimal-links {
        width: 100%;
        margin-top: 10px;
    }

    .sc-product__compact {
        flex-wrap: wrap;
    }

    .sc-product__compact-links {
        width: 100%;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .sc-product__links {
        flex-direction: column;
    }

    .sc-product__btn {
        width: 100%;
    }

    .sc-product__compact-links {
        flex-direction: column;
    }

    .sc-product__compact-links .sc-product__btn {
        width: 100%;
    }
}

/* ===== ガイド一覧 ===== */
.p-guideList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p-guideList__item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 28px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: all var(--transition-smooth);
}

.p-guideList__item:hover {
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.p-guideList__item-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gold-pale);
    border-radius: 50%;
    color: var(--color-gold);
}

.p-guideList__item-content {
    flex: 1;
}

.p-guideList__item-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.p-guideList__item-desc {
    font-size: 1.3rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

.p-guideList__item-arrow {
    flex-shrink: 0;
    color: var(--color-border);
    transition: all var(--transition-fast);
}

.p-guideList__item:hover .p-guideList__item-arrow {
    color: var(--color-gold);
    transform: translateX(4px);
}

/* ===== 子ページ一覧（親ページ用） ===== */
.p-child-pages {
    margin: 30px 0 40px;
}

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

.p-child-pages__item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.p-child-pages__item:hover {
    border-color: #e8a300;
    box-shadow: 0 4px 12px rgba(232, 163, 0, 0.1);
    transform: translateY(-2px);
}

.p-child-pages__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.p-child-pages__desc {
    font-size: 1.3rem;
    color: #888;
    line-height: 1.6;
    flex: 1;
}

.p-child-pages__arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #ccc;
    transition: color 0.2s ease;
}

.p-child-pages__item:hover .p-child-pages__arrow {
    color: #e8a300;
}

@media screen and (max-width: 768px) {
    .p-child-pages__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Q&Aセクション ===== */
.p-qanda-section {
    margin-top: 50px;
}

.p-qanda-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
    padding: 18px 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #e8a300;
    font-weight: 600;
}

.p-qanda-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-qanda-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.p-qanda-card__question {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: #fafafa;
}

.p-qanda-card__question p {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.p-qanda-card__answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.p-qanda-card__answer p {
    flex: 1;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.p-qanda-card__label {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8a300;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
}

.p-qanda-card__label--answer {
    background-color: #5a9e5a;
}

/* ===== 文例セクション ===== */
.p-examples-section {
    margin-top: 50px;
}

.p-examples-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
    padding: 18px 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #e8a300;
    font-weight: 600;
}

.p-examples-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.p-example-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.p-example-card__header {
    padding: 15px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
}

.p-example-card__category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 1.1rem;
    color: #fff;
    background-color: #e8a300;
    border-radius: 3px;
    margin-bottom: 8px;
}

.p-example-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.p-example-card__body {
    padding: 20px;
    background-color: #fffef8;
    border-left: 3px solid #e8a300;
    margin: 20px;
    border-radius: 0 5px 5px 0;
}

.p-example-card__body p {
    font-size: 1.4rem;
    color: #444;
    line-height: 2;
    margin: 0;
    white-space: pre-line;
}

.p-example-card__note {
    padding: 15px 20px;
    background-color: #f0f8f0;
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
}

.p-example-card__note strong {
    color: #5a9e5a;
}

/* ===== ガイド レスポンシブ ===== */
@media screen and (max-width: 768px) {
    .p-guideList__item {
        padding: 15px 20px;
    }

    .p-guideList__item-icon {
        width: 40px;
        height: 40px;
    }

    .p-guideList__item-title {
        font-size: 1.5rem;
    }

    .p-qanda-card__question,
    .p-qanda-card__answer {
        padding: 15px;
    }

    .p-example-card__body {
        margin: 15px;
    }
}

@media screen and (max-width: 480px) {
    .p-guideList__item {
        flex-wrap: wrap;
    }

    .p-guideList__item-icon {
        display: none;
    }

    .p-qanda-card__question,
    .p-qanda-card__answer {
        gap: 10px;
    }

    .p-qanda-card__label {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
}

/* ===== タグリスト ===== */
.p-tagList {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.p-tagList__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.p-tagList__item:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.p-tagList__item:hover .p-tagList__item-name,
.p-tagList__item:hover .p-tagList__item-count {
    color: var(--color-white);
}

.p-tagList__item-name {
    font-size: 1.3rem;
    color: var(--color-text);
}

.p-tagList__item-count {
    font-size: 1.1rem;
    color: var(--color-text-light);
    background-color: var(--color-gold-pale);
    padding: 3px 10px;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.p-tagList__item:hover .p-tagList__item-count {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ===== シーン別リスト ===== */
.p-sceneList {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.p-sceneList__item {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.p-sceneList__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.p-sceneList__item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-sceneList__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.p-sceneList__item:hover .p-sceneList__item-image img {
    transform: scale(1.08);
}

.p-sceneList__item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px;
    background: linear-gradient(transparent, rgba(26, 35, 50, 0.85));
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

@media screen and (max-width: 900px) {
    .p-sceneList {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .p-sceneList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .p-sceneList__item-label {
        font-size: 1.2rem;
        padding: 12px 8px;
    }
}

/* シーン別リスト（フッター版・横並び） */
.p-sceneList--footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.p-sceneList--footer .p-sceneList__item {
    aspect-ratio: auto;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.p-sceneList--footer .p-sceneList__item:not(:last-child)::after {
    content: "｜";
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.p-sceneList--footer .p-sceneList__item:hover {
    background: none;
    transform: none;
    box-shadow: none;
}

.p-sceneList--footer .p-sceneList__item:hover .p-sceneList__item-label {
    color: #e8a300;
}

.p-sceneList--footer .p-sceneList__item-label {
    position: static;
    padding: 0;
    background: none;
    font-size: 1.3rem;
    font-weight: 400;
}

.p-footer__scenes {
    margin-bottom: 12px;
}

.p-footer__scenes h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

/* ===== キービジュアル ===== */
.p-keyvisual-wrapper {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.p-keyvisual {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

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

.p-keyvisual__overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.p-keyvisual__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.p-keyvisual__desc {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .p-keyvisual {
        height: 220px;
    }

    .p-keyvisual__overlay {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }

    .p-keyvisual__title {
        font-size: 1.7rem;
        margin-bottom: 4px;
    }

    .p-keyvisual__desc {
        font-size: 1.2rem;
    }
}

/* シーン別ページヘッダー */
.p-sceneHeader {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border: 1px solid #f0e6c8;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.p-sceneHeader__title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
}

.p-sceneHeader__desc {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .p-sceneHeader {
        padding: 20px 15px;
    }

    .p-sceneHeader__title {
        font-size: 2rem;
    }

    .p-sceneHeader__desc {
        font-size: 1.3rem;
    }
}

/* カテゴリ別ページヘッダー */
.p-categoryHeader {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.p-categoryHeader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a86c 0%, #e8d4a8 50%, #c9a86c 100%);
}

.p-categoryHeader__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.p-categoryHeader__desc {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .p-categoryHeader {
        padding: 16px 16px;
        margin-bottom: 20px;
    }

    .p-categoryHeader__title {
        font-size: 1.8rem;
    }

    .p-categoryHeader__desc {
        font-size: 1.3rem;
    }
}

/* ヒーローセクション */
.p-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: 24px;
    padding: 48px 48px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.p-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 149, 108, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.p-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 149, 108, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.p-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.p-hero__label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-gold-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(184, 149, 108, 0.35);
    border-radius: 30px;
    background: rgba(184, 149, 108, 0.08);
}

.p-hero__title {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 18px;
    line-height: 1.45;
    letter-spacing: 0.06em;
}

.p-hero__subtitle {
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.p-hero__search-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.p-hero__search {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-size: 1.05rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.p-hero__search:hover {
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.p-hero__search:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 149, 108, 0.4);
}

.p-hero__search-icon {
    flex-shrink: 0;
    color: rgba(0, 0, 0, 0.45);
}

.p-hero__search-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
    .p-hero {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .p-hero__label {
        font-size: 1rem;
        padding: 6px 14px;
    }

    .p-hero__title {
        font-size: 2.6rem;
    }

    .p-hero__subtitle {
        font-size: 1.4rem;
    }

    .p-hero__search-wrap {
        margin-top: 22px;
    }

    .p-hero__search {
        max-width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
}

/* カテゴリグリッド（TOP用） */
.p-categoryGrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.p-categoryGrid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: 24px 14px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.p-categoryGrid__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-gold-light);
}

.p-categoryGrid__item-icon {
    font-size: 2.6rem;
    margin-bottom: 10px;
    transition: transform var(--transition-fast);
}

.p-categoryGrid__item:hover .p-categoryGrid__item-icon {
    transform: scale(1.1);
}

.p-categoryGrid__item-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
    .p-categoryGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .p-categoryGrid__item {
        padding: 18px 10px;
    }

    .p-categoryGrid__item-icon {
        font-size: 2.2rem;
    }

    .p-categoryGrid__item-name {
        font-size: 1.2rem;
    }
}

/* 季節バナー */
.p-seasonalBanner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-white);
    padding: 18px 28px;
    border-radius: 16px;
    margin-top: 20px;
    text-decoration: none;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.p-seasonalBanner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.p-seasonalBanner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(184, 149, 108, 0.35);
}

.p-seasonalBanner:hover .p-seasonalBanner__cta {
    background: rgba(255, 255, 255, 0.35);
}

.p-seasonalBanner__emoji {
    font-size: 2.6rem;
    position: relative;
    z-index: 1;
}

.p-seasonalBanner__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}

.p-seasonalBanner__title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.p-seasonalBanner__subtitle {
    font-size: 1.3rem;
    opacity: 0.85;
}

.p-seasonalBanner__cta {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.22);
    padding: 10px 20px;
    border-radius: 24px;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

@media screen and (max-width: 768px) {
    .p-seasonalBanner {
        flex-wrap: wrap;
        padding: 14px 18px;
        gap: 12px;
    }

    .p-seasonalBanner__emoji {
        font-size: 2rem;
    }

    .p-seasonalBanner__title {
        font-size: 1.5rem;
    }

    .p-seasonalBanner__subtitle {
        font-size: 1.2rem;
    }

    .p-seasonalBanner__cta {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

/* ============================================
   404 page
   ============================================ */
.p-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 60px 20px;
}

.p-404__inner {
    text-align: center;
    max-width: 560px;
}

.p-404__code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary, #e85d26);
    letter-spacing: -4px;
    margin-bottom: 16px;
}

.p-404__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text, #333);
}

.p-404__desc {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text-sub, #666);
    margin-bottom: 32px;
}

.p-404__btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary, #e85d26);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-bottom: 48px;
}

.p-404__btn:hover {
    opacity: 0.85;
}

.p-404__categories-label {
    font-size: 1.3rem;
    color: var(--color-text-sub, #666);
    margin-bottom: 14px;
}

.p-404__categories-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.p-404__categories-list a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--color-primary, #e85d26);
    color: var(--color-primary, #e85d26);
    font-size: 1.3rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.p-404__categories-list a:hover {
    background: var(--color-primary, #e85d26);
    color: #fff;
}

@media screen and (max-width: 768px) {
    .p-404__code {
        font-size: 7rem;
    }

    .p-404__title {
        font-size: 1.8rem;
    }
}

/* ===========================
   Note / Callout Component
   =========================== */
.c-note {
  background: #fff8f0;
  border-left: 4px solid var(--color-primary, #e85d26);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.c-note__label {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary, #e85d26);
  margin: 0 0 8px;
}
.c-note__body {
  font-size: 1.4rem;
  line-height: 1.7;
  margin: 0;
}
.c-note__body > p:last-child {
  margin-bottom: 0;
}
.c-note--info {
  background: #f0f7ff;
  border-left-color: #3b82f6;
}
.c-note--info .c-note__label {
  color: #3b82f6;
}
.c-note--warn {
  background: #fffbeb;
  border-left-color: #f59e0b;
}
.c-note--warn .c-note__label {
  color: #f59e0b;
}
