/* --- 基本設定 --- */
:root {
    --bafit-orange: #ef6b24;
    --bafit-orange-deep: #c94816;
    --bafit-red: #a62617;
    --bafit-ink: #201714;
    --bafit-muted: #745f56;
    --bafit-cream: #fff8ef;
    --bafit-cream-deep: #f6eadb;
    --bafit-dark: #17110f;
    --bafit-dark-soft: #241a17;
    --bg-color: #111111;
    --button-hover-color: #f1e8c9;
    --text-color: #f4f4f4;
    --accent-color: #c0a062;
    /* 琥珀色・ゴールド */
    --accent-dark: #4d3c18;
    /* 琥珀色・ゴールド */
    --accent-sub: #8a1c1c;
    /* ラー油イメージの深紅 */
    --font-main: 'Noto Serif JP', serif;

    /* 電話 */
    --tel-green-dark: #0ba00b;
    --tel-green-deep: #007900;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

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

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

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

/* --- アニメーション用クラス --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ヘッダー --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(17, 17, 17, 0.9);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.site-header nav li {
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    /* width: 33%; */
    /* text-align: center; */
    /* border-left: 1px solid #fff; */
}

.site-header nav a {
    padding: 5px 15px;
    /* padding-top: 5px; */
    /* padding-bottom: 5px; */
    display: block;
}

.site-header nav a:hover,
.site-header nav a.active {
    color: var(--accent-color);
}

/* --- トップ: ヒーローエリア --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://placehold.co/1920x1080/222/444?text=TAN+TAN+MEN+BaFIT');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p {
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --- トップ: こだわりセクション --- */
.concept {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.concept-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.concept-row.reverse {
    flex-direction: row-reverse;
}

.concept-img {
    flex: 1;
    overflow: hidden;
}

.concept-img img {
    transition: all 0.8s ease;
    filter: brightness(95%);
    /* transition: filter 0.8s ease; */
}

.concept-img:hover img {
    transform: scale(1.05);
    filter: brightness(100%);
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}


/* ------------------- */
/* --- トップ: 店舗情報 --- */
.info {
    /* background: #1a1a1a; */
    background: radial-gradient(circle at 88% 12%, rgba(239, 107, 36, 0.20), transparent 28rem);
    padding: 80px 0;
    text-align: center;
}

.info-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

.note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.info-item iframe{
    padding-top: 8px;
}
/* --- トップ: 店舗情報 --- */
/* ------------------- */


/* ------------------- */
/* --- テイクアウト・デリバリー --- */
.takeout {
    background: #1f1e1e;
    padding: 80px 0;
    text-align: center;
}

.takeout-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.takeout-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

.takeout-grid a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--bafit-orange), var(--bafit-orange-deep));
    box-shadow: 0 10px 24px rgba(201, 72, 22, 0.25);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.takeout-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 72, 22, 0.32);
    filter: saturate(1.08);
}

/* --- テイクアウト・デリバリー --- */
/* ------------------- */



/* ------------------- */
/* --- お問い合わせ --- */
.contact {
    /* background: #1f1e1e; */
    background: radial-gradient(circle at 88% 12%, rgba(211, 111, 28, 0.2), transparent 28rem);
    padding: 80px 0;
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-grid a.instagram {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 12px 22px;
    /* border: 1px solid transparent; */
    border-radius: 999px;
    color: #fff;
    /* background: linear-gradient(135deg, var(--bafit-orange), var(--bafit-orange-deep)); */
    background: linear-gradient(135deg,
            #405de6 0%,
            #833ab4 25%,
            #c13584 45%,
            #e1306c 60%,
            #f77737 80%,
            #fcaf45 100%);
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.3);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-grid a.tel {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 12px 22px;
    /* border: 1px solid transparent; */
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--tel-green-dark), var(--tel-green-deep));
    box-shadow: 0 10px 24px rgba(22, 201, 52, 0.25);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 72, 22, 0.32);
    filter: saturate(1.08);
}

/* --- お問い合わせ --- */
/* ------------------- */



/* ------------------- */
/* --- メニューページ --- */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background: #111;
}

.menu-section {
    padding-bottom: 100px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 10px 25px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.tab-btn:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
    background-color: var(--button-hover-color);
}

.category-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.items-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.menu-item {
    background: #1a1a1a;
    padding-bottom: 20px;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-details {
    padding: 20px;
}

.item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.item-details .desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
    min-height: 3em;
}

.item-details .price {
    font-size: 1.1rem;
    color: var(--accent-color);
    text-align: right;
    font-family: sans-serif;
    /* 数字は見やすく */
}

/* --- メニューページ --- */
/* ------------------- */



/* ------------------- */
/* --- アイコン関連 --- */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    flex: 0 0 auto;
    color: currentColor;
    vertical-align: -0.2em;
}

.icon--small {
    width: 1rem;
    height: 1rem;
}

.icon--large {
    width: 1.75rem;
    height: 1.75rem;
}


/* トップへ戻るボタン */
.page-top-button {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #222;
    color: #fff;

    cursor: pointer;
    box-shadow: 0 6px 20px rgb(0 0 0 / 20%);

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-top-button:hover {
    transform: translateY(-3px);
}

.page-top-button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

.page-top-button[hidden] {
    display: none;
}


/* 外部リンクicon */
.external-link svg {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

/* --- アイコン関連 --- */
/* ------------------- */











/* --- フッター --- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* --- スマホ対応（レスポンシブ） --- */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 15px;
    }

    .site-header nav ul {
        margin-top: 15px;
        font-size: 0.9rem;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .concept-row,
    .concept-row.reverse {
        flex-direction: column;
    }

    .menu-tabs {
        gap: 10px;
    }

    .tab-btn {
        width: 45%;
        font-size: 0.9rem;
    }
}