


/* リセットCSS (必要に応じて追加・調整) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    /* 自然なフォント */
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    /* 全体の背景色 */
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    /* 画像の下にできる余白をなくす */
}

/* 共通スタイル */
.container {
    max-width: 1000px;
    /* コンテンツの最大幅 */
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    /* セクションの上下パディング */
    text-align: center;
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #5a4b41;
    /* ブラウン系の見出し色 */
    position: relative;
    display: inline-block;
    /* 下線のために必要 */
}

/* セクションタイトルの下線風デザイン */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #a7a39d;
    /* 薄いグレーの下線 */
    margin: 10px auto 0;
}

/* ボタン共通スタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: #8c785b;
    /* 落ち着いたベージュ系 */
    color: #fff;
}

.btn-primary:hover {
    background-color: #a7957e;
    transform: translateY(-2px);
}

.btn-secondary {
    /* 電話ボタン用 */
    background-color: #6a9c7b;
    /* 自然なグリーン系 */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #7ab38e;
    transform: translateY(-2px);
}

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 1);
    /* 半透明の白 */
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    /* 固定ヘッダー */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.site-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #5a4b41;
}

.site-logo a {
    display: block;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 1.1em;
    font-weight: 500;
    color: #666;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #8c785b;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー（PCでは非表示） */
.hamburger-menu-button {
    display: none;
    /* デフォルトは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    /* ヘッダーより上に */
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* ハンバーガーメニューオープン時のアニメーション */
.hamburger-menu-button.is-open .hamburger-icon {
    background-color: transparent;
}

.hamburger-menu-button.is-open .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-menu-button.is-open .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* メインビジュアル */
.main-visual {
    position: relative;
    width: 100vw;
    /* 横幅を画面いっぱいに */
    height: 100vh;
    background-image: url('../img/top-img.png');
    /* 背景画像 */
    background-size: cover;
    /* 画面いっぱいに表示 */
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* 文字色を白に変更 */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6); /* 影を少し強くして可読性UP */
    margin-top: 60px;
    /* ヘッダーの高さ分下げる*/
}

/* 背景画像へのオーバーレイ */
.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明の黒 */
    z-index: 1; /* テキストより下に配置 */
}

.main-visual-content {
    text-align: center;
    /* background-color: rgba(0, 0, 0, 0.3);*/
    /* 文字の背景に少し色をつける */
    padding: 30px 40px;
    /* border-radius: 10px; */
    position: relative; /* オーバーレイより上に表示するため */
    z-index: 2; /* オーバーレイより上に表示するため */
}

.main-visual .site-title {
    font-size: clamp(1.5em, 5vw, 3.5em); /* 画面幅に応じてフォントサイズを可変に */
    margin-bottom: 10px;
    line-height: 1.2;
    white-space: nowrap; /* 折り返しを禁止 */
    opacity: 0; /* アニメーションの初期状態 */
    animation: fadeInUp 1s ease-out 0.5s forwards; /* ふわっと表示するアニメーション */
}

.main-visual .site-catchcopy {
    font-size: clamp(0.8em, 2.5vw, 1.4em); /* 画面幅に応じてフォントサイズを可変に */
    white-space: nowrap; /* 折り返しを禁止 */
    opacity: 0; /* アニメーションの初期状態 */
    animation: fadeInUp 1s ease-out 0.8s forwards; /* タイトルより少し遅れて表示 */
}

/* サービス / メニュー */
.menu-section {
    background-color: #fff;
}

.menu-table-wrapper {
    overflow-x: auto;
    /* スマホでテーブルがはみ出た場合に横スクロール可能に */
    -webkit-overflow-scrolling: touch;
    /* iOSのスクロールを滑らかに */
    max-width: 100%;
    margin: 0 auto;
}

.menu-section table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* スマホで横スクロールが必要になる最小幅 */
}

.menu-section th,
.menu-section td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
}

.menu-note {
    text-align: left;
    font-size: 0.9em;
    color: #777;
    margin-top: 15px;
    white-space: nowrap;
}

.menu-section th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #555;
}

/*
.menu-section td:first-child {
    font-weight: bold;
    color: #8c785b;
}
*/

/* スタイリスト紹介 */
.stylist-section {
    background-color: #f8f8f8;
}

/* スタイリスト紹介 */
.stylist-section {
    background-color: #f8f8f8;
}

.stylist-list {
    /* 新しく追加する親要素 */
    display: flex;
    flex-direction: column; /* 各スタイリストを縦に並べる */
    justify-content: center;
    gap: 50px; /* スタイリスト間の余白 */
    max-width: 800px;
    margin: 0 auto;
}

.stylist-item {
    display: flex;
    align-items: center; /* 画像と情報を垂直方向に中央揃え */
    gap: 30px; /* 画像と情報の間の余白 */
}

.stylist-image {
    flex-shrink: 0;
    /* 縮まないように */
    width: 250px;
    /* 画像サイズ */
    height: 250px;
    border-radius: 50%;
    /* 円形に */
    overflow: hidden;
    border: 5px solid #dcdcdc;
    /* 少しだけボーダー */
}

.stylist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像がはみ出さないように */
}

.stylist-info {
    flex-grow: 1;
    /* 余白を埋めるように */
    text-align: left;
    max-width: 450px;
}

.stylist-info h3 {
    font-size: 1.8em;
    color: #5a4b41;
    margin-bottom: 10px;
    text-align: center; /* 名前を中央揃えに */
    line-height: 1.2; /* ふりがなスペース確保 */
}

.stylist-info h3 .furigana {
    display: block;
    font-size: 0.5em; /* h3の半分 */
    font-weight: normal;
    color: #5a4b41;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* メッセージ吹き出し */
.message-bubble {
    position: relative;
    background-color: #e6f0e6;
    /* 薄いグリーン系の背景 */
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.message-bubble::before {
    /* 吹き出しのしっぽ */
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    /* 左向きの三角形に変更 */
    border-width: 15px 20px 15px 0;
    border-color: transparent #e6f0e6 transparent transparent;
    top: 30px; /* 吹き出しの少し下あたりから出るように調整 */
    left: -20px; /* 吹き出しの左外側に配置 */
}

.message-bubble p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

/* 店舗情報 / アクセス */
.access-section {
    background-color: #fff;
}

.access-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: left;
    margin-bottom:40px;
}

.info-details {
    flex-basis: 350px;
    /* 左側の情報エリアの基準幅 */
    flex-grow: 1;
    max-width: 500px;
    /* 必要に応じて最大幅を設定 */
}

.info-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.info-details p strong {
    color: #8c785b;
}

.info-details a {
    color: #6a9c7b;
    text-decoration: underline;
}

.map-container {
    flex-basis: 500px;
    /* マップエリアの基準幅 */
    flex-grow: 1;
    min-height: 300px;
    /* マップの最低高さ */
    /* background-color: #eee; */ /* マップが読み込まれるまでの背景色 */ 
    /* border: 1px solid #ddd;*/
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 固定フッター */
.footer {
    display: none; /* PCではフッターを非表示 */
    position: fixed;
    /* 画面下部に固定 */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    /* JSで表示を制御するためのスタイル */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* 下に隠す */
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.footer.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 表示する */
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* ボタン間のスペース */
}

/* スマホでのみ電話ボタンを表示 */
.call-button {
    display: none;
}

/* Media Queries (レスポンシブデザイン) */
@media (max-width: 768px) {

    /* 全体的な調整 */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    /* ヘッダー */
    .header .header-container {
        flex-wrap: wrap;
        justify-content: center;
        /* 中央寄せ */
    }

    .site-logo {
        width: 100%;
        text-align: center;
        font-size: 1.6em;
    }

    .nav {
        display: none;
        /* デフォルトで非表示 */
        width: 100%;
        text-align: center;
        /* padding-top: 10px;*/
    }

    .nav.is-open {
        /* JSで表示 */
        display: block;
        /* ヘッダーの高さに影響を与えないように絶対配置に変更 */
        position: absolute;
        top: 98%; /* ヘッダーの真下に配置 */
        left: 0;
        z-index: -1; /* ヘッダーの影の下に配置するため */
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list a {
        font-size: 1.2em;
    }

    .hamburger-menu-button {
        display: block;
        /* スマホで表示 */
        position: absolute;
        top: 50%; /* 親要素(.header)の垂直方向中央に配置 */
        transform: translateY(-50%); /* 自身の高さの半分だけ上にずらして完全な中央揃えに */
        right: 20px;
    }

    /* メインビジュアル */
    .main-visual {
        height: 100vh; /* スマホでも画面いっぱいの高さに */
        margin-top: 0; /* PC用のマージンをリセット */
        background-image: url('../img/top-img_sp.png'); /* スマホ用の画像に差し替え */
    }

    /* サービス / メニュー */
    .menu-table-wrapper {
        overflow-x: auto;
        /* 横スクロールを維持 */
    }

    .menu-section table {
        min-width: 500px;
        /* スマホでも十分な横幅を確保 */
    }

    .menu-section th,
    .menu-section td {
        padding: 10px;
        font-size: 0.9em;
    }

    /* スタイリスト紹介 */
    .stylist-section {
        background-color: #f8f8f8;
    }

    .stylist-list {
        /* 新しく追加する親要素 */
        display: flex;
        /* 画面幅に応じて折り返す */
        justify-content: center;
        gap: 40px;
        /* アイテム間の余白 */
        max-width: 1000px;
        /* 必要に応じて調整 */
        margin: 0 auto;
    }

    .stylist-item {
        display: flex;
        flex-direction: column; /* 縦並び */
        align-items: center; /* 中央揃え */
        text-align: center; /* テキスト中央揃え */
    }

    .message-bubble::before {
        /* 吹き出しのしっぽを左下から右上に変更（スマホ表示） */
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 24px 24px 18px; /* 少し小さく調整 */
        border-color: transparent transparent #e6f0e6 transparent;
        top: -5px;
        left: 80px;
        transform: rotate(-90deg);
    }

    /* 店舗情報 / アクセス */
    .access-content {
        flex-direction: column;
        /* 縦並び */
        gap: 30px;
    }

    .info-details,
    .map-container {
        flex-basis: auto;
        /* 幅を自動調整 */
        max-width: 100%;
        padding: 0 10px;
        /* 少し内側にパディング */
    }

    .info-details {
        text-align: center;
        /* 中央寄せ */
    }

    .info-details p {
        text-align: left;
        /* スマホ表示では左揃えに */
    }

    .map-container {
        /* スマホ表示では高さを固定して、マップが正しく表示されるようにする */
        height: 300px;
    }

    /* 固定フッター */
    .footer {
        display: block; /* スマホではフッターを表示 */
        padding: 10px 0;
    }

    .footer-buttons {
        flex-direction: row;
        /* 横並びは維持 */
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 90%; /* ボタンが1つになったので幅を調整 */
        max-width: 400px; /* 最大幅も設定 */
    }

    .call-button {
        display: block;
        /* スマホで電話ボタンを表示 */
    }

    .menu-note {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .main-visual-content {
        padding: 20px 25px;
    }
}

/* スキップリンク (アクセシビリティのため) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* アニメーション用キーフレーム */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* 少し下から */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 本来の位置へ */
    }
}


