/* === 共通設定 === */
:root {
    --text-color: #333333;
    --bg-color: #faf9f7; /* 真っ白ではなく、温かみのあるオフホワイト */
    --accent-color: #636b5d; /* 自然を感じさせるくすんだグリーン */
}
body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 2;
    letter-spacing: 0.08em; /* 文字間隔を広げてゆったり見せる */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* === イントロロゴ === */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #020610;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 1s ease;
}
#intro-overlay.intro-hide {
    opacity: 0;
    pointer-events: none;
}
.intro-logo img {
    width: 240px;
    max-width: 70vw;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
    animation: introFade 1.8s ease-out forwards;
}
.site-wrapper {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.site-wrapper.site-visible {
    opacity: 1;
}
@keyframes introFade {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    40% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* === ヘッダー === */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
    background: rgba(250, 249, 247, 0.9); /* 少し透けさせる */
    z-index: 1000;
    transition: all 0.3s ease;
}
.logo {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
}
.logo img {
    height: 40px;
    width: auto;
    display: block;
}
nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
nav a { font-size: 14px; transition: color 0.3s; }
nav a:hover { color: var(--accent-color); }

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1002;
    position: relative;
    transition: opacity 0.3s;
}
.nav-toggle:hover { opacity: 0.8; }
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
header.menu-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
header.menu-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
header.menu-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
header.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* === ヒーローエリア（トップの大きな画像） === */
.hero {
    height: 100vh;
    background: url('images/main.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero::after {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3); /* 文字を読みやすくするための黒いフィルター */
}
.hero-copy {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
}
.hero-copy h1 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.65),
        0 0 2px rgba(0, 0, 0, 0.8);
}
.hero-copy p {
    font-size: 16px;
    font-family: sans-serif;
    letter-spacing: 0.2em;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 2px rgba(0, 0, 0, 0.7);
}

/* === セクション共通 === */
section { padding: 120px 20px; max-width: 1000px; margin: 0 auto; }
.sec-title { text-align: center; margin-bottom: 80px; }
.sec-title h1,
.sec-title h2 { font-size: 32px; font-weight: 300; margin: 0 0 10px 0; }
.sec-title span { font-size: 12px; color: #999; font-family: sans-serif; letter-spacing: 0.2em; text-transform: uppercase; }

/* === コンセプトエリア === */
.concept-wrap { display: flex; gap: 80px; align-items: center; }
.concept-text { flex: 1; }
.concept-text h3 { font-size: 28px; font-weight: 400; margin-bottom: 30px; }
.concept-image {
    flex: 1;
    overflow: hidden;
}
.concept-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(10%);
}

/* コンセプト（新構成：リード＋3ブロック） */
#concept .sec-title { margin-bottom: 48px; }
#concept .sec-title h2 { font-size: 28px; font-weight: 400; letter-spacing: 0.06em; }
#concept .concept-teaser {
    text-align: center;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.05em;
    color: #444;
    max-width: 560px;
    margin: 0 auto 32px;
}
#concept .concept-teaser strong { color: var(--accent-color); }
#concept .concept-cta { text-align: center; margin: 0; }
#concept .concept-lead {
    font-size: 17px;
    line-height: 2.2;
    letter-spacing: 0.06em;
    color: #444;
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: left;
}
#concept .concept-row {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 56px;
    padding: 32px 32px;
    border-radius: 12px;
    background: rgba(245, 242, 236, 0.85);
    border: 1px solid #e5e1d8;
}
#concept .concept-row:last-child { margin-bottom: 0; }
#concept .concept-row:nth-child(odd) { background: rgba(245, 242, 236, 0.95); }
#concept .concept-row--reverse { flex-direction: row-reverse; }
#concept .concept-row--hero {
    background: none;
    border: none;
    padding: 0 8px 40px;
}
#concept .concept-row--hero .concept-row-image img {
    max-height: 360px;
    border-radius: 12px;
}
#concept .concept-row-image {
    flex: 1;
}
#concept .concept-row-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
}
#concept .concept-row-text {
    flex: 1.1;
}

#concept .concept-blocks { max-width: 920px; margin: 0 auto; }
#concept .concept-block {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
#concept .concept-block .sec-title { margin-bottom: 16px; text-align: left; }
#concept .concept-block .sec-title span { display: none; }
#concept .concept-block-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    line-height: 1.7;
}
#concept .concept-block-text {
    font-size: 15px;
    line-height: 2.1;
    letter-spacing: 0.05em;
    color: #444;
    margin: 0;
}
@media (max-width: 768px) {
    #concept .concept-lead { font-size: 15px; margin-bottom: 24px; }
    #concept .concept-row,
    #concept .concept-row--reverse {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }
    #concept .concept-row-image img { max-height: none; }
    #concept .concept-block-label { font-size: 1rem; }
    #concept .concept-block-text { font-size: 14px; }
}

/* === 料金プラン（Pricing） === */
#pricing { background-color: #f0eee9; max-width: 1100px; }
.pricing-zero {
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}
.pricing-zero strong { color: var(--accent-color); font-weight: 500; }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.pricing-card {
    background: var(--bg-color);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    border: 1px solid #e5e3df;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #d0cec9;
}
.pricing-card-recommended { border-color: var(--accent-color); border-width: 2px; }
.pricing-card-recommended:hover { border-color: var(--accent-color); }
.pricing-card-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 11px;
    font-family: sans-serif;
    letter-spacing: 0.15em;
    padding: 6px 16px;
}
.pricing-card-name {
    font-size: 18px;
    font-weight: 400;
    margin: 24px 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e3df;
}
.pricing-card-price { margin: 0 0 8px 0; }
.price-yen { font-size: 36px; font-weight: 500; letter-spacing: 0.02em; }
.price-unit { font-size: 14px; color: #666; margin-left: 2px; }
.pricing-card-sub {
    font-size: 13px;
    color: var(--accent-color);
    margin: 0 0 16px 0;
    font-weight: 500;
}
.pricing-card-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}
.pricing-spot {
    text-align: center;
    font-size: 14px;
    color: #555;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.9;
}
.pricing-spot a { color: var(--accent-color); transition: color 0.3s; }
.pricing-spot a:hover { color: var(--text-color); }
.pricing-payment-link {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 28px;
}
.pricing-payment-link a { color: var(--accent-color); transition: color 0.3s; }
.pricing-payment-link a:hover { color: var(--text-color); }

/* お支払い方法について（料金ページ） */
.payment-method-box {
    margin-top: 56px;
    padding: 32px 40px;
    background-color: #f9f9f9;
    border: 1px solid #e8e6e2;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.payment-method-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-color);
    letter-spacing: 0.06em;
}
.payment-method-body { font-size: 14px; line-height: 1.95; color: #444; }
.payment-method-body p { margin: 0 0 16px 0; }
.payment-method-body p:last-of-type { margin-bottom: 0; }
.payment-method-note {
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid #e8e6e2;
    font-size: 13px;
    color: #666;
}

.pricing-notice-box {
    margin-top: 32px;
    padding: 24px 40px;
    background-color: #f9f9f9;
    border: 1px solid #e8e6e2;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}
.pricing-notice-box p { margin: 0; }
.pricing-notice-box strong { color: var(--text-color); }

/* === お知らせ（WordPress連携エリア） === */
.news-list { list-style: none; padding: 0; max-width: 800px; margin: 0 auto; }
.news-list li { border-bottom: 1px solid #e0e0e0; padding: 24px 0; display: flex; align-items: center; gap: 40px; }
.news-date { color: #888; font-family: sans-serif; font-size: 14px; min-width: 100px; }
.news-title { font-size: 16px; transition: color 0.3s; }
.news-title:hover { color: var(--accent-color); }

/* === 料金ページ（price.html） === */
.price-main { padding-top: 80px; min-height: 100vh; }
.option-section { padding: 120px 20px; max-width: 780px; margin: 0 auto; }
.option-lead {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.06em;
    margin-bottom: 50px;
    color: #444;
}
.option-table-wrap {
    overflow-x: auto;
    margin-bottom: 40px;
}
.option-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    letter-spacing: 0.05em;
}
.option-table th,
.option-table td {
    padding: 22px 28px;
    text-align: left;
    border-bottom: 1px solid #e5e3df;
}
.option-table thead tr {
    background: #f0eee9;
    border-bottom: 2px solid #ddd9d3;
}
.option-table th {
    font-weight: 500;
    color: var(--text-color);
    font-size: 13px;
    font-family: sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.option-table tbody tr {
    transition: background-color 0.2s ease;
}
.option-table tbody tr:hover {
    background-color: rgba(240, 238, 233, 0.5);
}
.option-table td:first-child {
    color: var(--text-color);
}
.option-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--accent-color);
    white-space: nowrap;
}
.option-note {
    font-size: 13px;
    color: #777;
    letter-spacing: 0.05em;
    text-align: center;
}

/* === フッター === */
footer { background: var(--text-color); color: #fff; text-align: center; padding: 60px 20px; font-size: 13px; font-family: sans-serif; }
footer .footer-copyright { margin-top: 30px; }
.price-terms-link { text-align: center; }

/* リンクボタン（規約など） */
.link-btn {
    display: inline-block;
    padding: 10px 24px;
    margin: 4px 0;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: background 0.25s ease, color 0.25s ease;
}
.link-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}
footer .link-btn {
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}
footer .link-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* === スマホ・タブレット対応（ハンバーガーメニュー） === */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-overlay { display: block; }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-color);
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        z-index: 1001;
        padding: 80px 28px 40px;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    header.menu-open nav { transform: translateX(0); }
    nav ul {
        flex-direction: column;
        gap: 0;
        display: flex;
    }
    nav li {
        border-bottom: 1px solid #e8e6e2;
    }
    nav a {
        display: block;
        padding: 18px 0;
        font-size: 15px;
        letter-spacing: 0.08em;
    }
    nav a:hover { color: var(--accent-color); }
}

@media (max-width: 768px) {
    .concept-wrap { flex-direction: column-reverse; gap: 40px; }
    .news-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0; }
    .hero-copy h1 { font-size: 28px; }
    section { padding: 80px 20px; }
    .pricing-cards { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
    .pricing-zero { font-size: 18px; margin-bottom: 36px; }
    .price-yen { font-size: 30px; }
    .option-section { padding: 80px 20px; }
    .option-table th,
    .option-table td { padding: 16px 20px; font-size: 14px; }
}
