/* --- Variables & Reset --- */
:root {
    --primary-color: #ffe100; /* 阪神タイガース風イエロー */
    --primary-dark: #e6cb00;
    --secondary-color: #000000;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --dark-gray: #212529;
    --border-radius: 8px;
    --section-padding: 80px 0;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

ul {
    list-style: none;
}

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

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-gray); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: var(--border-radius);
}

/* --- Header --- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
}
.logo-sub {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-nav a {
    font-weight: 700;
    font-size: 0.9rem;
}
.nav-btn {
    padding: 8px 20px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 60px; /* header height */
    /* 背景画像設定：実際にはスタジアムなどの熱気ある写真に変更してください */
    background: url('images/tigers.png?text=Dynamic+Stadium+Image') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* --- Sections General --- */
.section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
/* WPテーマっぽい下線装飾 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-desc {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Why DAO Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* --- Tours Section --- */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tour-image {
    position: relative;
    height: 200px;
}
.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
}
.category-tag.tigers { background-color: var(--primary-dark); color: #000; }
.category-tag.retro { background-color: #555; }
.category-tag.custom { background-color: #0056b3; }

.tour-content {
    padding: 25px;
}

.tour-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tour-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
}
.tour-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--dark-gray);
    color: #fff;
}
.cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
}
.cta-desc {
    opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
    background-color: #111;
    color: #aaa;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

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

.footer-logo {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    /* iPhone: header becomes taller (column layout), so hero must start below it */
    .hero {
        margin-top: 165px;
    }
    section[id] {
        scroll-margin-top: 190px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn-lg {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Guide Page Specific Styles --- */

.page-title-section {
    padding: 120px 0 40px;
    background-color: var(--light-gray);
    border-bottom: 1px solid #ddd;
}
.breadcrumb {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}
.page-main-title {
    font-size: 2.5rem;
    font-weight: 900;
}

/* Filter Bar */
.filter-section {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 70px;
    z-index: 900;
}
.filter-bar {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
.filter-item {
    flex: 1;
}
.filter-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.filter-search-btn {
    padding: 10px 30px;
}

/* Guide Grid & Cards */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.guide-card:hover { transform: translateY(-5px); }

.guide-image-wrapper {
    position: relative;
    height: 250px;
}
.guide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dao-status-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    border: 1px solid var(--primary-color);
}

.guide-info {
    padding: 20px;
}
.guide-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #888;
}
.guide-rating i { color: #f1c40f; }
.guide-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.verified-icon { color: #3498db; font-size: 1rem; }
.guide-tagline {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 15px;
    height: 3em; /* 2行分確保 */
    overflow: hidden;
}

.specialty-tags {
    margin-bottom: 20px;
}
.specialty-tags span {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #666;
    margin-right: 5px;
}

/* Trust Metrics Bar */
.guide-trust-metrics {
    margin-bottom: 20px;
    padding: 10px;
    background: #fafafa;
    border-radius: 8px;
}
.metric-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

@media (max-width: 768px) {
    .filter-bar { flex-direction: column; }
    .filter-search-btn { width: 100%; }
}

/* iPhone (<=480px): header is taller still (nav wraps); keep hero fully visible */
@media (max-width: 480px) {
    .hero {
        margin-top: 185px;
    }
    section[id] {
        scroll-margin-top: 210px;
    }
}

/* Sub pages: page title must start below the taller mobile header (base rule is after the first media query, so this later rule wins) */
@media (max-width: 768px) {
    .page-title-section {
        padding-top: 180px;
    }
}

/* Hidden guide-login link in footer: same as footer background normally, banana yellow on hover */
.site-footer a.guide-login-hidden,
.site-footer a.guide-login-hidden:visited {
  color: #111;
  text-decoration: none;
}
.site-footer a.guide-login-hidden:hover {
  color: var(--primary-color);
  text-decoration: none;
}
