/*
Theme Name: belleb
Theme URI: https://example.com/
Author: belleb
Description: belleb 美容・エステサロン公式テーマ
Version: 1.0.0
Text Domain: belleb
*/

/* ============================================================
   belleb theme - base layout & responsive overrides
   原站の reset / style / view CSS は assets/css 配下を enqueue
   ここでは追加のレイアウト・レスポンシブ調整のみ記述
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* PC: 中央寄せ最大幅 1100px */
#wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* ヘッダー：原版に合わせた 3 カラム レイアウト
   [ ロゴ ] [ キャッチコピー ] [ 電話番号 ] */
.belleb-header { padding: 14px 16px 10px; }
.belleb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
}
.belleb-header .belleb-logo {
    flex: 0 0 auto;
    display: block;
    line-height: 0;
}
.belleb-header .belleb-logo img {
    max-width: 200px;
    height: auto;
}
.belleb-header-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
}
.belleb-header-catch {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #b8689f;
    letter-spacing: 0.5px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    text-align: right;
}
.belleb-header-tel {
    flex: 0 0 auto;
    text-align: left;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.belleb-header-tel-label-img {
    display: block;
    max-width: 293px;
    height: auto;
}
.belleb-header-tel-link {
    display: inline-block;
    line-height: 0;
}
.belleb-header-tel-link img {
    display: block;
    max-width: 300px;
    height: auto;
}

/* ナビ：黒背景 */
.belleb-nav {
    background: #111;
}
.belleb-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.belleb-nav li { margin: 0; }
.belleb-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: background .2s;
}
.belleb-nav a:hover { background: #c8a25b; color: #fff; }

/* Hero スライダー */
.belleb-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.belleb-hero-track {
    position: relative;
    width: 100%;
    height: 430px;
}
.belleb-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.belleb-hero-slide.is-active { opacity: 1; }

/* セクション共通 */
.belleb-section {
    padding: 32px 16px;
}
.belleb-section h2 {
    font-size: 22px;
    border-left: 6px solid #c8a25b;
    padding-left: 10px;
    margin: 0 0 20px;
}
.belleb-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}
.belleb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.belleb-grid img { width: 100%; height: auto; display: block; }

/* バナー（Menu / Machine）2枚並び */
.belleb-banner-blocks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.belleb-banner-blocks img { width: 100%; height: auto; display: block; }

/* お悩み別：Face / Body カード */
.belleb-concern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.belleb-concern-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
}
.belleb-concern-img { display: block; line-height: 0; }
.belleb-concern-img img { width: 100%; height: auto; display: block; }
.belleb-concern-body { padding: 14px 16px 18px; }
.belleb-concern-title {
    margin: 0 0 10px;
    line-height: 1.1;
}
.belleb-concern-title-en {
    display: block;
    font-size: 26px;
    color: #c8a25b;
    font-family: "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 1px;
}
.belleb-concern-title-jp {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 2px;
    letter-spacing: 2px;
}
.belleb-concern-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 14px;
}
.belleb-concern-list li {
    border-bottom: 1px dashed #ddd;
    padding: 6px 0;
    font-size: 13px;
}
.belleb-concern-list a {
    color: #444;
    text-decoration: none;
    display: block;
}
.belleb-concern-list a:hover { color: #c8a25b; }

/* マシーン紹介 */
.belleb-machines {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
.belleb-machine {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #faf7f2;
    padding: 14px;
    border-radius: 4px;
}
.belleb-machine img { width: 140px; flex: 0 0 140px; }
.belleb-machine h3 { font-size: 15px; margin: 0 0 8px; color: #c8a25b; }
.belleb-machine p { font-size: 13px; line-height: 1.6; margin: 0; }

/* 脱毛ページ */
.belleb-epi { padding: 24px 16px; }
.belleb-epi h1 {
    font-size: 26px;
    text-align: center;
    margin: 0 0 24px;
    padding: 14px 0;
    background: #c8a25b;
    color: #fff;
}
.belleb-epi h2 {
    font-size: 20px;
    border-left: 6px solid #c8a25b;
    padding-left: 10px;
    margin: 28px 0 14px;
}
.belleb-epi p { line-height: 1.8; font-size: 14px; }
.belleb-epi table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
}
.belleb-epi table th, .belleb-epi table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}
.belleb-epi table th { background: #f5efe4; }

/* サロン情報 */
.belleb-info table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.belleb-info th, .belleb-info td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
.belleb-info th { width: 30%; background: #faf7f2; }

/* ============================================================
   フッター上部 CTA セクション：原版に合わせる
   PC: 左（ロゴ+電話）/ 右（4メニュー横並び） / Mobile: 縦積み
   ============================================================ */
.belleb-cta {
    background: #fff;
    color: #444;
    padding: 30px 16px 24px;
    border-top: 3px solid #c8a25b;
}
.belleb-cta-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

/* --- 左側：ロゴ + 電話 --- */
.belleb-cta-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}
.belleb-cta-logo img {
    display: block;
    max-width: 220px;
    height: auto;
}
.belleb-cta-phone-wrap {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: #2a2a2a;
    border: 1px dashed #e60a55;
    border-radius: 6px;
    padding: 8px 14px;
    line-height: 1.2;
    background: #fff;
    align-items: flex-start;
}
.belleb-cta-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.belleb-cta-badge {
    display: inline-block;
    background: #e60a55;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 999px;
    line-height: 1.6;
}
.belleb-cta-text {
    font-size: 12px;
    color: #444;
}
.belleb-cta-phone {
    font-size: 28px;
    font-weight: bold;
    color: #2a2a2a;
    letter-spacing: 2px;
    font-family: "Times New Roman", "Hiragino Mincho ProN", serif;
    white-space: nowrap;
}

/* --- 右側：4 メニュー --- */
.belleb-cta-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}
.belleb-cta-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.belleb-cta-menu li { margin: 0; flex: 0 0 auto; }
.belleb-cta-menu li a {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title arrow"
        "sub   arrow";
    column-gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #2a2a2a;
    border-bottom: 1px dashed #c8a25b;
    padding: 6px 6px 8px;
    min-width: 140px;
    transition: opacity 0.2s;
}
.belleb-cta-menu li a:hover { opacity: 0.7; }
.belleb-cta-menu-title {
    grid-area: title;
    font-size: 24px;
    font-weight: 400;
    font-family: "Times New Roman", "Hiragino Mincho ProN", serif;
    line-height: 1.1;
    white-space: nowrap;
}
.belleb-cta-menu-sub {
    grid-area: sub;
    font-size: 11px;
    color: #666;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
}
.belleb-cta-menu-arrow {
    grid-area: arrow;
    color: #c8a25b;
    font-size: 22px;
    line-height: 1;
}

/* ============================================================
   フッター：コピーライト帯のみ
   ============================================================ */
.belleb-footer {
    background: #000;
    color: #fff;
}
.belleb-footer-copy {
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12px;
    color: #fff;
    background: #000;
    padding: 14px 16px;
    box-sizing: border-box;
}
.belleb-footer-copy a { color: inherit; }

/* --- CTA タブレット（中間幅で2列メニュー） --- */
@media (max-width: 1023px) {
    .belleb-cta-menu { gap: 14px; }
    .belleb-cta-menu-title { font-size: 20px; }
}

/* --- CTA モバイル：縦積み + 2列メニュー --- */
@media (max-width: 767px) {
    .belleb-cta-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .belleb-cta-left {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .belleb-cta-logo img { max-width: 180px; margin: 0 auto; }
    .belleb-cta-phone-wrap { align-items: center; }
    .belleb-cta-phone-row { justify-content: center; }
    .belleb-cta-phone { font-size: 24px; }

    .belleb-cta-right {
        width: 100%;
        justify-content: center;
    }
    .belleb-cta-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        width: 100%;
        justify-content: stretch;
    }
    .belleb-cta-menu li a {
        min-width: 0;
        width: 100%;
    }
    .belleb-cta-menu-title { font-size: 18px; }
}

/* ============================================================
   レスポンシブ：タブレット
   ============================================================ */
@media (max-width: 900px) {
    .belleb-grid { grid-template-columns: repeat(2, 1fr); }
    .belleb-machines { grid-template-columns: 1fr; }
    .belleb-hero-track { height: 320px; }
}

/* ============================================================
   レスポンシブ：スマホ 375px～
   ============================================================ */
@media (max-width: 640px) {
    .belleb-header { padding: 12px; }
    .belleb-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .belleb-header .belleb-logo img { max-width: 160px; }
    .belleb-header-catch {
        flex: 0 0 100%;
        font-size: 14px;
        text-align: center;
    }
    .belleb-header-right {
        flex: 0 0 100%;
        align-items: center;
        text-align: center;
    }
    .belleb-header-tel { text-align: center; flex: 0 0 100%; align-items: center; }
    .belleb-header-tel-label-img,
    .belleb-header-tel-link img { margin: 0 auto; }

    /* 横スクロールナビ */
    .belleb-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .belleb-nav a {
        padding: 12px 14px;
        font-size: 13px;
    }

    .belleb-hero-track { height: 200px; }

    .belleb-section { padding: 20px 12px; }
    .belleb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .belleb-banner-blocks { grid-template-columns: 1fr; }
    .belleb-concern { grid-template-columns: 1fr; }
    .belleb-concern-list { grid-template-columns: repeat(2, 1fr); }

    .belleb-machine { flex-direction: column; }
    .belleb-machine img { width: 100%; flex: 0 0 auto; }

    .belleb-epi h1 { font-size: 20px; }
    .belleb-epi h2 { font-size: 17px; }
    .belleb-epi table th, .belleb-epi table td { font-size: 12px; padding: 6px; }

    .belleb-info th { width: 35%; font-size: 12px; }
    .belleb-info td { font-size: 12px; }
}
