/*
Theme Name: なごみの森訪問マッサージ
Theme URI: https://houmon.nagomi-mori49.com/
Author: なごみの森訪問マッサージ
Description: なごみの森訪問マッサージ 専用テーマ。シンプルで雰囲気のある和モダンデザイン。
Version: 2.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

:root {
    --green-deep:   #2e5c40;
    --green-mid:    #3d6b4f;
    --green-light:  #5a8a6a;
    --green-pale:   #8fb99a;
    --green-bg:     #eaf2ec;
    --cream:        #f7f3ee;
    --cream-dark:   #ede9e2;
    --gold:         #c8a97e;
    --gold-light:   #dfc09a;
    --text-dark:    #2c2c2c;
    --text-mid:     #555555;
    --text-light:   #888888;
    --white:        #ffffff;
    --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
    --shadow-md:    0 6px 24px rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61,107,79,0.12);
    transition: box-shadow 0.3s ease;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green-mid);
    letter-spacing: 0.06em;
    line-height: 1.3;
}
.site-logo small {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.15em;
    margin-top: 2px;
}

.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
    font-size: 0.83rem; font-weight: 500;
    color: var(--text-mid); letter-spacing: 0.04em;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--green-mid); border-bottom-color: var(--green-mid); }

.nav-cta-btn {
    background: var(--green-mid) !important;
    color: var(--white) !important;
    padding: 9px 22px !important;
    border-radius: 3px !important;
    border-bottom: none !important;
    font-size: 0.8rem !important;
    transition: background 0.2s !important;
}
.nav-cta-btn:hover { background: var(--green-light) !important; border-bottom: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green-mid); transition: all 0.3s; }

#mobile-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: white;
    border-bottom: 2px solid var(--green-bg);
    z-index: 999;
    padding: 8px 28px 20px;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
    display: block; padding: 13px 0;
    font-size: 0.92rem; color: var(--text-dark);
    border-bottom: 1px solid var(--green-bg);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    background:
        linear-gradient(150deg, rgba(20,48,32,0.68) 0%, rgba(46,92,64,0.50) 60%, rgba(61,107,79,0.40) 100%),
        url('./images/hero-bg.jpg') center / cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: white; padding: 100px 28px 80px; position: relative;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,0.45);
    padding: 6px 22px; font-size: 0.75rem; letter-spacing: 0.18em;
    font-weight: 300; margin-bottom: 32px; color: rgba(255,255,255,0.88);
}
.hero-badge::before, .hero-badge::after {
    content: ''; display: block; width: 20px; height: 1px; background: rgba(255,255,255,0.5);
}

.hero-h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 400; line-height: 1.55; letter-spacing: 0.1em; margin-bottom: 24px;
}
.hero-h1 em { font-style: normal; color: var(--gold-light); }

.hero-sub {
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    font-weight: 300; opacity: 0.88; letter-spacing: 0.05em;
    line-height: 2; margin-bottom: 44px;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block; padding: 14px 36px; font-size: 0.88rem;
    letter-spacing: 0.08em; border-radius: 3px; transition: all 0.3s;
    font-weight: 500; cursor: pointer; border: none;
}
.btn-white { background: white; color: var(--green-mid); }
.btn-white:hover { background: var(--cream); }
.btn-outline-white { border: 1px solid rgba(255,255,255,0.7); color: white; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-primary { background: var(--green-mid); color: white; }
.btn-primary:hover { background: var(--green-light); }
.btn-outline-green { border: 1px solid var(--green-mid); color: var(--green-mid); background: transparent; }
.btn-outline-green:hover { background: var(--green-mid); color: white; }

.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.6); font-size: 0.65rem; letter-spacing: 0.2em;
}
.hero-scroll-indicator::after {
    content: ''; display: block; width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* ===== COMMON SECTION ===== */
.section { padding: 88px 28px; }
.section-inner { max-width: 1020px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 60px; }
.sec-en {
    display: block; font-size: 0.7rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--green-pale);
    margin-bottom: 10px; font-weight: 400;
}
.sec-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 400; color: var(--green-mid);
    letter-spacing: 0.1em; margin-bottom: 18px;
}
.sec-bar { width: 36px; height: 2px; background: var(--gold); margin: 0 auto 20px; }
.sec-desc { font-size: 0.92rem; color: var(--text-mid); line-height: 2; }

/* ===== ANNOUNCE ===== */
.announce-bar {
    background: var(--green-deep); color: rgba(255,255,255,0.85);
    text-align: center; padding: 10px 28px;
    font-size: 0.78rem; letter-spacing: 0.05em;
}

/* ===== MESSAGE ===== */
#message { background: var(--cream); }
.message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.message-text .catch {
    font-family: 'Noto Serif JP', serif; font-size: 1.35rem;
    font-weight: 400; color: var(--green-mid); line-height: 1.7; margin-bottom: 24px;
}
.quote-block {
    border-left: 3px solid var(--gold); padding-left: 20px;
    font-family: 'Noto Serif JP', serif; font-size: 1.05rem;
    color: var(--green-deep); margin: 28px 0; line-height: 1.9;
}
.message-text p { font-size: 0.93rem; color: var(--text-mid); line-height: 2.1; margin-bottom: 14px; }
.message-img-wrap { position: relative; }
.message-img-wrap img { width: 100%; height: 440px; object-fit: cover; border-radius: 3px; position: relative; z-index: 1; }
.message-img-wrap::before {
    content: ''; position: absolute;
    inset: -12px 12px 12px -12px;
    border: 2px solid var(--green-pale); border-radius: 3px; z-index: 0;
}

/* ===== FEATURES ===== */
#features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-card {
    padding: 36px 28px; border: 1px solid var(--green-bg); border-radius: 4px; text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-pale); }
.feat-num { display: block; font-size: 0.65rem; letter-spacing: 0.22em; color: var(--green-pale); margin-bottom: 14px; }
.feat-icon { font-size: 2.2rem; display: block; margin-bottom: 16px; }
.feat-title { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 600; color: var(--green-mid); margin-bottom: 12px; line-height: 1.6; }
.feat-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.95; }

/* ===== SERVICE ===== */
#service { background: var(--green-bg); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
    background: var(--white); padding: 26px 28px; border-radius: 4px;
    display: flex; gap: 18px; align-items: flex-start;
    border-left: 3px solid var(--green-mid); transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-sm); }
.service-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: 2px; }
.service-card h3 { font-family: 'Noto Serif JP', serif; font-size: 0.97rem; font-weight: 600; color: var(--green-mid); margin-bottom: 7px; }
.service-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.9; }

/* ===== FLOW ===== */
#flow { background: var(--white); }
.flow-list { max-width: 680px; margin: 0 auto; }
.flow-item { display: flex; gap: 24px; position: relative; }
.flow-item:not(:last-child)::before {
    content: ''; position: absolute;
    left: 19px; top: 44px; bottom: -16px;
    width: 2px; background: var(--green-bg);
}
.flow-num {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--green-mid); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 500; flex-shrink: 0; margin-top: 4px;
}
.flow-body { padding-bottom: 44px; }
.flow-body h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 600; color: var(--green-mid); margin-bottom: 8px; }
.flow-body p { font-size: 0.87rem; color: var(--text-mid); line-height: 2; }

/* ===== INFO ===== */
#info { background: var(--cream); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--cream-dark); }
.info-table tr:first-child { border-top: 1px solid var(--cream-dark); }
.info-table th { padding: 15px 0; font-size: 0.84rem; font-weight: 500; color: var(--green-mid); text-align: left; width: 36%; vertical-align: top; }
.info-table td { padding: 15px 0; font-size: 0.84rem; color: var(--text-mid); line-height: 1.85; }
.info-note { margin-top: 18px; font-size: 0.8rem; color: var(--text-light); line-height: 1.9; padding: 14px 18px; background: white; border-radius: 4px; border-left: 3px solid var(--gold); }
.info-area-block { background: white; border-radius: 4px; padding: 32px; }
.info-area-block h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 600; color: var(--green-mid); margin-bottom: 16px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag { background: var(--green-bg); color: var(--green-mid); font-size: 0.8rem; padding: 5px 14px; border-radius: 2px; }

/* ===== PROFILE ===== */
#profile { background: var(--white); }
.profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.profile-img-box { position: relative; }
.profile-img-box img { width: 100%; border-radius: 4px; display: block; }
.profile-img-placeholder {
    width: 100%; aspect-ratio: 3/4;
    background: var(--green-bg); border-radius: 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; color: var(--text-light); font-size: 0.82rem; text-align: center;
}
.profile-img-placeholder::before { content: '👤'; font-size: 2.5rem; }
.profile-img-box::after {
    content: ''; position: absolute;
    inset: 12px -12px -12px 12px;
    border: 2px solid var(--green-bg); border-radius: 4px; z-index: -1;
}
.profile-name { font-family: 'Noto Serif JP', serif; font-size: 1.6rem; font-weight: 400; color: var(--green-mid); letter-spacing: 0.08em; margin-bottom: 4px; }
.profile-role { font-size: 0.83rem; color: var(--text-light); letter-spacing: 0.05em; margin-bottom: 22px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.profile-tag { background: var(--green-bg); color: var(--green-mid); font-size: 0.78rem; padding: 5px 13px; border-radius: 2px; }
.profile-text { font-size: 0.91rem; color: var(--text-mid); line-height: 2.1; margin-bottom: 14px; }

/* ===== VOICE ===== */
#voice { background: var(--green-bg); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card { background: white; padding: 28px 26px; border-radius: 4px; position: relative; }
.voice-quote-mark { font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; color: var(--green-pale); position: absolute; top: 10px; left: 18px; opacity: 0.7; }
.voice-text { font-size: 0.87rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 16px; margin-top: 20px; }
.voice-from { font-size: 0.78rem; color: var(--text-light); text-align: right; padding-top: 12px; border-top: 1px solid var(--cream-dark); }

/* ===== CONTACT ===== */
#contact { background: var(--green-deep); color: white; }
#contact .sec-title { color: white; }
#contact .sec-en { color: rgba(255,255,255,0.4); }
#contact .sec-bar { background: var(--gold); }
#contact .sec-desc { color: rgba(255,255,255,0.78); }
.contact-boxes { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.contact-box {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
    padding: 32px 44px; border-radius: 4px; text-align: center; min-width: 210px;
    transition: background 0.3s; color: white;
}
.contact-box:hover { background: rgba(255,255,255,0.15); }
.contact-box-line { border-color: rgba(6,199,85,0.5); }
.contact-box-line:hover { background: rgba(6,199,85,0.15); }
.line-qr-img {
    width: 100px; height: 100px;
    border-radius: 6px;
    margin: 0 auto 2px;
    display: block;
    background: white;
}
.contact-box-icon { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.contact-box-label { font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.6; display: block; margin-bottom: 8px; }
.contact-box-value { font-size: 1.15rem; font-weight: 500; letter-spacing: 0.05em; }
.contact-hours { text-align: center; margin-top: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }

/* Contact Form 7 Style Override */
.contact-form-wrap {
    max-width: 580px; margin: 44px auto 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px; padding: 36px 40px;
}
.contact-form-wrap h3 {
    font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 400;
    text-align: center; margin-bottom: 24px; color: rgba(255,255,255,0.85); letter-spacing: 0.08em;
}
.wpcf7-form p { margin-bottom: 14px; }
.wpcf7-form label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: 5px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 3px;
    padding: 10px 14px; color: white;
    font-family: 'Noto Sans JP', sans-serif; font-size: 0.88rem;
    outline: none; transition: border-color 0.2s;
}
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--green-pale); }
.wpcf7-form select option { background: var(--green-deep); }
.wpcf7-form textarea { min-height: 110px; resize: vertical; }
.wpcf7-form input[type="submit"] {
    width: 100%; padding: 13px; background: var(--gold); color: white;
    border: none; border-radius: 3px; font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; cursor: pointer; transition: background 0.3s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-light); }
.wpcf7-not-valid-tip { font-size: 0.78rem; color: #ffa07a; margin-top: 4px; }
.wpcf7-response-output { font-size: 0.82rem; padding: 10px 14px; border-radius: 3px; margin-top: 14px; border: 1px solid rgba(255,255,255,0.2); }

/* ===== FOOTER ===== */
#site-footer { background: #1a2e22; color: rgba(255,255,255,0.4); padding: 44px 28px; text-align: center; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,0.75); margin-bottom: 6px; letter-spacing: 0.08em; }
.footer-sub { font-size: 0.76rem; margin-bottom: 24px; letter-spacing: 0.08em; }
.footer-links { display: flex; justify-content: center; gap: 24px; list-style: none; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-copy { font-size: 0.73rem; }

/* ===== PAGE TOP ===== */
#page-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px; background: var(--green-mid);
    color: white; border-radius: 50%; display: none;
    align-items: center; justify-content: center;
    font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-md);
    z-index: 500; transition: background 0.2s; border: none;
}
#page-top:hover { background: var(--green-light); }
#page-top.visible { display: flex; }

/* ===== UTILITY ===== */
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .voice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .message-grid, .info-grid, .profile-grid { grid-template-columns: 1fr; gap: 36px; }
    .message-img-wrap::before { display: none; }
    .profile-img-box::after { display: none; }
    .features-grid, .service-grid, .voice-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 20px; }
    .contact-form-wrap { padding: 28px 22px; }
}
