/* ==========================================================================
   Private Salon Nesol - Brand Custom Stylesheet (Lightweight & Full-Responsive)
   ========================================================================== */

/* --- 1. グローバルリセット & スムーススクロール --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* JS不要でなめらかなアンカースクロールを実現 */
    -webkit-text-size-adjust: none;
}

body {
    background-color: #FDFDFD;
    color: #30241A; /* ロゴ由来の深い焦げ茶色（ビターチョコレート） */
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* 継承が途切れる要素の上書き */
input, select, textarea, p, li, td {
    font-family: inherit;
    color: inherit;
    font-size: 0.95em !important; /* サイト内のすべての本文、箇条書き、テーブル文章を1pxの狂いもなく0.95emに一律統一 */
}

span, strong, b, em, i, small {
    font-family: inherit;
    color: inherit;
}

/* ゴールドの✦マーク装飾クラス（ラグジュアリーなアクセント） */
.gold-mark {
    color: #C5A059 !important;
    margin-right: 0.3em !important;
    font-weight: bold !important;
    display: inline-block;
}

/* --- 2. タイポグラフィ（見出し・テキスト） --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #30241A;
    letter-spacing: 0.1em;
    text-transform: none; /* 勝手に大文字化するのを防止 */
}

/* 主要見出しの装飾 */
header.major {
    margin-bottom: 3.5em;
    text-align: center;
}

header.major h2 {
    font-size: 1.6em;
    color: #30241A !important; /* 確実にブランドの深い焦げ茶にする */
    border-bottom: 2px solid #EAE5DC;
    padding-bottom: 0.5em;
    display: inline-block;
}

header.major p {
    color: #C5A059; /* 上品なゴールド */
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 0.6em;
}

/* リンク */
a {
    color: #30241A;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #C5A059;
}

/* --- 3. 固定ナビゲーションヘッダー（完全センタリング） --- */
#header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(248, 245, 240, 0.96); /* ニュアンスベージュ、半透明 */
    border-bottom: 1px solid #EAE5DC;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.8em;
    z-index: 10000;
    box-shadow: 0 1px 10px rgba(48, 36, 26, 0.02);
}

/* ヘッダーロゴ（左寄せ固定） */
#header h1 {
    position: absolute;
    left: 3.5em;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.15em;
}

#header h1 a {
    border: none;
}

/* 中央寄せメニュー */
#nav-custom ul {
    display: flex;
    list-style: none;
}

#nav-custom ul li {
    margin: 0 1.5em;
}

#nav-custom ul li a {
    font-size: 0.85em;
    font-weight: 600; /* 視認性を少し高めて上品に */
    color: #30241A !important; /* 確実にブランド焦げ茶（ビターチョコレート）にする */
    letter-spacing: 0.15em;
    transition: color 0.2s;
}

#nav-custom ul li a:hover {
    color: #C5A059 !important; /* ホバー時は美しいアクセントゴールドに変化 */
}

/* --- 4. バナー（ファーストビュー） --- */
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8em 1.5em 6em 1.5em;
    background-color: #FDFDFD;
    min-height: 80vh;
}

.banner-logo-img {
    max-width: 240px !important; /* 190pxからさらに2段階（240px）へアップスケールしてブランドの存在感を完璧に最適化 */
    width: 100% !important;
    height: auto !important;
    margin-bottom: 1.5em !important;
    display: inline-block !important;
}

.banner-text {
    font-size: 1em;
    letter-spacing: 0.15em;
    margin-bottom: 2.2em;
    line-height: 1.8;
}

.inline-block {
    display: inline-block;
}

/* --- 5. セクションの共通スタイルと交互カラー --- */
.wrapper {
    padding: 6em 1.5em 5em 1.5em;
    text-align: center;
}

/* Concept & Therapist / Salon Info: ニュアンスベージュ */
.wrapper.style1, .wrapper.style3 {
    background-color: #F8F5F0;
}

/* Menu & Prices: オフホワイト */
.wrapper.style2 {
    background-color: #FDFDFD;
    border-top: 1px solid #EAE5DC;
    border-bottom: 1px solid #EAE5DC;
}

.wrapper > .inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 6. Concept（お悩み、メソッド、ひまわり由来） --- */

/* メインキャッチ */
.concept-intro {
    margin-bottom: 2.8em;
}

.concept-catch {
    color: #C5A059;
    font-size: 1.15em !important; /* 1.5emから1.15emへ縮小し、全体の調和を高める */
    line-height: 1.7 !important;
    letter-spacing: 0.08em !important;
    font-weight: 500 !important; /* 強すぎないセミ太字（ミディアム）にして上品に */
}

/* お悩み共感（白カード） */
.concept-troubles {
    background-color: #FDFDFD;
    border: 1px solid #EAE5DC;
    border-radius: 4px;
    padding: 2.5em;
    max-width: 640px;
    margin: 0 auto 3.5em auto;
    box-shadow: 0 4px 15px rgba(48, 36, 26, 0.02);
}

.trouble-title {
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 1.2em;
}

.trouble-list {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.trouble-list li {
    font-size: 0.95em;
    margin-bottom: 0.8em;
}

.trouble-list li:last-child {
    margin-bottom: 0;
}

.trouble-list li span {
    color: #C5A059;
    margin-right: 0.8em;
    font-weight: bold;
}

/* メッセージ & 施術メソッド */
.concept-message {
    max-width: 800px;
    margin: 0 auto 4.5em auto;
}

.concept-method-box {
    background-color: rgba(197, 160, 89, 0.04);
    border-left: 3px solid #C5A059;
    padding: 1.8em 2em;
    margin: 2.5em auto;
    text-align: left;
    max-width: 700px;
}

.concept-method-box h4 {
    font-size: 1.15em;
    margin-bottom: 0.8em;
}

.concept-method-box p {
    font-size: 0.9em;
    line-height: 1.7;
}

.concept-closing {
    font-weight: normal !important; /* 太字を完全に解除して通常のテキストへ */
    margin-top: 2.5em !important;
    /* font-sizeはグローバルで0.95emに統一されたため、個別指定を廃止して自動継承 */
}

/* サロン名の由来（白カード） */
.concept-origin {
    background-color: #FDFDFD;
    border: 1px solid #EAE5DC;
    border-radius: 4px;
    padding: 3.5em 3em;
    max-width: 850px;
    margin: 0 auto 4.5em auto;
    box-shadow: 0 4px 15px rgba(48, 36, 26, 0.03);
}

.origin-icon {
    font-size: 2.2em;
    margin-bottom: 0.4em;
}

.concept-origin h3 {
    font-size: 1.4em;
    margin-bottom: 1.5em;
    position: relative;
    display: inline-block;
}

.concept-origin h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%; /* 他の装飾線と同じく、左右幅いっぱいに統一 */
    height: 2px; /* 他の装飾線（2px）と太さを完璧に統一 */
    background-color: #C5A059;
}

.origin-content p {
    font-size: 0.95em;
    line-height: 1.85;
    margin-bottom: 1.2em;
}

.origin-content p:last-child {
    margin-bottom: 0;
}

.origin-highlight {
    font-weight: 700;
    color: #C5A059;
    font-size: 1.05em;
    margin-top: 2em;
}

/* --- 7. Therapist（セラピストプロフィール・白カード） --- */
.therapist-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4em;
    text-align: left;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.8em;
    background-color: #FDFDFD;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(48, 36, 26, 0.03);
    border: 1px solid #EAE5DC;
}

.profile-image {
    flex: 0 0 260px;
    margin-right: 3em;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    border: 1px solid #EAE5DC;
    padding: 6px;
    background-color: #fff;
}

.therapist-img {
    aspect-ratio: 280 / 373; /* CLS防止 */
    object-fit: cover;
}

.therapist-name-optimized {
    margin-bottom: 1.2em;
}

.therapist-title-label {
    font-size: 0.8em;
    color: rgba(48, 36, 26, 0.7);
    display: block;
    margin-bottom: 0.2em;
}

.therapist-real-name {
    font-size: 1.2em;
    font-weight: 700;
    border-bottom: 2px solid #C5A059;
    padding-bottom: 0.1em;
    letter-spacing: 0.15em;
    display: inline-block;
}

.therapist-desc {
    font-size: 0.9em;
    line-height: 1.75;
    margin-bottom: 0.4em;
}

.therapist-desc.last {
    margin-bottom: 1em;
}

.therapist-qual-title {
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 0.2em;
}

.therapist-quals {
    font-size: 0.8em;
    line-height: 1.5;
    opacity: 0.85;
}

/* --- 8. Menu & Prices（新料金表） --- */
.menu-container {
    max-width: 660px;
    margin: 0 auto;
    text-align: left;
}

.menu-cat-title {
    border-bottom: 2px solid #C5A059;
    padding-bottom: 0.4em;
    margin-bottom: 0.8em;
}

.menu-cat-desc {
    font-size: 0.9em;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

/* メニュー各コースの説明文（優しく上品な印象を演出するやや小さめの0.9em） */
.menu-item-desc {
    font-size: 0.9em !important;
    color: rgba(48, 36, 26, 0.8) !important;
    margin: 0.5em 0 0 1.2em !important;
    line-height: 1.5 !important;
    font-style: italic !important;
    text-align: left !important;
}

/* メニューカテゴリ下部の補足説明 */
.menu-cat-bottom-desc {
    font-size: 0.9em !important;
    color: rgba(48, 36, 26, 0.8) !important;
    margin: 1.5em 0 0 1.2em !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    border-top: 1px solid #EAE5DC !important;
    padding-top: 1.2em !important;
    text-align: left !important;
}

/* --- 9. Salon Information（店舗情報テーブル） --- */
.salon-info-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.salon-info-table {
    width: 100%;
    border-collapse: collapse;
}

.salon-table-row {
    border-bottom: 1px solid #EAE5DC;
}

.salon-table-th {
    padding: 1.1em 0;
    font-weight: bold;
    vertical-align: top;
    text-align: left;
    width: 30%;
}

.salon-table-td {
    padding: 1.1em 0;
    vertical-align: top;
    font-size: 0.95em;
    line-height: 1.5;
}

.salon-small-note {
    color: rgba(48, 36, 26, 0.65);
    font-size: 0.8em;
    display: block;
    margin-top: 0.3em;
}

/* --- 10. Buttons（美しく使いやすいボタン） --- */
.actions {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.actions li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.button, button, input[type="button"], input[type="submit"] {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #C5A059; /* 枠線をブランドゴールドに */
    color: #C5A059;
    font-size: 0.8em;
    font-weight: 600;
    height: 3.125em;
    line-height: 2.85em; /* 枠線の内側に完璧に収まる高さに調整 */
    letter-spacing: 0.15em;
    padding: 0 2.5em;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.button:hover, button:hover {
    background-color: rgba(197, 160, 89, 0.08);
    color: #B38F48;
    border-color: #B38F48;
}

/* ゴールド背景の主要ボタン（文字色は白をキープ） */
.button.primary {
    background-color: #C5A059;
    color: #FFFFFF !important;
    border: none;
    line-height: 3.125em; /* 枠線なし用に再調整 */
}

.button.primary:hover {
    background-color: #B38F48;
    color: #FFFFFF !important;
}

/* --- 11. Reservation / Footer（予約 & SNSリンク・LINE/インスタ） --- */
#footer {
    background-color: #FDFDFD;
    border-top: 1px solid #EAE5DC;
    padding: 5.5em 1.5em 4.5em 1.5em;
    text-align: center;
}

.footer-header-optimized {
    margin-bottom: 2em;
}

.footer-actions-optimized {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    list-style: none;
    margin-bottom: 3.5em;
}

/* SNSボタンの共通設定 */
.footer-actions-optimized .button {
    font-size: 0.85em;
    padding: 0 2em;
    height: 3.3em;
    line-height: 3.3em;
    border: none !important;
    box-shadow: none !important;
}

/* Instagramグラデーション背景 */
.button.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #FFFFFF !important;
}

.button.instagram:hover {
    opacity: 0.85;
    color: #FFFFFF !important;
}

/* LINE公式アカウントグリーン */
.button.line {
    background-color: #06C755 !important;
    color: #FFFFFF !important;
}

.button.line:hover {
    background-color: #05A64B !important;
    color: #FFFFFF !important;
}

/* 著作権コピーライト */
.copyright {
    color: rgba(48, 36, 26, 0.5);
    font-size: 0.75em;
    letter-spacing: 0.1em;
}

.copyright li {
    display: inline-block;
    margin: 0 0.8em;
}

/* --- 12. レスポンシブ対応 (モバイル表示の徹底最適化) --- */
.pc-only { display: inline !important; }
.mobile-only { display: none !important; }

@media screen and (max-width: 736px) {
    .pc-only { display: none !important; }
    .mobile-only { display: inline !important; }

    /* セクションパディング縮小 */
    .wrapper {
        padding: 4.5em 1.2em 3.5em 1.2em;
    }

    header.major {
        margin-bottom: 2em;
    }

    header.major h2 {
        font-size: 1.3em;
    }

    /* 固定ヘッダーのスマホ対応 */
    #header {
        padding: 0 1.2em;
        justify-content: space-between;
    }

    #header h1 {
        position: static;
        font-size: 1em;
    }

    #nav-custom ul li {
        margin: 0 0.45em;
    }

    #nav-custom ul li a {
        font-size: 0.72em;
    }

    /* バナー（ファーストビュー） */
    #banner {
        padding-top: 6.5em;
        padding-bottom: 4.5em;
    }

    .banner-text {
        font-size: 0.85em;
        margin-bottom: 1.8em;
    }

    /* Concept（スマホ用フォントサイズ） */
    .concept-catch {
        font-size: 1.15em;
    }

    .concept-troubles {
        padding: 1.8em 1.2em;
    }

    .trouble-title {
        font-size: 1.05em;
    }

    .trouble-list li {
        font-size: 0.85em;
    }

    .concept-message p {
        font-size: 0.88em;
        text-align: left;
    }

    .concept-method-box {
        padding: 1.3em 1.5em;
    }

    .concept-method-box h4 {
        font-size: 1.05em;
    }

    .concept-method-box p {
        font-size: 0.8em;
    }

    .concept-closing {
        font-size: 0.95em;
    }

    .concept-origin {
        padding: 2.5em 1.5em;
    }

    .concept-origin h3 {
        font-size: 1.15em;
    }

    .origin-content p {
        font-size: 0.85em;
        text-align: left;
    }

    .origin-highlight {
        font-size: 0.95em;
    }

    /* セラピストプロフィール（縦並び・センタリング） */
    .therapist-profile {
        flex-direction: column;
        padding: 2em 1.5em;
    }

    .profile-image {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 1.8em;
        max-width: 180px;
    }

    .profile-text {
        text-align: center;
    }

    /* メニュー料金表 */
    .menu-cat-desc {
        font-size: 0.85em;
    }

    .menu-item-desc {
        margin: 0.5em 0 0 0.5em !important;
        font-size: 0.85em !important;
    }

    .menu-cat-bottom-desc {
        margin: 1.2em 0 0 0.5em !important;
        font-size: 0.85em !important;
    }

    /* 店舗情報テーブル */
    .salon-table-th {
        width: 35%;
        font-size: 0.85em;
    }

    .salon-table-td {
        font-size: 0.85em;
    }

    /* フッター */
    .footer-actions-optimized {
        flex-direction: column;
        align-items: center;
        gap: 1em;
        width: 100%;
    }

    .footer-actions-optimized li {
        width: 100%;
        max-width: 280px;
    }

    .footer-actions-optimized .button {
        width: 100%;
    }

    .copyright li {
        display: block;
        margin: 0.5em 0;
    }
}
