@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD - Café Nagi
    Theme URI: https://swell-theme.com/
    Description: Café Nagi 横浜山手のカフェ用カスタム子テーマ
    Version: 1.0.0
    Author: Café Nagi
    Author URI: https://cafenagi.local/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===========================================
   Café Nagi - 横浜山手のカフェ
   Design Concept:
   - 港の風と光を感じる、やさしい時間
   - ナチュラル × 温かみ × 余白
   - 写真主役、詩的なタイポグラフィ
   =========================================== */

/* nougatshop.jp トンマナ準拠 */
:root {
    --nagi-bg: #f0d2b4;          /* メイン: キャメルベージュ */
    --nagi-bg-alt: #e7c29e;      /* 少し深いキャメル */
    --nagi-paper: #ffe7ce;       /* サブ: クリーム */
    --nagi-ink: #000000;         /* 文字: 黒 */
    --nagi-ink-soft: #333333;
    --nagi-dark: #1a1a1a;        /* CTA背景: 濃い黒 */
    --nagi-accent: #C7896F;      /* アクセント: テラコッタ（カフェ寄せ） */
    --nagi-accent-light: #f4c9b3;
    --nagi-sakura: #F5B2B2;      /* nougatの桜色（部分使用） */
    --nagi-text: #1a1a1a;
    --nagi-text-light: #555555;
    --nagi-border: #c9a988;      /* キャメル系ボーダー */
    --nagi-border-soft: rgba(0,0,0,0.12);
    --nagi-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --nagi-shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.10);
    /* フォント: halyard-display相当のJost + Zen Kaku Gothic New */
    --nagi-sans: "Jost", "Zen Kaku Gothic New", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    --nagi-jp:   "Zen Kaku Gothic New", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    --nagi-en:   "Jost", "halyard-display", sans-serif;
    --nagi-en-hand: "Caveat", cursive;
    /* 旧変数エイリアス（残存箇所の安全のため） */
    --nagi-serif: var(--nagi-jp);
    --nagi-navy: var(--nagi-dark);
    --nagi-terracotta: var(--nagi-accent);
    --nagi-terracotta-light: var(--nagi-accent-light);
}

/* ===== 全体 ===== */
body {
    color: var(--nagi-text);
    font-family: var(--nagi-sans);
    font-feature-settings: "palt";
    letter-spacing: 0.06em;
    line-height: 1.95;
    background: var(--nagi-bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* ===== ヘッダーロゴ ===== */
:root {
    --logo_size_pc: 56px !important;
    --logo_size_pcfix: 44px !important;
    --logo_size_sp: 40px !important;
}
.c-headLogo.-img .c-headLogo__link { display: flex; align-items: center; }
.c-headLogo__img {
    height: auto !important;
    width: auto !important;
    max-height: 56px;
    object-fit: contain;
}
@media (max-width: 767px) {
    .c-headLogo__img { max-height: 40px; }
}

/* ===== ヘッダー背景 ===== */
.l-header {
    background: rgba(240, 210, 180, 0.92) !important;
    backdrop-filter: blur(10px);
}
.l-header .p-gnav a {
    font-family: var(--nagi-en);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    font-weight: 500;
}

/* ===== SWELLデフォルトh2/h3/h4の上書き ===== */
.post_content h2,
.post_content h3,
.post_content h4 {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.post_content h2::before,
.post_content h3::before,
.post_content h4::before {
    display: none !important;
    content: none !important;
}
/* SWELL親テーマが .post_content h2 に color:#fff を当てるため明示的に上書き */
.post_content h2.nagi-section-title,
.post_content h2.nagi-concept__title,
.post_content h2.nagi-info__title {
    color: var(--nagi-ink) !important;
    font-weight: 500 !important;
}
.post_content h2.nagi-cta__title {
    color: #fff !important;
    font-weight: 400 !important;
}

/* ===== トップページ: 全幅設定 ===== */
.home .l-content,
.home .l-mainContent,
.home .l-mainContent__inner,
.home .post_content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.home .post_content > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== セクション共通 ===== */
.nagi-section {
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-bottom: 0 !important;
    padding: 120px 24px;
}
.nagi-section-inner {
    max-width: 1160px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .nagi-section { padding: 72px 20px; }
}

/* ===== 共通: 見出しデザイン (nougatshop風 大胆な英字見出し) ===== */
.nagi-eyebrow {
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--nagi-ink);
    text-transform: lowercase;
    display: inline-block;
    margin-bottom: 20px;
}
.nagi-eyebrow::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--nagi-ink);
    vertical-align: middle;
    margin-right: 16px;
}
/* 英字大見出し: 巨大でワイドに (nougatの20vw表現を抑えめに適用) */
.nagi-section-en {
    font-family: var(--nagi-en);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--nagi-ink);
    margin: 0 0 24px;
    text-transform: lowercase;
}
.nagi-section-title {
    font-family: var(--nagi-jp);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--nagi-ink);
    line-height: 1.7;
    margin: 0 0 28px;
}
.nagi-section-lead {
    font-family: var(--nagi-jp);
    font-size: 14px;
    font-weight: 400;
    color: var(--nagi-text);
    line-height: 2.2;
    letter-spacing: 0.08em;
    max-width: 640px;
}
@media (max-width: 767px) {
    .nagi-section-title { font-size: 20px; letter-spacing: 0.12em; }
    .nagi-section-lead { font-size: 13px; }
}

/* ===========================================
   FV (Hero) - 全面写真 + 詩的コピー
   =========================================== */
.nagi-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    height: 88vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}
.nagi-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: nagiHeroZoom 12s ease-out forwards;
}
@keyframes nagiHeroZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}
.nagi-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.40) 60%, rgba(0,0,0,0.50) 100%);
}
.nagi-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.nagi-hero__eyebrow {
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: #fff;
    text-transform: lowercase;
    margin-bottom: 28px;
    opacity: 0;
    animation: nagiFadeUp 1.2s 0.3s ease-out forwards;
}
.nagi-hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #fff;
    vertical-align: middle;
    margin-right: 16px;
}
.nagi-hero__title {
    font-family: var(--nagi-jp);
    font-size: 54px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.7;
    margin: 0 0 32px;
    color: #fff;
    text-shadow: 0 3px 32px rgba(0,0,0,0.4);
    opacity: 0;
    animation: nagiFadeUp 1.2s 0.6s ease-out forwards;
}
.nagi-hero__title .accent {
    display: block;
    font-family: var(--nagi-en);
    font-size: 0.3em;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.28em;
    text-transform: lowercase;
    margin-top: 28px;
    opacity: 0.85;
}
.nagi-hero__lead {
    font-family: var(--nagi-jp);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 2.2;
    max-width: 520px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    opacity: 0;
    animation: nagiFadeUp 1.2s 0.9s ease-out forwards;
}
.nagi-hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--nagi-en);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: lowercase;
    opacity: 0.85;
    z-index: 3;
}
.nagi-hero__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin: 12px auto 0;
    animation: nagiScrollLine 2s ease-in-out infinite;
}
@keyframes nagiScrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes nagiFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
    .nagi-hero { height: 90vh; min-height: 540px; }
    .nagi-hero__inner { padding: 0 24px; }
    .nagi-hero__eyebrow { font-size: 11px; letter-spacing: 0.24em; }
    .nagi-hero__title { font-size: 28px; letter-spacing: 0.14em; line-height: 1.75; }
    .nagi-hero__title .accent { font-size: 0.42em; }
    .nagi-hero__lead { font-size: 13px; line-height: 2.1; }
}

/* ===========================================
   CONCEPT セクション - 写真+テキスト非対称
   =========================================== */
.nagi-concept { background: var(--nagi-bg); }
.nagi-concept__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}
.nagi-concept__img {
    position: relative;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}
.nagi-concept__img::before {
    content: "";
    position: absolute;
    inset: -16px -16px 16px 16px;
    border: 1px solid var(--nagi-border);
    z-index: -1;
}
.nagi-concept__title {
    font-family: var(--nagi-jp);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.85;
    color: var(--nagi-ink);
    margin: 0 0 36px;
}
.nagi-concept__text {
    font-size: 14px;
    line-height: 2.3;
    letter-spacing: 0.08em;
    color: var(--nagi-text);
    margin-bottom: 36px;
}
.nagi-concept__signature {
    font-family: var(--nagi-en);
    font-size: 16px;
    font-weight: 500;
    color: var(--nagi-ink);
    letter-spacing: 0.24em;
    text-transform: lowercase;
    padding-left: 48px;
    position: relative;
}
.nagi-concept__signature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 1px;
    background: var(--nagi-ink);
}
@media (max-width: 767px) {
    .nagi-concept__grid { grid-template-columns: 1fr; gap: 48px; }
    .nagi-concept__title { font-size: 22px; letter-spacing: 0.14em; }
}

/* ===========================================
   MENU セクション - カード3列+写真主役
   =========================================== */
.nagi-menu { background: var(--nagi-paper); }
.nagi-menu__header {
    text-align: center;
    margin-bottom: 80px;
}
.nagi-menu__header .nagi-eyebrow,
.nagi-menu__header .nagi-section-lead { display: block; margin-left: auto; margin-right: auto; }
.nagi-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}
.nagi-menu-card {
    background: transparent;
}
.nagi-menu-card__img {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    margin-bottom: 28px;
    border-radius: 0;
}
.nagi-menu-card__cat {
    font-family: var(--nagi-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--nagi-ink);
    text-transform: lowercase;
    margin-bottom: 12px;
}
.nagi-menu-card__title {
    font-family: var(--nagi-jp);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--nagi-ink);
    margin: 0 0 14px;
    line-height: 1.7;
}
.nagi-menu-card__text {
    font-size: 13px;
    line-height: 2.05;
    letter-spacing: 0.06em;
    color: var(--nagi-text);
}
@media (max-width: 900px) {
    .nagi-menu__grid { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ===========================================
   GALLERY セクション - 写真3枚 横スクロール風
   =========================================== */
.nagi-gallery {
    background: var(--nagi-bg-alt);
    padding-right: 0 !important;
    overflow: hidden;
}
.nagi-gallery__header {
    max-width: 1160px;
    margin: 0 auto 56px;
    padding-right: 24px;
}
.nagi-gallery__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 8px;
    max-width: 1400px;
    margin: 0 auto;
}
.nagi-gallery__img {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
}
.nagi-gallery__img:first-child { aspect-ratio: 3/4; }
@media (max-width: 767px) {
    .nagi-gallery__grid { grid-template-columns: 1fr 1fr; }
    .nagi-gallery__img:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
}

/* ===========================================
   INFO セクション - 営業時間+アクセス
   =========================================== */
.nagi-info { background: var(--nagi-bg); }
.nagi-info__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: stretch;
}
.nagi-info__block {
    background: var(--nagi-paper);
    padding: 64px 56px;
    border-radius: 0;
}
.nagi-info__title {
    font-family: var(--nagi-en);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--nagi-ink);
    text-transform: lowercase;
    margin: 0 0 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nagi-ink);
}
.nagi-info__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 18px 0;
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
.nagi-info__row:last-child { border-bottom: none; }
.nagi-info__label {
    font-family: var(--nagi-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--nagi-ink);
    text-transform: lowercase;
    padding-top: 3px;
}
.nagi-info__map {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    min-height: 440px;
}
.nagi-info__map iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    filter: grayscale(15%) contrast(0.95);
}
@media (max-width: 900px) {
    .nagi-info__grid { grid-template-columns: 1fr; gap: 24px; }
    .nagi-info__block { padding: 40px 28px; }
    .nagi-info__row { grid-template-columns: 100px 1fr; font-size: 13px; }
}

/* ===========================================
   CTA セクション - 余韻のある締めくくり
   =========================================== */
.nagi-cta {
    background: var(--nagi-dark);
    color: #fff;
    text-align: center;
    padding: 140px 24px;
}
.nagi-cta__eyebrow {
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.32em;
    color: #fff;
    text-transform: lowercase;
    margin-bottom: 32px;
    display: inline-block;
    opacity: 0.9;
}
.nagi-cta__eyebrow::before,
.nagi-cta__eyebrow::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: #fff;
    vertical-align: middle;
    opacity: 0.6;
}
.nagi-cta__eyebrow::before { margin-right: 14px; }
.nagi-cta__eyebrow::after { margin-left: 14px; }
.nagi-cta__title {
    font-family: var(--nagi-jp);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.85;
    color: #fff;
    margin: 0 0 48px;
}
.nagi-cta__btn {
    display: inline-block;
    padding: 18px 64px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff !important;
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: lowercase;
    text-decoration: none !important;
    border-radius: 0;
    transition: all 0.4s ease;
}
.nagi-cta__btn:hover {
    background: #fff;
    color: var(--nagi-dark) !important;
    border-color: #fff;
}
@media (max-width: 767px) {
    .nagi-cta { padding: 80px 20px; }
    .nagi-cta__title { font-size: 20px; letter-spacing: 0.14em; }
    .nagi-cta__btn { padding: 14px 40px; font-size: 12px; }
}

/* ===========================================
   NEWS セクション - お知らせ簡潔リスト
   =========================================== */
.nagi-news { background: var(--nagi-paper); }
.nagi-news__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 96px;
    align-items: flex-start;
}
.nagi-news__header .nagi-eyebrow { margin-bottom: 24px; }
.nagi-news__morelink {
    margin-top: 32px;
}
.nagi-news__morelink a {
    font-family: var(--nagi-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--nagi-ink);
    text-decoration: none !important;
    text-transform: lowercase;
    border-bottom: 1px solid var(--nagi-ink);
    padding-bottom: 4px;
    display: inline-block;
    transition: opacity 0.3s;
}
.nagi-news__morelink a:hover { opacity: 0.6; }
.nagi-news__list {
    border-top: 1px solid var(--nagi-ink);
}
.nagi-news__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    align-items: baseline;
}
.nagi-news__date {
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--nagi-ink);
}
.nagi-news__title a {
    color: var(--nagi-ink);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    transition: opacity 0.3s;
}
.nagi-news__title a:hover { opacity: 0.6; }
@media (max-width: 767px) {
    .nagi-news__grid { grid-template-columns: 1fr; gap: 32px; }
    .nagi-news__item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* ===========================================
   ヘッダーナビ: 予約ボタン差別化
   =========================================== */
.l-header .p-gnav a[href*="contact"] {
    background: var(--nagi-dark);
    color: #fff !important;
    padding: 10px 28px !important;
    border-radius: 0;
    font-family: var(--nagi-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    transition: opacity 0.3s;
}
.l-header .p-gnav a[href*="contact"]:hover {
    opacity: 0.8;
    background: var(--nagi-dark);
}
.l-header .p-gnav a[href*="contact"]::after {
    display: none !important;
}

/* ===========================================
   スマホ追従CTA
   =========================================== */
.nagi-sp-fixed-cta { display: none; }
@media (max-width: 767px) {
    .nagi-sp-fixed-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: var(--nagi-dark);
        border-top: none;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    }
    .nagi-sp-fixed-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 8px;
        font-family: var(--nagi-sans);
        font-size: 13px;
        letter-spacing: 0.12em;
        color: #fff !important;
        text-decoration: none !important;
        gap: 10px;
    }
    .nagi-sp-fixed-cta a + a {
        border-left: 1px solid rgba(255,255,255,0.2);
    }
    .nagi-sp-fixed-cta svg {
        color: #fff;
    }
    body { padding-bottom: 56px; }
}

/* ===========================================
   固定ページのタイトル重複防止
   =========================================== */
.page .post_title,
.page .c-pageTitle,
.page .l-title,
.page .p-mainVisual {
    display: none !important;
}
.page .post_content {
    padding-top: 0 !important;
}

/* ===========================================
   About ページ / 下層ページ共通ヒーロー
   =========================================== */
.nagi-about-hero {
    background: var(--nagi-bg);
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    text-align: center;
}

/* 下層ページ: パンくずとコンテンツ間の余白調整 */
.page .l-mainContent {
    padding-top: 0 !important;
}
.page .p-breadcrumb {
    max-width: 1160px;
    margin: 0 auto !important;
    padding: 16px 24px 0;
}
.nagi-about-hero .nagi-section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ===========================================
   Contact ページ
   =========================================== */
.nagi-contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}
.nagi-contact-method {
    background: var(--nagi-paper);
    padding: 48px 32px;
    border-radius: 0;
    text-align: center;
    border: 1px solid var(--nagi-ink);
}
.nagi-contact-method__label {
    font-family: var(--nagi-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--nagi-ink);
    text-transform: lowercase;
    margin: 0 0 16px;
}
.nagi-contact-method__value {
    font-family: var(--nagi-en);
    font-size: 24px;
    font-weight: 400;
    color: var(--nagi-ink);
    margin: 0 0 10px;
    letter-spacing: 0.06em;
}
.nagi-contact-method__value a {
    color: var(--nagi-ink);
    text-decoration: none !important;
}
.nagi-contact-method__note {
    font-size: 12px;
    color: var(--nagi-text);
    margin: 0;
}
.nagi-contact-form {
    background: var(--nagi-paper);
    padding: 64px 56px;
    border-radius: 0;
    border: 1px solid var(--nagi-ink);
}
.nagi-contact-form .wpcf7-form p {
    margin-bottom: 20px;
}
.nagi-contact-form .nagi-form-row {
    margin-bottom: 28px;
}
.nagi-contact-form .nagi-form-row > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nagi-ink);
    margin-bottom: 10px;
}
.nagi-contact-form .nagi-form-row .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}
.nagi-contact-form input[type=text],
.nagi-contact-form input[type=email],
.nagi-contact-form input[type=tel],
.nagi-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--nagi-ink);
    background: #fff;
    font-family: var(--nagi-sans);
    font-size: 15px;
    border-radius: 0;
}
.nagi-contact-form textarea {
    min-height: 160px;
}
/* 送信ボタンをセンター配置＋お問い合わせ内容欄との余白確保 */
.nagi-contact-form .nagi-form-submit,
.nagi-contact-form p:has(input[type=submit]) {
    text-align: center;
    margin-top: 40px;
}
.nagi-contact-form input[type=submit] {
    background: var(--nagi-dark);
    color: #fff;
    padding: 18px 64px;
    border: none;
    font-family: var(--nagi-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.22em;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 0;
    min-width: 240px;
}
.nagi-contact-form input[type=submit]:hover {
    opacity: 0.8;
}

/* 必須バッジ */
.nagi-contact-form .required {
    display: inline-block;
    background: var(--nagi-ink);
    color: #fff;
    font-family: var(--nagi-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 2px 8px;
    border-radius: 0;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.4;
}

/* select フィールド */
.nagi-contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--nagi-ink);
    background: #fff;
    font-family: var(--nagi-sans);
    font-size: 15px;
    border-radius: 0;
    color: var(--nagi-text);
}
@media (max-width: 767px) {
    .nagi-contact-methods { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
    .nagi-contact-method { padding: 32px 24px; }
    .nagi-contact-form { padding: 32px 20px; }
}

/* ===========================================
   フォームのスパム対策（本番移行時プラグイン前提で事前仕込み）
   =========================================== */
/* ハニーポット: 人間には不可視。CF7 Apps / CF7 Honeypot の [honeypot] タグ用 */
.wpcf7 [name^="honeypot"],
.wpcf7 .wpcf7-form-control-wrap[class*="honeypot"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Cloudflare Turnstile: ウィジェット周りの余白とセンタリング */
.wpcf7 .cf-turnstile,
.wpcf7 [data-sitekey] {
    display: flex;
    justify-content: center;
    margin: 8px 0 24px;
}

/* ===========================================
   スクロールフェードイン
   (JS無効時もコンテンツが見えるようにopacity:1をベース)
   =========================================== */
.nagi-fade {
    transition: opacity 1s ease, transform 1s ease;
}
html.js-ready .nagi-fade {
    opacity: 0;
    transform: translateY(32px);
}
html.js-ready .nagi-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}
