/*
Theme Name: i.tategu
Theme URI: https://i.tategu-shop.com
Author: i.tategu
Author URI: https://i.tategu-shop.com
Description: 一枚板の結婚証明書専門ECサイト「i.tategu」用オリジナルテーマ。
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: i-tategu-theme
Tags: e-commerce, woocommerce, wedding, custom-background

This theme is designed specifically for selling unique, one-of-a-kind wooden
marriage certificates made from live-edge slabs.
*/

/* ================================================
   CSS Variables (Design System)
   ================================================ */
:root {
    /* Colors */
    --bg-primary: #FAFAF8;
    --bg-secondary: #F5F5F0;
    --brand-green: #2F4F4F;
    --brand-gold: #C5A059;
    --text-main: #333333;
    --text-sub: #666666;
    --white: #FFFFFF;

    /* Fonts */
    --font-jp: "Shippori Mincho", "Yu Mincho", serif;
    --font-en: "Cormorant Garamond", serif;
    --font-body: "Inter", sans-serif;
}

/* ================================================
   Reset & Base
   ================================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* スマホのみ表示ユーティリティ */
.sp-only { display: none; }
@media (max-width: 768px) {
    .sp-only { display: inline; }
}

body {
    font-family: var(--font-jp);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   Header
   ================================================ */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(47, 79, 79, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: absolute;
    width: 100%;
    z-index: 10;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    transition: color 0.3s ease;
}

.site-header.scrolled .logo {
    color: var(--brand-green);
}

.site-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.site-nav a {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--brand-gold);
}

.site-header.scrolled .site-nav a {
    color: var(--text-main);
}

.site-header.scrolled .site-nav a:hover {
    color: var(--brand-gold);
}

.header-actions .icon-btn {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.site-header.scrolled .header-actions .icon-btn {
    color: var(--text-main);
}

.header-actions .cart-count {
    transition: background 0.3s ease;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content .hero-sub {
    font-size: 4.2rem;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-bottom: 40px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9);
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-family: var(--font-jp);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--brand-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(47, 79, 79, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 79, 79, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
}

/* ================================================
   Product Grid (WooCommerce Override)
   ================================================ */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.product {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product .woocommerce-loop-product__link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product .woocommerce-loop-product__title {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    padding: 15px;
    color: var(--text-main);
}

.product .price {
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: var(--brand-green);
    padding: 0 15px 15px;
}

/* 木言葉タグ */
.wood-meaning {
    font-size: 0.75rem;
    color: var(--brand-gold);
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ================================================
   Footer
   ================================================ */
.site-footer {
    background: var(--brand-green);
    color: var(--white);
    padding: 0 20px 30px;
    text-align: center;
}

.site-footer a {
    color: var(--brand-gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: translateY(-2px);
}

.footer-line-text {
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.footer-line-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-line-text a:hover {
    color: var(--brand-gold);
}

.footer-links {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   Animations
   ================================================ */
/* Front Page: Search Section */
.search-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-sub);
    font-size: 1rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-tabs .tab {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--bg-secondary);
    border-radius: 50px;
    font-family: var(--font-jp);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tabs .tab:hover {
    border-color: var(--brand-green);
}

.filter-tabs .tab.active {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--white);
}

/* Filter Panels */
.filter-panel {
    display: none;
}

.filter-panel.active {
    display: block;
}

/* Option Cards Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.option-card {
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.option-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-3px);
}

.option-card.selected {
    background: var(--brand-green);
    color: var(--white);
}

.option-card .num {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.option-card .unit {
    font-size: 1rem;
    margin-left: 2px;
}

.option-card .desc {
    display: block;
    font-size: 0.8rem;
    margin-top: 8px;
    opacity: 0.8;
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    text-align: center;
}

.featured-products h2 {
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 30px;
}

.view-all {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-tabs {
        flex-wrap: wrap;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ================================================
   Shop Page
   ================================================ */
.shop-hero {
    background: linear-gradient(135deg, var(--brand-green) 0%, #3d6363 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.shop-hero .page-title {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-bottom: 10px;
}

.shop-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.shop-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 40px 20px;
}

/* サイドバーフィルター */
.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.filter-heading {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg-secondary);
}

.filter-dropdown select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 0.9rem;
    font-family: var(--font-jp);
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-main);
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--brand-green);
}

/* 商品グリッド */
.shop-products {
    min-height: 400px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-secondary);
}

.result-count {
    font-size: 0.9rem;
    color: var(--text-sub);
}

.sort-dropdown select {
    padding: 8px 15px;
    border: 1px solid var(--bg-secondary);
    border-radius: 6px;
    background: var(--white);
    font-family: var(--font-jp);
}

/* 商品カード */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.product-card .product-link {
    display: block;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: #f5f3ef;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-card .product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* バッジ */
.product-image .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.sale {
    background: var(--brand-gold);
    color: var(--white);
}

.badge.soldout-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    background: rgba(80,80,80,0.85);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
}

.product-card.soldout .product-image img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.product-card .product-info {
    padding: 20px;
}

.product-card .wood-meaning {
    font-size: 0.75rem;
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.product-card .product-title {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-card .product-specs-mini {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
}

.product-card .product-price {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--brand-green);
    font-weight: 600;
}

.product-card .product-price del {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-right: 8px;
}

/* 商品なし */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 12px;
}

.no-products p {
    margin-bottom: 20px;
    color: var(--text-sub);
}

/* ツールバー右側（ページネーション + ソート） */
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pagination-inline .woocommerce-pagination {
    margin-top: 0;
}

.pagination-inline .woocommerce-pagination ul {
    gap: 4px;
}

.pagination-inline .woocommerce-pagination li a,
.pagination-inline .woocommerce-pagination li span {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* ページネーション */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--white);
    color: var(--text-main);
    transition: all 0.2s;
}

.woocommerce-pagination li a:hover {
    background: var(--brand-green);
    color: var(--white);
}

.woocommerce-pagination li span.current {
    background: var(--brand-green);
    color: var(--white);
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 768px) {
    .hero {
        height: 100svh;
        min-height: 400px;
    }

    .hero-content .hero-sub {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        white-space: normal;
        letter-spacing: 0.05em;
    }

    .hero-content h1 {
        font-size: clamp(0.8rem, 3vw, 1rem);
        white-space: normal;
    }

    .site-nav {
        display: none;
        /* Mobile menu will be handled separately */
    }

    .products {
        grid-template-columns: 1fr;
    }

    /* Shop page mobile */
    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
    }

    .filter-section {
        min-width: auto;
        padding: 16px;
        margin-bottom: 10px;
    }

    /* Shop toolbar: ページネーションを下段に */
    .shop-toolbar {
        flex-wrap: wrap;
    }

    .toolbar-right {
        display: contents;
    }

    .sort-dropdown {
        order: 1;
    }

    .pagination-inline {
        order: 2;
        width: 100%;
        margin-top: 8px;
    }

    .pagination-inline .woocommerce-pagination {
        text-align: left;
    }
}

/* ================================================
   Mobile Menu
   ================================================ */
/* ハンバーガーボタン */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.site-header.scrolled .hamburger-line {
    background: var(--brand-green);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイルナビゲーション */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--bg-secondary);
}

.mobile-nav-header .logo {
    font-size: 1.3rem;
}

.mobile-nav-menu {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list li {
    margin-bottom: 5px;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 10px;
    font-size: 1.1rem;
    color: var(--text-main);
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-list a:hover {
    background: var(--bg-secondary);
    color: var(--brand-green);
}

.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid var(--bg-secondary);
}

.mobile-nav-actions .btn {
    width: 100%;
    text-align: center;
}

/* オーバーレイ背景 */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

body.menu-open {
    overflow: hidden;
}

/* モバイル表示時のみハンバーガー表示 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .icon-btn {
        display: none;
    }

    .cart-btn,
    .account-btn {
        display: flex !important;
    }
}

/* ================================================
   About Page
   ================================================ */
.about-hero {
    background: linear-gradient(135deg, var(--brand-green) 0%, #3d6363 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.about-hero .page-title,
.about-hero .page-lead {
    color: var(--white);
}

.about-hero .page-title {
    font-size: 3rem;
    color: var(--brand-gold);
    margin-bottom: 15px;
}

.about-hero .page-lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-jp);
}

.about-section {
    padding: 80px 0;
}

.about-section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-label {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--brand-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 25px;
}

.about-section p {
    line-height: 2;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.subsection-title {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* 木言葉グリッド */
.wood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.wood-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
}

.wood-card:hover {
    transform: translateY(-5px);
}

.wood-color {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.wood-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin: -25px -20px 15px;
    width: calc(100% + 40px);
}

.wood-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.wood-card:hover .wood-photo img {
    transform: scale(1.05);
}

.wood-card h3 {
    font-family: var(--font-jp);
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.wood-card .meaning {
    font-size: 0.85rem;
    color: var(--brand-gold);
    margin: 0;
}

/* プロセスタイムライン */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    position: relative;
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
}

.step-number {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-gold);
    margin-bottom: 15px;
}

.process-step h3 {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.6;
}

/* CTA セクション */
/* About 2カラムレイアウト */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-with-image.reverse .section-text {
    order: 2;
}

.section-with-image.reverse .section-image {
    order: 1;
}

.section-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.concept-section .section-image img {
    aspect-ratio: auto;
    object-fit: contain;
}

.section-note {
    text-align: center;
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-with-image.reverse .section-text,
    .section-with-image.reverse .section-image {
        order: unset;
    }

    .section-image img {
        aspect-ratio: 16 / 10;
    }
}

.about-cta {
    background: var(--brand-green);
    padding: 60px 20px 40px;
    text-align: center;
}

.about-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-cta .btn-primary {
    background: var(--white);
    color: var(--brand-green);
}

.about-cta .btn-primary:hover {
    background: var(--brand-gold);
    color: var(--white);
}

/* About Gallery - Marquee */
.gallery-section {
    text-align: center;
    overflow: hidden;
}

.about-gallery-marquee {
    overflow: hidden;
    margin-top: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.about-gallery-track {
    display: flex;
    gap: 12px;
    animation: gallery-scroll 60s linear infinite;
    width: max-content;
}

.about-gallery-track:hover {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-gallery-item {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-hero .page-title {
        font-size: 2rem;
    }

    .about-section {
        padding: 50px 0;
    }

    .wood-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-gallery-item {
        width: 200px;
        height: 200px;
    }
}

/* ================================================
   Info Pages (Purchase Guide, Attention, Payment)
   ================================================ */
.info-page {
    background: var(--bg-primary);
}

.info-hero {
    background: linear-gradient(135deg, var(--brand-green) 0%, #3d6363 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.info-hero .page-label {
    display: block;
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 15px;
}

.info-hero .page-title {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-bottom: 15px;
}

.info-hero .page-lead {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.info-section {
    padding: 80px 0;
}

.info-section:nth-child(even) {
    background: var(--white);
}

.info-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 40px;
}

/* Steps (Purchase Guide) */
.steps-vertical {
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--bg-secondary);
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--brand-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content h3 {
    font-family: var(--font-jp);
    font-size: 1.3rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-gold);
    font-size: 0.95rem;
    font-weight: 500;
}

.step-link:hover {
    color: var(--brand-green);
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-gold);
}

.notice-box,
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.notice-box {
    background: rgba(47, 79, 79, 0.08);
    color: var(--brand-green);
}

.warning-box {
    background: rgba(197, 160, 89, 0.15);
    color: #8B6914;
}

/* Price Cards */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.price-card {
    background: var(--white);
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.price-card:hover {
    border-color: var(--brand-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
    border-color: var(--brand-gold);
    background: linear-gradient(135deg, #fffdf5 0%, var(--white) 100%);
}

.price-label {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--brand-green);
    line-height: 1;
}

.price-value {
    display: block;
    font-family: var(--font-en);
    font-size: 1.3rem;
    color: var(--brand-gold);
    margin: 10px 0;
}

.price-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* Attention Cards */
.attention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.attention-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.attention-card h3 {
    font-family: var(--font-jp);
    font-size: 1.15rem;
    color: var(--brand-green);
    margin-bottom: 12px;
}

.attention-card p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 10px;
}

.attention-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.attention-list li {
    padding: 6px 0 6px 25px;
    position: relative;
    color: var(--text-main);
    font-size: 0.95rem;
}

.attention-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: bold;
}

.attention-card .note {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-style: italic;
}

/* Confirm Box */
.confirm-box {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(47, 79, 79, 0.05);
    border: 2px solid var(--brand-green);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.confirm-box h3 {
    color: var(--brand-green);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Payment Cards */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
}

.payment-card {
    background: var(--white);
    border: 2px solid var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.payment-card.featured {
    border-color: var(--brand-green);
    box-shadow: 0 5px 25px rgba(47, 79, 79, 0.1);
}

.payment-header {
    position: relative;
    margin-bottom: 20px;
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--brand-green);
}

.payment-icon.paypay-icon {
    background: #FF0033;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: bold;
}

.payment-badge {
    position: absolute;
    top: -5px;
    right: 20%;
    background: var(--brand-gold);
    color: var(--white);
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.payment-card h3 {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--brand-green);
    margin-bottom: 5px;
}

.payment-provider {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 15px;
}

.payment-brands {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 1.8rem;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.payment-features {
    list-style: none;
    text-align: left;
    padding: 15px 0;
    border-top: 1px solid var(--bg-secondary);
}

.payment-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-features li i {
    color: var(--brand-gold);
}

.payment-note {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 10px;
}

/* Flow Steps */
.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.flow-step {
    text-align: center;
}

.flow-number {
    display: block;
    width: 50px;
    height: 50px;
    background: var(--brand-green);
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 50px;
    margin: 0 auto 10px;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-main);
}

.flow-arrow {
    color: var(--brand-gold);
    font-size: 1.5rem;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}

.trust-item h4 {
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* Info CTA */
.info-cta {
    background: var(--brand-green);
    padding: 60px 20px 40px;
    text-align: center;
}

.info-cta h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.info-cta .btn-primary {
    background: var(--white);
    color: var(--brand-green);
}

.info-cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

/* Info Pages Responsive */
@media (max-width: 768px) {
    .info-hero .page-title {
        font-size: 1.8rem;
    }

    .step-item {
        flex-direction: row;
        gap: 15px;
        text-align: left;
    }

    .step-number {
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .notice-box {
        font-size: 0.85rem;
        padding: 12px 15px;
    }

    .assurance-section h2 {
        font-size: 1.3rem;
    }

    .assurance-item {
        padding: 20px 15px;
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        gap: 10px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
}

/* ================================================
   FAQ Page
   ================================================ */
.faq-category {
    margin-bottom: 50px;
}

.faq-category h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-jp);
    font-size: 1.3rem;
    color: var(--brand-green);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-secondary);
    margin-bottom: 20px;
    text-align: left;
}

.faq-category h2 i {
    color: var(--brand-gold);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--text-main);
    text-align: left;
    transition: all 0.2s;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question i {
    color: var(--brand-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.open {
    max-height: 2000px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
    margin: 10px 0;
}

.faq-answer ul li {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 5px;
}

.faq-answer a {
    color: var(--brand-gold);
    text-decoration: underline;
}

.faq-answer a.btn-line {
    color: #fff;
    text-decoration: none;
}

/* Contact Prompt */
.contact-prompt {
    background: var(--bg-secondary);
}

.prompt-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
}

.prompt-box h3 {
    font-family: var(--font-jp);
    font-size: 1.3rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}

.prompt-box p {
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 25px;
}

.prompt-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* FAQ下部 チャット強調 */
.prompt-featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-atelier-large {
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(197, 169, 106, 0.3);
}

.btn-atelier-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 169, 106, 0.4);
}

.prompt-response-time {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.prompt-response-time i {
    margin-right: 4px;
}

.prompt-sub {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.prompt-sub-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.prompt-sub-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.prompt-sub-links a {
    color: var(--text-sub);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.prompt-sub-links a:hover {
    color: var(--brand-green);
}

.prompt-sub-links a i {
    margin-right: 5px;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 39, 67, 0.3);
}

.btn-atelier {
    background: #c5a96a;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-atelier:hover {
    background: #b09555;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 169, 106, 0.3);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .faq-answer.open {
        padding: 0 20px 20px;
    }
}

/* ================================================
   Legal Page (Tokushoho)
   ================================================ */
.legal-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table tr {
    border-bottom: 1px solid var(--bg-secondary);
}

.legal-table tr:last-child {
    border-bottom: none;
}

.legal-table th,
.legal-table td {
    padding: 20px 25px;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 200px;
    background: var(--bg-secondary);
    font-family: var(--font-jp);
    font-weight: 500;
    color: var(--brand-green);
    font-size: 0.95rem;
}

.legal-table td {
    color: var(--text-main);
    line-height: 1.8;
}

.legal-table td ul {
    padding-left: 20px;
    margin: 5px 0;
}

.legal-table td ul li {
    margin-bottom: 5px;
}

.legal-table td a {
    color: var(--brand-gold);
    text-decoration: underline;
}

.legal-table td p {
    margin-bottom: 5px;
}

.legal-table td .mt-10 {
    margin-top: 10px;
}

.legal-table td .mt-20 {
    margin-top: 20px;
}

/* Legal Note */
.legal-note {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(47, 79, 79, 0.05);
    border-left: 4px solid var(--brand-green);
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
}

.legal-note p {
    color: var(--text-main);
    line-height: 1.9;
    font-size: 0.95rem;
}

@media (max-width: 768px) {

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }

    .legal-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .legal-table td {
        padding-top: 0;
    }
}

/* ================================================
   Privacy Policy Page
   ================================================ */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--dark-green);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-border);
}

.policy-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.policy-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.policy-list li a {
    color: var(--dark-green);
    text-decoration: underline;
}

.policy-list li a:hover {
    color: var(--gold);
}

.policy-date {
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--light-border);
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================================
   Contact Page
   ================================================ */
.methods-featured {
    max-width: 500px;
    margin: 0 auto 30px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--bg-secondary);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card.featured {
    border-color: var(--brand-gold);
}

.contact-card .card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gold);
    color: var(--white);
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 20px;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--brand-green);
}

.contact-card.featured .contact-icon {
    background: #00B900;
    color: var(--white);
}

.contact-card h3 {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-card .btn {
    margin-bottom: 15px;
}

.response-time {
    display: block;
    font-size: 0.8rem;
    color: var(--text-sub);
}

.response-time i {
    margin-right: 5px;
}

/* Form Wrapper */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-family: var(--font-jp);
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-form .required {
    color: #dc2743;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--bg-secondary);
    border-radius: 8px;
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-green);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-green);
}

.checkbox-group a {
    color: var(--brand-gold);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.form-note {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.form-note i {
    margin-right: 5px;
    color: var(--brand-gold);
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    color: var(--text-sub);
}
.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--brand-green);
    background: rgba(0,185,0,0.04);
}
.file-upload-area i {
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 10px;
    display: block;
}
.file-upload-area p {
    margin: 0 0 6px;
    font-size: 0.95rem;
}
.file-hint {
    font-size: 0.8rem;
    color: #999;
}
.optional {
    font-size: 0.8rem;
    color: #999;
    font-weight: normal;
}
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}
.file-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
}
.file-item button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
}
.file-item button:hover {
    color: #c00;
}
.form-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}
.form-result.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.form-result.error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* FAQ Prompt Alt */
.prompt-box.alt {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
}

.prompt-box.alt>i {
    font-size: 2.5rem;
    color: var(--brand-gold);
    flex-shrink: 0;
}

.prompt-box.alt .prompt-content {
    flex: 1;
}

.prompt-box.alt h3 {
    margin-bottom: 5px;
}

.prompt-box.alt p {
    margin: 0;
}

/* Button Outline */
.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
}

.btn-outline:hover {
    background: var(--brand-green);
    color: var(--white);
}

@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 25px 20px;
    }

    .prompt-box.alt {
        flex-direction: column;
        text-align: center;
    }
}

/* ================================================
   WooCommerce Product Grid - Enhanced Layout
   ================================================ */
/* NOTE: メイン商品グリッドは下部の「追加修正」セクション（.shop-products ul.products）で定義 */

/* 商品画像 */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block;
}

/* 商品リンク */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-LoopProduct-link {
    display: block !important;
}

/* 商品タイトル */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
    font-family: var(--font-jp) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--text-main) !important;
    padding: 20px 20px 10px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    min-height: auto !important;
    display: block !important;
}

/* 価格 */
.woocommerce ul.products li.product .price,
ul.products li.product .price {
    font-family: var(--font-en) !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--brand-green) !important;
    padding: 0 20px 15px !important;
    margin: 0 !important;
    display: block !important;
    writing-mode: horizontal-tb !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-right: 8px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* カートボタン */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
ul.products li.product .button {
    display: block !important;
    width: calc(100% - 40px) !important;
    margin: 0 20px 20px !important;
    padding: 14px 20px !important;
    background: var(--brand-green) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--font-jp) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: nowrap !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
    background: var(--brand-gold) !important;
    transform: translateY(-2px);
}

/* 続きを読むボタン */
.woocommerce ul.products li.product a.button[href*="product"],
ul.products li.product a.button[href*="product"] {
    background: transparent !important;
    color: var(--brand-green) !important;
    border: 2px solid var(--brand-green) !important;
}

.woocommerce ul.products li.product a.button[href*="product"]:hover {
    background: var(--brand-green) !important;
    color: var(--white) !important;
}

/* 2カラム表示用 */
@media (max-width: 1024px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

/* モバイル1カラム表示 */
@media (max-width: 640px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px 15px !important;
    }

    .woocommerce ul.products li.product a img,
    ul.products li.product a img {
        height: 220px !important;
    }
}

/* New Arrivals セクション */
.featured-products .products,
.new-arrivals .products {
    max-width: 1000px;
}

/* セール・SOLD バッジ */
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-gold) !important;
    color: var(--white) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    z-index: 10;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
}

/* 品切れ表示 */
.woocommerce ul.products li.product .outofstock-badge,
.woocommerce ul.products li.product span.soldout {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--text-sub);
    color: var(--white);
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 4px;
}

/* 商品画像コンテナ */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    position: relative;
    display: block;
}

/* ページタイトル */
.woocommerce-products-header__title {
    font-family: var(--font-en) !important;
    font-size: 2.5rem !important;
    color: var(--brand-green) !important;
    text-align: center !important;
    margin: 60px 0 20px !important;
}

/* 結果カウント・ソート */
.woocommerce-result-count,
.woocommerce-ordering {
    margin: 0 20px 20px !important;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: 8px;
    font-family: var(--font-jp);
}

/* ================================================
   追加修正: 商品リスト全体の強制スタイル
   ================================================ */
/* サイドバー有無に関わらず商品グリッドを適用 */
.shop-products ul.products,
.woocommerce-page ul.products,
.woocommerce .products,
main ul.products,
#main ul.products,
.content-area ul.products,
.site-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
    max-width: none !important;
    list-style: none !important;
}

/* WooCommerceのfloat clear用疑似要素がgridセルを占有するのを防止 */
ul.products::before,
ul.products::after {
    display: none !important;
    content: none !important;
}

/* 全ての商品アイテムに適用 */
ul.products li.product,
.products .product,
li.product.type-product {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin-right: 0 !important;
}

/* 商品タイトル - 最大優先度 */
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.products .product h2,
.product h2.woocommerce-loop-product__title,
li.product h2 {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    padding: 15px !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    text-align: left !important;
    display: block !important;
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
}

/* 価格 - 最大優先度 */
ul.products li.product .price,
.products .product .price,
li.product .price,
.product span.price {
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    font-size: 1.2rem !important;
    padding: 0 15px 10px !important;
    margin: 0 !important;
    display: block !important;
    text-align: left !important;
}

/* ボタン - 最大優先度 */
ul.products li.product a.button,
ul.products li.product .add_to_cart_button,
.products .product .button,
li.product a.button,
li.product .add_to_cart_button {
    writing-mode: horizontal-tb !important;
    direction: ltr !important;
    display: block !important;
    width: calc(100% - 30px) !important;
    margin: auto 15px 15px !important;
    padding: 12px 20px !important;
    text-align: center !important;
    white-space: nowrap !important;
    background: #2F4F4F !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* 木言葉タグ */
ul.products li.product .wood-meaning,
.products .product .wood-meaning {
    padding: 0 15px 5px !important;
    font-size: 0.8rem !important;
    color: #C5A059 !important;
}

/* 商品画像 */
ul.products li.product img,
.products .product img,
li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* フロントページの商品リスト */
.featured-products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {

    ul.products,
    .products {
        grid-template-columns: 1fr !important;
    }

    .featured-products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================
   Purchase Guide: Assurance Section
   ================================================ */
.assurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.assurance-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.assurance-item i {
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}

.assurance-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.assurance-item p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .assurance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================================
   Purchase Guide: Attention Banner
   ================================================ */
.attention-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 24px;
    margin-bottom: 40px;
    background: #fef9ef;
    border: 1px solid var(--brand-gold);
    border-left: 4px solid var(--brand-gold);
    border-radius: 8px;
}

.attention-banner i {
    color: var(--brand-gold);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.attention-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
}

.attention-banner a {
    color: var(--brand-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.attention-banner a:hover {
    color: var(--brand-gold);
}

/* ================================================
   Purchase Guide: Step Extras
   ================================================ */
.step-note {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f0f7f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--brand-green);
}

.step-note i {
    color: var(--brand-green);
    margin-right: 5px;
}

.step-contact-box {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.step-contact-alt {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* ================================================
   FAQ: Contact Hint & Small Button
   ================================================ */
.faq-contact-hint {
    margin-top: 20px;
    text-align: center;
}

.btn-small {
    padding: 10px 28px;
    font-size: 0.9rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FAQ Featured Category (Stamp Tree) */
.faq-category-featured {
    background: linear-gradient(135deg, #f9f6ef 0%, #f5f0e5 100%);
    border: 2px solid var(--brand-gold);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    margin-bottom: 40px;
}

.faq-category-badge {
    position: absolute;
    top: -14px;
    left: 30px;
    background: var(--brand-gold);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.faq-category-featured h2 {
    margin-top: 10px;
}

/* Stamp Tree Options */
.stamp-tree-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.stamp-option {
    background: var(--white);
    border: 1px solid #e0d8c8;
    border-radius: 12px;
    padding: 20px;
}

.stamp-option h4 {
    font-size: 1rem;
    color: var(--brand-green);
    margin: 0 0 5px 0;
}

.stamp-option h4 i {
    margin-right: 6px;
}

.stamp-option-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0 0 12px 0;
}

.stamp-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stamp-option ul li {
    padding: 6px 0;
    border-bottom: 1px dashed #e0d8c8;
    font-size: 0.95rem;
}

.stamp-option ul li:last-child {
    border-bottom: none;
}

.faq-note {
    font-size: 0.88rem;
    color: #5a5040;
    line-height: 1.9;
    margin-top: 16px;
    padding: 14px 16px;
    background: #faf8f4;
    border-left: 3px solid #c4a86c;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
    .stamp-tree-options {
        grid-template-columns: 1fr;
    }
    .faq-category-featured {
        padding: 20px 15px;
    }
    .faq-note {
        font-size: 0.8rem;
        line-height: 2.0;
        padding: 12px 14px;
    }
}

/* ================================================
   Wood Dictionary Page（木言葉図鑑）
   ================================================ */

/* クイックナビ（グリッドカード型） */
.dict-nav-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0ea 100%);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dict-nav-group {
    margin-bottom: 8px;
}
.dict-nav-group:last-child {
    margin-bottom: 0;
}

/* 折り畳みヘッダー */
.dict-nav-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    user-select: none;
}
.dict-nav-label {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: var(--brand-green);
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dict-nav-label i {
    font-size: 0.7rem;
    opacity: 0.8;
}
.dict-nav-count {
    font-size: 0.75rem;
    color: var(--text-sub);
    font-family: var(--font-jp);
}
.dict-nav-chevron {
    font-size: 0.7rem;
    color: var(--text-sub);
    margin-left: auto;
    transition: transform 0.3s ease;
}
.dict-nav-collapsible.open .dict-nav-chevron {
    transform: rotate(180deg);
}

/* 折り畳みボディ */
.dict-nav-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.dict-nav-collapsible.open .dict-nav-body {
    max-height: 500px;
}

/* グリッドレイアウト */
.dict-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    padding: 4px 0 8px;
}

/* ナビカード */
.dict-nav-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    min-width: 0;
}
.dict-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.8);
}
.dict-nav-name {
    font-size: 0.82rem;
    font-family: var(--font-jp);
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}
.dict-nav-meaning {
    font-size: 0.65rem;
    color: var(--text-sub);
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}
.dict-nav-card:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78,107,89,0.3);
}
.dict-nav-card:hover .dict-nav-name,
.dict-nav-card:hover .dict-nav-meaning {
    color: var(--white);
}
.dict-nav-card:hover .dict-nav-dot {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}
.dict-nav-card.active {
    background: var(--brand-green);
    border-color: var(--brand-green);
    box-shadow: 0 2px 8px rgba(78,107,89,0.25);
}
.dict-nav-card.active .dict-nav-name,
.dict-nav-card.active .dict-nav-meaning {
    color: var(--white);
}

/* 樹種セクション */
.dict-wood-section {
    padding: 60px 0;
    scroll-margin-top: 100px;
}
.dict-wood-even {
    background: var(--white);
}
.dict-wood-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* 左: ビジュアル */
.dict-wood-visual {
    position: sticky;
    top: 120px;
}
.dict-wood-visual img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}
.dict-image-note {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
}
.dict-color-swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #eee;
}
.dict-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.dict-color-name {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* 右: コンテンツ */
.dict-wood-content {
    min-width: 0;
}
.dict-category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    background: var(--brand-green);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.dict-wood-content h2 {
    font-family: var(--font-jp);
    font-size: 1.8rem;
    color: var(--text-main);
    margin: 0 0 16px;
    font-weight: 600;
}

/* 木言葉ハイライト */
.dict-meaning-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border-left: 4px solid var(--brand-gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dict-meaning-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-gold);
    white-space: nowrap;
    font-family: var(--font-jp);
}
.dict-meaning-value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-gold);
    font-family: var(--font-jp);
}

/* ストーリー */
.dict-story {
    margin-bottom: 28px;
}
.dict-story p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-main);
}

/* 情報グリッド */
.dict-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.dict-info-item {
    background: var(--bg-primary);
    padding: 18px;
    border-radius: 10px;
}
.dict-info-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-green);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dict-info-item h4 i {
    font-size: 0.9rem;
    opacity: 0.7;
}
.dict-info-item p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-sub);
    margin: 0;
}

/* スペック行 */
.dict-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.dict-spec {
    font-size: 0.8rem;
    color: var(--text-sub);
    background: var(--bg-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
}
.dict-spec i {
    font-size: 0.75rem;
    color: var(--brand-gold);
}

/* おすすめ */
.dict-recommend {
    background: rgba(47, 79, 79, 0.04);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.dict-recommend h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-green);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dict-recommend h4 i {
    color: #e07070;
}
.dict-recommend p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
}

/* CTA ボタン */
.dict-wood-cta {
    display: inline-flex;
    align-items: center;
}

/* ================================================
   About Page - Enriched Wood Cards
   ================================================ */
.wood-card--enriched {
    text-align: left;
}
.wood-card--enriched .wood-photo {
    position: relative;
}
.wood-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(47,79,79,0.85);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}
.wood-card-body {
    padding: 5px 0 0;
}
.wood-card--enriched h3 {
    margin-bottom: 4px;
}
.wood-card-desc {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wood-card-recommend {
    font-size: 0.8rem;
    color: var(--brand-green);
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.wood-card-recommend i {
    color: #e07070;
    margin-top: 2px;
    flex-shrink: 0;
}
.wood-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--brand-gold);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}
.wood-card-link:hover {
    gap: 8px;
}

/* ================================================
   Wood Dictionary - Responsive
   ================================================ */
@media (max-width: 1024px) {
    .dict-wood-card {
        grid-template-columns: 260px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .dict-nav-section {
        position: relative;
        top: auto;
        box-shadow: none;
        padding: 12px 0;
    }
    .dict-nav-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 6px;
    }
    .dict-nav-card {
        padding: 6px 10px;
    }
    .dict-nav-name {
        font-size: 0.78rem;
    }
    .dict-nav-meaning {
        display: none;
    }
    .dict-wood-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dict-wood-visual {
        position: relative;
        top: auto;
    }
    .dict-wood-visual img {
        aspect-ratio: 4 / 3;
    }
    .dict-wood-section {
        padding: 40px 0;
    }
    .dict-wood-content h2 {
        font-size: 1.4rem;
    }
    .dict-info-grid {
        grid-template-columns: 1fr;
    }
    .dict-specs-row {
        gap: 6px;
    }
    .dict-spec {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    .dict-meaning-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ================================================
   商品ページ - 図鑑リンク
   ================================================ */
.wood-dict-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #C5A059;
    text-decoration: none;
    transition: color 0.2s;
}
.wood-dict-link:hover {
    color: #b8913e;
}
.wood-dict-link i {
    margin-left: 4px;
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.wood-dict-link:hover i {
    transform: translateX(3px);
}

/* ================================================
   WooCommerce Pages - Hero & Content
   カート・マイアカウント
   ================================================ */
.wc-page .wc-content-section {
    padding: 60px 0 80px;
}

/* ================================================
   Stripe-Style Checkout
   2カラムレイアウト: 左に商品、右にフォーム
   ================================================ */
.checkout-stripe-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 100vh;
}

/* 左パネル: 商品情報 */
.checkout-left-panel {
    background: linear-gradient(135deg, var(--brand-green) 0%, #3d6363 100%);
    padding: 120px 40px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.checkout-product-showcase {
    max-width: 380px;
    width: 100%;
    color: var(--white);
}

.checkout-product-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.checkout-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.checkout-product-name {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--brand-gold);
    margin-bottom: 30px;
    line-height: 1.5;
}

.checkout-price-details {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.checkout-price-details > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
}

.checkout-price-details > div:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.checkout-price-details .label {
    opacity: 0.85;
}

.checkout-discount .value {
    color: #7bed9f;
}

.checkout-renewal-counter {
    text-align: center;
    font-size: 0.85rem;
    color: #7bed9f;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 4px;
}
.checkout-renewal-counter strong {
    font-size: 1.1rem;
}
.checkout-renewal-counter.ended {
    color: rgba(255,255,255,0.5);
}

/* ─── リニューアル記念割引バナー ─── */
.renewal-banner {
    background: linear-gradient(135deg, #2F4F4F 0%, #3a6363 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.renewal-banner__top {
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7bed9f;
}
.renewal-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.renewal-banner__badge {
    background: #c9a84c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}
.renewal-banner__tiers {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.renewal-banner__tier {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 6px;
}
.renewal-banner__tier.is-active {
    opacity: 1;
}
.renewal-banner__tier.is-done {
    opacity: 0.4;
    text-decoration: line-through;
}
.renewal-banner__tier strong {
    font-size: 1.05rem;
}
.renewal-banner__tier em {
    font-style: normal;
    font-weight: 700;
    color: #7bed9f;
    font-size: 1.1rem;
}
.renewal-banner__tier small {
    font-size: 0.75rem;
    opacity: 0.85;
}
.renewal-banner__tier small strong {
    font-size: 1rem;
    color: #7bed9f;
}

/* コンテキスト別 */
.renewal-banner--hero {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.renewal-banner--product {
    border-radius: 10px;
    margin-bottom: 12px;
}
.renewal-banner--archive {
    border-radius: 8px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .renewal-banner__inner {
        flex-direction: column;
        gap: 6px;
        padding: 12px 16px;
    }
}

.checkout-total {
    padding-top: 12px !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

.checkout-total .value {
    font-family: var(--font-en);
    font-size: 1.4rem;
    color: var(--brand-gold);
}

.checkout-tax-included {
    font-size: 0.8rem !important;
    opacity: 0.6;
    padding-top: 2px !important;
}

.checkout-shipping-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.checkout-shipping-note i {
    font-size: 1.1rem;
}

/* 右パネル: フォーム */
.checkout-right-panel {
    background: #f5f6f7;
    padding: 120px 20px 24px;
    overflow-y: auto;
}

.checkout-form-container {
    max-width: 640px;
    margin: 0 auto;
}

/* セクション - カード風 */
.checkout-section {
    background: #fff;
    border-radius: 8px;
    padding: 18px 22px 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.checkout-section-title {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 14px 0;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-section-title i {
    font-size: 0.85rem;
    color: var(--brand-green);
}

/* WooCommerceデフォルトのwidth/floatを解除（グリッドレイアウト用） */
.checkout-stripe-wrapper .form-row,
.checkout-stripe-wrapper .form-row-first,
.checkout-stripe-wrapper .form-row-last,
.checkout-stripe-wrapper .form-row-wide {
    width: 100% !important;
    float: none !important;
}

/* フォームフィールド - コンパクト */
.checkout-stripe-wrapper .form-row {
    margin-bottom: 2px;
}

.checkout-stripe-wrapper .form-row label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 3px;
}

.checkout-stripe-wrapper .form-row label .required {
    color: #e74c3c;
    margin-left: 1px;
}

.checkout-stripe-wrapper .form-row input[type="text"],
.checkout-stripe-wrapper .form-row input[type="email"],
.checkout-stripe-wrapper .form-row input[type="tel"],
.checkout-stripe-wrapper .form-row input[type="date"],
.checkout-stripe-wrapper .form-row select,
.checkout-stripe-wrapper .form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: var(--font-jp);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.checkout-stripe-wrapper .form-row input:focus,
.checkout-stripe-wrapper .form-row select:focus,
.checkout-stripe-wrapper .form-row textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(47, 79, 79, 0.08);
}

.checkout-stripe-wrapper .form-row textarea {
    min-height: 70px;
    resize: vertical;
}

.checkout-stripe-wrapper .select2-container {
    width: 100% !important;
}

.checkout-stripe-wrapper .select2-container--default .select2-selection--single {
    height: 40px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 請求先詳細の見出しを非表示（重複するため） */
.checkout-stripe-wrapper #billing_details_heading,
.checkout-stripe-wrapper .woocommerce-billing-fields h3 {
    display: none;
}

/* 2カラムフィールド */
.checkout-stripe-wrapper .woocommerce-billing-fields__field-wrapper,
.checkout-stripe-wrapper .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
}

.checkout-stripe-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

/* 姓・名を横並び */
.checkout-stripe-wrapper .form-row-first {
    grid-column: 1;
}

.checkout-stripe-wrapper .form-row-last {
    grid-column: 2;
}

/* 郵便番号・都道府県を横並び */
.checkout-stripe-wrapper #billing_postcode_field {
    grid-column: 1;
}

.checkout-stripe-wrapper #billing_state_field {
    grid-column: 2;
}

/* 市区町村・番地をフル幅 */
.checkout-stripe-wrapper #billing_city_field,
.checkout-stripe-wrapper #billing_address_1_field,
.checkout-stripe-wrapper #billing_address_2_field,
.checkout-stripe-wrapper #billing_phone_field {
    grid-column: 1 / -1;
}

/* 最初と最後のマージン調整 */
.checkout-stripe-wrapper .woocommerce-billing-fields__field-wrapper .form-row:last-child,
.checkout-stripe-wrapper .woocommerce-additional-fields__field-wrapper .form-row:last-child {
    margin-bottom: 0;
}

/* 支払いセクション */
.checkout-stripe-wrapper .woocommerce-checkout-payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.checkout-stripe-wrapper .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.checkout-stripe-wrapper .wc_payment_method {
    margin-bottom: 8px;
}

.checkout-stripe-wrapper .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f5f6f7;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.checkout-stripe-wrapper .wc_payment_method input[type="radio"]:checked + label,
.checkout-stripe-wrapper .wc_payment_method label:has(input[type="radio"]:checked) {
    border-color: var(--brand-green);
    background: #f0f7f7;
}

.checkout-stripe-wrapper .payment_box {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

/* Stripe決済フォームのカスタマイズ */
.checkout-stripe-wrapper .wc-stripe-elements-field,
.checkout-stripe-wrapper .wc-stripe-upe-element {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* テストモード表示 */
.checkout-stripe-wrapper .wc-stripe-test-mode-notice,
.checkout-stripe-wrapper [class*="test-mode"] {
    background: linear-gradient(135deg, #fef9e7 0%, #fef3cd 100%);
    border: 1px solid #f5c842;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: #8a6d3b;
    margin-bottom: 16px;
}

/* Stripe Express Checkout（Google Pay, Apple Pay, Link） */
.checkout-stripe-wrapper .wc-stripe-express-checkout-element,
.checkout-stripe-wrapper #wc-stripe-express-checkout-element {
    margin-bottom: 16px;
}

/* "もしくは" 区切り線をおしゃれに */
.checkout-stripe-wrapper .wc-stripe-express-checkout-separator,
.checkout-stripe-wrapper [class*="separator"] {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.checkout-stripe-wrapper .wc-stripe-express-checkout-separator::before,
.checkout-stripe-wrapper .wc-stripe-express-checkout-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
}

.checkout-stripe-wrapper .wc-stripe-express-checkout-separator::before {
    margin-right: 16px;
}

.checkout-stripe-wrapper .wc-stripe-express-checkout-separator::after {
    margin-left: 16px;
}

/* カード入力フォーム全体 */
.checkout-stripe-wrapper #wc-stripe-card-element,
.checkout-stripe-wrapper .wc-stripe-upe-form {
    background: #fafbfc;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

/* プライバシーポリシーテキスト */
.checkout-stripe-wrapper .woocommerce-terms-and-conditions-wrapper,
.checkout-stripe-wrapper .woocommerce-privacy-policy-text {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin: 16px 0;
    line-height: 1.6;
}

.checkout-stripe-wrapper .woocommerce-privacy-policy-text a {
    color: var(--brand-green);
    text-decoration: underline;
}

/* セキュリティバッジ風 */
.checkout-stripe-wrapper .wc-stripe-payment-element::after {
    content: '';
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* 注文ボタン */
.checkout-stripe-wrapper #place_order {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--brand-green) 0%, #3d6363 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
    box-shadow: 0 4px 14px rgba(47, 79, 79, 0.25);
    letter-spacing: 0.05em;
}

.checkout-stripe-wrapper #place_order:hover {
    background: linear-gradient(135deg, #1e3d22 0%, #2d4d4d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 79, 79, 0.35);
}

.checkout-stripe-wrapper #place_order:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(47, 79, 79, 0.2);
}

/* セキュリティ表示 */
.checkout-payment-section .payment-security-note {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.7rem;
    color: #9ca3af;
}

.checkout-payment-section .payment-security-note span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.checkout-payment-section .payment-security-note i {
    color: #10b981;
}

/* 備考セクション（非表示の調整） */
.checkout-notes-section .form-row {
    margin-bottom: 0;
}

.checkout-notes-section input[type="hidden"] {
    display: none;
}

/* エラーメッセージ */
.checkout-stripe-wrapper .woocommerce-error,
.checkout-stripe-wrapper .woocommerce-message {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
}

/* デフォルトクーポン（非表示） */
.checkout-page .woocommerce-form-coupon-toggle,
.checkout-page .checkout_coupon,
.checkout-stripe-wrapper .woocommerce-form-coupon-toggle,
.checkout-stripe-wrapper .checkout_coupon.checkout_coupon {
    display: none !important;
}

/* カスタムクーポンセクション */
.checkout-coupon-section {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.coupon-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f7f8f9;
    border: 1px dashed #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.coupon-toggle-btn:hover {
    background: #f0f1f2;
    border-color: #aaa;
}

.coupon-toggle-btn i:first-child {
    color: var(--brand-green);
}

.coupon-chevron {
    margin-left: auto;
    transition: transform 0.2s;
}

.checkout-coupon-form {
    margin-top: 12px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-input-wrapper .apply-coupon-btn {
    padding: 12px 20px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.coupon-input-wrapper .apply-coupon-btn:hover {
    background: #1e3d22;
}

/* 刻印セクション レイアウト */
.checkout-engraving-section .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkout-engraving-section .form-row-wide {
    grid-column: 1 / -1;
}

/* 刻印フィールド配置 */
.checkout-engraving-section #engraving_name1_field {
    grid-column: 1;
}

.checkout-engraving-section #engraving_name2_field {
    grid-column: 2;
}

.checkout-engraving-section #engraving_date_field {
    grid-column: 1;
}

.checkout-engraving-section #date_format_field {
    grid-column: 2;
}

.checkout-engraving-section #engraving_message_field,
.checkout-engraving-section #order_comments_field {
    grid-column: 1 / -1;
}

/* 旧スタイルの区切り線を非表示（新UIスタイルに統一） */
.checkout-stripe-wrapper .engraving-section-title::before,
.checkout-stripe-wrapper .line-section-title::before {
    display: none;
}

/* チェックアウトコンテンツ（ヒーロー下） */
.checkout-content {
    padding: 0;
}

/* ── タブレット（≤1024px）── */
@media (max-width: 1024px) {
    .checkout-stripe-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-left-panel {
        position: relative;
        height: auto;
        padding: 120px 20px 30px;
    }

    .checkout-product-showcase {
        max-width: 100%;
    }

    .checkout-right-panel {
        padding: 24px 16px;
    }

    .checkout-section {
        padding: 20px;
        margin-bottom: 16px;
    }

    /* お届け先: 2カラム維持（姓名・郵便番号/都道府県はペア表示） */
    .checkout-stripe-wrapper .woocommerce-billing-fields__field-wrapper,
    .checkout-stripe-wrapper .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }

    /* 刻印: 2カラム維持（タイトル/挙式・名前・日付/形式はペア表示） */
    .checkout-engraving-section .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }
}

/* ── スマートフォン（≤768px）── */
@media (max-width: 768px) {
    .checkout-left-panel {
        padding: 100px 16px 24px;
    }

    .checkout-right-panel {
        padding: 20px 12px;
    }

    /* セクションカード */
    .checkout-section {
        padding: 20px 16px 16px;
        margin-bottom: 14px;
        border-radius: 10px;
    }

    /* セクションタイトル: 大きく、区切り線付き */
    .checkout-section-title {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid #eee;
    }
    .checkout-section-title i {
        font-size: 1rem;
    }

    /* ラベル: 大きく、はっきり */
    .checkout-stripe-wrapper .form-row label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #444;
        margin-bottom: 5px;
    }

    /* 入力フィールド: タッチしやすく + iOS自動ズーム防止（16px必須） */
    .checkout-stripe-wrapper .form-row input[type="text"],
    .checkout-stripe-wrapper .form-row input[type="email"],
    .checkout-stripe-wrapper .form-row input[type="tel"],
    .checkout-stripe-wrapper .form-row input[type="date"],
    .checkout-stripe-wrapper .form-row select,
    .checkout-stripe-wrapper .form-row textarea {
        font-size: 16px;
        padding: 13px 14px;
        border-radius: 8px;
        border-width: 1.5px;
    }

    /* select2ドロップダウン */
    .checkout-stripe-wrapper .select2-container--default .select2-selection--single {
        height: 48px;
        padding: 10px 14px;
        border-radius: 8px;
    }
    .checkout-stripe-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 28px;
        font-size: 16px;
    }
    .checkout-stripe-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 46px;
    }

    /* フィールド間スペース */
    .checkout-stripe-wrapper .form-row {
        margin-bottom: 4px;
    }

    /* 刻印セクション: ラベル1行 + 入力欄スペース拡大 */
    .checkout-engraving-section .woocommerce-additional-fields__field-wrapper {
        gap: 10px 14px;
    }
    .checkout-engraving-section .form-row label {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* textarea */
    .checkout-stripe-wrapper .form-row textarea {
        min-height: 80px;
    }

    /* 支払いボックス */
    .checkout-stripe-wrapper .payment_box {
        padding: 16px;
        border-radius: 10px;
    }

    /* 注文ボタン: 大きく押しやすく */
    .checkout-stripe-wrapper #place_order {
        padding: 18px;
        border-radius: 12px;
        font-size: 1.05rem;
    }
}

/* ── 小型スマートフォン（≤480px）── */
@media (max-width: 480px) {
    .checkout-left-panel {
        padding: 90px 14px 20px;
    }

    .checkout-product-name {
        font-size: 1.1rem;
    }

    .checkout-total .value {
        font-size: 1.1rem;
    }

    .checkout-stripe-wrapper #place_order {
        font-size: 1rem;
        padding: 16px;
    }
}

/* ═══════════════════════════════════════════════════
   フローティングチャットボタン
   ═══════════════════════════════════════════════════ */
.floating-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--brand-green, #2c3e2d);
    color: var(--brand-cream, #faf8f4);
    border-radius: 50px;
    padding: 14px 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatingChatPulse 3s ease-in-out infinite;
}

.floating-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    color: var(--brand-cream, #faf8f4);
}

.floating-chat-btn i {
    font-size: 18px;
}

@keyframes floatingChatPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 24px rgba(44,62,45,0.4); }
}

@media (max-width: 480px) {
    .floating-chat-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }
}