/*
Theme Name: Saiya Original Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 和菓子店「サイヤ」のオリジナルテーマです。
Version: 2.8
*/

/* --- 基本設定 --- */
:root {
    --font-base: 'Noto Sans JP', 'Inter', sans-serif;
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-primary: #758650;
    --color-primary-hover: #617041;
    --color-accent: #E8B634;
    --color-accent-hover: #d4a22a;
    --color-bg: #ffffff;
    --color-bg-alt: #F8F9F8;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-base); color: var(--color-text); background-color: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* --- ヘッダー --- */
.header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); position: fixed; top: 0; left: 0; right: 0; z-index: 50; box-shadow: var(--shadow-md); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; }
.logo .custom-logo-link { display: block; max-height: 40px; }
.logo .custom-logo { height: 40px; width: auto; }
.logo a:not(.custom-logo-link) {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}
.nav-desktop { display: none; }
.nav-desktop > ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-desktop ul li { position: relative; }
.nav-desktop a { color: var(--color-text-light); transition: color 0.3s; }
.nav-desktop a:hover { color: var(--color-accent); }
.nav-desktop .sub-menu { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; position: absolute; top: 100%; left: 0; background-color: white; list-style: none; padding: 0.5rem 0; margin-top: 0.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); min-width: 180px; z-index: 10; }
.nav-desktop .menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-desktop .sub-menu li { width: 100%; }
.nav-desktop .sub-menu a { display: block; padding: 0.5rem 1rem; white-space: nowrap; }
.nav-desktop .contact-button a { background-color: var(--color-primary); color: white; padding: 0.5rem 1rem; border-radius: var(--border-radius); transition: background-color 0.3s; }
.nav-desktop .contact-button a:hover { background-color: var(--color-primary-hover); color: white; }
.mobile-menu-button { background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; z-index: 100; }
.mobile-menu-button span { display: block; width: 100%; height: 2px; background-color: var(--color-primary); position: absolute; left: 0; transition: all 0.15s; }
.mobile-menu-button span:nth-child(1) { top: 0; }
.mobile-menu-button span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-button span:nth-child(3) { bottom: 0; }
.mobile-menu-button.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.mobile-menu { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding 0.5s ease-out; }
.mobile-menu.is-open { max-height: 500px; padding: 1rem 1.5rem; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { position: relative; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--color-text-light); }
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu .sub-menu { display: none; list-style: none; padding-left: 1rem; }
.mobile-menu .sub-menu a { padding-top: 0.5rem; padding-bottom: 0.5rem; font-size: 0.9rem; }
.mobile-menu .sub-menu.is-open { display: block; }
.mobile-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .menu-item-has-children > a::after { content: '▼'; font-size: 0.6rem; color: var(--color-primary); transition: transform 0.3s; }
.mobile-menu .menu-item-has-children > a.is-open::after { transform: rotate(180deg); }
.mobile-menu .contact-button a { display: block; margin-top: 0.5rem; text-align: center; background-color: var(--color-primary); color: white; padding: 0.75rem 1rem; border-radius: var(--border-radius); }

/* --- ヒーローセクション --- */
.hero { padding-top: 80px; background-color: var(--color-bg-alt); overflow: hidden; position: relative; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.hero::before { width: 400px; height: 400px; background-color: rgba(117, 134, 80, 0.1); top: 55%; left: -150px; transform: translateY(-50%); }
.hero::after { width: 300px; height: 300px; background-color: rgba(117, 134, 80, 0.15); top: 15%; right: 5%; }
.hero-container { display: flex; flex-direction: column; align-items: center; max-width: 1400px; margin: 0 auto; padding: 2rem 1.5rem; position: relative; z-index: 2; }
.hero-catchphrase { text-align: center; margin-bottom: 2rem; }
.vertical-text { font-size: 1.5rem; font-weight: bold; color: var(--color-primary); line-height: 1.8; }
.hero-slider-wrapper { width: 100%; position: relative; }
.hero-slider { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--border-radius); position: relative; z-index: 2; }
.hero-slider::before { content: ''; display: block; position: absolute; top: 10px; left: 10px; width: 100%; height: 100%; background-color: var(--color-primary); border-radius: var(--border-radius); z-index: -1; opacity: 0.25; }
.swiper-slide { background: #fff; border-radius: var(--border-radius); overflow: hidden; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-controls { display: flex; justify-content: flex-end; align-items: center; margin-top: 1rem; padding-right: 1rem; }
.swiper-pagination { position: static; width: auto; }
.swiper-button-next, .swiper-button-prev { display: none; }
.swiper-pagination-bullet { background-color: var(--color-primary); opacity: 0.5; }
.swiper-pagination-bullet-active { background-color: var(--color-accent); opacity: 1; }
@media (min-width: 1024px) {
    .hero-container { flex-direction: row; align-items: center; gap: 4rem; padding: 4rem 2rem; min-height: 70vh; }
    .hero-catchphrase { writing-mode: vertical-rl; text-orientation: upright; margin-bottom: 0; flex-shrink: 0; height: 500px; display: flex; justify-content: center; align-items: center; }
    .vertical-text { font-size: 2.25rem; text-align:left; letter-spacing: 0.15em; line-height: 1.6; }
    .vertical-text span { margin-top: -15px; margin-bottom: -15px; }
    .hero-slider-wrapper { flex-grow: 1; min-width: 0; }
    .hero-slider { aspect-ratio: 16 / 9; max-height: 500px; }
    .hero-slider::before { top: 15px; left: 15px; }
}

/* --- 共通セクションスタイル --- */
.section { padding: 4rem 0; }
.section-bg-alt { background-color: var(--color-bg-alt); }
.section-title { font-size: 1.875rem; font-weight: bold; text-align: center; margin-bottom: 0.5rem; position: relative; padding-bottom: 1rem; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background-color: var(--color-accent); }
.section-subtitle { text-align: center; color: var(--color-text-light); margin-bottom: 3rem; }

/* --- お知らせセクション --- */
.news-list { max-width: 896px; margin: 0 auto; display: grid; gap: 1rem; }
.news-link { display: block; color: inherit; text-decoration: none; border-radius: var(--border-radius); transition: box-shadow 0.3s; }
.news-link:hover { box-shadow: var(--shadow-lg); }
.news-item { background-color: var(--color-bg); padding: 1.5rem; border-radius: var(--border-radius); display: flex; align-items: center; gap: 1.5rem; }
.news-item time { color: var(--color-text-light); flex-shrink: 0; }
.news-item p { font-weight: 600; flex-grow: 1; margin-bottom: 0; }
.news-item .category { font-size: 0.75rem; color: white; display: none; background-color: var(--color-accent); padding: 0.2rem 0.6rem; border-radius: 999px; }

/* --- ボタン --- */
.read-more-button-wrapper { text-align: center; margin-top: 3rem; }
.btn { display: inline-block; background-color: var(--color-primary); color: white; padding: 0.75rem 2rem; border-radius: var(--border-radius); transition: background-color 0.3s, transform 0.3s; }
.btn:hover { background-color: var(--color-primary-hover); transform: scale(1.05); }

/* --- トップページ：コンセプト移植セクション --- */
.about-transplant .about-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}
.about-transplant .about-section-grid:last-child {
    margin-bottom: 0;
}
.about-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}
.about-text-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.about-text-content p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.about-text-content .btn {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .about-transplant .about-section-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 6rem;
    }
    .about-transplant .about-section-grid.reverse .about-image-single {
        order: 2;
    }
    .about-transplant .about-section-grid.reverse .about-text-content {
        order: 1;
    }
}

/* --- トップページ：歴史タイムラインセクション --- */
.history-section {
    padding-bottom: 4rem;
}
.history-timeline {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
}
.history-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-primary);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1.5px;
}
.timeline-item {
    position: relative;
    width: 100%;
    padding: 1rem 0 1rem 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }
.timeline-item:nth-child(5) { transition-delay: 0.4s; }
.timeline-item:nth-child(6) { transition-delay: 0.5s; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 12px;
    background-color: white;
    border: 3px solid var(--color-primary);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    position: relative;
}
.timeline-content h4 {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}
.timeline-content h5 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.timeline-content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}
.timeline-content img {
    width: 100%;
    margin-top: 1rem;
    border-radius: var(--border-radius);
}
@media (max-width: 767px) {
    .timeline-item {
        padding-right: 1rem;
    }
}

/* --- トップページの店舗情報セクション --- */
#store { position: relative; background-image: url('http://work-tkhs.conohawing.com/testsite/wp-content/uploads/2025/09/omachi.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
#store::before { content: ''; position: absolute; inset: 0; background-color: rgba(255, 255, 255, 0.7); z-index: 1; }
#store .container { position: relative; z-index: 2; }
#store .section-title, #store .section-subtitle { color: var(--color-primary); }
#store .store-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
#store .store-info-box { background-color: var(--color-bg); box-shadow: var(--shadow-xl); border-radius: var(--border-radius); overflow: hidden; display: flex; flex-direction: column; }
#store .store-info-image img { width: 100%; height: 250px; object-fit: cover; }
#store .store-info-content { padding: 2rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
#store .store-info-content .store-name { font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
#store .store-info-content .store-address { color: var(--color-text-light); margin-bottom: 2rem; line-height: 1.8; }

/* --- フッター --- */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.footer-info {
    text-align: center;
}
.footer-logo .custom-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo .custom-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-logo a:not(.custom-logo-link) {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-top: 1rem;
}
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-sns a {
    color: white;
}
.footer-sns a:hover {
    color: var(--color-accent);
}
.footer-sitemap {
    text-align: center;
}
.footer-sitemap-title {
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}
.footer-sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-sitemap-list li {
    margin-bottom: 0.5rem;
}
.footer-sitemap-list a {
    color: #d1d5db;
}
.footer-sitemap-list a:hover {
    color: var(--color-accent);
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #d1d5db;
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    .footer-info {
        text-align: left;
        flex-basis: 40%;
        max-width: 350px;
    }
    .footer-sns {
        justify-content: flex-start;
    }
    .footer-sitemap {
        text-align: left;
        flex-grow: 1;
    }
    .footer-sitemap-list {
        columns: 2;
        column-gap: 2rem;
    }
}

/* --- 投稿詳細ページのコンテンツスタイル --- */
.single-post .article-header {
    padding-top: 80px;
    margin-bottom: 2rem;
    text-align: center;!important
}
.single-post .article-title {
    font-size: 2rem;
    font-weight: bold;
	text-align: center;
    margin-bottom: 1rem;
}
.single-post .article-meta {
    color: var(--color-text-light);
}
.single-post .article-meta .category {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    margin-left: 1rem;
    font-size: 0.8rem;
}

.single-post .entry-content {
    margin-top: 2.5rem;
    line-height: 1.8;
}
.single-post .entry-content > *:not(.alignwide):not(.alignfull) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.single-post .entry-content > .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.single-post .entry-content > .alignfull {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.single-post .entry-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}
.single-post .entry-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.single-post .entry-content p {
    margin-bottom: 1.75rem;
}
.single-post .entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
}
.single-post .entry-content a:hover {
    color: var(--color-accent-hover);
}
.single-post .entry-content img {
    border-radius: var(--border-radius);
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.single-post .article-thumbnail {
    margin: 0 auto 2.5rem;
    max-width: 800px;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.single-post .article-thumbnail img {
    width: 100%;
    height: auto;
    margin: 0;
}


/* --- 固定ページのコンテンツスタイル（共通） --- */
.page .entry-content {
    margin-top: 2.5rem;
}
.page .entry-content > *:not(.alignwide):not(.alignfull) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 採用情報ページ用スタイル --- */
.archive-header-image { margin-bottom: 3rem; border-radius: var(--border-radius); overflow: hidden; }
.recruit-card-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
.recruit-card-link { display: block; text-decoration: none; color: inherit; }
.recruit-card { background-color: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow-md); transition: box-shadow 0.3s, transform 0.3s; overflow: hidden; height: 100%; }
.recruit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.recruit-card-image { aspect-ratio: 16 / 9; }
.recruit-card-image img { width: 100%; height: 100%; object-fit: cover; }
.recruit-card-content { padding: 1.5rem; }
.recruit-card-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.75rem; }
.recruit-card-type { color: var(--color-text-light); font-size: 0.9rem; }
.recruit-card-type span { display: inline-block; margin-right: 0.5rem; padding: 0.2rem 0.6rem; background-color: var(--color-bg-alt); border-radius: 999px; border: 1px solid #e5e7eb; }
.single-recruit .container { max-width: 800px; }
.recruit-header { text-align: center; margin-bottom: 4rem; }
.recruit-title { font-size: 2.25rem; font-weight: bold; margin-bottom: 1rem; }
.recruit-subtitle { font-size: 1.125rem; color: var(--color-text-light); }
.recruit-details-list { margin-bottom: 4rem; }
.recruit-detail-item { display: flex; align-items: flex-start; padding: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.recruit-detail-item:first-child { border-top: 1px solid #e5e7eb; }
.recruit-detail-item dt { width: 100px; flex-shrink: 0; background-color: var(--color-accent); color: white; padding: 0.25rem 0; text-align: center; border-radius: 999px; font-size: 0.9rem; font-weight: bold; }
.recruit-detail-item dd { padding-left: 2rem; font-weight: bold; line-height: 1.8; }
.recruit-main-image { margin-bottom: 4rem; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-xl); }
.recruit-cta { margin-top: 5rem; padding: 3rem 1.5rem; background-color: var(--color-bg-alt); text-align: center; border-radius: var(--border-radius); }
.recruit-cta h2 { font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
.recruit-cta p { color: var(--color-text-light); margin-bottom: 2rem; }

/* --- Contact Form 7用スタイル（新デザイン） --- */
.page-header { text-align: center; margin-bottom: 3rem; }
.page-header .page-title { font-size: 2.25rem; font-weight: bold; margin-bottom: 0.5rem; }
.page-header .page-subtitle { font-size: 1rem; color: var(--color-text-light); line-height: 1.8; }
.page-header .page-subtitle p { margin-bottom: 1em; }
.contact-form-wrapper { background-color: var(--color-bg-alt); padding: 2rem; border-radius: var(--border-radius); }
@media (min-width: 768px) {
    .contact-form-wrapper { padding: 3rem; }
}
.wpcf7-form p { margin-bottom: 1.5rem; }
.wpcf7-form label { display: block; font-weight: bold; margin-bottom: 0.5rem; }
.wpcf7-form .required { color: #ef4444; font-size: 0.8em; margin-left: 0.25rem; }
.wpcf7-form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid #d1d5db; border-radius: var(--border-radius); background-color: #fff; font-size: 1rem; font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; }
.wpcf7-form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(117, 134, 80, 0.2); outline: none; }
.wpcf7-textarea { min-height: 150px; resize: vertical; }
.wpcf7-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 1rem center; background-size: .65em auto; padding-right: 2.5rem; }
.wpcf7-form .submit-button-wrapper { text-align: center; margin-top: 2rem; }
.wpcf7-submit { display: inline-block; background-color: var(--color-primary); color: white; padding: 0.75rem 3rem; border-radius: var(--border-radius); transition: background-color 0.3s, transform 0.3s; font-weight: bold; border: none; cursor: pointer; font-size: 1rem; }
.wpcf7-submit:hover { background-color: var(--color-primary-hover); transform: scale(1.05); }
.privacy-policy-note { margin-top: 3rem; text-align: center; font-size: 0.9rem; color: var(--color-text-light); }

/* --- お知らせ一覧ページ --- */
.archive .page-header {
    text-align: center;
    padding-top: 80px; /* ヘッダー分を考慮 */
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}
.archive .page-title {
    font-size: 2.25rem;
    font-weight: bold;
}
.main-content .news-list {
    margin-bottom: 4rem;
}
/* --- ページネーション --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}
.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all 0.3s;
}
.pagination .page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.pagination .dots {
    border: none;
}


/* --- レスポンシブ設定 --- */
@media (min-width: 768px) {
    .section { padding: 6rem 0; }
    .mobile-menu-button, .mobile-menu { display: none; }
    .nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
    .hero { height: auto; }
    .news-item .category { display: inline-block; }
    #store .store-grid { grid-template-columns: repeat(2, 1fr); }
    .recruit-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .recruit-card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- スマホ表示時の投稿・固定ページ本文パディング調整 --- */
@media (max-width: 767px) {
    .single-post .entry-content,
    .page .entry-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}