@charset "UTF-8";

/* =========================================================
   Reset & Base
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-bg-light: #f8f8f8;
    
    /* Menu Page Specific Colors */
    --color-page-header-bg: #3f2c22; /* 焦げ茶 */
    --color-card-header-bg: #9d9189; /* グレージュ */
    --color-card-body-bg: #fcf9f5;   /* 薄いベージュ */
    
    --font-family: 'Noto Serif JP', serif;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   Components (Buttons)
========================================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.btn-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.link-en {
    display: inline-block;
    font-size: 12px;
    color: var(--color-text-sub);
    text-decoration: underline;
    margin-top: 15px;
}

/* =========================================================
   Header & Hamburger Menu
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 24px;
    display: block;
}

.hamburger-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.hamburger-btn span:nth-of-type(1) { top: 12px; }
.hamburger-btn span:nth-of-type(2) { top: 19px; }
.hamburger-btn span:nth-of-type(3) { top: 26px; }

/* Overlay Nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    background-image: url("images/nav_bg_text.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.close-btn::before,
.close-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.nav-list {
    text-align: center;
    margin-bottom: 40px;
}

.nav-list li {
    margin-bottom: 20px;
}

.nav-list a {
    font-size: 16px;
    letter-spacing: 0.1em;
}

.nav-reservation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   Page Specific Styles ("治療メニュー")
========================================================= */
.page-main {
    padding-top: 80px; /* ヘッダー固定の高さ分余白 */
}

/* Page Header */
.page-header {
    background-color: var(--color-page-header-bg);
    text-align: center;
    padding: 20px 0;
}

.page-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
}

/* Menu Hero Section */
.menu-hero {
    text-align: center;
    padding: 60px 20px;
}

.menu-hero-img {
    width: 100%;
    max-width: 800px;
    border-radius: 20px; /* 角丸指定 */
}

/* Menu List Section */
.menu-list-section {
    max-width: 900px; /* コンテンツ幅を少し絞る */
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.menu-card {
    width: 100%;
}

.menu-card-header {
    background-color: var(--color-card-header-bg);
    color: var(--color-white);
    text-align: center;
    padding: 15px 0;
}

.menu-card-header h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.menu-card-body {
    background-color: var(--color-card-body-bg);
    padding: 40px 50px;
}

.menu-card-body p {
    margin-bottom: 30px;
    text-align: justify; /* テキストの両端揃え */
}

.menu-card-btn {
    text-align: center;
}

/* =========================================================
   Contact Area (共通)
========================================================= */
.contact-area {
    background-color: var(--color-bg-light);
    padding: 80px 20px;
    text-align: center;
}

.contact-lead {
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-tel {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tel-label {
    font-family: serif;
    font-style: italic;
    font-size: 18px;
}

.tel-number {
    font-size: 32px;
    font-family: serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.contact-time {
    font-size: 13px;
    color: var(--color-text-sub);
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.contact-en {
    margin-top: 20px;
}

/* =========================================================
   Footer (共通)
========================================================= */
.footer {
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    height: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 50px;
    font-size: 12px;
}

.copyright {
    font-size: 10px;
    color: var(--color-text-sub);
    letter-spacing: 0.05em;
}

/* =========================================================
   Responsive (スマホ向け調整)
========================================================= */
@media screen and (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    /* SP時のロゴサイズ縮小 */
    .header-logo img {
        height: 18px;
    }

    .hamburger-btn {
        right: 20px;
    }

    .menu-hero {
        padding: 40px 20px;
    }

    /* SP時はメニューカード内の余白を小さく */
    .menu-card-body {
        padding: 30px 20px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}