@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ (麻辣燙専門店カスタム)
Theme URI: https://wp-cocoon.com/
Author: Antigravity
Template: cocoon-master
Version: 1.0.0
*/

/************************************
** デザインシステム（麻辣燙専門店）
************************************/
:root {
    --color-primary: #E60012; /* 麻辣レッド */
    --color-secondary: #000000; /* ブラック */
    --color-bg: #FFFFFF; /* ホワイト */
    --color-text: #1A1A1A;
    --color-muted: #666666;
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --container-width: 1200px;
}

body {
    font-family: var(--font-body);
    color: var(--font-text);
    line-height: 1.8;
    background-color: var(--color-bg);
    margin: 0;
}

h1, h2, h3, h4, .heading {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

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

/************************************
** ユーティリティ
************************************/
.text-center { text-align: center; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-black { background-color: #000000 !important; }
.bg-light { background-color: #f8f8f8 !important; }
.text-white { color: #ffffff !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 18, 0.4);
    background-color: #f50013;
}

.btn-black {
    background-color: var(--color-secondary);
    color: #fff;
}

/* スクロール誘導の矢印 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/************************************
** スマホ用固定CTA
************************************/
.fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 834px) {
    .fixed-cta { display: flex; }
    .section-padding { padding: 60px 0; }
}

/************************************
** Header Navigation
************************************/
.main-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.main-header .logo {
    flex: 0 0 auto;
}

.main-header .desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    justify-content: center;
}

.main-header .desktop-nav > div,
.main-header .desktop-nav > .menu-main-menu-container,
.main-header .desktop-nav > .menu {
    display: flex !important;
    width: 100%;
    justify-content: center;
}

.main-header .desktop-nav .nav-list,
.main-header .desktop-nav ul.nav-list,
.main-header .desktop-nav .menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center !important;
    gap: 12px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.main-header .desktop-nav .nav-list > li,
.main-header .desktop-nav ul.nav-list > li,
.main-header .desktop-nav .menu > li {
    flex: 0 0 auto;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.main-header .desktop-nav .nav-list > li::before,
.main-header .desktop-nav ul.nav-list > li::before,
.main-header .desktop-nav .menu > li::before {
    display: none !important;
}

/* カレントメニュー（現在表示中のページ）のスタイル */
.main-header .desktop-nav .nav-list li.current-menu-item a,
.main-header .desktop-nav .nav-list li.current_page_item a,
.main-header .desktop-nav .nav-list li.current-menu-ancestor a,
.mobile-nav-list li.current-menu-item a,
.mobile-nav-list li.current_page_item a {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
}

.main-header .header-cta {
    flex: 0 0 auto;
    margin-left: 0;
}

@media screen and (max-width: 1100px) {
    .main-header .desktop-nav {
        display: none !important;
    }
}

/* ==========================================
   共通ページヘッダー
   ========================================== */
.page-header {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 100px 0;
    margin-bottom: 60px;
}
.page-title { font-size: 64px; font-weight: 900; letter-spacing: 0.1em; }
.page-subtitle { font-size: 18px; color: rgba(255,255,255,0.7); margin-top: 10px; }

/* ==========================================
   ニュース機能
   ========================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.news-card-img { height: 160px; overflow: hidden; background: #000; }
.news-card-img img { width: 100%; height: 100%; object-fit: contain; }
.news-card-img .no-image { height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-weight: 700; }
.news-card-body { padding: 25px; }
.news-date { font-size: 14px; color: var(--color-muted); font-family: 'Outfit'; display: block; margin-bottom: 10px; }
.news-title { font-size: 20px; line-height: 1.5; margin-bottom: 20px; height: 3em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-more { font-size: 12px; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; border-bottom: 1px solid var(--color-primary); display: inline-block; }

.news-content-area { max-width: 800px; margin: 0 auto; }
.news-featured-image img { width: 100%; border-radius: 20px; }
.entry-content { font-size: 16px; line-height: 2; color: #333; }
.entry-content h2 { font-size: 28px; margin: 40px 0 20px; padding-left: 15px; border-left: 5px solid var(--color-primary); }
.entry-content p { margin-bottom: 1.5em; }

.post-nav { border-top: 1px solid #eee; padding-top: 50px; }
.post-nav-links { display: flex; justify-content: space-between; gap: 40px; }
.post-nav-links > div { flex: 1; }
.nav-label { display: block; font-size: 12px; color: var(--color-muted); margin-bottom: 5px; font-family: 'Outfit'; }
.nav-title { font-size: 16px; font-weight: 700; }

/* ==========================================
   採用情報機能
   ========================================== */
.recruit-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.recruit-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.recruit-card:hover { border-color: var(--color-primary); box-shadow: 0 10px 40px rgba(230,0,18,0.05); }
.recruit-badge { display: inline-block; padding: 5px 15px; background: #f0f0f0; border-radius: 5px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.recruit-card-title { font-size: 28px; margin-bottom: 20px; }
.recruit-excerpt-info dt { font-weight: 700; font-size: 14px; color: var(--color-muted); }
.recruit-excerpt-info dd { font-size: 16px; margin-bottom: 15px; }

.recruit-detail-wrapper { max-width: 900px; margin: 0 auto; }
.recruit-section-title { font-size: 32px; margin-bottom: 40px; text-align: center; position: relative; padding-bottom: 15px; }
.recruit-section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--color-primary); }

.recruit-specs-table { width: 100%; border-collapse: collapse; }
.recruit-specs-table th { width: 30%; background: #f9f9f9; padding: 25px; border: 1px solid #eee; text-align: left; }
.recruit-specs-table td { width: 70%; padding: 25px; border: 1px solid #eee; }

.recruit-cta-box { border-radius: 30px; }
.cta-title { font-size: 36px; margin-bottom: 20px; }
.cta-text { font-size: 18px; color: var(--color-muted); line-height: 1.8; }
.cta-buttons-group { display: flex; justify-content: center; gap: 20px; }

/* ==========================================
   ページネーション
   ========================================== */
.pagination-wrapper { text-align: center; }
.pagination-wrapper .page-numbers { display: inline-block; padding: 10px 18px; border: 1px solid #eee; margin: 0 5px; border-radius: 50%; font-weight: 700; font-family: 'Outfit'; }
.pagination-wrapper .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ==========================================
   ユーティリティ追加
   ========================================== */
.pb-100 { padding-bottom: 100px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 20px 60px; font-size: 18px; }
.btn-outline { border: 2px solid #000; background: transparent; color: #000; }
.btn-outline:hover { background: #000; color: #fff; }

/* ==========================================
   レスポンシブ調整
   ========================================== */
@media screen and (max-width: 1023px){
    .news-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 834px){
    .container { padding: 0 20px !important; }
    .news-grid, .recruit-list-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-title { font-size: 40px; }
    .recruit-specs-table th, .recruit-specs-table td { display: block; width: 100%; }
    .recruit-specs-table th { padding: 15px 25px; border-bottom: none; }
    .cta-buttons-group { flex-direction: column; }
    .recruit-card { padding: 30px 20px; }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
}

/* ==========================================
   店舗一覧フィルタスタイル
   ========================================== */
.location-filter {
    background: #fdfdfd;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.filter-group {
    max-width: 800px;
    margin: 0;
    text-align: left;
}
.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 10px;
}
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}
.filter-btn {
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(230, 0, 18, 0.2);
}

@media screen and (max-width: 480px){
    .filter-btn { padding: 6px 15px; font-size: 12px; }
}
