/*
Theme Name: A151 Showa Retro
Author: A151
Description: 昭和懐メロバー A151用オリジナルテーマ
Version: 1.4
*/

/* ----------------------------------------------------------------
   基本スタイル
---------------------------------------------------------------- */
body {
    background-color: #6a006a; /* テーマカラー：紫 */
    color: #ffffff;
    font-family: 'Noto Serif JP', serif; /* 昭和風明朝体 */
    margin: 0;
    padding: 0;
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
}

/* 共通レイアウト */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* セクション共通 */
section {
    margin-bottom: 80px;
    padding-top: 20px;
}

h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
}

/* ----------------------------------------------------------------
   ヘッダー・ロゴ
---------------------------------------------------------------- */
.header-container {
    position: relative;
}

.hero-logo, .custom-logo {
    margin: 40px 0;
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.custom-logo-link {
    display: inline-block;
}

/* ----------------------------------------------------------------
   ナビゲーションメニュー
---------------------------------------------------------------- */
/* ヘッダーメニュー */
.global-nav {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.header-menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 10px;
}

.header-menu-list li a:hover {
    color: #ffd700;
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger-btn {
    display: none;
}

/* ----------------------------------------------------------------
   コンセプト（トップページ）
---------------------------------------------------------------- */
.concept-text {
    margin-bottom: 40px;
}

/* 店内写真グリッド */
.concept-images-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.concept-img-item {
    width: 30%;
    min-width: 150px;
}

.concept-img-item img {
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.concept-img-item img:hover {
    transform: scale(1.05);
}

/* ----------------------------------------------------------------
   料金システム（トップページ）
---------------------------------------------------------------- */
.system-title {
    font-size: 28px;
    color: #ffd700; /* 金色 */
    border-bottom: 1px solid #ffd700;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-style: italic;
    font-family: serif;
}

.system-sub {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
}

.price-table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 2px solid #ffffff;
}

.price-table th, .price-table td {
    border: 1px solid #ffffff;
    padding: 15px;
    font-size: 18px;
}

.price-table th {
    background-color: rgba(255,255,255,0.1);
    text-align: left;
    width: 50%;
}

.price-table td {
    text-align: right;
    font-weight: bold;
}

.tax-note {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.9;
}

/* ----------------------------------------------------------------
   TikTokエリア
---------------------------------------------------------------- */
.tiktok-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tiktok-item {
    width: 325px; /* PCでの基本幅 */
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: #000;
}

.tiktok-item iframe, 
.tiktok-item blockquote {
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

/* ----------------------------------------------------------------
   ACCESSエリア
---------------------------------------------------------------- */
.access-container {
    max-width: 600px;
    margin: 0 auto;
}

.access-map {
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
}

.access-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.access-info {
    text-align: left;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px 30px;
}

.access-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.access-item .dashicons {
    color: #ffd700;
    font-size: 22px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   求人ボタン
---------------------------------------------------------------- */
.recruit-btn {
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 15px 40px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 18px;
    letter-spacing: 0.1em;
}

.recruit-btn:hover {
    background-color: #ffd700;
    color: #6a006a;
}

/* ----------------------------------------------------------------
   フッター
---------------------------------------------------------------- */
footer {
    padding: 60px 0 40px;
    font-size: 14px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

/* フッターメニュー */
.footer-nav {
    margin-bottom: 40px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu-list li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* SNSアイコンエリア */
.footer-sns-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.sns-icon {
    color: #fff;
    width: 32px;
    height: 32px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.sns-icon svg {
    width: 100%;
    height: 100%;
}

.sns-icon:hover {
    color: #ffd700;
    transform: scale(1.1);
}

.footer-copyright {
    opacity: 0.7;
    margin: 0;
}

/* ----------------------------------------------------------------
   求人ページ用スタイル
---------------------------------------------------------------- */
.recruit-hero {
    margin-bottom: 50px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.recruit-title {
    font-size: 36px;
    color: #ffd700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.recruit-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.recruit-message-box {
    background-color: rgba(255,255,255,0.05);
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 8px;
    line-height: 2.2;
}

.recruit-message-box h3 {
    color: #eab8e2;
    font-size: 22px;
    margin-bottom: 30px;
}

/* 募集要項テーブル */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    text-align: left;
}

.recruit-table th, .recruit-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    vertical-align: top;
}

.recruit-table th {
    width: 30%;
    color: #eab8e2;
    font-weight: bold;
}

/* LINEボタン */
.line-btn {
    background-color: #06c755;
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    transition: transform 0.2s;
}

.line-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.6);
}

/* 電話番号の表示制御 */
.tel-container {
    margin-bottom: 40px;
    padding: 30px;
    border: 1px dashed rgba(255,255,255,0.3);
    display: inline-block;
    min-width: 300px;
}

.tel-label {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.tel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    line-height: 1.0;
    transition: opacity 0.3s;
}

.tel-icon {
    font-size: 1.0em;
    width: auto;
    height: auto;
    margin-top: 4px;
}

.tel-note {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   404ページ
---------------------------------------------------------------- */
.error-404-area {
    padding: 100px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.error-title {
    font-size: 100px;
    color: #ffd700;
    line-height: 1;
    margin: 0 0 20px 0;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.05em;
}

.error-message {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.8;
}

.error-sub {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* ----------------------------------------------------------------
   スマホ対応（レスポンシブ）
---------------------------------------------------------------- */
@media (max-width: 768px) {
    /* --- ハンバーガーメニュー --- */
    .hamburger-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 9999;
        padding: 0;
    }
    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        transition: all 0.3s;
    }
    .hamburger-btn span:nth-child(1) { top: 0; }
    .hamburger-btn span:nth-child(2) { top: 11px; }
    .hamburger-btn span:nth-child(3) { bottom: 0; }

    .hamburger-btn.is-active span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }
    .hamburger-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.is-active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(106, 0, 106, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        margin: 0;
        border: none;
    }
    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .header-menu-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .header-menu-list li a {
        font-size: 20px;
        padding: 15px;
    }

    /* --- TikTok（スワイプ指示付きデザイン） --- */
    
    /* スワイプを促す文字をタイトルの下に追加 */
    #tiktok .a151-title::after {
        content: "← 横にスワイプして動画をチェック →";
        display: block;
        font-size: 12px;
        color: #ffd700;
        margin-top: 5px;
        opacity: 0.8;
        font-weight: normal;
        letter-spacing: 0.05em;
    }

    .tiktok-grid {
        display: flex;
        flex-direction: row;        
        flex-wrap: nowrap;          
        overflow-x: auto;           
        justify-content: flex-start; /* 左寄せにして続きを見せる */
        gap: 15px;
        
        /* 次のアイテムが見えやすいように右側に余白を持たせる */
        padding: 10px 40px 30px 20px;
        
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tiktok-grid::-webkit-scrollbar {
        display: none;
    }

    .tiktok-item {
        /* コンテンツが切れない安全な幅（約330px）を確保しつつ、右側をチラ見せさせる */
        flex: 0 0 330px;
        width: 330px;
        max-width: none;
        
        scroll-snap-align: start; /* 左端に合わせて止まる */
        margin: 0;
        overflow: visible;
        
        /* カード感を出す装飾 */
        border-radius: 12px;
        background: #000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }

    /* --- その他 --- */
    .price-table th, .price-table td {
        font-size: 16px;
        padding: 10px;
    }
    .concept-img-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .recruit-table th, .recruit-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    .recruit-table th {
        border-bottom: none;
        margin-top: 15px;
        font-size: 14px;
        opacity: 0.8;
    }
    .tel-link {
        color: #ffd700;
        cursor: pointer;
        font-size: 26px;
    }
    .tel-container {
        width: 90%;
        padding: 20px;
    }
    .footer-menu-list {
        flex-direction: column;
        gap: 15px;
    }
    .error-title {
        font-size: 80px;
    }
    .error-message {
        font-size: 18px;
    }
}

/* PCのみのスタイル */
@media (min-width: 769px) {
    .tel-link {
        pointer-events: none;
        cursor: default;
    }
}