/* =========================================
   CSS Variables (カラーパレット・フォント)
   ========================================= */
:root {
    /* ベースカラー */
    --color-beige: #F9EBEB;
    /* 背景のアクセントに使う、ごく薄い淡い赤（ピンクグレー） */
    --color-offwhite: #FFFFFF;
    /* ベースとなる純白 */

    /* メインカラー */
    --color-main: #CB2A32;
    /* 目に優しい落ち着いた深めの赤 */

    /* アクセントカラー */
    --color-accent: #D9534F;
    /* ゴールド系（深みのある赤と相性が良いため維持） */
    --color-terracotta: #D9534F;
    /* 必須バッジなどに使う少し明るめの赤 */

    /* テキストカラー */
    --color-text: #5b301f;
    /* ご指定のダークブラウン */

    /* フォント */
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* レイアウト時の共通値 */
    --header-height: 80px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* ヘッダー固定時のスクロール停止位置を調整 */
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-offwhite);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Utility Classes & Layout
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-beige {
    background-color: var(--color-beige);
}

.bg-white {
    background-color: var(--color-offwhite);
}

.bg-main {
    background-color: var(--color-main);
}

.text-white {
    color: var(--color-offwhite);
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.inline-block {
    display: inline-block;
}

/* =========================================
   Typography & Components
   ========================================= */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-text);
    position: relative;
}

/* タイトル下部の日本語表記 */
.section-title .ja {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 0.1em;
}

.title-white {
    color: var(--color-offwhite);
}

/* 共通のコンテンツボックス */
.content-box {
    background-color: var(--color-offwhite);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(91, 48, 31, 0.05);
}

.content-box.bg-beige {
    background-color: var(--color-beige);
}

/* 背景が白の時は完全にボックスを浮かせる（純白にする） */
.bg-white .content-box {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(91, 48, 31, 0.08);
}

/* 採用セクション用ボックス */
.bg-main .content-box {
    background-color: transparent;
    box-shadow: none;
    color: var(--color-offwhite);
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-gold {
    background-color: var(--color-accent);
    color: var(--color-offwhite);
}

.btn-gold:hover {
    background-color: #a53420;
    /* hover時の少し濃いめのゴールド */
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-main {
    background-color: var(--color-main);
    color: var(--color-offwhite);
}

.btn-main:hover {
    background-color: #a31e24;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* メインカラーの薄い影 */
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.logo-text {
    /* FREEDOM: Century Gothic Regular */
    font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    display: inline-block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-img {
    height: 60px;
    /* ヘッダーの高さに合わせて調整 */
    width: auto;
    display: block;
}

.logo-text small {
    /* Active Vision Company: Century Gothic Bold */
    font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: block;
}

.global-nav ul {
    display: flex;
    gap: 35px;
}

.global-nav a {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding: 5px 0;
}

/* ホバー時のアンダーラインエフェクト */
.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s;
}

.global-nav a:hover::after {
    width: 100%;
}

/* アニメーション用ハンバーガーメニュー */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background-color: var(--color-beige);
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 左から右にかけてのグラデーションオーバーレイでテキストを読みやすく */
.swiper-slide::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
    width: 100%;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(32px, 8vw, 85px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.12em;
    text-shadow:
        1px 1px 10px rgba(0, 0, 0, 0.6),
        -1px -1px 10px rgba(0, 0, 0, 0.6),
        1px -1px 10px rgba(0, 0, 0, 0.6),
        -1px 1px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(32px, 8vw, 85px);
    color: #FFFFFF;
    text-shadow:
        1px 1px 10px rgba(0, 0, 0, 0.6),
        -1px -1px 10px rgba(0, 0, 0, 0.6),
        1px -1px 10px rgba(0, 0, 0, 0.6),
        -1px 1px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

/* ページネーションの色変更 */
.swiper-pagination-bullet {
    background: var(--color-main);
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
}

/* アニメーションキーフレーム */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Specific Sections
   ========================================= */
/*=========================================
   Recruit Section & Form
   ========================================= */
.recruit-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 5px;
    text-align: left;
}

.recruit-closing {
    color: #c82336;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 30px 0 35px;
    text-align: left;
}

.recruit-form-wrapper {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 25px;
    margin-top: 10px;
}

/* Accordion */
.accordion {
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-btn {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    transition: background 0.2s;
}

.accordion-btn[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.accordion-btn:hover {
    background: #f5f5f5;
}

.accordion-store {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    padding-right: 36px;
}

.accordion-summary {
    font-size: 0.85rem;
    line-height: 1.9;
    color: #555;
    display: block;
}

.accordion-toggle-text {
    align-self: flex-end;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 5px;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
    border: 1px solid #eeeeee;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.recruit-detail {
    padding: 20px 20px 24px;
    text-align: left;
}

.recruit-detail h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 20px 0 6px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 4px;
}

.recruit-detail h5:first-child {
    margin-top: 0;
}

.recruit-detail p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #555;
}

.indeed-btn {
    display: inline-block;
    margin-top: 24px;
    background: #003A9B;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 50px;
    text-align: center;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 58, 155, 0.25);
    text-decoration: none;
}

.indeed-btn:hover {
    background: #002d7a;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 58, 155, 0.3);
    color: #fff;
}

.form-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--color-beige);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    background-color: var(--color-terracotta);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: #fff;
}

.custom-select select {
    cursor: pointer;
    appearance: none;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* =========================================
   Stylish List / Table (Company / History)
   ========================================= */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-table th {
    width: 25%;
    padding: 50px 20px 50px 50px;
    background-color: transparent;
    color: var(--color-text);
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.info-table td {
    width: 75%;
    padding: 50px 50px 50px 0;
    border-bottom: 1px solid #eee;
    color: #4a4a4a;
    vertical-align: top;
    line-height: 1.8;
}

.info-table tr:first-child th,
.info-table tr:first-child td {
    border-top: 1px solid #eee;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: 2px solid #eee;
}

/* =========================================
   Business Links
   ========================================= */
.business-desc {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.business-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.b-link-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background-color: var(--color-offwhite);
    border: 1px solid rgba(91, 48, 31, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    min-height: 150px;
}

.b-link-card:hover {
    background-color: var(--color-main);
    color: var(--color-offwhite);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(91, 48, 31, 0.15);
}

.b-link-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.b-link-card span {
    display: inline-block;
    font-size: 0.9rem;
    padding: 6px 18px;
    border: 1px solid currentColor;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-main);
    color: var(--color-offwhite);
    padding: 30px 0;
    text-align: center;
}

.footer-content-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-company-name {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-offwhite);
    letter-spacing: 0.05em;
}

.footer-address {
    font-size: 14px;
    line-height: 1.6;
}

.footer-address p {
    margin-bottom: 5px;
}

.copyright {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 700px;
}

/* =========================================
   Tab Navigation & Content
   ========================================= */
.tab-nav-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px 20px;
}

.tab-btn {
    padding: 15px 40px;
    background-color: transparent;
    color: var(--color-main);
    border: 1px solid var(--color-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.tab-btn:hover {
    background-color: var(--color-beige);
}

.tab-btn.active {
    background-color: var(--color-main);
    color: var(--color-offwhite);
    box-shadow: 0 4px 10px rgba(91, 48, 31, 0.2);
}

.tab-contents-wrapper {
    min-height: 50vh;
    /* 中身が短い場合でもフッターが浮かないようにする配慮 */
}

.tab-content {
    display: none;
    animation: fadeInTab 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media screen and (max-width: 900px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .header-inner {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        /* スマホメニュー：白背景 */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .global-nav.active {
        transform: translateX(0);
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .global-nav a {
        font-size: 1.4rem;
        color: var(--color-main);
        /* スマホメニュー：赤文字 */
    }

    .global-nav a::after {
        background-color: var(--color-main);
        /* スマホメニュー：アンダーラインも赤 */
    }

    /* ヒーローエリアのスマホ調整 */
    .hero {
        height: 60vh;
        /* スマホでは高さを抑えて画像を見やすく */
        min-height: 400px;
    }

    .hero-title,
    .hero-subtitle {
        font-family: 'Noto Serif JP', serif;
        /* スマホでも明朝体を維持 */
        font-size: clamp(28px, 9vw, 42px);
        line-height: 1.3;
        text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    }

    .hero-title {
        margin-bottom: 8px;
    }

    .hero-content {
        padding: 0 15px;
        align-items: center;
        text-align: center;
    }

    /* スマホ時はグラデーションを全体にかけて文字を見やすくする */
    .swiper-slide::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .section {
        padding: 60px 0;
    }

    .philosophy h3 {
        font-size: 20px !important;
        /* スマホでは少し小さく */
        line-height: 1.5 !important;
    }

    .philosophy p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    /* コンテナ余白をスマホ向けに縮小して表示幅を確保 */
    .container {
        padding: 0 10px;
    }

    /* ボックス内を少しゆとりを持たせつつパディングを調整 */
    .content-box {
        padding: 30px 12px;
    }

    .business-desc {
        font-size: 1rem;
        margin-bottom: 5px;
        text-align: left;
        /* スマホでは長文が真ん中だと読みづらいので左寄せ */
    }

    /* タブナビゲーションのスマホ調整 (2列2段にする) */
    .tab-nav-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 40px 20px 10px;
    }

    /* 採用情報のスマホ調整 (縦積み) */
    .recruit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recruit-info,
    .recruit-form-wrapper {
        padding: 0;
    }

    /* 求人カード（アコーディオン）の横幅にゆとりを持たせる */
    .accordion-btn {
        padding: 16px 12px;
        /* 左右余白を20px→12pxに縮小 */
    }

    .recruit-detail {
        padding: 16px 12px 20px;
        /* 展開後の詳細も横余白を縮小 */
    }

    .tab-btn {
        flex: 1 1 45%;
        padding: 12px 10px;
        font-size: 1rem;
        text-align: center;
    }

    /* テーブルのスマホ調整 */
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        padding: 25px 20px 5px 20px;
        border-bottom: none;
        color: var(--color-accent);
        /* ゴールド系の文字で目立たせる */
        font-size: 0.95rem;
    }

    .info-table td {
        padding: 5px 20px 25px 20px;
        border-bottom: 1px solid var(--color-beige);
    }

    .info-table tr:first-child th,
    .info-table tr:first-child td {
        border-top: none;
    }

    .info-table tr:first-child th {
        border-top: 1px solid var(--color-beige);
    }

    .info-table tr:last-child th,
    .info-table tr:last-child td {
        border-bottom: none;
    }

    .footer {
        padding: 50px 0 30px;
        /* 上の余白を詰める (元: 80px) */
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
        /* 中の要素の隙間も少し狭くする */
        margin-bottom: 5px;
        padding-bottom: 30px;
    }

    .footer-logo {
        font-size: 1.3rem;
        /* 文字を小さくする (元: 1.8rem) */
    }

    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* =========================================
   Babyface Page Styles
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600&family=Noto+Serif+JP:wght@400;500;700&display=swap');

.babyface-body {
    /* 南国風の茶色・ベージュ系 */
    --brown-dark: #5B301F;
    --brown-main: #7A422B;
    --brown-light: #A3644B;
    --gold: #C4A47E;
    --bg-sand: #E8DECF;
    --white: #FFFFFF;
    --text-main: #5B301F;
    --text-muted: #A3644B;
    --bg-card: #FAF8F5;
    /* カード背景色 */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.babyface-body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-sand);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
.serif {
    font-family: 'Noto Serif JP', serif;
}

/* ヘッダー */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    text-align: left;
    padding-left: 30px;
    box-shadow: 0 2px 10px rgba(91, 48, 31, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.main-header h2 {
    margin: 0;
    color: var(--brown-dark);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

main {
    padding-top: 64px;
    /* ヘッダー固定による高さ調整 */
}

/* ヒーローバナー */
.hero-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: var(--brown-dark);
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* グラデーションオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(91, 48, 31, 0.2), rgba(91, 48, 31, 0.6));
    z-index: 5;
    pointer-events: none;
}

/* ヒーローテキスト (左寄せ) */
.hero-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: left;
    color: var(--white);
    width: 84%;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 500;
    margin: 0 0 15px;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.1rem;
    margin: 0;
    padding-left: 4px;
    /* 上の文字と左端を揃える微調整 */
    font-weight: 400;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 左右切り替えボタン */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--brown-dark);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* コンテンツセクション */
.content-section {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* タブボタン */
.bf-tabs {
    display: flex;
    background-color: #E8DECF;
    border-radius: 50px;
    padding: 6px;
    margin: -35px auto 50px;
    /* バナーの上にオーバーラップ */
    position: relative;
    z-index: 20;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 内側のツヤ感・立体感 */
.bf-tabs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.bf-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #5B301F;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
    position: relative;
    z-index: 2;
    text-align: center;
}

.bf-tab-btn.active {
    background: linear-gradient(to bottom, #8A4F38, #5B301F);
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(91, 48, 31, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bf-tab-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.4);
}

.bf-tab-divider {
    width: 1px;
    background-color: #C2B4A3;
    margin: 12px 0;
    transition: opacity 0.3s;
    position: relative;
    z-index: 1;
}

/* アクティブタブの横にある区切り線を隠す */
.bf-tab-btn.active+.bf-tab-divider,
.bf-tab-divider:has(+ .bf-tab-btn.active) {
    opacity: 0;
}

/* タブの中身(コンテンツ) */
.bf-tab-content {
    display: none;
    background: #FCFAF8;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(91, 48, 31, 0.08);
    /* 柔らかな外側の影 */
    border: 1px solid rgba(91, 48, 31, 0.05);
    /* ほんのりボーダー */
    animation: fadeUp 0.5s ease forwards;
}

.bf-tab-content.active {
    display: block;
}

.bf-tab-title {
    text-align: center;
    color: #5B301F;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新着情報 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    padding: 24px 0;
    border-bottom: 1px solid rgba(91, 48, 31, 0.15);
    /* 少し暗めの境界線 */
    align-items: center;
    gap: 15px;
    /* バッジとの間隔 */
}

.news-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-list li:first-child {
    padding-top: 0;
}

.news-list .date {
    color: #9C6A53;
    /* 写真風の赤茶色 */
    font-weight: 600;
    font-size: 1.05rem;
    min-width: 100px;
    letter-spacing: 0.05em;
}

.news-list .badge {
    background-color: #B28F73;
    color: #FFF;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}

.news-list .title {
    font-size: 1.05rem;
    color: var(--brown-dark);
}

/* ダミーテキスト */
.bf-tab-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================
   予約セクション
========================================================== */
.reservation-section {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.reservation-container {
    background-color: var(--brown-dark);
    /* 横長の背景ボックス */
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(91, 48, 31, 0.15);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 南国風の上品なパターン背景の代わりとなるグラデーション */
    background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.reservation-header {
    text-align: center;
    margin-bottom: 40px;
}

.reservation-header h2 {
    font-size: 2.2rem;
    margin: 0;
    color: var(--white);
    letter-spacing: 0.1em;
    font-weight: 400;
}

.reservation-header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.reservation-cards {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    /* スマホで縦並びにするため */
}

.store-card {
    box-sizing: border-box;
    background: #FCFAF8;
    /* カード背景：アイボリー系 */
    border-radius: 20px;
    padding: 35px 30px;
    flex: 1;
    min-width: 250px;
    max-width: 380px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--brown-dark);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.store-icon-wrapper {
    background-color: #A37E64;
    /* アイコンの丸背景色 */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.map-icon {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.store-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brown-dark);
}

.store-address {
    margin: 0 0 5px;
    font-size: 0.85rem;
    color: #9C8578;
}

.store-hours {
    margin: 0 0 25px;
    font-size: 0.85rem;
    color: #9C8578;
}

.reserve-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    border-radius: 50px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-google {
    background-color: #997150;
}

.btn-google:hover {
    background-color: #8c674a;
    transform: translateY(-2px);
}

.btn-hotpepper {
    background-color: #C19974;
}

.btn-hotpepper:hover {
    background-color: #b5906c;
    transform: translateY(-2px);
}



/* フッター */
.main-footer {
    background-color: var(--brown-dark);
    color: var(--white);
    text-align: center;
    padding: 50px 20px 30px;
}

.footer-logo {
    margin: 0 0 30px 0;
    color: var(--white);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.footer-nav {
    max-width: 900px;
    margin: 0 auto 40px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.footer-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links li a:hover {
    color: var(--gold);
    opacity: 1;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.sns-icon svg {
    width: 22px;
    height: 22px;
}

.sns-icon:hover {
    background-color: var(--gold);
    color: var(--brown-dark);
    transform: translateY(-4px);
}

.main-footer .copyright {
    margin: 0 auto;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    width: 90%;
    max-width: 900px;
}

/* スマホ表示対応 (レスポンシブ) */
@media (max-width: 768px) {
    .main-header {
        padding-left: 20px;
    }

    .hero-text {
        width: 90%;
        left: 5%;
    }

    .hero-text h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        /* 文字が小さくなった分、余白も少し詰める */
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .hero-banner {
        height: 280px;
    }

    .bf-tabs {
        margin: -25px 10px 40px;
        padding: 4px;
        border-radius: 30px;
    }

    .bf-tab-btn {
        font-size: 0.75rem;
        padding: 10px 0;
        letter-spacing: 0;
    }

    .bf-tab-divider {
        margin: 6px 0;
    }

    .bf-tab-content {
        padding: 30px 15px;
    }

    .news-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 0;
    }

    .news-list .date {
        font-size: 0.95rem;
    }

    .news-list .badge {
        margin-bottom: 5px;
        font-size: 0.75rem;
        padding: 2px 10px;
    }

    .reservation-container {
        padding: 30px 15px;
        border-radius: 16px;
    }

    .reservation-header h2 {
        font-size: 1.6rem;
    }

    .reservation-cards {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        gap: 20px;
    }

    .store-card {
        width: 100%;
        padding: 25px 20px;
        min-width: auto;
    }
}

/* =========================================
   スクロールアニメーション（Intersection Observer）
   ========================================= */
.reveal,
.reveal-child {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal-child:nth-child(2) {
    transition-delay: 0.12s;
}

.reveal-child:nth-child(3) {
    transition-delay: 0.22s;
}

.reveal-child:nth-child(4) {
    transition-delay: 0.32s;
}

.reveal.is-visible,
.reveal-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ご挨拶セクション（エレガント版）
   ========================================= */
.top-greeting {
    padding: 100px 0;
    background: #fff;
}

/* "Greeting" 英字サブタイトル */
.top-greeting .home-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-main);
    text-transform: uppercase;
    margin-bottom: 60px;
    font-family: var(--font-body);
}

.greeting-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
}

.greeting-img {
    flex: 0 0 55%;
    max-width: 55%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
}

.greeting-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.greeting-img:hover img {
    transform: scale(1.04);
}

.greeting-text {
    flex: 1;
    padding: 60px 60px 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--color-main);
    background: #fff;
}

.greeting-text .home-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
}

.greeting-text .home-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--color-main);
}

.greeting-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 2.2;
}

/* =========================================
   代表メッセージセクション（エレガント版）
   ========================================= */
.top-message {
    padding: 100px 0;
    background: #fafafa;
}

.message-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    flex-direction: row;
}

.message-text {
    flex: 1;
    padding: 60px 70px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--color-main);
    background: #fafafa;
}

.message-text .home-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
}

.message-text .home-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--color-main);
}

.message-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 2.2;
    margin-bottom: 0;
}

.message-sign {
    font-size: 0.9rem !important;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-top: 36px !important;
    letter-spacing: 0.12em;
    font-family: var(--font-heading);
}

.message-img {
    flex: 0 0 52%;
    max-width: 52%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.message-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.message-img:hover img {
    transform: scale(1.04);
}

/* =========================================
   店舗情報セクション（エレガント版）
   ========================================= */
.top-stores {
    padding: 100px 0;
    background: #fff;
}

.stores-rule {
    display: none;
}

/* セクション共通見出し（HOME内） */
.home-section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.home-section-heading .home-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--color-main);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.home-section-heading h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.home-section-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--color-main);
}

.stores-grid {
    display: flex;
    gap: 40px;
    margin-top: 0;
}

.store-info-card {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
    transition: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.store-info-card:hover {
    transform: none;
    box-shadow: none;
    border-bottom-color: var(--color-main);
}

.store-info-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.store-info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
    filter: brightness(0.95);
}

.store-info-card:hover .store-info-img img {
    transform: scale(1.04);
    filter: brightness(1);
}

.store-info-body {
    padding: 24px 4px 28px;
}

.store-info-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.store-info-body p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.85;
    margin-bottom: 16px;
}

.store-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-main);
    text-decoration: none;
    letter-spacing: 0.06em;
    border-bottom: none;
    padding-bottom: 0;
    transition: gap 0.3s ease;
}

.store-detail-btn::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.store-detail-btn:hover {
    opacity: 1;
    gap: 10px;
}

.store-detail-btn:hover::after {
    transform: translateX(4px);
}

/* =========================================
   Business セクション（運営店舗一覧）
   ========================================= */
.business-content-box,
.content-box {
    background: #fff;
    padding: 60px;
    border-radius: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    margin: 0 auto;
    max-width: 960px;
}

.shop-list-title {
    text-align: center;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.shop-list-rule {
    border: none;
    border-top: 1px solid #ddd;
    margin-bottom: 50px;
}

.business-shop-card {
    margin-bottom: 50px;
}

.business-shop-card:last-child {
    margin-bottom: 0;
}

.b-shop-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.b-shop-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.b-shop-images {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b-img-main {
    width: 100%;
}

.b-img-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.b-img-sub {
    display: flex;
    gap: 10px;
}

.b-img-sub img {
    width: calc(50% - 5px);
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.b-shop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.b-info-dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.b-info-dl dt {
    width: 25%;
    font-weight: 500;
    color: #555;
    padding: 10px 0;
    font-size: 0.85rem;
}

.b-info-dl dd {
    width: 75%;
    margin: 0;
    padding: 10px 0 10px 16px;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.7;
}

.b-shop-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 24px;
}

.store-detail-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    align-self: flex-start;
}

.store-detail-btn::before {
    content: "▶";
    margin-right: 6px;
    font-size: 0.75rem;
    color: var(--color-text);
    transition: transform 0.3s;
}

.store-detail-btn:hover::before {
    transform: translateX(3px);
}

@media (max-width: 768px) {

    .greeting-layout,
    .message-layout {
        flex-direction: column;
    }

    .greeting-img,
    .message-img {
        flex: none;
        max-width: 100%;
        height: 260px;
    }

    .greeting-text,
    .message-text {
        padding: 40px 24px;
    }

    .stores-grid {
        flex-direction: column;
    }

    .business-content-box {
        padding: 30px 20px;
    }

    .b-shop-split {
        flex-direction: column;
        gap: 20px;
    }

    .b-shop-images {
        flex: none;
        width: 100%;
    }

    .b-info-dl dt {
        width: 30%;
    }

    .b-info-dl dd {
        width: 70%;
    }
}

/* =========================================
   求人バナー画像（recruit-hero）
   ========================================= */
.recruit-hero {
    position: relative;
    max-width: 960px;
    width: 100%;
    margin: 0 auto 40px;
    max-height: 460px;
    overflow: hidden;
}

.recruit-hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.recruit-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /* 左下が暗くなるグラデーション */
    background: linear-gradient(to top right,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.10) 55%,
            transparent 100%);
    pointer-events: none;
}

.recruit-hero-text {
    position: absolute;
    bottom: 36px;
    left: 40px;
    z-index: 2;
    color: #fff;
}

.recruit-hero-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.recruit-hero-sub {
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .recruit-hero {
        max-height: 280px;
    }

    .recruit-hero img {
        max-height: 280px;
    }

    .recruit-hero-text {
        bottom: 20px;
        left: 20px;
    }

    .recruit-hero-main {
        font-size: 1.05rem;
    }

    .recruit-hero-sub {
        font-size: 0.8rem;
    }
}