/* CSS Variables */
:root {
    --color-primary: #32c417;
    --color-primary-light: #218b0d;
    --color-orange: #ff8810;
    --color-orange-dark: #e67700;
    --color-green: #7CB342;
    --color-green-dark: #558B2F;
    --color-yellow: #FFD700;
    --color-bg-light: #F5F9E8;
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #FFF;
    --color-border: #E0E0E0;
    --header-height: 90px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--color-bg-light);
    color: var(--color-text);
    padding-top: var(--header-height);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Campaign Banner */
.campaign-banner {
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
    padding: 0.5rem 1rem;
    text-align: center;
}

.campaign-badge {
    display: inline-block;
    background: var(--color-yellow);
    color: #D4570A;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Header Main */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    height: calc(var(--header-height) - 32px);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-text);
    white-space: nowrap;
}

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

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s;
}

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

.nav-link:hover::after {
    width: 60%;
}

/* CTA Button */
.btn-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(245,166,35,0.4);
    margin-left: 1rem;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245,166,35,0.5);
    color: var(--color-white);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Hamburger Button */
.hamburger {
    display: none;
    width: 56px;
    height: 50px;
    padding: 0;
    background: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 6px;
    position: relative;
}

.hamburger-box {
    position: relative;
    width: 24px;
    height: 18px;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }

.hamburger-text {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

/* Hamburger Active State */
.hamburger.active {
    background: var(--color-text);
}

.hamburger.active .hamburger-inner {
    gap: 0;
}

.hamburger.active .hamburger-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hamburger.active .hamburger-text {
    opacity: 0;
    position: absolute;
}

/* Mobile Navigation Overlay */
.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-light);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow-y: auto;
}

.nav-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Links */
.nav-mobile-links {
    padding-top: 70px;
}

.nav-mobile-link {
    display: block;
    padding: 1.125rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
    transition: background 0.2s;
}

.nav-mobile-link:hover {
    background: #f5f5f5;
}

/* Mobile Campaign Banner */
.mobile-campaign-banner {
    display: block;
    background: linear-gradient(90deg, var(--color-green), var(--color-green-dark));
    color: var(--color-white);
    text-align: center;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin: 1rem;
    border-radius: 8px;
}

/* Mobile Phone Section */
.mobile-phone-section {
    padding: 1rem;
    background: var(--color-white);
    margin: 0 1rem;
    border-radius: 8px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.phone-free-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
}

.phone-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-green);
    letter-spacing: -0.02em;
}

.phone-info {
    display: flex;
    gap: 0.5rem;
}

.phone-info-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: #f5f5f5;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

.phone-info-badge.highlight {
    background: var(--color-yellow);
    color: var(--color-text);
}

/* Mobile Action Buttons */
.mobile-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.mobile-action-btn:hover {
    transform: translateY(-2px);
}

.mobile-action-btn.mail {
    background: var(--color-orange);
    color: var(--color-white);
}

.mobile-action-btn.line {
    background: #06C755;
    color: var(--color-white);
}

.mobile-action-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 1100px) {
    body {
        padding-top: 60px;
    }
    .logo-main {
        font-size: 1rem;
    }
    .campaign-banner,
    .nav-desktop,
    .btn-cta {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .header-main {
        height: 60px;
        padding: 0.5rem 1rem;
    }
    .nav-mobile-links {
        padding-top: 65px;
    }
    .nav-mobile-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .logo-main {
        font-size: 1.05rem;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    .hamburger {
        width: 54px;
        height: 48px;
    }
    .phone-number {
        font-size: 1.5rem;
    }
    .mobile-campaign-banner {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 1rem;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    .hamburger {
        width: 52px;
        height: 46px;
    }
    .header-main {
        padding: 0.4rem 0.75rem;
    }
    .phone-number {
        font-size: 1.35rem;
    }
    .phone-free-badge {
        width: 42px;
        height: 42px;
        font-size: 0.55rem;
    }
    .mobile-action-btn {
        padding: 0.75rem;
    }
    .mobile-action-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 375px) {
    .logo-main {
        font-size: 0.88rem;
    }
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    .hamburger {
        width: 48px;
        height: 44px;
    }
    .hamburger-box {
        width: 20px;
        height: 15px;
    }
    .hamburger-text {
        font-size: 0.55rem;
    }
    .header-main {
        padding: 0.35rem 0.5rem;
    }
    .phone-number {
        font-size: 1.2rem;
    }
    .mobile-campaign-banner {
        font-size: 0.82rem;
        padding: 0.625rem 0.75rem;
        margin: 0.75rem;
    }
    .mobile-phone-section {
        padding: 0.75rem;
        margin: 0 0.75rem;
    }
    .mobile-actions {
        gap: 0.5rem;
        padding: 0.75rem;
    }
}
