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

:root {
    /* Colors */
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --rakuten-red: #bf0000;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    margin-top: 90px;
    padding: 100px 0;
    background-image: url('../images/hero-product.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.475) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.15) 100%);
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 0;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: left;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-image {
    display: none;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    font-size: 1rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.btn-rakuten {
    background-color: var(--rakuten-red);
    color: var(--bg-white);
    border-color: var(--rakuten-red);
    font-size: 1.2rem;
    padding: 18px 50px;
}

.btn-rakuten:hover {
    background-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(191, 0, 0, 0.4);
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-text strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.special-note {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6e6 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 25px 0;
    font-weight: 500;
    line-height: 1.8;
}

.special-note i {
    color: var(--accent-color);
    margin-right: 8px;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--success-color);
    font-size: 1.3rem;
}

.about-image {
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Process Section
   ======================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.process-card {
    background-color: var(--bg-white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #e0e0e0;
    font-family: var(--font-accent);
}

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

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Usage Section */
.usage-section {
    margin-top: 60px;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.usage-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.usage-title i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.usage-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usage-step {
    text-align: center;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.step-content h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.process-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.process-image-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.process-image-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Purchase Section
   ======================================== */
.purchase {
    background-color: var(--bg-light);
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.purchase-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
}

.purchase-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.purchase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.purchase-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--rakuten-red);
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.purchase-badge.special {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
}

.purchase-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin: 30px 0 20px;
}

.purchase-card.featured .purchase-icon {
    color: var(--accent-color);
}

.purchase-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.purchase-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 80px;
}

.package-info {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.package-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.btn-rakuten {
    background-color: var(--rakuten-red);
    color: var(--bg-white);
    border-color: var(--rakuten-red);
    padding: 15px 30px;
    width: 100%;
    justify-content: center;
}

.btn-rakuten:hover {
    background-color: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(191, 0, 0, 0.4);
}

.btn-furusato {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: var(--bg-white);
    border: none;
    padding: 15px 30px;
    width: 100%;
    justify-content: center;
}

.btn-furusato:hover {
    background: linear-gradient(135deg, #e67e22 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.5);
}

.furusato-info {
    margin-top: 40px;
}

.info-box {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-left: 5px solid var(--accent-color);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-company h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

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

.footer-company .company-info p {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-company .company-info p strong {
    color: var(--bg-white);
    font-weight: 600;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-company .company-info p:first-child strong {
    margin-top: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #c0392b;
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .hero {
        padding: 80px 0;
        min-height: 600px;
    }
    
    .hero::before {
        background: rgba(255, 255, 255, 0.45);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usage-content {
        grid-template-columns: 1fr;
    }
    
    .usage-section {
        padding: 40px 30px;
    }
    
    .process-images-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-card.featured {
        transform: scale(1);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 500px;
        background-position: center top;
    }
    
    .hero::before {
        background: rgba(255, 255, 255, 0.46);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-section {
        padding: 30px 20px;
    }
    
    .usage-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .purchase-description {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 50px 0;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: auto;
    }
}