@charset "UTF-8";

/* =========================================
   Front Page Styles
   ========================================= */

/* Remove default padding for front page to allow full-width hero */
.front-page-main {
    padding-top: 0;
}

/* Hero Section (Full Screen) */
.hero-section-full {
    position: relative;
    width: 100%; /* 横幅は100%に戻す（100vwだとスクロールバー分はみ出ることがあるため） */
    max-width: 100%;
    min-height: 85vh; /* 画面の85%程度を占有 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0; /* 余計なパディングを削除 */
    overflow: hidden; /* 子要素のはみ出しをカット */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%; /* 横への広がりを抑制 */
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 暗すぎるというご意見にあわせ、0.6から0.4へ明るく変更 */
    z-index: 1;
    box-sizing: border-box; /* paddingやborderが幅に追加されないようにする */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
    animation: fadeIn 2s ease-out;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.5rem; /* 間隔を狭めるため変更 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem); /* 先ほどより少し小さく、当初よりは大きめに再調整 */
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-top: 0; /* 間隔を狭めるため変更 */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Spacing & Layout */
.front-page-main .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center; /* コンテンツ全体を中央揃え */
}

.front-page-main section {
    margin-bottom: 10rem;
    scroll-margin-top: 80px; /* 固定ヘッダーにタイトルが被らないようにスクロールの停止位置を調整 */
}

/* ヒーローセクションの下の余白だけを狭くして、Concept要素を上にずらす */
.front-page-main .hero-section-full {
    margin-bottom: 4rem; 
}

.section-title {
    text-align: center;
    font-size: 2.5rem; /* 全セクションのタイトルをConcept（2.5rem）に強制統一 */
    color: var(--accent-color);
    margin-bottom: 1.3rem; /* 間隔を狭めるために2remから変更 */
    position: relative;
    letter-spacing: 0.05em; /* 文字間隔を狭めるために0.1emから変更 */
    font-family: var(--font-title);
    display: inline-block; /* 中央揃えのためにinline-block化 */
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* Concept Section (Stylish Background) */
.section-concept {
    text-align: center;
    margin-bottom: 6rem; /* 次のセクション（Menu）への余白として戻す */
    position: relative;
    padding: 2rem 2rem 0; /* paddingの下余白も0にしてさらに詰める */
}

.concept-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 3rem 0; /* 下の余白(3rem)を0にして、Certificationタイトルを上に引き上げる */
}

.concept-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    display: inline-block; /* テキストブロックとしてまとまりを持たせる */
    text-align: center;
}

/* Certification Section (資格・認定エリア) */

.cert-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 全体の要素全体を上揃えに変更し、高さのズレを防ぐ */
    gap: 0; /* PCでは左右に大きく間隔をあける */
    max-width: 600px; /* 余白を含めるため少し広げる */
    margin: 3rem auto 0; /* Concept文章から程よく間隔をあける */
    
    /* お洒落な背景デザイン（グラスモーフィズム）の追加 */
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cert-item {
    text-align: center;
    flex: 1; /* 均等の幅を持たせる */
}

.cert-img-wrapper {
    margin-bottom: 0.5rem;
    height: 140px; /* 画像エリアの高さを固定して、下のテキストの開始位置を完璧に揃える */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-img-wrapper img {
    max-width: 90px; /* 画像サイズを小さくする */
    margin: 0 auto;
}

.cert-org {
    font-size: 1.3rem;/* 強制的に縮小 */
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
    display: block;      /* 確実に1行を占有し、隣への回り込みを防止 */
    width: 100%;         /* 親要素の幅いっぱいに広げる（背景色を見やすくする効果も含む）または text-align: center等 */
}

.cert-detail {
    font-size: 1rem; /* スマホ側で確実に上書きできるよう !important を削除 */
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.1em;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC表示時に4列で均等に横並び */
    gap: 2rem;
    margin-bottom: 4rem;
    justify-content: center; /* グリッド全体を中央に */
    justify-items: center; /* グリッド内のアイテムを中央に */
}

.menu-more {
    text-align: center;
    margin-bottom: 6rem;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 4rem;
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-more span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-more::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.btn-more:hover span {
    color: var(--primary-color, #111); /* ホバー時はテキストを背景色と同じ暗色に */
}

.btn-more:hover::after {
    transform: scaleX(1);
    transform-origin: left; /* ホバーで左から右へ塗りつぶし */
}

/* Information Section Base Styles */
.section-info {
    text-align: center;
    margin-bottom: 6rem;
}

.info-content-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.info-list-styled {
    margin: 0 0 3rem 0;
    padding: 0;
    text-align: left; /* 左揃えにして読みやすく */
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* うっすらとした区切り線 */
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-row dt {
    width: 30%;
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.1em;
}

.info-row dd {
    width: 70%;
    margin: 0;
    padding: 0;
    color: #ccc;
    line-height: 1.6;
}

.sub-text {
    font-size: 0.85rem;
    color: #888;
    margin-left: 0.5rem;
}

.tel-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.05em;
}

.info-map-link {
    text-align: center;
}

.menu-item-card {
    background: transparent; /* 背景を透明に */
    border: none; /* 枠線を削除 */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%; /* 横幅はみ出し防止のため350pxから100%へ変更 */
    width: 100%;
}

.menu-item-card h4 {
    font-size: 1.2rem; /* カクテル名を大きく調整 (PC) */
    font-weight: 700;
    margin-bottom: 0.3rem; /* 価格との余白を調整 */
}

/* Price */
.menu-price {
    font-family: var(--font-title);
    color: var(--accent-color);
    font-size: 1.2rem; /* 価格を大きく調整 (PC) */
    font-weight: 700;
    margin: 0.2rem 0 0.8rem; /* 下の説明文との間隔を広げる */
}

/* Media Query (Front Page) */
@media (max-width: 768px) {
    .front-page-main .container {
        padding: 0 1rem; /* スマホ時は左右の余白を少し減らして幅を確保 */
        width: 100%; /* コンテナが画面幅以内で収まるように固定 */
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        box-sizing: border-box;
        padding: 4rem 1rem; /* スマホ時は左右パディングを減らす */
    }

    .hero-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem); /* 画面サイズに合わせて縮小するように変更し、はみ出し（ズレ）を防止 */
        white-space: nowrap; /* ブラウザによる自動改行を禁止し、<br>タグでのみ改行させる */
        width: 100%;
        box-sizing: border-box;
    }

    .hero-subtitle {
        font-size: 0.8rem; /* フォントサイズ */
        white-space: normal; /* 折り返し・改行を許可して2行にする */
        width: 100%;
        box-sizing: border-box;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホ時は左右に2つずつ並べる（2列構成） */
        gap: 3.5rem 1.5rem; /* 上下の隙間を3.5remに広げ、左右の隙間を1.5remにする */
    }

    /* スマホで2列にした時用のメニュー文字・画像調整 */
    .menu-item-card h4 {
        font-size: 1.05rem; /* スマホ時のカクテル名を大きく */
        margin-bottom: 0.3rem;
    }
    .menu-price {
        font-size: 1rem; /* スマホ時の価格を大きく */
    }
    .menu-item-card p:not(.menu-price) {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Information Section (Mobile) */
    .info-content-wrapper {
        padding: 2rem 1.5rem; /* スマホでは内側の余白を少し減らす */
    }

    .info-list-styled {
        margin-bottom: 2rem;
    }

    .info-row {
        flex-direction: column; /* スマホでは縦並びに変更 */
        padding: 1.2rem 0;
    }

    .info-row dt {
        width: 100%;
        margin-bottom: 0.5rem; /* タイトルと内容の間に余白 */
    }

    .info-row dd {
        width: 100%;
        font-size: 0.95rem; /* スマホでは文字を少し小さく */
    }

    .tel-number {
        font-size: 1.2rem; /* スマホでは電話番号の文字サイズを少し調整 */
    }

    /* スマホ表示時はヒーロー画像の下の余白をさらに狭くして、Concept要素を上に詰める */
    .front-page-main .hero-section-full {
        margin-bottom: 2rem;
    }
    
    /* レスポンシブ時のセクションタイトルを少し小さくする */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem;
    }

    /* Certification Section (Mobile) */

    .cert-grid {
        flex-direction: row; /* スマホ時も横並びで表示する */
        gap: 1.5rem; /* 横の間隔をスマホ向けに狭くする */
        align-items: flex-start; /* 上揃えでテキストの高さを合わせる */
        margin-top: 1.5rem; /* スマホ時のConcept文章との間隔 */
        padding: 0.5rem; /* スマホ用の内側余白 */
    }

    .cert-img-wrapper {
        height: 100px; /* スマホ時は画像エリアの高さを少し小さくする */
    }

    .cert-img-wrapper img {
        max-width: 80px; /* スマホ横並び時は画像を少し小さくしてスペースを確保 */
    }

    .cert-org {
        font-size: 1rem !important; /* スマホ時は強制的にこのサイズを維持する */
        margin-bottom: 0.1rem;
    }

    .cert-detail {
        font-size: 0.75rem !important; /* スマホ時は強制的にこのサイズを維持する */
        white-space: normal; /* スマホで細すぎる場合は折り返しを許容するか、nowrapで維持するか...今回は維持ならnowrapだが横幅ギリギリを狙う。 */
    }

    .cert-dummy-icon {
        font-size: 2.5rem; /* スマホではダミーアイコンもさらに小さく */
    }

    /* Concept Section自体の左右のパディングを削って横幅を稼ぐ */
    .section-concept {
        padding: 1rem 0 0; /* スマホ時も下と左右の余白を削り、上に寄せる */
        margin-bottom: 4rem; /* 次のセクションへの余白として戻す */
    }

    /* Conceptのテキストコンテナをスマホ用に調整して横幅を広くし、タイトルとの上余白をギリギリまで詰める */
    .concept-content {
        padding: 0 0.5rem 0; /* 上下の余白を0にして、Certificationとの間隔も最小にする */
        margin: 0 0.5rem;       /* 画面端に本当に少しだけ隙間を作る */
    }

    /* Conceptのテキストサイズをスマホ用に小さくする */
    .concept-content > p {
        font-size: 0.85rem;
        line-height: 2.0; /* 読みやすいように行間を少し開ける */
    }
    
    .info-list dt {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.2rem;
        margin-top: 1rem;
        display: inline-block;
    }

    /* Information内のテキストリンク（住所・電話番号）のスタイル（文字色維持・下線なし） */
    .info-text-link {
        color: inherit;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }
    .info-text-link:hover,
    .info-text-link:active {
        opacity: 0.7; /* タップ/ホバー時に少し薄くしてリンクであることを伝える */
    }

    .section-info {
        padding: 1.5rem;
    }

    /* スマホでのMOREボタンの過剰なホバーアニメーションを無効化し、タップ時の自然な反応に変更 */
    .btn-more::after {
        display: none;
    }
    .btn-more:hover span {
        color: var(--accent-color); /* ホバーで文字色が変わったままになるのを防止 */
    }
    .btn-more:active {
        background: rgba(255, 255, 255, 0.1); /* タップした瞬間だけ全体が少し明るくなる */
        transition: none; /* タップの反応を即座にする */
    }
}
