@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;
    
    /* Theme Colors */
    --color-brown-dark: #3e2e26; /* ページタイトル背景など */
    --color-brown-body: #f4eee9; /* ベージュ背景（ダミー画像等用） */
    --color-case-header: #9d9189; /* 症例ごとのタイトル帯 */
    
    --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-brown-dark);
    text-align: center;
    padding: 20px 0;
    margin-bottom: 60px;
}

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

/* Case List */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 80px; /* 症例ごとの間隔 */
}

/* Case Item */
.case-header {
    background-color: var(--color-case-header);
    text-align: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.case-header h2 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* 空のヘッダー帯（ダミー用） */
.empty-header {
    height: 54px; 
}

/* ★修正: 折り返さずに横並びになるようmax-widthを広げる */
.case-content {
    max-width: 900px;
    margin: 0 auto;
}

/* 症例写真エリア */
/* ★修正: justify-content: center を追加して常に中央に寄せる */
.case-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 40px 60px;
    margin-bottom: 40px;
}

.case-photo-group {
    text-align: center;
}

.case-photo-group h4 {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-sub);
    margin-bottom: 10px;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 写真およびダミー背景の共通スタイル */
.before-after img,
.before-after .dummy-img {
    width: 180px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px; /* デザインに合わせて角丸 */
}

.before-after .dummy-img {
    background-color: var(--color-brown-body);
}

.arrow {
    font-size: 14px;
    color: var(--color-text-main);
}

/* 症例テキスト詳細エリア */
.case-details {
    font-size: 13px;
    line-height: 1.8;
    max-width: 800px; /* テキストの幅は少し絞る */
    margin: 0 auto;
}

.case-detail-item {
    margin-bottom: 15px;
}

.case-detail-title {
    font-weight: 500;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.pagination a {
    font-size: 14px;
    color: var(--color-text-sub);
}

.pagination .page-current {
    color: var(--color-text-main);
}

/* =========================================================
   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;
    }

    .header-logo img {
        height: 18px; 
    }

    .hamburger-btn {
        right: 20px;
    }

    .case-header h2 {
        font-size: 16px;
        padding: 0 15px;
    }

    /* 写真エリア スマホ対応 */
    .case-photos {
        flex-direction: column; /* グループ単位では縦並びへ */
        align-items: center;    
        gap: 30px;
    }
    
    .before-after {
        gap: 10px;
        justify-content: center;
    }

    .before-after img,
    .before-after .dummy-img {
        width: 45%; 
        max-width: 180px;
    }

    .case-details {
        padding: 0 10px; 
    }

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

/* =========================================================
   Coming Soon Page Specific
========================================================= */
.coming-soon-container {
    padding: 120px 0;
    background-color: var(--color-white);
}

.coming-soon-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #eee; /* 薄い枠線で囲むとデザインが締まります */
    padding: 60px 20px;
}

.cs-en {
    font-size: 36px;
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-brown-dark);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cs-jp {
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-sub);
}

@media screen and (max-width: 768px) {
    .coming-soon-container {
        padding: 80px 0;
    }
    
    .cs-en {
        font-size: 28px;
    }
    
    .cs-jp {
        font-size: 14px;
    }
}