/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #5a4b4b;
    line-height: 1.6;
    background-color: #fff0e6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

img {
    max-width: 1000px; /* 親要素からはみ出ない */
    width: 100%;
    height: auto;
    display: block;
}

/* --- ヘッダー全体のレイアウト --- */
.site-header {
    width: 100%;
    padding: 20px 0;
}

.header-inner {
    width: 100%;
    padding: 0 40px; /* 両端の余白（お好みで調整） */
    display: flex;
    justify-content: space-between; /* 両端に配置 */
    align-items: center;
    box-sizing: border-box;
}

/* 左側：ロゴとコピーの配置 */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo img {
    width: 242px; /* 指示通りのサイズ */
    height: auto;
    display: block;
}

.header-copy {
    font-size: 13px;
    color: #555;
    white-space: nowrap; /* PC時は1行で表示 */
}

/* 右側：グラデーションボタン */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(90deg, #3681ff 0%, #2ab7a2 50%, #b3dd2b 100%); /* 青から黄緑へのグラデーション */
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.header-btn:hover {
    opacity: 0.8;
}

/* --- レスポンシブ (スマホ対応) --- */
@media (max-width: 820px) {
    .header-inner {
        padding: 0px 20px;
    }

    /* キャッチコピーをロゴの下に配置 */
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .header-logo img {
        width: 180px; /* スマホ用にサイズを縮小 */
    }

    .header-copy {
        font-size: 11px;
    }

    .header-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
}
@media (max-width: 420px) {
    .header-inner {
        padding: 0px 10px;
    }
    .header-logo img {
        width: 180px; /* スマホ用にサイズを縮小 */
    }

    .header-copy {
        font-size: 10px;
    }

    .header-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    .header-btn-hide {
        display:none;
    }
}

/* ヒーローセクション */
.hero {
    width: 100%;
    margin:60px 0 0;
}
.after-beelogo {
    position:relative;
}
.after-beelogo::after {
    content: '';
    display: inline-block;
    width: 140px;
    height: 155px;
    background-image: url(img/bb_002.webp);
    background-size: contain;
    background-repeat:no-repeat;
    position:absolute;
    top:-77px;
    left:50%;
    transform: translateX(-50%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 47% 53%; /* 47:53の比率を維持 */
    width: 100%;
    align-items: center;
}

/* テキストエリア (47%) */
.hero-text {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* ★中身を右側（スライダー境界側）に寄せる */
    box-sizing: border-box;
}

/* テキストエリアの中身コンテンツ */
.hero-text-content {
    /* 画面が広がっても、文字が横に伸びすぎないように制限 */
    max-width: 480px; 
    width: 100%;
    /* スライダーとの間に一定の余白を確保 */
    padding: 60px 20px 60px 20px; 
    box-sizing: border-box;
}
.hero-main-title {
    font-size:56px;
    line-height:1.6em;
    letter-spacing: 0.3em;
    font-weight:normal;
    margin:0 0 30px -3px;
    padding-bottom:150px;
    background: url('img/bb_001.webp') no-repeat bottom left;
    background-size: contain;
}


/* スライダーエリア (53%) */
.hero-slider-wrap {
    width: 100%;
    height: 820px;
    position: relative;
    border-radius: 60px 0 0 60px; /* 左側だけ角丸 */
    overflow: hidden;
}

/* スライダー本体とアニメーション（前回から継承） */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠いっぱいに広げる */
    opacity: 0;
    animation: fadeSlider 16s infinite;
}

/* アニメーションの遅延設定 */
.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 4s; }
.slider img:nth-child(3) { animation-delay: 8s; }
.slider img:nth-child(4) { animation-delay: 12s; }

@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; }
}

/* --- スマホ対応 (1000px以下) --- */
@media (max-width: 1000px) {
    .hero-text-content {
        max-width: 400px;
        margin-bottom:40px;
    }
    .hero-main-title {
        font-size:clamp(28px, 5.5vw, 46px);
        padding-bottom:120px;
    }
    .hero-slider-wrap {
        height: 600px;
    }
}
/* --- スマホ対応 (768px以下) --- */
@media (max-width: 768px) {
    .hero {
        margin-top:20px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-text {
        justify-content: center; /* スマホでは中央寄せ */
    }
    .hero-text-content {
        padding: 40px 20px;
    }
    .hero-main-title {
        font-size:clamp(36px, 11vw, 46px);
        padding-bottom:120px;
    }
    .hero-slider-wrap {
        height: 400px;
        border-radius: 0;
    }
    .after-beelogo::after {
        width: 100px;
        height: 110px;
        top:-55px;
    }
}
@media (max-width: 368px) {
    .hero-text-content {
        font-size:14px;
    }
}

/* セクションバッジ (Concept, About など) */
.section-badge {
    text-align: center;
    font-size: 32px;
    padding: 120px 0 60px;
}
.section-badge img {
    max-width:400px;
    margin:0 auto;
}

/* --- コンセプトセクション --- */
/* 画面幅いっぱいのラッパー */
.concept-wide-wrap {
    display: grid;
    /* ご指定の比率 57% : 43% に設定 */
    grid-template-columns: 57% 43%;
    width: 100%;
    align-items: center;
    margin-bottom: 40px; /* ギャラリーとの間隔 */
}

/* 左側：画像エリア (57%) */
.concept-image-area {
    width: 100%;
    /* ヒーローセクションと合わせるため高さを設定（必要に応じて調整してください） */
    height: 600px;
    position: relative;
    /* 右側（テキスト側）の上下だけを角丸にする */
    border-radius: 0 60px 60px 0;
    overflow: hidden;
}

.concept-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいに広げる */
    display: block;
}

/* 右側：テキストエリア (43%) */
.concept-text-area {
    width: 100%;
    display: flex;
    /* 中身を左側（画像境界側）に寄せる */
    justify-content: flex-start;
    box-sizing: border-box;
}

/* テキストエリアの中身コンテンツ */
.concept-text-content {
    max-width: 500px; /* 文字が広がりすぎないように制限 */
    width: 100%;
    /* 画像との間に適切な余白を確保 */
    padding: 60px 20px 60px 60px;
    box-sizing: border-box;
    text-align: left;
}

/* テキスト内のスタイル調整 */
.section-badge-inline {
    font-size: 32px;
    color: #9cd4c2;
    font-family: serif;
    margin-bottom: 20px;
}

.concept-text-content h3 {
    color: #50b1cd;
    font-size:38px;
    line-height:1.6em;
    letter-spacing: 0.3em;
    font-weight:normal;
    margin-bottom: 30px;
}

/* --- スマホ対応 (1000px以下) --- */
@media (max-width: 1000px) {
    .concept-wide-wrap {
        max-width:690px;
        margin:0 auto;
        padding:0 20px;
        grid-template-columns: 1fr; /* 縦並びにする */
    }
    .concept-image-area {
        height: 380px;
        border-radius: 10px;
        order: 2; /* スマホでは画像をテキストの下に持ってくる場合 */
    }
    .concept-text-area {
        justify-content: center;
        order: 1; /* スマホではテキストを上に */
    }
    .concept-text-content {
        max-width: 100%;
        padding: 40px 20px;
    }
    .concept-text-content h3 {
        font-size:30px;
        text-align: center;
    }
    .section-badge img {
        max-width:300px;
    }
}
@media (max-width: 500px) {
    .concept-image-area {
        height: 240px;
    }
    .section-badge {
        padding: 100px 0 20px;
    }
    .section-badge img {
        max-width:240px;
    }
    .concept-text-content h3 {
        font-size:30px;
    }
}


/* ギャラリー全体のレイアウト設定 */
.gallery-grid {
    display: grid;
    /* 200pxの列を3つ作成 */
    grid-template-columns: repeat(3, 200px); 
    /* 画像間の余白をご指定の26pxに設定 */
    gap: 26px;      
    /* グリッド全体を中央に寄せる */
    justify-content: center; 
    margin: 40px auto 120px;
}

/* 各サムネイル画像の設定 */
.lightbox-trigger {
    width: 100%;
    max-width:200px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-trigger:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* --- スマホ対応 --- */
@media (max-width: 700px) {
    .gallery-grid {
        /* 画面が狭くなったら2列、または1列に自動調整 */
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 20px auto 100px;
    }
}
/* モーダル背景（最初は非表示） */
.lightbox-overlay {
    display: none; /* JSで flex に切り替え */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 背景を暗く */
    justify-content: center;
    align-items: center;
    cursor: zoom-out; /* 背景をクリックして閉じられることを示す */
}

/* 拡大画像本体 */
.lightbox-content-wrap {
    max-width: 90%;
    max-height: 90%;
    cursor: default; /* 画像の上では普通のカーソル */
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease; /* 開くときのアニメーション */
}

/* 閉じるボタン（×） */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* 「さあ、おいで」から「料金」までを包む巨大なグラデーション */
.usage-and-price {
    background: linear-gradient(270deg, #5aaaee 0%, #64c8c8 50%, #76C791 100%);
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

/* 導入文の装飾 */
.usage-title img {
    width:80%;
    height:auto;
    max-width:560px;
    display:block;
    margin:0 auto 80px;
}

.usage-subtext {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
    color:#3a3030;
}

.recommend-badge {
    color: #fff;
    display: inline-block;
    padding: 40px 40px 10px;
    font-size:2em;
    font-weight: bold;
    margin-bottom: 80px;
     text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 活用術グリッド */
.usage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    margin-bottom: 120px;
}

.combined-img {
    width: 100%;
    margin-bottom: 20px;
}

.card-body h4 {
    font-size: 20px;
    margin-bottom: 12px;
    display: inline-block;
    padding-bottom: 4px;
}

.card-body p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    color:#3a3030;
}

/* 料金セクション */
.price-main-title {
    font-size: 36px;
    letter-spacing: 0.3em;
    margin-bottom: 50px;
}

.price-table {
    max-width: 850px;
    margin: 0 auto 40px;
}

/* 料金表の各行（PC・共通） */
.price-row {
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
    padding: 5px; /* ボーダーの太さ分を含めた余白 */
    box-sizing: border-box;
    min-height: 88px; /* 指示通りの 88px に変更 */
}

/* 内側のボーダー枠（2px） */
.price-row::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #51b8d2; /* 太さを 2px に変更 */
    pointer-events: none;
    z-index: 1;
}

/* 左側の番号アイコン */
.price-num {
    background: #51b8d2;
    color: #fff;
    width: 60px; /* PCでの幅 */
    align-self: stretch; /* ボーダー枠いっぱいに拡大 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    margin-right: 20px;
    z-index: 2;
}

/* テキスト部分 */
.price-label {
    flex: 1;
    text-align: left;
    font-weight: bold;
    font-size: 18px;
    color: #51b8d2;
    z-index: 2;
}

.price-value {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    padding-right: 25px;
    z-index: 2;
}
.price-notes {
    max-width: 850px;
    text-align:left;
    color: #3a3030;
    margin: 0 auto 40px;
}
.price-notes ul li {
    margin-left: 1.2em;
}

/* --- スマートフォン対応  --- */
@media (max-width: 768px) {
    .usage-and-price {
        padding: 70px 0;
    }
    .usage-grid {
        gap: 30px 20px;
    }
    .price-row {
        flex-direction: column; /* 縦並び */
        justify-content: center;
        padding: 20px; /* スマホ時は上下に余白を確保 */
        min-height: auto; /* コンテンツに合わせて可変 */
    }

    .price-num {
        width: 36px;  /* 正方形のサイズ */
        height: 36px;
        flex-grow: 0; /* 縦に伸びないように固定 */
        align-self: center; /* 中央配置 */
        margin-right: 0;
        margin-bottom: 15px; /* 下のテキストとの間隔 */
        border-radius: 2px;
        font-size: 18px;
    }

    .price-label {
        text-align: center;
        width: 100%;
        padding-left: 0;
        margin-bottom: 8px;
    }

    .price-value {
        text-align: center;
        width: 100%;
        padding-right: 0;
        font-size: 16px;
    }
}
@media (max-width: 460px) {
    .usage-grid {
        grid-template-columns: 1fr ;
    }
    .usage-grid {
        gap: 50px;
    }
    .usage-title img {
        margin:0 auto 60px;
    }
}

/* アバウト */
.about-flex {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: flex-start;
}

/* 左側：テキスト情報 */
.about-info {
    flex: 1;
    max-width: 420px;
}

.about-info dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px 0;
    margin-bottom: 30px;
}

.about-info dt {
    font-weight: bold;
    color: #51b8d2;
}

.about-info dd {
    margin: 0;
    line-height: 1.8;
}

.about-notes {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* --- Aboutセクション画像エリアの精密調整 --- */

.about-gallery {
    width: 370px; /* 全体の幅を固定 */
    flex-shrink: 0; /* 幅が勝手に縮まないように固定 */
}

.main-photo img {
    width: 370px; /* 指示通りの幅 */
    height: auto;
    border-radius: 10px;
    display: block;
    margin-bottom: 30px; /* 下の画像との余白も30px */
}

.sub-photos {
    display: flex;
    gap: 30px; /* 画像間の余白 30px */
}

.sub-photos img {
    width: 170px; /* 指示通りの幅 */
    height: auto; /* 正方形に近いバランスで配置 */
    object-fit: cover;
    border-radius: 8px;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 950px) {
    .about-flex {
        flex-direction: column; /* スマホではテキストを上、画像を下に配置 */
        align-items: center;
        gap: 40px;
    }

    /* スマホでは画面幅に合わせて縮小できるようにする */
    .about-gallery {
        width: 100%;
        max-width: 480px;
    }

    .main-photo img {
        width: 100%;
    }

    .sub-photos {
        gap: 5%; /* スマホではパーセントで余白を維持 */
    }

    .sub-photos img {
        width: 47.5%; /* 30px固定だとはみ出るため、比率で調整 */
        height: auto;
        aspect-ratio: 1 / 0.85;
    }
}

/* ご予約・お問い合わせ */
.contact-section {
    padding: 60px 0;
    text-align: center;
}

/* 白いボックス全体 */
.contact-box {
    max-width: 872px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #51b8d2; /* 料金セクションと統一した水色 */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 水色のヘッダー部分 */
.contact-header {
    background-color: #51b8d2;
    color: #fff;
    padding: 10px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.contact-body {
    padding: 20px;
}

/* 電話番号テキスト */
.tel-number {
    display: block;
    font-size: 52px;
    color: #008dbd;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

/* 「電話をかける」ボタン（グラデーション） */
.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 60px;
    background: linear-gradient(90deg, #3681ff 0%, #2ab7a2 50%, #b3dd2b 100%); /* 青から黄緑へのグラデーション */
    color: #fff;
    text-decoration: none;
    border-radius: 30px; /* カプセル型 */
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(66, 165, 245, 0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-call:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 480px) {
    .tel-number {
        font-size: 28px;
    }
    .btn-call {
        width: 100%;
        max-width: 280px;
    }
}

/* フッター */
/* --- フッターセクションのデザイン --- */

.site-footer {
    position: relative;
    /* アセット 41 の画像を背景に設定 */
    background: url('img/bb_016.webp') no-repeat center center;
    background-size: cover;
    padding: 220px 20px 150px;
    text-align: center;
    color: #fff;
}

/* 画像の上に薄い暗幕を敷いて文字を読みやすくする */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 暗さの調整 */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2; /* 背景の暗幕より上に表示 */
}

/* ロゴのサイズ指定 */
.footer-logo img {
    width: 176px;
    height: auto;
    margin:0 auto 100px;
}

/* 店舗名 */
.footer-brand {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}
.footer-brand img {
    max-width:172px;
    margin:0 auto;
}

/* 説明文と住所 */
.footer-desc {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* --- スマホ対応 --- */
@media (max-width: 480px) {
    .site-footer {
        padding: 140px 20px 100px;
    }
    .footer-brand {
        font-size: 24px;
    }
    .footer-logo img {
        width: 140px; /* スマホでは少し小さく調整 */
        margin-bottom:70px;
    }
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-flex, .concept-flex, .about-flex { flex-direction: column; }
    .card-grid { grid-template-columns: 1fr; }
    .main-title { font-size: 32px; }
}

/* --- スムーズスクロールの設定 --- */
html {
    scroll-behavior: smooth;
}

/* --- スマホ固定ナビゲーション --- */
/* PCでは非表示 */
.mobile-nav {
    display: none;
}

@media (max-width: 1000px) {
    /* ナビの高さ分、コンテンツの下に余白を作って被りを防ぐ */
    body {
        padding-bottom: 70px;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: #51b8d2;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999; /* 最前面に表示 */
        justify-content: space-around;
        align-items: center;
    }

    .nav-item {
        flex: 1;
        text-decoration: none;
        color: #fff; /* サイトの基本文字色 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 70px;
    }
    .nav-item:hover {
        background-color:#8adff4;
    }

    /* アイコンスペース（指示通りのサイズ固定） */
    .nav-icon {
        width: 20px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-icon img {
        width: 100%;
        height: auto;
    }

    .nav-item span {
        font-size: 10px;
        font-weight: bold;
    }
}