/*!
Theme Name: Ujamaa Farm
Theme URI: https://yamanaka.tech/ujamaa-farm/
Author: SoramameWorks
Description: ウジャマー農場（大分県豊後大野市緒方町）の公式サイト用 WordPress テーマ。SANCTUARY テンプレートをベースとした日本語有機農業サイト向け。
Version: 0.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: ujamaa-farm
*/

/* ============================================================================
 * Variables / Reset
 * ========================================================================= */
:root {
    --text: #2c2c2c;
    --bg: #f9f8f6;
    --gold: #bfa37e;
    --green: #6b8e4e;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Shippori Mincho', 'Cinzel', serif;
    overflow-x: hidden;
}

/* ============================================================================
 * Header
 * ========================================================================= */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 1.5rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    color: #fff; mix-blend-mode: difference;
}
.logo-link { display: inline-block; line-height: 0; }
.logo-img { height: 38px; width: auto; display: block; }

/* ============================================================================
 * Hero (TOP slider)
 * ========================================================================= */
.hero {
    height: 100vh; position: relative; overflow: hidden; background: #111;
}
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.1);
    transition: transform 6s linear, opacity 2s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.18);
}
.hero-txt {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; color: #fff; z-index: 10; width: 100%;
}
.h-title {
    font-size: 4rem; margin: 0; letter-spacing: 0.18em; font-weight: 400;
    text-shadow: 0 0 24px rgba(0,0,0,0.4); line-height: 1.2;
    font-family: 'Cinzel', serif;
}
.h-sub {
    font-size: 1rem; margin-top: 1.8rem; letter-spacing: 0.4em; display: block;
    font-family: 'Shippori Mincho', serif;
    text-shadow: 0 0 16px rgba(0,0,0,0.5);
}

/* ============================================================================
 * Concept + cards (About / Products) — TOP body
 * ========================================================================= */
.content {
    max-width: 1000px; margin: 0 auto;
    padding: 10rem 2rem 5rem; text-align: center;
}
.lead-p {
    font-size: 1.25rem; line-height: 2.5; margin-bottom: 5rem; color: #555;
}
.lead-p + .lead-p { margin-top: -3rem; }

.section-heading {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem; letter-spacing: 0.25em; font-weight: 400;
    margin: 6rem 0 1rem; color: #111;
}
.section-heading-sub {
    font-size: 0.9rem; letter-spacing: 0.4em; color: #888;
    margin-bottom: 4rem; font-family: 'Cinzel', serif;
}

.room-sec { padding: 2rem 0; }
.room-item { margin-bottom: 8rem; position: relative; width: 100%; }

.r-img-wrap {
    width: 100%; height: 70vh; overflow: hidden; position: relative;
}
.r-img {
    width: 100%; height: 120%;
    object-fit: cover; display: block;
    position: absolute; top: -10%; left: 0;
    will-change: transform; transform: translate3d(0, 0, 0) scale(1.1);
    backface-visibility: hidden; /* iOS Safari の合成レイヤー強制 */
}
/* PC は短い transition で「ふわっと追従」する見栄えを出す（スマホは transition 無しで負荷を下げる）*/
@media (min-width: 769px) {
    .r-img {
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

.r-info {
    background: #fff; padding: 3rem; max-width: 500px; margin: 0 auto;
    position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center; margin-top: -5rem; z-index: 2;
}
.r-name {
    font-family: 'Cinzel', serif; font-size: 2rem; margin: 0 0 0.5rem;
    color: #111; letter-spacing: 0.1em;
}
.r-name-jp {
    font-size: 0.9rem; color: #888; letter-spacing: 0.3em;
    margin-bottom: 0.8rem; display: block;
}

/* テキスト + 下線型ボタン（VIEW DETAIL / VIEW ALL / BACK TO HOME 共通） */
.btn,
.back-link,
.news-more-btn {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    margin-top: 1.5rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.18em;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    border-bottom: none;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}
.btn::before,
.btn::after,
.back-link::before,
.back-link::after,
.news-more-btn::before,
.news-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn::before,
.back-link::before,
.news-more-btn::before {
    background: var(--text);
    transform-origin: right center;
    transform: scaleX(1);
}
.btn::after,
.back-link::after,
.news-more-btn::after {
    background: var(--gold);
    transform-origin: left center;
    transform: scaleX(0);
}
.btn:hover,
.back-link:hover,
.news-more-btn:hover {
    color: var(--gold);
    letter-spacing: 0.24em;
    opacity: 1;
}
.btn:hover::before,
.back-link:hover::before,
.news-more-btn:hover::before {
    transform: scaleX(0);
}
.btn:hover::after,
.back-link:hover::after,
.news-more-btn:hover::after {
    transform: scaleX(1);
}

/* ============================================================================
 * Modal (used by About card)
 * ========================================================================= */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
    background: #fff; width: 90%; max-width: 800px; max-height: 90vh;
    display: flex; flex-direction: column; overflow: hidden; position: relative;
    transform: translateY(20px); transition: transform 0.4s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-body { padding: 3rem; overflow-y: auto; text-align: center; }
.modal-title { font-family: 'Cinzel', serif; font-size: 2rem; margin: 0 0 1.5rem; }
.modal-desc {
    line-height: 2; color: #555; font-size: 1rem;
    text-align: left; white-space: pre-line;
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    color: #fff; background: rgba(0,0,0,0.5);
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; font-family: sans-serif; font-size: 1.2rem;
    transition: 0.3s; z-index: 10;
}
.modal-close:hover { background: #000; }

/* ============================================================================
 * NEWS section (TOP excerpt)
 * ========================================================================= */
.news-sec {
    padding: 6rem 2rem 5rem; background: var(--bg);
    border-top: 1px solid #ece9e1;
}
.news-inner { max-width: 800px; margin: 0 auto; }
.news-heading {
    font-family: 'Cinzel', serif; font-size: 2.4rem; letter-spacing: 0.25em;
    text-align: center; margin: 0 0 0.5rem; color: #111; font-weight: 400;
}
.news-heading-sub {
    text-align: center; color: #888; font-size: 0.85rem;
    letter-spacing: 0.4em; margin: 0 0 3rem;
    font-family: 'Cinzel', serif;
}
.news-top-list {
    list-style: none; padding: 0; margin: 0 0 2.5rem;
    font-family: 'Noto Sans JP', sans-serif;
}
.news-top-item {
    display: flex; align-items: flex-start; gap: 2rem;
    padding: 1.4rem 0; border-bottom: 1px solid #e0ddd3;
}
.news-top-item:first-child { border-top: 1px solid #e0ddd3; }
.news-top-date {
    font-family: 'Cinzel', serif; color: var(--gold);
    font-size: 0.85rem; letter-spacing: 0.1em;
    flex-shrink: 0; width: 100px; padding-top: 0.2rem;
}
.news-top-body { flex: 1; }
.news-top-cat {
    display: inline-block;
    font-size: 0.7rem; padding: 2px 10px; background: #eaeaea; color: #555;
    letter-spacing: 0.1em; margin-right: 1rem; vertical-align: middle;
}
.news-top-title {
    font-size: 0.95rem; line-height: 1.7; color: #333;
    text-decoration: none; transition: color 0.2s ease;
}
.news-top-title:hover { color: var(--gold); }
.news-more { text-align: center; }
/* .news-more-btn のスタイル + hover は冒頭の `.btn, .back-link, .news-more-btn` 共通定義を使用 */

/* ============================================================================
 * CONTACT section (TOP)
 * ========================================================================= */
.contact-sec { padding: 6rem 2rem; background: #f4f2ee; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-heading {
    font-family: 'Cinzel', serif; font-size: 2.4rem; letter-spacing: 0.25em;
    text-align: center; margin: 0 0 0.5rem; color: #111; font-weight: 400;
}
.contact-lead {
    text-align: center; color: #666; font-size: 0.95rem;
    margin: 0 0 3rem; letter-spacing: 0.1em;
}
.contact-form { font-family: 'Noto Sans JP', sans-serif; }

.form-row { margin-bottom: 1.5rem; }
.form-row label {
    display: block; font-size: 0.85rem; color: #444; margin-bottom: 0.5rem;
    letter-spacing: 0.05em; font-weight: 500;
}
.required {
    display: inline-block; background: #c0392b; color: #fff;
    font-size: 0.65rem; padding: 2px 8px; margin-left: 0.5rem;
    border-radius: 2px; vertical-align: middle; letter-spacing: 0.05em;
}
.optional {
    display: inline-block; background: #999; color: #fff;
    font-size: 0.65rem; padding: 2px 8px; margin-left: 0.5rem;
    border-radius: 2px; vertical-align: middle; letter-spacing: 0.05em;
}
.form-section-note {
    font-size: 0.8rem; color: #888; margin: 1.5rem 0 1rem;
    padding: 0.7rem 1rem; background: #efece5;
    border-left: 2px solid #d4cfc4; line-height: 1.6;
}
.form-row input,
.form-row textarea {
    width: 100%; padding: 0.9rem 1rem; border: 1px solid #d4cfc4;
    background: #fff; font-size: 0.95rem; color: #2c2c2c;
    font-family: 'Noto Sans JP', sans-serif; border-radius: 0;
    transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row-half { display: flex; gap: 1rem; }
.form-row-half > div { flex: 1; }

.submit-btn {
    display: block; margin: 2.5rem auto 0; min-width: 240px;
    background: #111; color: #fff; padding: 1.1rem 3rem;
    font-size: 0.9rem; letter-spacing: 0.25em;
    border: none; cursor: pointer; transition: 0.3s;
    font-family: 'Cinzel', serif;
}
.submit-btn:hover { background: #333; }

.form-note {
    text-align: center; font-size: 0.8rem; color: #888;
    margin-top: 1.5rem; line-height: 1.7;
}
.form-consent {
    text-align: center; margin: 2.5rem 0 0;
    font-family: 'Noto Sans JP', sans-serif;
}
.consent-label {
    display: inline-flex; align-items: center; gap: 0.7rem;
    cursor: pointer; font-size: 0.95rem; color: #333;
    user-select: none;
}
.consent-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--gold);
    cursor: pointer; margin: 0; flex-shrink: 0;
}
.consent-link {
    color: var(--text); text-decoration: underline;
    transition: color 0.2s ease;
}
.consent-link:hover { color: var(--gold); }

/* ----- Contact Form 7 ラッパー調整 ----- */
.contact-sec .wpcf7 form { font-family: 'Noto Sans JP', sans-serif; }
.contact-sec .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-sec .form-row > p { margin: 0; }
.contact-sec .form-row label + br { display: none; }
.contact-sec .form-section-note br { display: none; }
.contact-sec .form-row input,
.contact-sec .form-row textarea {
    width: 100%;
}
.contact-sec .form-consent .wpcf7-acceptance,
.contact-sec .form-consent .wpcf7-list-item {
    margin: 0; display: inline-block;
}
.contact-sec .form-consent .wpcf7-list-item label {
    display: inline-flex; align-items: center; gap: 0.7rem;
    cursor: pointer; font-size: 0.95rem; color: #333; user-select: none;
}
.contact-sec .form-consent .wpcf7-list-item input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--gold);
    cursor: pointer; margin: 0; flex-shrink: 0;
}
.contact-sec .form-consent .wpcf7-list-item-label { display: inline; }
.contact-sec .submit-btn,
.contact-sec input.wpcf7-submit {
    display: block; margin: 2.5rem auto 0; min-width: 240px;
    background: #111; color: #fff; padding: 1.1rem 3rem;
    font-size: 0.9rem; letter-spacing: 0.25em;
    border: none; cursor: pointer; transition: 0.3s;
    font-family: 'Cinzel', serif;
}
.contact-sec input.wpcf7-submit:hover { background: #333; }
.contact-sec .wpcf7-not-valid-tip {
    color: #c0392b; font-size: 0.8rem; margin-top: 0.4rem; display: block;
}
.contact-sec .wpcf7-response-output {
    margin: 2rem 0 0; padding: 1rem; border: 1px solid #d4cfc4;
    text-align: center; font-size: 0.9rem;
}

/* ============================================================================
 * FARM INFO
 * ========================================================================= */
.business-overview {
    background: #1a1a1a; color: #fff; padding: 5rem 2rem; text-align: center;
    letter-spacing: 0.1em;
}
.bo-title {
    font-family: 'Cinzel', serif; font-size: 1.5rem;
    color: var(--gold); margin-bottom: 2rem; letter-spacing: 0.3em;
}
.bo-info p { margin: 0.6rem 0; font-size: 0.9rem; color: #ccc; }
.bo-name {
    font-size: 1.1rem !important; color: #fff !important;
    letter-spacing: 0.25em; margin-bottom: 1.4rem !important;
}
/* FARM INFO の SNS アイコン群 */
.bo-sns {
    margin-top: 2rem;
    display: flex; justify-content: center; gap: 1.6rem;
}
.bo-sns a {
    color: var(--gold);
    display: inline-flex;
    transition: color 0.3s ease, transform 0.3s ease;
}
.bo-sns a:hover {
    color: #fff;
    transform: translateY(-2px);
}
.bo-sns svg { display: block; }

/* FARM INFO の TEL 等を本文と同じ見た目に
   （iOS Safari の自動 tel: リンク化で青く表示される問題対策）*/
.business-overview a,
.business-overview a[href^="tel:"],
.business-overview a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    -webkit-text-decoration-color: inherit !important;
    border-bottom: none !important;
}
.business-overview a:hover {
    color: var(--gold) !important;
    transition: color 0.3s ease;
}

/* ============================================================================
 * Bottom fixed CONTACT bar / Footer copyright
 * ========================================================================= */
.book-bar {
    position: fixed; bottom: 0; width: 100%;
    background: #fff; border-top: 1px solid #eee;
    padding: 1.2rem 1.5rem; text-align: center; z-index: 50;
    display: flex; justify-content: center; gap: 2rem; align-items: center;
    font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.18em;
}
.book-btn {
    background: #111; color: #fff; padding: 0.9rem 2.8rem;
    text-decoration: none; letter-spacing: 0.25em; transition: 0.3s;
}
.book-btn:hover { background: #333; }

.footer-copy {
    background: #1a1a1a; color: #888; padding: 1.5rem 2rem;
    text-align: center; font-size: 0.75rem; letter-spacing: 0.1em;
    font-family: 'Cinzel', serif;
}

/* ============================================================================
 * Sub-pages: shared page-hero (privacy / news / 404 / etc.)
 * ========================================================================= */
.page-hero {
    min-height: 40vh; padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #fff; text-align: center;
    display: flex; flex-direction: column; justify-content: center;
}
.page-title {
    font-family: 'Cinzel', serif; font-size: 3rem; letter-spacing: 0.2em;
    font-weight: 400; margin: 0 0 0.5rem;
}
.page-title-jp {
    font-size: 0.9rem; letter-spacing: 0.4em; color: var(--gold);
}

/* Doc page (privacy etc.) */
.doc-wrap {
    max-width: 800px; margin: 0 auto; padding: 5rem 2rem 6rem;
    font-family: 'Noto Sans JP', 'Shippori Mincho', sans-serif;
}
.doc-wrap p {
    line-height: 2; color: #444; margin: 0 0 1.5rem; font-size: 0.95rem;
}
.doc-wrap h3 {
    font-size: 1.05rem; color: #111; margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid #ddd; letter-spacing: 0.05em;
}

/* .back-link のスタイル + hover は冒頭の `.btn, .back-link, .news-more-btn` 共通定義を使用 */

/* News full list */
.news-wrap {
    max-width: 800px; margin: 0 auto; padding: 5rem 2rem 6rem;
    font-family: 'Noto Sans JP', 'Shippori Mincho', sans-serif;
}
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
    display: flex; align-items: flex-start; padding: 1.8rem 0;
    border-bottom: 1px solid #ddd; gap: 2rem;
}
.news-date {
    font-family: 'Cinzel', serif; color: var(--gold);
    font-size: 0.85rem; letter-spacing: 0.1em;
    flex-shrink: 0; width: 110px; padding-top: 0.2rem;
}
.news-cat {
    display: inline-block; font-size: 0.7rem; padding: 2px 10px;
    background: #eaeaea; color: #555; letter-spacing: 0.1em;
    margin-right: 1rem; vertical-align: middle;
}
.news-title {
    font-size: 0.95rem; line-height: 1.7; color: #333;
    text-decoration: none; flex: 1;
}
.news-title a { color: inherit; text-decoration: none; transition: 0.2s; }
.news-title a:hover { color: var(--gold); }
.news-empty { text-align: center; color: #999; padding: 4rem 0; font-size: 0.95rem; }

/* Pagination ( the_posts_pagination ) */
.pagination {
    margin-top: 3rem; margin-bottom: 1rem;
}
.pagination .nav-links {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap; gap: 0.4rem;
}
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 0.7rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem; letter-spacing: 0.08em;
    color: #555; text-decoration: none;
    border: 1px solid #d8d2c5; background: #fff;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.pagination .page-numbers:hover {
    color: #fff; background: var(--gold); border-color: var(--gold);
}
.pagination .page-numbers.current {
    color: #fff; background: var(--gold); border-color: var(--gold);
    cursor: default;
}
.pagination .page-numbers.dots {
    border-color: transparent; background: transparent;
    color: #999; cursor: default;
}
.pagination .page-numbers.dots:hover {
    color: #999; background: transparent; border-color: transparent;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-size: 1rem; letter-spacing: 0;
}
.pagination .screen-reader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Product detail */
.product-wrap {
    max-width: 900px; margin: 0 auto; padding: 5rem 2rem 6rem;
}
.product-image {
    width: 100%; max-width: 640px; margin: 0 auto 3rem; display: block;
}
.product-image img { width: 100%; height: auto; display: block; }
.product-section {
    margin-bottom: 3rem; padding-bottom: 2rem;
    border-bottom: 1px solid #e0ddd3;
}
.product-section:last-of-type { border-bottom: none; }
.product-section h3 {
    font-family: 'Cinzel', serif; font-size: 1.05rem;
    letter-spacing: 0.2em; margin: 0 0 1rem; color: var(--gold);
}
.product-section .jp-label {
    font-size: 0.85rem; letter-spacing: 0.15em; color: #999;
    margin-left: 0.8rem;
}
.product-section p,
.product-section li {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2; color: #444; font-size: 0.95rem; margin: 0.4rem 0;
}
.product-section ul { padding: 0; margin: 0.5rem 0; list-style: none; }
.product-section ul li {
    padding: 0.6rem 0; border-bottom: 1px dashed #e0ddd3;
    display: flex; gap: 1.5rem;
}
.product-section ul li:last-child { border-bottom: none; }
.product-section ul li strong {
    min-width: 110px; color: #666; font-weight: 500;
    letter-spacing: 0.05em;
}
.placeholder-note {
    background: #f4f2ee; padding: 1rem 1.5rem;
    border-left: 3px solid var(--gold);
    font-size: 0.85rem; color: #666; margin: 2rem 0; line-height: 1.7;
}

/* ----- INQUIRY (商品詳細：ご購入・お問い合わせ) ----- */
.inquiry-sec {
    margin-top: 4rem; padding: 3rem 2rem;
    background: #f4f2ee;
    text-align: center;
}
.inquiry-heading {
    font-family: 'Cinzel', serif; font-size: 1.4rem;
    letter-spacing: 0.2em; color: var(--gold);
    margin: 0 0 0.8rem;
}
.inquiry-heading .jp-label {
    font-size: 0.85rem; letter-spacing: 0.15em;
    color: #999; margin-left: 0.6rem;
    font-family: 'Shippori Mincho', serif;
}
.inquiry-lead {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem; color: #444; line-height: 1.9;
    margin: 0 0 2.5rem;
}
.inquiry-actions {
    display: flex; gap: 1.2rem; justify-content: center;
    flex-wrap: wrap; max-width: 720px; margin: 0 auto;
}
.inquiry-btn {
    flex: 1 1 280px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1.6rem 1.5rem; min-height: 120px;
    background: #fff; color: var(--text);
    border: 1px solid #d4cfc4;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    font-family: 'Cinzel', serif;
}
.inquiry-btn:hover {
    background: #111; color: #fff; border-color: #111;
    transform: translateY(-2px);
}
.inquiry-btn-en {
    font-size: 1rem; letter-spacing: 0.25em; font-weight: 400;
}
.inquiry-btn-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem; letter-spacing: 0.05em;
    margin-top: 0.6rem;
}
.inquiry-btn-note {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem; color: #888;
    margin-top: 0.6rem; letter-spacing: 0.05em;
}
.inquiry-btn:hover .inquiry-btn-note {
    color: #ddd;
}
.inquiry-btn-tel .inquiry-btn-jp {
    font-family: 'Cinzel', serif; font-size: 1.4rem;
    letter-spacing: 0.1em; margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .inquiry-sec { padding: 2.5rem 1.2rem; margin-top: 3rem; }
    .inquiry-heading { font-size: 1.2rem; }
    .inquiry-heading .jp-label { display: block; margin: 0.3rem 0 0; }
    .inquiry-actions { gap: 0.8rem; }
    .inquiry-btn { flex: 1 1 100%; min-height: 100px; padding: 1.2rem; }
    .inquiry-btn-tel .inquiry-btn-jp { font-size: 1.2rem; }
}

/* 404 */
.err-wrap {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; padding: 8rem 2rem 4rem;
}
.err-code {
    font-family: 'Cinzel', serif; font-size: 8rem; font-weight: 400;
    letter-spacing: 0.1em; color: var(--gold); margin: 0; line-height: 1;
}
.err-title {
    font-family: 'Cinzel', serif; font-size: 1.5rem;
    letter-spacing: 0.3em; margin: 1.5rem 0 0.5rem;
}
.err-jp {
    font-size: 0.95rem; color: #666; letter-spacing: 0.1em;
    margin-bottom: 3rem; line-height: 2;
}

/* ============================================================================
 * Responsive
 * ========================================================================= */
@media (max-width: 768px) {
    .site-header { padding: 1rem 1.2rem; }
    .logo-img { height: 30px; }
    .h-title { font-size: 2.4rem; letter-spacing: 0.12em; }
    .h-sub { font-size: 0.7rem; margin-top: 1.2rem; letter-spacing: 0.3em; }
    .content { padding: 6rem 1.2rem 3rem; }
    .lead-p { font-size: 1rem; line-height: 2.2; margin-bottom: 3rem; }
    .section-heading { font-size: 1.8rem; margin: 4rem 0 0.5rem; }
    .r-img-wrap { height: 50vh; }
    .r-info { width: 88%; padding: 2rem; margin-top: -3rem; }
    .room-item { margin-bottom: 5rem; }
    .business-overview { padding: 3rem 1.2rem; }
    .news-sec { padding: 4rem 1.2rem 3rem; }
    .news-heading { font-size: 1.8rem; }
    .news-top-item { flex-direction: column; gap: 0.4rem; padding: 1.2rem 0; }
    .news-top-date { width: auto; }
    .contact-sec { padding: 4rem 1.2rem; }
    .contact-heading { font-size: 1.8rem; }
    .form-row-half { flex-direction: column; gap: 0; }
    .book-bar { flex-direction: column; gap: 0.8rem; padding: 0.9rem 1rem; font-size: 0.7rem; }
    .book-btn { padding: 0.8rem 2rem; }
    .modal-body { padding: 2rem; }

    .page-hero { padding: 7rem 1.2rem 3rem; min-height: 30vh; }
    .page-title { font-size: 1.8rem; }
    .doc-wrap, .news-wrap { padding: 3rem 1.2rem 5rem; }
    .news-item { flex-direction: column; gap: 0.4rem; padding: 1.4rem 0; }
    .news-date { width: auto; }
    .pagination .page-numbers { min-width: 34px; height: 34px; padding: 0 0.5rem; font-size: 0.8rem; }
    .pagination .nav-links { gap: 0.3rem; }

    .product-wrap { padding: 3rem 1.2rem 5rem; }
    .product-section ul li { flex-direction: column; gap: 0.2rem; }
    .product-section ul li strong { min-width: auto; font-size: 0.85rem; }

    .err-code { font-size: 5rem; }
    .err-title { font-size: 1.1rem; letter-spacing: 0.2em; }
    .err-jp { font-size: 0.85rem; padding: 0 1rem; }
}
