/*
Theme Name: imako magazine theme
Author: あなたの名前
Description: imako magazineのオリジナルテーマです。
Version: 2.0
*/

:root {
    --primary-color: #179aae;
    --primary-light: #1db0c6;
    --primary-dark: #147a8a;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-lighter: #999999;
    --background-light: #fafbfc;
    --white: #ffffff;
    --border-light: #e8ecef;
    --shadow-light: 0 2px 12px rgba(23, 154, 174, 0.08);
    --shadow-medium: 0 4px 24px rgba(23, 154, 174, 0.12);
    --shadow-heavy: 0 8px 32px rgba(23, 154, 174, 0.16);
    --border-radius: 8px;
    --border-radius-large: 16px;
    --max-width: 1200px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

main {
    padding-top: 72px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.logo-text {
    color: var(--primary-color);
}

.logo-magazine {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--primary-light);
}

/* トップカルーセルセクション */
.top-carousel-section {
    padding: 0;
    background: var(--text-dark);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0;
}

.carousel-card {
    display: block;
    background: var(--text-dark);
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    height: 500px;
    position: relative;
}

.carousel-card:hover {
    opacity: 0.95;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    width: 100%;
    height: 100%;
    background-color: var(--text-dark);
}

.carousel-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
}

.carousel-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 12px;
}

.carousel-title {
    font-size: 36px;
    color: var(--white);
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

.carousel-card:hover .carousel-title {
    color: var(--primary-light);
}

/* カルーセルコントロール */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

/* カルーセルインジケーター */
.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

/* パンくずリスト */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.current {
    font-weight: 500;
    color: var(--text-dark);
}

.breadcrumb-separator {
    margin: 0 8px;
}

/* カテゴリーナビゲーション */
.category-nav {
    padding: 60px 0;
    background: var(--background-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-large);
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.category-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-links a {
    background: var(--background-light);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.category-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
}

.section-more {
    text-align: center;
    margin-top: 48px;
}

.section-more-link {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.section-more-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 記事グリッド */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.article-card > a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.article-image {
    position: relative;
    overflow: hidden;
    flex: 0 0 280px;
    width: 280px;
    height: 180px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    width: 100%;
    height: 100%;
    background-color: var(--background-light);
}

.article-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    z-index: 1;
}

.badge-guide {
    background: var(--primary-color);
}

.badge-review {
    background: #FF6B6B;
}

.article-content {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.article-area {
    color: var(--primary-color);
    font-weight: 500;
}

.article-title {
    font-size: 18px;
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.article-title:hover {
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* エリアグリッド */
.area-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.area-card {
    position: relative;
    height: 150px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6)), var(--background-light);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.area-card:hover {
    transform: scale(1.05);
}

.area-name {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.area-count {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}

/* 特徴タグ */
.feature-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    background: var(--white);
    border: 2px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.feature-tag:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.feature-tag:hover .feature-name,
.feature-tag:hover .feature-count {
    color: var(--white);
}

.feature-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-name {
    font-weight: 500;
    color: var(--text-dark);
}

.feature-count {
    color: var(--text-light);
    font-size: 14px;
}

.release-notice {
    display: inline-block;
    background: #FFD1D1;
    color: #D8000C;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.release-notice:hover {
    opacity: 0.8;
}

.related-posts {
    background: var(--background-light);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo .logo-text {
    color: var(--primary-light);
}

.footer-logo .logo-magazine {
    color: var(--white);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

/* ページ・投稿共通スタイル */
.archive-header {
    padding: 60px 0;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-light);
}

.archive-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.archive-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* フィルターバー */
.filter-bar {
    background: var(--white);
    border-bottom: 2px solid var(--border-light);
    padding: 24px 0;
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.filter-icon {
    font-size: 16px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 154, 174, 0.1);
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-button {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-button-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.filter-button-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.filter-button-reset {
    background: var(--white);
    color: var(--text-light);
    border: 2px solid var(--border-light);
}

.filter-button-reset:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.active-filters-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.no-results {
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    margin: 40px 0;
}

.single-article {
    margin-top: 0;
}

.single-article-header {
    padding: 60px 0 0;
    text-align: center;
}

.single-meta {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 14px;
}

.single-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.single-meta a:hover {
    text-decoration: underline;
}

.single-title {
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 40px;
}

.single-thumbnail {
    margin: 0 auto 60px;
    max-width: 1000px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-content .container {
    max-width: 800px;
}

.single-footer {
    padding: 40px 0;
}

.single-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.single-tags span {
    font-weight: 600;
    color: var(--text-dark);
}
.single-tags a {
    display: inline-block;
    background: var(--background-light);
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s;
}
.single-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.prose {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 {
    margin-top: 2.5em;
    margin-bottom: 1.2em;
    line-height: 1.4;
    font-weight: 700;
}
.prose h2 { font-size: 24px; padding-bottom: .4em; border-bottom: 2px solid var(--border-light); }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 18px; }
.prose p { margin-bottom: 1.5em; }
.prose a { color: var(--primary-color); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { margin-left: 1.5em; margin-bottom: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose img { max-width: 100%; height: auto; border-radius: var(--border-radius); }
.prose blockquote { border-left: 4px solid var(--primary-color); padding: 1em 1.5em; margin: 2em 0; background: var(--background-light); color: var(--text-light); }
.prose pre { background: var(--text-dark); color: #f0f0f0; padding: 1.5em; border-radius: var(--border-radius); overflow-x: auto; }
.prose code { font-family: monospace; }

.pagination {
    margin-top: 60px;
    text-align: center;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    background: var(--background-light);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: var(--white);
}
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    cursor: default;
}

/* レスポンシブ設定 (768px以下) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        display: none;
    }
    .header-cta {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* カルーセル - スマホ */
    .top-carousel-section {
    }
    
    .carousel-card {
        height: 400px;
    }
    
    .carousel-content {
        padding: 40px 16px;
    }
    
    .carousel-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .carousel-badge {
        top: 16px;
        left: 16px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    
    .carousel-prev {
        left: 12px;
    }
    
    .carousel-next {
        right: 12px;
    }
    
    .carousel-indicators {
        bottom: 16px;
    }

    /* フィルターバー - スマホ */
    .filter-bar {
        top: 72px;
        padding: 16px 0;
    }
    
    .filter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .filter-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .filter-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .filter-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .active-filters {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .active-filters-label {
        font-size: 13px;
        width: 100%;
    }
    
    .active-filter-tag {
        font-size: 12px;
        padding: 5px 10px;
    }

    .section-title,
    .archive-title {
        font-size: 28px;
    }
    .single-title {
        font-size: 28px;
    }

    /* --- ▼▼▼ 記事グリッドのデザインを統一（スマホ表示）▼▼▼ --- */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr); /* 2カラム表示 */
        gap: 12px; /* カード間の余白を調整 */
    }

    .article-card > a {
        flex-direction: column; /* ★カード内を縦積みに変更 */
        align-items: stretch;
    }
    
    .article-image {
        flex: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3; /* 画像の比率を4:3に固定 */
    }
    
    .article-content {
        padding: 8px; /* 内側の余白を調整 */
    }
    
    .article-title {
        font-size: 13px; /* フォントサイズを調整 */
        line-height: 1.5;
        font-weight: 600;
        -webkit-line-clamp: 2; /* タイトルが2行を超えたら省略 */
        margin-bottom: 0;
    }

    /* タイトル以外の不要な情報は非表示に */
    .article-meta,
    .article-excerpt,
    .article-badge {
        display: none;
    }
    /* --- ▲▲▲ ここまで ▲▲▲ --- */

    .area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .seat-keep-explainer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }

    /* --- ▼▼▼ スマホ表示の特徴タグを調整 ▼▼▼ --- */
    .feature-tag {
        padding: 8px 16px; /* 上下の余白を調整して高さを抑える */
        gap: 6px;
    }
    .feature-name {
        font-size: 13px; /* テキストを少し小さく */
    }
    .feature-icon,
    .feature-count {
        font-size: 12px; /* アイコンと件数も小さく */
    }
    /* --- ▲▲▲ ここまで ▲▲▲ --- */
    
}

/* --- ▼▼▼ ヒーロー検索セクション ▼▼▼ --- */
.hero-search-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); /* imakoカラーの濃淡でグラデーションを作成 */
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.hero-search-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-search-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-search-bar {
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-heavy);
}

.hero-search-form::before {
    content: '🔍';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-lighter);
}

.hero-search-input {
    flex-grow: 1;
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 24px 16px 60px; /* 高さを調整 */
    font-size: 16px;
    color: var(--text-dark);
}

.hero-search-input:focus {
    outline: none; /* こちらは変更ありません */
}

.hero-search-button {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 12px 40px; /* 横の余白を32pxから40pxに広げました */
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
    white-space: nowrap; /* 文字が折り返さないように指定を追加 */
}

.hero-search-button:hover {
    background: var(--primary-light); /* こちらも変更ありません */
}

.hero-search-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-search-tags-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-search-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.hero-search-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 画面リーダー用の非表示スタイル */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
/* --- ▲▲▲ ここまで ▲▲▲ --- */