/*
Theme Name: Maruwaki Wakiryu (マルワキ脇竜商店)
Author: 株式会社西村商店（HP制作事業）
Description: hp-production-kit でビルドしたマルワキ脇竜商店サイト。Generated by build.py.
Version: 1.0
*/
/* === BASE CORE ============================================== */
/* ===== Modern CSS Reset ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* WordPressコアの管理バー対応 */
body.admin-bar { padding-top: 0; }
@media (min-width: 783px) {
    body.admin-bar #site-header { top: 32px; }
}

/* ===== Utility containers ========================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Visually-hidden（アクセシビリティ） ============================ */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== お問い合わせフォーム（汎用、業種側でも上書き可） ============== */
.contact-form-wrap { padding: 24px; background: #fafafa; border-radius: 8px; }
.contact-form-wrap h3 { margin-bottom: 24px; font-size: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group .required { color: #c0392b; font-size: 12px; margin-left: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { text-align: center; margin-top: 24px; }
.btn-submit {
    padding: 14px 48px;
    background: var(--primary, #1e40af);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
}

/* ===== モバイル下部バー（汎用骨格、配色は業種側で） ================= */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font-size: 11px;
    color: #333;
}
.mobile-bottom-bar .mbb-icon { font-size: 22px; line-height: 1; margin-bottom: 4px; }

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }
}

/* ===== お知らせ・ステータスメッセージ（汎用） ========================= */
.notice {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.notice.success { background: #d4edda; color: #155724; }
.notice.error   { background: #f8d7da; color: #721c24; }
.notice.warning { background: #fff3cd; color: #856404; }

/* ===== Breadcrumb（パンくず）================================= */
.breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}
.breadcrumb a { color: inherit; border-bottom: 1px dashed transparent; }
.breadcrumb a:hover { border-bottom-color: currentColor; }
.breadcrumb span { margin: 0 6px; }


/* === INDUSTRY: seafood ==================================== */
/* ==========================================================================
   INDUSTRY: seafood（水産加工・干物・海産物）
   生成り×藍×炭火オレンジ＋明朝見出し。白×紺のEC定番テンプレから外す世界観。
   食品はシズル写真主役。手仕事・無添加・郷土(生節)を物語として見せる。
   ========================================================================== */

:root {
    --sf-ink: #2b2b2b;
    --sf-navy: var(--primary, #1f3a5f);
    --sf-ember: var(--secondary, #d2552b);
    --sf-gold: var(--accent, #c89b3c);
    --sf-kraft: var(--bg, #f4efe3);
    --sf-line: #e2d9c6;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: var(--sf-ink);
    background: var(--sf-kraft);
    line-height: 1.85;
}
h1, h2, h3 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    font-weight: 700;
    line-height: 1.35;
}
.sf-section-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ─── 共通 見出しラベル ─────────────────────────────────────── */
.sf-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--sf-ember);
    margin-bottom: 12px;
    padding-left: 2px;
}
.sf-eyebrow--light { color: #f0c9a0; }
.sf-section-head { font-size: clamp(24px, 3.6vw, 38px); color: var(--sf-navy); margin-bottom: 28px; }
.sf-section-head--light { color: #fff; }

/* ─── 上部インフォバー ───────────────────────────────────────── */
.sf-infobar { background: var(--sf-navy); color: #e8eef5; font-size: 12px; }
.sf-infobar-inner { max-width: 1180px; margin: 0 auto; padding: 7px 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sf-infobar-place { font-weight: 700; }
.sf-infobar-sep { color: rgba(255,255,255,0.35); }

/* ─── ヘッダー ───────────────────────────────────────────────── */
.sf-header { background: var(--sf-kraft); border-bottom: 1px solid var(--sf-line); position: sticky; top: 0; z-index: 100; }
.sf-header-inner { max-width: 1180px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 24px; }
.sf-logo { flex-shrink: 0; }
.sf-logo img { height: 52px; width: auto; }
.sf-logo-text { font-family: 'Shippori Mincho', 'Noto Serif JP', serif; font-size: 23px; font-weight: 700; color: var(--sf-navy); letter-spacing: 0.04em; }
.sf-nav { margin-left: auto; }
.sf-nav ul { display: flex; gap: 4px; align-items: center; }
.sf-nav a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--sf-ink); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.sf-nav a:hover { color: var(--sf-ember); border-bottom-color: var(--sf-ember); }
.sf-nav-cta a { background: var(--sf-ember); color: #fff; border-radius: 4px; padding: 9px 18px; border-bottom: none; }
.sf-nav-cta a:hover { background: #b8431f; color: #fff; border-bottom: none; }
.sf-hamburger { display: none; }
.sf-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 150; }
.sf-nav-overlay.open { display: block; }

@media (max-width: 880px) {
    .sf-nav { position: fixed; top: 0; right: -100%; width: 270px; height: 100vh; background: var(--sf-navy); padding: 78px 22px 22px; transition: right .3s ease; z-index: 200; margin: 0; }
    .sf-nav.open { right: 0; }
    .sf-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
    .sf-nav a { color: #f0ece2; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .sf-nav-cta a { background: var(--sf-ember); margin-top: 12px; text-align: center; }
    .sf-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 300; margin-left: auto; }
    .sf-hamburger span { display: block; width: 24px; height: 2px; background: var(--sf-navy); transition: .3s; }
    .sf-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: #fff; }
    .sf-hamburger.open span:nth-child(2) { opacity: 0; }
    .sf-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: #fff; }
}

/* ─── HERO ───────────────────────────────────────────────────── */
.sf-hero { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; background: #2a2520; overflow: hidden; }
.sf-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.sf-hero-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(34,29,24,0.45) 0%, rgba(34,29,24,0.32) 45%, rgba(34,29,24,0.74) 100%); }
.sf-hero-inner { position: relative; z-index: 2; color: #fff; padding: 40px 22px; }
.sf-hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.35em; color: #f5d9b0; margin-bottom: 18px; font-weight: 700; }
.sf-hero-title { font-size: clamp(40px, 8vw, 88px); color: #fff; letter-spacing: 0.06em; text-shadow: 0 4px 24px rgba(0,0,0,0.5); margin-bottom: 18px; }
.sf-hero-sub { font-size: 16px; line-height: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin-bottom: 30px; }
.sf-hero-cta { display: inline-block; background: var(--sf-ember); color: #fff; font-weight: 700; padding: 14px 34px; border-radius: 4px; letter-spacing: 0.05em; transition: transform .15s, box-shadow .15s; }
.sf-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.sf-hero-scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.75); font-size: 10px; letter-spacing: 0.3em; }

/* ─── 無添加の主張 ───────────────────────────────────────────── */
.sf-mukenten { background: var(--sf-kraft); padding: 84px 0; text-align: center; }
.sf-mukenten-inner { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.sf-mukenten-head { font-size: clamp(26px, 4.2vw, 44px); color: var(--sf-navy); margin-bottom: 22px; }
.sf-mukenten-lead { font-size: 16px; line-height: 2.1; margin-bottom: 40px; }
.sf-mukenten-lead strong { color: var(--sf-ember); }
.sf-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.sf-points li { background: #fff; border: 1px solid var(--sf-line); border-radius: 8px; padding: 24px 22px; }
.sf-point-no { display: block; font-family: 'Shippori Mincho', serif; font-size: 28px; color: var(--sf-gold); margin-bottom: 8px; }
.sf-point-t { display: block; font-weight: 700; font-size: 17px; color: var(--sf-navy); margin-bottom: 6px; }
.sf-point-d { display: block; font-size: 13px; color: #5c5c5c; line-height: 1.8; }

@media (max-width: 760px) { .sf-points { grid-template-columns: 1fr; } .sf-br-sp { display: none; } }

/* ─── 商品 ───────────────────────────────────────────────────── */
.sf-products { background: #fff; padding: 84px 0; }
.sf-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sf-product { background: var(--sf-kraft); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform .18s, box-shadow .18s; }
.sf-product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); }
.sf-product-photo { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #d8cfbc; }
.sf-product-tag { position: absolute; top: 12px; left: 12px; background: var(--sf-ember); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; }
.sf-product-body { padding: 18px 20px 22px; }
.sf-product-body h3 { font-size: 19px; color: var(--sf-navy); margin-bottom: 6px; }
.sf-product-body p { font-size: 13px; color: #5c5c5c; line-height: 1.8; margin-bottom: 10px; }
.sf-product-price { font-weight: 700; color: var(--sf-ember); font-size: 15px; }

@media (max-width: 860px) { .sf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { .sf-product-grid { grid-template-columns: 1fr; } }

/* ─── つくり方（工程） ───────────────────────────────────────── */
.sf-process { background: var(--sf-navy); padding: 84px 0; }
.sf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sf-step { position: relative; padding: 26px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; }
.sf-step-no { font-family: 'Shippori Mincho', serif; font-size: 34px; color: var(--sf-gold); display: block; margin-bottom: 10px; }
.sf-step h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.sf-step p { font-size: 13px; color: #c9d4e0; line-height: 1.8; }

@media (max-width: 860px) { .sf-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sf-steps { grid-template-columns: 1fr; } }

/* ─── お取り寄せ（通販ショーケース） ─────────────────────────── */
.sf-shop { background: var(--sf-kraft); padding: 84px 0; }
.sf-shop-lead { font-size: 15px; color: #5c5c5c; margin-bottom: 30px; }
.sf-gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sf-gift { background: #fff; border: 1px solid var(--sf-line); border-radius: 10px; overflow: hidden; }
.sf-gift-photo { aspect-ratio: 3 / 2; background-size: cover; background-position: center; background-color: #d8cfbc; }
.sf-gift-body { padding: 18px 20px 20px; }
.sf-gift-body h3 { font-size: 18px; color: var(--sf-navy); margin-bottom: 6px; }
.sf-gift-body p { font-size: 13px; color: #5c5c5c; line-height: 1.8; margin-bottom: 14px; }
.sf-gift-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-gift-price { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 700; color: var(--sf-navy); }
.sf-gift-btn { background: var(--sf-ember); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 4px; }
.sf-shop-note { font-size: 12px; color: #8a8268; margin-top: 22px; }

@media (max-width: 860px) { .sf-gift-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ─── 生節ストーリー ─────────────────────────────────────────── */
.sf-story { background: #fff; }
.sf-story-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.sf-story-photo { min-height: 360px; background-size: cover; background-position: center; background-color: #d8cfbc; }
.sf-story-text { padding: 70px 56px; display: flex; flex-direction: column; justify-content: center; }
.sf-story-text h2 { font-size: clamp(22px, 3.2vw, 34px); color: var(--sf-navy); margin-bottom: 18px; }
.sf-story-text p { font-size: 15px; color: #4a4a4a; line-height: 2.05; margin-bottom: 18px; }
.sf-textlink { color: var(--sf-ember); font-weight: 700; font-size: 14px; border-bottom: 1px dashed currentColor; padding-bottom: 2px; align-self: flex-start; }
.sf-textlink:hover { border-bottom-style: solid; }

@media (max-width: 820px) { .sf-story-inner { grid-template-columns: 1fr; } .sf-story-text { padding: 40px 24px; } .sf-story-photo { min-height: 220px; } }

/* ─── 店舗案内・アクセス ─────────────────────────────────────── */
.sf-access { background: var(--sf-kraft); padding: 84px 0; }
.sf-access-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.sf-access-list { border-top: 2px solid var(--sf-navy); }
.sf-access-list > div { display: grid; grid-template-columns: 96px 1fr; padding: 14px 4px; border-bottom: 1px solid var(--sf-line); }
.sf-access-list dt { font-size: 13px; color: var(--sf-navy); font-weight: 700; }
.sf-access-list dd { font-size: 14px; }
.sf-access-list a { color: var(--sf-ember); font-weight: 700; }
.sf-access-map { aspect-ratio: 4 / 3; background: #e6decd; border-radius: 8px; overflow: hidden; }
.sf-access-map iframe { width: 100%; height: 100%; border: 0; }
.sf-map-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: #9a917a; background: repeating-linear-gradient(45deg, #efe8d8, #efe8d8 10px, #e6decd 10px, #e6decd 20px); line-height: 1.8; }

@media (max-width: 820px) { .sf-access-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ─── お問い合わせ ───────────────────────────────────────────── */
.sf-contact { background: var(--sf-navy); padding: 84px 0; }
.sf-contact-inner { max-width: 720px; margin: 0 auto; padding: 0 22px; text-align: center; }
.sf-form { margin-top: 16px; text-align: left; }
.sf-form-row { margin-bottom: 16px; }
.sf-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-form label { display: block; font-size: 13px; font-weight: 700; color: #e8eef5; }
.sf-form input, .sf-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; background: rgba(255,255,255,0.95); }
.sf-form-submit { text-align: center; margin-top: 8px; }
.sf-form-btn { background: var(--sf-ember); color: #fff; font-weight: 700; padding: 14px 48px; border-radius: 6px; }
.sf-form-note { font-size: 12px; color: #aebed0; text-align: center; margin-top: 14px; }

@media (max-width: 560px) { .sf-form-2 { grid-template-columns: 1fr; } }

/* ─── フッター ───────────────────────────────────────────────── */
.sf-footer { background: #211d18; color: #cdc6ba; }
.sf-footer-inner { max-width: 1180px; margin: 0 auto; padding: 54px 22px 34px; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 40px; }
.sf-footer-name { font-family: 'Shippori Mincho', serif; font-size: 20px; color: #fff; font-weight: 700; }
.sf-footer-tagline { font-size: 13px; color: #9fb0c0; margin-top: 8px; line-height: 1.9; }
.sf-footer-info p { font-size: 13px; line-height: 1.9; }
.sf-footer-info a { color: var(--sf-gold); }
.sf-footer-nav { display: flex; flex-direction: column; gap: 8px; }
.sf-footer-nav a { font-size: 13px; color: #c9d4e0; }
.sf-footer-nav a:hover { color: #fff; }
.sf-footer-bottom { background: #181410; padding: 14px 0; }
.sf-footer-bottom { display: flex; }
.sf-footer-bottom { font-size: 12px; color: #6b7a89; }
.sf-footer-bottom > span { max-width: 1180px; }
.sf-footer-bottom { justify-content: center; gap: 18px; flex-wrap: wrap; padding: 14px 22px; }
.sf-footer-demo { color: #8a98a6; }

@media (max-width: 820px) { .sf-footer-inner { grid-template-columns: 1fr; gap: 24px; } }
