/* ========================================================= */
/* CUTSALON固有のスタイル (css/cutsalon.css) */
/* ========================================================= */

/* 1. ページビジュアルとコンセプト */
#salon-visual-concept {
    padding: 0;
}

.visual-area {
    background-image: url('images/salon_visual_main.jpg'); /* 実際の画像に置き換え */
    background-size: cover;
    background-position: center 30%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: #333; /* 画像がない場合のフォールバック */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
	overflow: hidden;
	position: relative; /* 既存の設定ですが、念のため確認 */
    z-index: 2; /* 他の要素より手前に配置し、::beforeが確実にこの要素内にとどまるようにする */
}
.visual-area:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 半透明の黒 (10%の透明度) */
    z-index: 1; /* テキストの下に配置 */
}

.visual-area h1 {
    font-size: 40px;
    margin-bottom: 5px;
    color: #fff;
	font-weight: 700; /* より強く */
    line-height: 1.2;
}

.philosophy-text {
    font-size: 20px;
    color: #fff;
	font-weight: 700;
    
    /* ★★ 濃い色の文字影を追加 ★★ */
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.7), /* 標準的な影 */
        -1px -1px 2px rgba(0, 0, 0, 0.7); /* 上と左にも影を入れ、文字を際立たせる */
    /* ---------------------------------- */
    
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 10px; 
    font-weight: 500;
}

.concept-text {
    padding: 60px 20px;
    text-align: center;
}

.concept-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #aaa;
    display: inline-block;
    padding-bottom: 5px;
}

.concept-text p {
    max-width: 900px;
    margin: 0 auto;
}

/* 2. サービスの特徴（3つの魅力） */
#salon-features {
    background-color: #f5f5f5; /* 背景に色をつけメリハリを */
}

.feature-list-grid {
    display: flex;
    gap: 30px;
    justify-content: space-around;
}

.feature-card {
    flex: 1;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

/* 3. メニュー・料金表 */
#salon-menu-price {
    background-color: #fff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.price-table th, .price-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.price-table th {
    background-color: #1a1a1a;
    color: #fff;
    font-weight: 500;
}

.price-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-table .color1 {
	color: red;
}

.caution-note {
    text-align: right;
    font-size: 14px;
    color: #666;
}

/* 4. スタイルギャラリー/事例 */
#style-gallery {
    background-color: #f0f0f0;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列グリッド */
    gap: 15px;
    margin-bottom: 30px;
}

.style-photo {
    width: 100%;
    height: 300px; /* 高さ固定でオブジェクトフィットを使用 */
    object-fit: cover;
    border-radius: 4px;
}

.btn-gallery-more {
    display: block;
    width: 250px;
    margin: 0 auto;
    text-align: center;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
}

/* 5. スタイリスト紹介 */
.stylist-cards {
    display: flex;
    flex-wrap: wrap; /* 複数行対応 */
    gap: 30px;
    justify-content: center;
}

.stylist-card {
    width: 45%; /* 2列表示 */
    display: flex;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.stylist-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.stylist-card .info {
    flex-grow: 1;
}

.stylist-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.stylist-card .catchphrase {
    color: #a0522d; /* セピア色系 */
    font-weight: bold;
    margin-bottom: 10px;
}

/* 6. 予約CTA */
#salon-cta-reserve {
    background-color: #000;
    padding: 50px 0;
    text-align: center;
}

.btn-mega-cta {
    display: inline-block;
    padding: 20px 60px;
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.btn-mega-cta:hover {
    background-color: #ffcc00; /* アクセントカラー */
}

.cta-label {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.cta-detail {
    font-size: 14px;
    color: #555;
}

/* 7. 店舗情報 */
#salon-location {
    text-align: center;
}

.map-area {
    margin-top: 20px;
    height: 350px; /* 地図エリアの高さ */
    border: 1px solid #ddd;
    background-color: #eee;
}

@media (max-width: 768px) {
    /* 共通設定 */
    section {
        padding: 40px 0;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* ページビジュアル */
    .visual-area h1 {
		color: #fff;
        font-size: 32px;
    }
    .visual-area p {
/*        font-size: 20px;
		color: #fff;
		text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
*/
    }

    /* サービスの3つの魅力 */
    .feature-list-grid {
        flex-direction: column; /* 縦並びに */
    }

    /* 料金表のモバイル最適化 (リスト形式に変換) */
    #salon-menu-price .inner-wrap {
        overflow-x: hidden; /* 横スクロールを無効化 */
        padding: 0 10px; /* 左右の余白を調整 */
    }
    .price-table {
        min-width: unset; /* 最小幅設定を解除 */
        border: none;
        margin-bottom: 20px;
    }

    /* theadを非表示にする */
    .price-table thead {
        display: none;
    }

    /* tbodyとtrをブロック化 */
    .price-table tbody, .price-table tr {
        display: block;
        width: 100%;
    }

    /* 各行の下に余白を設定 */
    .price-table tr {
        margin-bottom: 1px; /* 行間にわずかな区切り */
        background-color: #fff; /* 背景色を設定 */
        border-bottom: 1px solid #eee;
        
        /* メニュー名と料金 (1列目と2列目) のコンテナとして機能させる */
        display: flex; /* trをflexコンテナにする */
        justify-content: space-between; /* 左右に配置 */
        align-items: center;
        padding: 15px 20px; /* trにパディングを設定 */
    }
    /* 最終行のボーダーを削除 */
    .price-table tr:last-child {
        border-bottom: none;
    }

    /* tdをブロック化 */
    .price-table td {
        display: block; 
        width: 100%;
        padding: 0; /* td自体のパディングをリセット */
        border: none;
        text-align: left; 
    }

    /* メニュー名と料金以外の列 (3列目と4列目) を非表示にする */
    .price-table tr td:nth-child(3), 
    .price-table tr td:nth-child(4) {
        display: none !important; 
    }

    /* メニュー名の部分 (1列目) */
    .price-table tr td:nth-child(1) {
        font-weight: 500;
        flex-grow: 1; /* スペースを埋める */
        padding-right: 10px; /* 料金との間に少し余白 */
        padding-left: 0;
    }

	/* 料金の部分 (2列目) - 固定幅と右揃えを適用 */
    .price-table tr td:nth-child(2) {
        color: #1a1a1a; /* 色を黒系に変更 */
/*        font-weight: bold;	*/
        flex-shrink: 0;
        width: 90px;
        text-align: right;
        white-space: nowrap;
        padding: 0;
    }

    /* 料金と備考の行ごとの背景色を削除 (trが背景を持つため) */
    .price-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }


    /* スタイルギャラリー（2列グリッドに） */
    .style-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
    }

    /* スタイリスト紹介（縦並びのブロックに） */
    .stylist-card {
        flex-direction: column; 
        width: 100%;
        text-align: center;
    }

    .stylist-photo {
        margin: 0 auto 15px;
    }
    
    /* ... 既存のモバイルナビゲーションCSS (省略) ... */

    /* フッター */
    .footer-nav ul {
        flex-direction: column;
        gap: 5px;
    }
}
