/* --- Variables & Reset --- */
:root {
    /* 美容室向け配色：和モダン・オーガニック */
    --color-bg: #fdfcf8;      /* ほんのり温かい白 */
    --color-text: #4a4a4a;    /* 柔らかい黒（ダークグレー） */
    --color-main: #6c7a65;    /* オリーブグリーン（抹茶） */
    --color-accent: #a89476;  /* 木目をイメージしたベージュ */
    --color-line: #06c755;    /* LINE公式カラー */
    --color-white: #ffffff;
    
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden; /* 横スクロール禁止 */
    width: 100%;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 共通クラス */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.img-placeholder {
    background-color: #e8e6e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-family: var(--font-serif);
    width: 100%;
    height: 100%;
    min-height: 250px;
}

/* フェードイン */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 252, 248, 0.95);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
}

.header__nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 0.95rem;
    font-family: var(--font-serif);
}

/* ナビゲーションのLINEボタン */
.btn-nav--line {
    background-color: var(--color-line);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 50px; /* 丸みをつける */
    font-weight: bold;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

.header__hamburger {
    display: none;
}

/* --- Hero Area --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dcdad5;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 実際の案件ではここにサロンの内観やイメージ写真を入れます */
    background-image: url('images/hero.png'); 
    background-size: cover;
    background-position: center;
    filter: brightness(0.85); /* 写真を少し暗くして文字を読みやすく */
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    display: flex;
    flex-direction: row-reverse;
    gap: 60px;
    height: 50vh;
}

.hero__catch {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    letter-spacing: 0.3em;
    line-height: 2;
    text-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-left: 1px solid rgba(255,255,255,0.8);
    padding-left: 20px;
}

.hero__sub {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    padding-top: 60px;
    font-family: var(--font-serif);
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-white);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: var(--color-white);
    margin-top: 10px;
    margin-right: 5px;
}

/* --- Section Common --- */
.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 70px;
}

.section__en {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.section__jp {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-main);
}

/* --- Concept --- */
.concept__content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.concept__text {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 2.4;
    text-align: justify;
}

.concept__text p + p {
    margin-top: 30px;
}

.concept__img {
    flex: 1;
    height: 450px;
    position: relative;
}

.concept__img::after {
    /* 装飾：画像のズレ枠 */
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    z-index: -1;
}

/* --- Service (Menu) --- */
.service__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service__item {
    background: var(--color-white);
    border: 1px solid #eee;
}

.service__img {
    height: 220px;
}

.service__info {
    padding: 35px 25px;
    text-align: center;
}

.service__info h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-main);
}

.service__info p {
    font-size: 0.95rem;
    color: #666;
}

/* --- Works (Gallery) --- */
.works__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* レスポンシブ調整 */
    gap: 15px;
}

.works__item {
    aspect-ratio: 1 / 1;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.works__item:hover {
    opacity: 0.8;
}

/* --- Price --- */
.price__table {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 60px 50px;
    box-shadow: 0 0 20px rgba(0,0,0,0.03);
    border-top: 3px solid var(--color-main); /* アクセントライン */
}

.price__table dl {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted #ccc; /* 点線に変更 */
    padding: 18px 0;
}

.price__table dt {
    font-family: var(--font-serif);
    color: var(--color-text);
}

.price__table dd {
    font-weight: 500;
    color: var(--color-main);
    font-size: 1.1rem;
}

.price__note {
    font-size: 0.8rem;
    text-align: right;
    margin-top: 30px;
    color: #999;
    line-height: 1.6;
}

/* --- Voice --- */
.voice {
    background-color: #faf9f6; /* 背景を少し変える */
}

.voice__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.voice__item {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.voice__text {
    font-family: var(--font-serif);
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.voice__meta {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-align: right;
    font-weight: bold;
}

/* --- Access --- */
.access__inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.access__info {
    flex: 1;
}

.access__info dl {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.access__info dt {
    width: 100px;
    font-weight: bold;
    color: var(--color-main);
}

.access__info dd {
    flex: 1;
}

.access__map {
    flex: 1;
    height: 300px;
    background: #eee;
}

/* --- Contact (LINE Special) --- */
.contact-line {
    text-align: center;
    background-color: #fdfcf8;
}

.line-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.line-box__text {
    font-family: var(--font-serif);
    margin-bottom: 40px;
    line-height: 2;
}

/* LINE専用ボタン */
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-line);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
    opacity: 1; /* LINEカラーは薄くしない方が良い */
}

.icon-line {
    /* 本来はSVGアイコンなど推奨 */
    font-size: 1.4rem;
}

.line-box__note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-text);
    color: #ccc;
    padding: 50px 0;
    text-align: center;
}

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.copyright {
    font-size: 0.75rem;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .header__inner {
        padding: 15px 20px;
    }

    /* ▼▼▼ 修正箇所ここから ▼▼▼ */

    /* 1. 全てのグリッドを強制的に「1列」にする */
    .service__grid,
    .voice__grid,
    .works__list { /* works__list（ヘアカタログ）もここに追加 */
        grid-template-columns: 1fr;
        gap: 30px; /* 画像同士の間隔 */
    }

    /* 2. 画像が大きくなりすぎないように調整（ヘアカタログ用） */
    .works__item {
        width: 100%; /* 横幅いっぱい */
        max-width: 400px; /* 大きすぎないように制限 */
        margin: 0 auto; /* 中央寄せ */
    }

    /* ▲▲▲ 修正箇所ここまで ▲▲▲ */

    /* --- 以下、前回と同じハンバーガーメニュー等の設定 --- */
    .header__nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--color-bg);
        padding: 40px 20px;
        z-index: 99;
        overflow-y: auto;
    }
    
    .header__nav.is-open {
        display: block;
    }
    
    .header__nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .header__hamburger {
        display: block;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        position: relative;
        cursor: pointer;
        z-index: 101;
    }
    
    .header__hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--color-text);
        left: 0;
        transition: all 0.3s;
    }
    
    .header__hamburger span:nth-child(1) { top: 0; }
    .header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .header__hamburger span:nth-child(3) { bottom: 0; }

    .header__nav.is-open + .header__hamburger span:nth-child(1) {
        top: 50%;
        transform: rotate(45deg);
    }
    .header__nav.is-open + .header__hamburger span:nth-child(2) {
        opacity: 0;
    }
    .header__nav.is-open + .header__hamburger span:nth-child(3) {
        top: 50%;
        transform: rotate(-45deg);
    }

    .hero__content {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 20px;
        text-align: center;
    }

    .hero__catch, .hero__sub {
        writing-mode: horizontal-tb;
        border: none;
        padding: 0;
        text-shadow: 0 0 5px rgba(0,0,0,0.5);
    }
    
    .hero__catch {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .concept__content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    /* コンセプト画像などのはみ出し防止 */
    .concept__img, 
    .access__map {
        width: 100%;
        max-width: 100%;
    }
    
    .price__table {
        padding: 30px 20px;
        width: 100%; /* 幅を明示 */
    }
    
    .access__inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .access__map {
        height: 250px;
    }
    
    .btn-line {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}