@charset "UTF-8";

html {
    scroll-behavior: auto;
}

/* ページロード時のぬるっとフェードイン */
body {
    animation: fadeInBody 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

@keyframes fadeInBody {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* =========================================
   各種設定とリセット
   ========================================= */
:root {
    --bg-base: #fdfcf8;
    --text-main: #4a4a4a;
    --text-light: #777777;
    --accent-gold: #8c764d;
    --rakuten-color: #a91e2b;
    --border-color: #eae5dc;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.06em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* =========================================
   レイアウト（PC用：左側固定ヘッダー）
   ========================================= */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

.site-header {
    width: 100px;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    z-index: 100;
}

.main-content {
    margin-left: 100px;
    width: calc(100% - 100px);
}

/* =========================================
   サイトロゴ
   ========================================= */
.site-logo {
    position: relative;
    padding: 10px 0 0 0;
    margin-bottom: 30px;
    width: 100%;
    min-height: 220px;
    display: flex;
    justify-content: center;
}

.logo-bg-text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    font-size: 26px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.12;
    letter-spacing: 0.1em;
    z-index: 1;
    pointer-events: none;
}

.logo-main {
    position: relative;
    z-index: 2;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: -10px;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    margin: 0;
    padding: 0;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.25em;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* =========================================
   ナビゲーションメニュー
   ========================================= */
.global-nav {
    writing-mode: vertical-rl;
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.global-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    row-gap: 10px;
    column-gap: 20px;
    max-height: calc(100vh - 400px);
}

.global-nav a {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1;
    padding: 0 5px;
    position: relative;
    transition: color 0.4s ease;
    text-decoration: none;
}

.global-nav a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.global-nav a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -2px;
    width: 1px;
    height: 100%;
    background-color: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.global-nav a:hover::after {
    transform: scaleY(1);
}

/* =========================================
   ヘッダー：アクションボタン
   ========================================= */
.header-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
    padding: 0 10px;
    margin-top: auto;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.action-btn i {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--accent-gold);
}

.action-btn span {
    font-size: 10px;
    letter-spacing: 0.05em;
}

.action-btn:hover {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    opacity: 1;
}

.action-btn:hover i {
    color: #fff;
}

.action-btn.contact-btn {
    background-color: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.action-btn.contact-btn:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.menu-toggle {
    display: none;
}

/* =========================================
   共通コンポーネント・各パーツスタイル
   ========================================= */
.section {
    padding: 100px 60px;
}

.vertical-heading {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-main);
    border-left: 1px solid var(--accent-gold);
    padding-left: 15px;
    margin-right: 40px;
    letter-spacing: 0.2em;
    line-height: 1.4;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.two-column {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .two-column.reverse-layout {
        flex-direction: row-reverse;
    }
}

.text-col {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.text-col p {
    font-size: 0.95rem;
    margin-bottom: 1.5em;
}

.image-col {
    flex: 1;
}

.image-col img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* =========================================
   ヒーローセクション
   ========================================= */
.hero-section {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 20px 0 20px 40px;
}

.hero-catch {
    font-size: min(2.5rem, 5vh);
    border: none;
    padding: 0;
    line-height: 1.6;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 100%;
    width: 100%;
    padding-left: 40px;
}

.hero-image {
    flex: 1.2;
    height: 65vh;
    display: flex;
    /* Flexboxコンテナにする */
    align-items: center;
    /* 垂直方向（天地）中央に配置 */
    justify-content: center;
    /* 水平方向（左右）中央に配置 */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   お知らせ（ページ内リスト表示）
   ========================================= */
.news-section {
    background-color: #fffaf2;
    border-bottom: 1px solid var(--border-color);
}

#news.section {
    padding-bottom: 40px;
}

.news-wrapper {
    align-items: flex-start;
}

.news-title-col {
    flex: 0 0 auto;
}

.news-list-col {
    flex: 1;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 20px;
}

.news-list-col::-webkit-scrollbar {
    width: 6px;
}

.news-list-col::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.news-list-col::-webkit-scrollbar-thumb {
    background: #d4cfc5;
    border-radius: 3px;
}

.news-list-col::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.news-list-page {
    list-style: none;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.news-list-page li {
    display: flex;
    align-items: baseline;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-list-page .news-date {
    flex: 0 0 130px;
    font-family: var(--font-sans);
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.news-list-page .news-title {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.news-list-page .news-link {
    color: var(--text-main);
    transition: opacity 0.3s;
}

.news-list-page .news-link:hover {
    opacity: 0.6;
    color: var(--accent-gold);
}

/* =========================================
   蔵の紹介：4カラム（1×4）レイアウト
   ========================================= */
#philosophy {
    padding: 180px 0 0 0 !important;
}

.four-column {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.four-column .image-col {
    flex: 2;
    display: flex;
}

.four-column .image-col img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block;
    flex-grow: 1;
}

.four-column .text-col {
    flex: 3;
    padding: 60px 4vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.four-column .text-col:nth-child(2) {
    background-color: #fbf9f4;
    padding: 40px 30px;
}

.four-column .feature-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
}

.four-column .text-col:nth-child(2) .feature-content {
    align-items: flex-start;
}

.four-column .text-col:nth-child(3) .feature-content {
    align-items: flex-end;
}

.four-column .feature-content>div {
    width: 100%;
    font-size: 0.9rem;
    writing-mode: horizontal-tb;
}

.four-column .vertical-heading {
    border-left: none;
    padding-left: 0;
    margin-right: 0;
}

.heading-small {
    font-size: 1.2rem;
    line-height: 2;
}

.four-column .heading-large {
    font-size: 2.8rem;
    display: inline-block;
    margin-top: 10px;
}

.four-column .bg-number {
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(60px, 8vw, 100px);
    color: #efece5cf;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.four-column .text-col:nth-child(2) .bg-number {
    left: 88%;
    top: 8%;
}

.four-column .text-col:nth-child(3) .bg-number {
    left: 13%;
    top: 30%;
}

/* 「水」と「米」の文字色変更 */
.four-column .text-col:nth-child(2) .heading-large.mizu-color {
    color: #5b8db8;
    margin-top: 1.2em;
}

.four-column .text-col:nth-child(3) .heading-large.kome-color {
    color: var(--accent-gold);
}


/* =========================================
   「酔舞の由来」セクション
   ========================================= */
.origin-section {
    padding: 120px 20px 160px;
    position: relative;
    /* ↓ style.cssがcssフォルダの中にあるため、最初の「../」が必須です！ */
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('../images/philosophy/pixta_134440200.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.origin-box {
    max-width: 900px;
    margin: 0 auto;
    /* ボツになった白い枠を完全に消し去ります（透明・枠なし） */
    background-color: transparent;
    border: none;
    padding: 40px 20px;
    box-shadow: none;
    position: relative;
}

.origin-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.origin-title::before {
    content: "YOIMAI";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    opacity: 0.08;
    z-index: -1;
    letter-spacing: 0.3em;
    width: 100%;
    text-align: center;
}

.origin-content {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-main);
    text-align: justify;
}

.origin-content p {
    margin-bottom: 0.8em;
}

.origin-content p:last-child {
    border-bottom: none;
}


/* =========================================
   蔵の案内：見出し（パターンA）
   ========================================= */
.about-heading {
    text-align: center;
    margin-bottom: 60px;
    margin-bottom: 120px;
}

.about-heading .section-subtitle {
    margin-bottom: 15px;
    letter-spacing: 0.2em;
}

.about-heading h2 {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-main);
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}

.about-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: var(--accent-gold);
}

.about-heading h2::before {
    content: "浅";
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #ffffff;
    background-color: var(--rakuten-color);
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0;
    border-radius: 1px;
    box-shadow: 0 0 0 1px var(--rakuten-color);
}


/* =========================================
   蔵元（会社）概要
   ========================================= */
.company-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-title-col .vertical-heading {
    margin-right: 0;
}

.company-content-col {
    width: 100%;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    background-color: #fff;
}

.company-image {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-image img {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.company-info {
    flex: 1;
}

.company-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-align: left;
    vertical-align: middle;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: calc(4em + 50px);
    white-space: nowrap;
    background-color: #faf9f5;
    font-weight: 400;
    color: var(--text-main);
    border-right: 1px solid var(--border-color);
    letter-spacing: 0.05em;
}


/* =========================================
   アクセス ＆ お問い合わせ (蔵の紹介スタイル)
   ========================================= */
.access-content,
.contact-content {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
}

.access-info,
.contact-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-content .map-placeholder {
    flex: 1.2;
    margin-top: 0;
    border: none;
    border-left: 1px solid var(--border-color);
    display: flex;
    min-height: 350px;
}

.contact-content .form-container {
    flex: 1.2;
    padding: 40px;
    border-left: 1px solid var(--border-color);
    max-width: none;
}


.access-image {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: auto !important;
    /* 古い横幅指定をリセット */
    height: auto !important;
    /* 古い高さ指定をリセット */
}

.access-image img {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.access-content .map-placeholder iframe {
    width: 100%;
    flex-grow: 1;
}

/* 右側：詳細エリア（テキストとMAPを内包） */
.access-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.access-info {
    padding: 40px;
}

/* MAPの枠線と幅の調整 */
.access-content .map-placeholder {
    flex: 1;
    min-height: 380px;
    border-left: none !important;
    /* 古い左線を消す */
    border-top: 1px solid var(--border-color);
    /* テキストとの間の境界線 */
    display: flex;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-base);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
}

.google-form-wrapper iframe {
    width: 100% !important;
    max-width: 100%;
}

#f-age {
    width: 80px !important;
    /* 生年月日の「年」と同じ幅にして統一感を出します */
}

.submit-btn {
    background-color: var(--text-main);
    color: #fff;
    padding: 12px 50px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.1em;
}


/* =========================================
   ふるさと納税バナー ＆ 送料ガイド
   ========================================= */
.shipping-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 20px;
    letter-spacing: 0.05em;
}

.furusato-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid var(--rakuten-color);
    color: var(--rakuten-color);
    padding: 15px 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.furusato-banner:hover {
    background-color: var(--rakuten-color);
    color: #fff;
}


/* =========================================
   商品のご案内（ピックアップ・詳細画面共通）
   ========================================= */
.product-item {
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    background-color: #fffaf2;
}

.product-item:last-of-type {
    border-bottom: none;
}

.product-specs {
    list-style: none;
    margin: 20px 0;
    border-left: 1px solid var(--accent-gold);
    padding-left: 15px;
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.rakuten-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--rakuten-color);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}


/* =========================================
   トップページ ピックアップ画像の個別調整
   ========================================= */

/* ① 右上の画像：ラベル部分を大きく見せる（ズームアップ） */
.image-col.item-daiginjo {
    overflow: hidden;
}

.image-col.item-daiginjo img {
    height: 400px;
    width: 80%;
    object-fit: contain;
    object-position: center bottom;
}

/* ② 左下の画像：小さくして、下寄りを見せる */
.image-col.item-koshu1800 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.image-col.item-koshu1800 img {
    height: 360px;
    width: 80%;
    object-fit: contain;
    object-position: center bottom;

}

/* =========================================
   フッター関連
   ========================================= */
.site-footer {
    background-color: #f7f5f0;
    color: var(--text-light);
    text-align: center;
    padding: 50px 20px 30px;
    border-top: 1px solid var(--border-color);
    margin-left: 100px;
    /* ↓ 追加：確実に縦に3段並ぶように強制する設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    /* 1段目と2段目の隙間 */
    width: 100%;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-main);
}

.external-links {
    margin-bottom: 40px;
    /* 2段目とコピーライトの隙間 */
    gap: 25px;
}

.external-links a {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.external-links a:hover {
    color: var(--accent-gold);
}

.copyright {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.05em;
    width: 100%;
}

/* =========================================
   商品カタログ（一覧表示用レイアウト：products.html用）
   ========================================= */

/* 1. 追従メニューと注意書きのコンテナ */
.sticky-category-wrapper {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    /* 上下の余白を少し調整 */
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    /* 横並びに変更 */
    align-items: center;
    /* 縦方向の中央で揃える */
    justify-content: space-between;
    /* 両端に配置する */
    flex-wrap: wrap;
    /* 画面が狭い場合は折り返す */
    gap: 10px;
}

.sticky-category-wrapper .shipping-note {
    margin: 0;
    text-align: right;
    /* 右寄せ */
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: auto;
    /* 右端に押しやる */
}

.product-category-nav {
    display: flex;
    justify-content: flex-start;
    gap: 45px;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* 下の余白を削除 */
}

.product-category-nav a {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-main);
    background-color: transparent;
    border: none;
    border-left: 1.5px solid var(--accent-gold);
    padding: 2px 0 2px 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.product-category-nav a:hover {
    color: var(--accent-gold);
    opacity: 0.7;
}

/* 2. 各カテゴリの大見出し（清酒、リキュールなど） */
.product-category-block {
    margin-bottom: 80px;
}

.product-category-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-main);
    border-left: 1.5px solid var(--accent-gold);
    padding-left: 15px;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

/* 3. 商品一覧のグリッドとカード枠 */
.product-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.catalog-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* 4. 商品画像と商品名（横書き）の並び */
.product-top {
    display: flex;
    flex-direction: column;
    /* 画像を上、商品名を下に並べる */
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.catalog-img {
    order: 1;
    /* 画像を上に配置 */
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* 画像と名前の間の余白 */
}

.catalog-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.catalog-name {
    order: 2;
    /* 名前を下に配置 */
    writing-mode: horizontal-tb;
    /* 横書きに戻す */
    font-family: var(--font-serif);
    font-size: 1.25rem !important;
    color: var(--text-main);
    letter-spacing: 0.1em;
    text-align: center;
    /* 中央寄せ */
    border: none;
    border-bottom: 1px dashed var(--border-color);
    /* 元の上品な点線を復活 */
    margin: 0;
    padding-bottom: 15px;
    /* 点線との隙間 */
    width: 100%;
    line-height: 1.65;
}

/* サブタイトル（特徴やセット内容）の横書き用スタイル */
.catalog-name .catalog-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem !important;
    color: var(--text-light);
    letter-spacing: 0.25em;
    margin-top: 8px;
    /* メイン商品名との隙間 */
}

/* 5. 商品詳細・価格・ボタン */
.catalog-info {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.catalog-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
    flex-grow: 1;
}

.catalog-price-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 15px;
    width: 80%;
}

.catalog-price-list li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #f9f8f5;
    padding-bottom: 2px;
}

.catalog-price-list li span:first-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

.catalog-price-list li span:last-child {
    font-family: var(--font-serif);
}

/* 購入ボタン（楽天市場ボタン風・右寄せ・小さめ） */
.catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rakuten-color);
    color: #ffffff;
    border: none;

    /* 少し小さめに（余白と文字サイズを縮小） */
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;

    /* 右寄せ ＆ カードの一番下に配置 */
    align-self: center;
    margin-top: auto;
}

.catalog-btn:hover {
    background-color: var(--rakuten-color);
    color: #ffffff;
    opacity: 0.7;
}

/* HTMLを書き換えずに、CSSから直接カートアイコン（FontAwesome）を追加 */
.catalog-btn::before {
    content: '\f07a';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    font-size: 0.8rem;
}

/* =========================================
   ナビゲーションメニュー：「／」の調整
   ========================================= */
.nav-slash {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: inline-block;
}

/* =========================================
   ポップアップ（モーダル）
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-base);
    padding: 60px 50px;
    width: 90%;
    max-width: 650px;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal,
.close-news-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-light);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover,
.close-news-modal:hover {
    color: var(--text-main);
}

.modal-date {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

/* プライバシーポリシー ページ用 */
.page-header {
    text-align: center;
    padding: 80px 20px 40px;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto 100px;
    background-color: #fff;
    padding: 60px;
    border: 1px solid var(--border-color);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}

.privacy-section p,
.privacy-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
}

.privacy-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

/* =========================================
   レスポンシブ対応
   ========================================= */
@media (max-height: 900px) and (min-height: 601px) and (min-width: 769px) {
    .site-logo {
        min-height: 220px;
        margin-bottom: 10px;
        padding: 10px 0;
    }

    .hero-catch {
        font-size: min(1.8rem, 3.2vh);
    }

    .global-nav a {
        font-size: 11px;
        line-height: 1;
        padding: 0 2px;
    }

    .global-nav ul {
        row-gap: 2px;
        column-gap: 8px;
        max-height: calc(100vh - 280px);
    }

    .header-actions {
        gap: 10px;
        margin-bottom: 10px;
    }

    .action-btn {
        width: 55px;
        height: 55px;
    }

    .nav-slash {
        font-size: 11px;
        margin-bottom: 4px;
    }
}


@media (max-width: 1024px) {
    .four-column .image-col img {
        min-height: 260px;
    }

    /* ←タブレットでの画像の高さ */
    .four-column .text-col {
        padding: 40px 2vw;
    }

    .four-column .heading-large {
        font-size: 2rem;
    }

    .four-column .bg-number {
        font-size: clamp(40px, 6vw, 60px);
    }

    .four-column {
        flex-direction: column;
    }

    /* 水の画像 */
    .four-column .image-col:nth-child(1) {
        order: 1;
    }

    /* 水のテキスト */
    .four-column .text-col:nth-child(2) {
        order: 2;
    }

    /* 稲穂の画像 */
    .four-column .image-col:nth-child(4) {
        order: 3;
    }

    /* 米のテキスト */
    .four-column .text-col:nth-child(3) {
        order: 4;
    }

    .two-column,
    .hero-container {
        flex-direction: column;
        gap: 35px;
    }

    .text-col {
        flex-direction: column;
        align-items: flex-start;
        width: 100% !important;
    }

    .vertical-heading {
        writing-mode: horizontal-tb;
        border-left: none;
        border-bottom: 1px solid var(--accent-gold);
        padding-left: 0;
        padding-bottom: 8px;
        margin: 0 0 20px 0;
        font-size: 1.8rem;
    }

    .image-col img,
    .hero-image {
        height: auto;
    }

    /* 蔵の紹介 ＆ アクセス・お問合せの共通リセット */
    .company-content-col {
        flex-direction: column;
    }

    /* 蔵の紹介：画像を縦に3枚並べる */
    .company-image {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 8px;
    }

    .company-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .company-table th {
        border-right: none;
    }

    /* アクセス：マップの表示をタブレット用にリセットして高さを確保 */
    .access-content .map-placeholder {
        border-left: none;
        border-top: 1px solid var(--border-color);
        display: block;
        /* PC用のflexを解除 */
        height: 450px !important;
        min-height: auto;
    }

    .product-item .two-column {
        padding: 0 6%;
    }

}

@media (max-width: 768px),
(max-height: 600px) {
    .site-header {
        width: 100%;
        height: 60px;
        position: fixed;
        flex-direction: row;
        padding: 0 20px;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        align-items: center;
    }

    .site-logo {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        padding: 0;
        min-height: auto;
        width: auto;
    }

    .logo-bg-text {
        display: none;
    }

    .logo-main {
        writing-mode: horizontal-tb;
        margin-top: 0;
    }

    .logo-main .logo-title {
        font-size: 18px;
        letter-spacing: 0.1em;
        margin-top: 0;
        display: inline-block;
    }

    .logo-main .logo-sub {
        font-size: 8px;
        padding-top: 0;
        line-height: 1.2;
        margin-left: 5px;
        display: inline-block;
    }

    .global-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(253, 252, 248, 0.98);
        writing-mode: horizontal-tb;
        padding: 40px 30px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        flex-grow: 0;
        margin-bottom: 0;
    }

    .global-nav.is-open {
        transform: translateY(0);
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-height: none;
    }

    .nav-slash {
        display: none;
    }

    .header-actions {
        flex-direction: row;
        width: auto;
        margin-top: 0;
        gap: 12px;
        margin-left: auto;
        margin-right: 20px;
        padding: 0;
    }

    .action-btn {
        width: 30px;
        height: 30px;
    }

    .action-btn span {
        display: none;
    }

    .action-btn i {
        margin-bottom: 0;
        font-size: 16px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 1px;
        background-color: var(--text-main);
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 60px;
    }

    .site-footer {
        margin-left: 0;
        padding: 40px 15px 20px;
    }

    .section {
        padding: 60px 20px;
    }

    .hero-section {
        padding: 30px 0 0 0;
        height: auto;
    }

    /* .hero-container {
        padding-left: 0 !important;
        gap: 20px !important;
    }

    .hero-container>div:first-child {
        padding: 0 20px;
        width: 100%;
    } */

    .news-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .news-list-page li {
        flex-direction: column;
        gap: 8px;
        padding: 20px 0;
    }

    .news-list-page .news-date {
        flex: auto;
    }

    .news-list li {
        flex-direction: column;
        gap: 5px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .four-column .heading-large {
        font-size: 2.2rem;
    }

    .four-column .bg-number {
        font-size: 60px;
        top: 55%;
    }

    .four-column .image-col img {
        height: 200px !important;
        min-height: 200px !important;
    }

    .origin-section {
        padding: 120px 20px;
        /* 上下の余白をしっかり取る */
        background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/philosophy/pixta_134440200.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        /* スクリーン固定（パララックス効果、スマホ等一部では自動でcoverになります） */
        position: relative;
    }

    .origin-box {
        max-width: 800px;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.136);
        /* ★白背景を90%の不透明度で敷いて文字を読みやすく */
        border: 1px solid var(--border-color);
        padding: 60px 40px;
        /* ボックス内の余白 */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        position: relative;
    }

    .origin-title {
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

    .company-layout {
        gap: 20px;
        padding-top: 20px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: transparent;
    }

    .company-table td {
        padding-top: 0;
    }

    .access-contact-wrapper {
        gap: 50px;
    }

    .map-placeholder {
        height: 300px;
    }

    .product-catalog {
        grid-template-columns: 1fr;
    }

    .catalog-item[style*="flex-direction: row"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .catalog-item[style*="flex-direction: row"] .catalog-img {
        width: 100% !important;
        max-width: 300px;
    }

    .catalog-item[style*="flex-direction: row"] .catalog-btn {
        max-width: 100% !important;
    }

    .external-links {
        flex-direction: column;
        gap: 15px;
    }

    /* スマホ時のアクセス・お問い合わせ・プラポ */
    .access-content,
    .contact-content {
        flex-direction: column !important;
    }

    .access-info,
    .contact-info {
        padding: 30px 20px !important;
    }

    .access-content .map-placeholder {
        border-left: none !important;
        border-top: 1px solid var(--border-color) !important;
        height: 450px !important;
        min-height: auto !important;
    }

    /* スマホ時のアクセス調整 */
    .access-content {
        flex-direction: column !important;
    }

    .access-image {
        width: 100% !important;
    }

    /* ▼ スマホ版：蔵の紹介とアクセスの各画像高さを小さく統一 ▼ */
    .company-image img,
    .access-image img {
        height: 120px !important;
        /* ★ここで各画像の高さを指定（数値を調整して好みのサイズに） */
    }

    .access-details {
        border-right: none !important;
        /* スマホ時は右の縦線を消す */
    }

    .company-image,
    .access-image {
        margin: auto 0;
    }

    .contact-content .form-container {
        border-left: none !important;
        border-top: 1px solid var(--border-color) !important;
        padding: 30px 20px !important;
    }

    .privacy-container {
        padding: 40px 20px;
        margin-bottom: 60px;
    }

    /* スマホ時の商品カテゴリ追従位置とデザインの調整 */
    .sticky-category-wrapper {
        top: 60px;
        padding: 15px 0 10px;
        margin-bottom: 40px;
        flex-direction: column;
        /* スマホでは縦並びに戻す */
        align-items: flex-start;
        /* 左寄せに戻す */
    }

    .product-category-nav {
        gap: 15px;
        margin-bottom: 5px;
    }

    .product-category-nav a {
        font-size: 1rem;
        padding-left: 10px;
        border-left: 2px solid var(--accent-gold);
    }

    .sticky-category-wrapper .shipping-note {
        font-size: 0.75rem;
        margin-left: 0;
        /* スマホでは右寄せを解除 */
        text-align: left;
        /* スマホでは左寄せに戻す */
    }

    /* スマホ時の商品カタログの並び（1カラム） */
    .product-catalog {
        grid-template-columns: 1fr;
    }

    .catalog-item[style*="flex-direction: row"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .catalog-item[style*="flex-direction: row"] .catalog-img {
        width: 100% !important;
        max-width: 300px;
    }

    .catalog-item[style*="flex-direction: row"] .catalog-btn {
        max-width: 100% !important;
    }
}

/* =========================================
   スマホ：2カラム幅の横長商品カード（測・水など）
   ========================================= */
.catalog-item-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.catalog-item-wide .product-top {
    width: 250px;
    flex-shrink: 0;
}

.catalog-item-wide .catalog-img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .catalog-item-wide {
        grid-column: span 1 !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .catalog-item-wide .product-top {
        width: 100%;
        max-width: 300px;
    }

    .catalog-item-wide .catalog-btn {
        max-width: 100% !important;
    }
}

/* =========================================
   スマホ：拡張入力フォーム (商品詳細・注文用)
   ========================================= */
.extended-form {
    border: none;
    padding: 0;
    max-width: 100%;
}

.form-section-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent-gold);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
    margin: 30px 0 25px;
    letter-spacing: 0.1em;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.section-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.req-badge {
    font-size: 0.7rem;
    color: #fff;
    background: var(--rakuten-color);
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: normal;
    vertical-align: middle;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.extended-form .form-group {
    margin-bottom: 20px;
    flex: 1;
}

.extended-form .form-group label {
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
}

.form-inline-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.age-note {
    font-size: 0.75rem;
    color: var(--rakuten-color);
    margin-top: 5px;
}

.radio-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.radio-group label {
    font-weight: normal !important;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.extended-form .form-row .form-group {
    flex: 1 !important;
    /* 生年月日に設定されている flex: 2; を強制的に 1:1 にリセット */
}

.radio-group input[type="radio"] {
    width: auto;
    cursor: pointer;
}

/* ご注文内容 */
.order-items-wrapper {
    background-color: #faf9f5;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 2px;
}

/* ▼ 古いコードを削除し、最新の記述に統合 ▼ */
.order-item-row {
    display: flex !important;
    flex-wrap: wrap !important;
    /* 画面が狭い場合は自動で改行 */
    align-items: center !important;
    gap: 15px 25px !important;
    /* 上下の隙間15px、左右の隙間25px */
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eae5dc;
}

/* ラベルの縦並び設定を解除して横幅を揃える */
.order-item-row label {
    display: inline-block !important;
    margin-bottom: 2px !important;
    width: 60px !important;
    /* 「商品名 1」などの文字数に合わせて幅を固定 */
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* 各項目の枠（ラベルと入力欄）を横並びにする */
.item-col-name,
.item-col-vol,
.item-col-qty {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 商品名は1行をすべて使う */
.item-col-name {
    width: 100% !important;
}

/* 商品名の入力枠を右端まで伸ばす */
.item-col-name input {
    width: 100% !important;
    flex-grow: 1;
}

.order-items-wrapper .item-col-vol .form-inline-group input,
.order-items-wrapper .item-col-qty .form-inline-group input {
    width: 80px !important;
}

.item-col-vol,
.item-col-qty {
    width: auto !important;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-section-title {
        flex-direction: column;
        gap: 5px;
    }

    .order-item-row {
        gap: 10px;
        background-color: #fff;
        padding: 15px;
        border: 1px solid var(--border-color);
        margin-bottom: 15px;
    }

    .order-items-wrapper {
        padding: 10px;
        background-color: transparent;
        border: none;
    }

    .image-col.item-koshu1800 img {
        height: auto;
        max-height: 250px;
        width: 100%;
    }

    .company-layout .company-image img,
    .company-layout .access-image img {
        flex: none !important;
        height: 250px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .company-layout .company-image,
    .company-layout .access-image {
        margin: auto 0 !important;
    }

    .hero-image {
        margin-left: -60px !important;
        width: calc(100% + 80px) !important;
    }
}

@media (min-width: 769px) {
    .contact-content .contact-info {
        flex: 0.7;
    }

    .contact-content .form-container {
        flex: 1.3;
    }
}