/* ================================================
   CSS Reset & Base Styles
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ================================================
   CSS Variables
   ================================================ */
:root {
    /* Colors */
    --primary: #4A90A4;
    --secondary: #7BC8A4;
    --accent: #FFA07A;
    --accent-light: #F0F8F8;
    
    --black: #1A1A1A;
    --text-primary: #222222;
    --text-body: #333333;
    --text-muted: #666666;
    
    --white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-section: #F5F5F5;
    
    --border: rgba(0, 0, 0, 0.1);
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

/* ================================================
   Container & Layout
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* ================================================
   Typography
   ================================================ */
h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

p, li {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(0.9375rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-body);
}

.section-title {
    text-align: center;
    margin-bottom: clamp(var(--space-lg), 4vw, var(--space-xl));
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    background-color: #3a7a8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 144, 164, 0.4);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 160, 122, 0.3);
}

.btn-secondary:hover {
    background-color: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 160, 122, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ================================================
   Header
   ================================================ */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
}

.logo a {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: var(--space-lg);
}

.main-nav a {
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.tel-button {
    font-weight: 700;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tel-button:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: left 0.3s ease;
        padding: var(--space-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .header-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.9), rgba(123, 200, 164, 0.9)),
                url('../images/hero-bg.jpg') center/cover;
    color: var(--white);
    padding: clamp(var(--space-3xl), 15vw, 8rem) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: var(--space-xl);
    color: var(--white);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   Sections
   ================================================ */
section {
    padding: clamp(var(--space-2xl), 10vw, var(--space-3xl)) 0;
}

/* Troubles Section */
.troubles {
    background-color: var(--bg-light);
}

.troubles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.trouble-item {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trouble-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.trouble-item h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.troubles-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

.emphasis {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
}

/* Campaign Section */
.campaign {
    background-color: var(--accent-light);
}

.campaign-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-2xl);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.campaign-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--white);
    padding: 0.5rem 2rem;
    font-weight: 700;
    border-radius: 20px;
    font-size: 0.875rem;
}

.campaign-box h2 {
    margin-bottom: var(--space-md);
    margin-top: var(--space-sm);
}

.campaign-price {
    margin: var(--space-lg) 0;
}

.original-price {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: var(--space-xs);
}

.discount-price {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    font-family: 'Zen Maru Gothic', sans-serif;
}

.campaign-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Reasons Section */
.reasons-list {
    display: grid;
    gap: var(--space-xl);
}

.reason-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.reason-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.reason-item h3 {
    margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
    .reason-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .reason-number {
        margin: 0 auto var(--space-sm);
    }
}

/* Menu Section */
.menu {
    background-color: var(--bg-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.menu-item {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.menu-item h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.menu-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--space-md);
    font-family: 'Zen Maru Gothic', sans-serif;
}

.menu-price-note {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: var(--space-xs);
}

.menu-cta {
    text-align: center;
}

/* Director Section */
.director {
    background-color: var(--accent-light);
}

.director-content {
    max-width: 800px;
    margin: 0 auto;
}

.director-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.title-sub {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.credentials {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    margin-bottom: var(--space-lg);
}

.credentials p {
    font-weight: 700;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

.credentials p:first-child {
    margin-top: 0;
}

.credentials ul {
    list-style: disc;
    padding-left: var(--space-lg);
}

.credentials li {
    margin-bottom: var(--space-xs);
}

.director-message {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.director-message p + p {
    margin-top: var(--space-md);
}

/* Results Section */
.results {
    background-color: var(--primary);
    color: var(--white);
}

.results .section-title {
    color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-family: 'Zen Maru Gothic', sans-serif;
}

.result-label {
    font-size: 1rem;
    color: var(--white);
}

/* Access Section */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.access-map iframe {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.access-info h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.access-info p {
    margin-bottom: var(--space-md);
}

.access-info .address {
    line-height: 1.8;
}

.access-info .tel a {
    color: var(--primary);
    font-weight: 700;
}

.access-note {
    padding: var(--space-sm);
    background-color: var(--accent-light);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .access-content {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta p {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   Footer
   ================================================ */
.site-footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.footer-info a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--secondary);
}

.footer-nav h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Animation
   ================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reasons Section with Images */
.reasons-with-images {
    display: grid;
    gap: var(--space-2xl);
}

.reason-image-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-xl);
    align-items: center;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reason-image-item:nth-child(even) {
    grid-template-columns: 1fr 350px;
}

.reason-image-item:nth-child(even) img {
    order: 2;
}

.reason-image-item:nth-child(even) .reason-content {
    order: 1;
}

.reason-image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.reason-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .reason-image-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .reason-image-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .reason-image-item:nth-child(even) img,
    .reason-image-item:nth-child(even) .reason-content {
        order: initial;
    }
    
    .reason-image-item img {
        margin: 0 auto;
    }
    
    .reason-number {
        margin: 0 auto;
    }
}
