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

:root {
    --charcoal-black: #2C2C2C;
    --sand-beige: #E6D7C3;
    --ceramic-white: #F8F6F0;
    --deep-green: #2D4A3A;
    --pure-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #8A8A8A;
    --dark-gray: #4A4A4A;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--charcoal-black);
    background-color: var(--ceramic-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'Meiryo', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--ceramic-white);
    padding: 24px 0;
    border-bottom: 1px solid var(--sand-beige);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--charcoal-black);
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal-black);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--ceramic-white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    order: 1;
}

.hero-image {
    order: 2;
}

.hero-title {
    font-size: 3rem;
    color: var(--charcoal-black);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-img, .service-img, .product-img, .ar-img, .stylist-img, .material-img, .mission-img, .team-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.hero-img {
    min-height: 400px;
}

.service-img, .ar-img, .stylist-img, .mission-img, .team-img {
    min-height: 300px;
}

.product-img, .material-img {
    min-height: 200px;
}

/* Buttons */
.cta-button, .product-btn, .plan-btn, .contact-btn, .submit-btn {
    background-color: var(--deep-green);
    color: var(--ceramic-white);
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.cta-button:hover, .product-btn:hover, .plan-btn:hover, .contact-btn:hover, .submit-btn:hover {
    background-color: var(--charcoal-black);
    transform: translateY(-2px);
}

.plan-btn.primary {
    background-color: var(--charcoal-black);
}

.plan-btn.primary:hover {
    background-color: var(--deep-green);
}

.product-price, .plan-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-green);
    margin: 12px 0;
}

/* Placeholder Images */
.placeholder-image {
    background-color: var(--sand-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-black);
    font-size: 0.9rem;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    min-height: 200px;
}

.placeholder-image.large {
    min-height: 400px;
}

/* Section Styles */
.contact {
    padding: 80px 0;
    background-color: var(--ceramic-white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    color: var(--deep-green);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.contact-details p {
    color: var(--dark-gray);
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--dark-gray);
}

/* Concept Section */
.concept {
    background-color: var(--light-gray);
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.concept-item {
    text-align: center;
    padding: 32px;
    background-color: var(--pure-white);
    border-radius: 12px;
}

.concept-icon {
    margin-bottom: 24px;
}

.concept-item h3 {
    color: var(--deep-green);
    margin-bottom: 16px;
}

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

.service-item {
    background-color: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item .placeholder-image {
    margin-bottom: 24px;
    border-radius: 0;
}

.service-item h3,
.service-item p {
    padding: 0 24px;
}

.service-item h3 {
    color: var(--deep-green);
    margin-bottom: 16px;
}

.service-item p {
    padding-bottom: 24px;
}

.service-item .service-img {
    margin-bottom: 24px;
}

/* Products Section */
.products {
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-item {
    background-color: var(--pure-white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
}

.product-item .product-img {
    margin-bottom: 16px;
}

.product-item .product-price {
    font-size: 1.1rem;
    margin: 8px 0 16px 0;
}

.product-item h3 {
    color: var(--deep-green);
    margin-bottom: 12px;
}

.product-item p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

/* AR Planning Section */
.ar-planning .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ar-features {
    list-style: none;
    margin: 24px 0 32px 0;
}

.ar-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.ar-features li::before {
    content: "・";
    color: var(--deep-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Stylist Section */
.stylist {
    background-color: var(--light-gray);
}

.stylist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.stylist-benefits {
    margin: 24px 0 32px 0;
}

.benefit-item {
    margin-bottom: 16px;
}

.benefit-item h4 {
    color: var(--deep-green);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

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

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

.material-item .material-img {
    margin-bottom: 20px;
}

.plan-item .plan-price {
    font-size: 1.2rem;
    margin: 16px 0 20px 0;
}

.material-item h3 {
    color: var(--deep-green);
    margin-bottom: 12px;
}

.material-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.material-svg svg {
    max-width: 100%;
    height: auto;
}

/* Membership Section */
.membership {
    background-color: var(--light-gray);
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.plan-item {
    background-color: var(--pure-white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.plan-item.featured {
    border: 2px solid var(--deep-green);
    transform: scale(1.05);
}

.plan-item h3 {
    color: var(--deep-green);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.plan-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}
.footer {
    background-color: var(--charcoal-black);
    color: var(--ceramic-white);
    padding: 48px 0 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 48px;
}

.footer-logo {
    flex: 1;
}

.footer-logo .logo-container {
    margin-bottom: 16px;
}

.footer-logo .brand-name {
    color: var(--ceramic-white);
}

.footer-description {
    color: var(--sand-beige);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-nav a {
    color: var(--ceramic-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--dark-gray);
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--ceramic-white);
    margin: 5% auto;
    padding: 32px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close {
    color: var(--medium-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--charcoal-black);
}

.modal h3 {
    color: var(--deep-green);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* Form Styles */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--charcoal-black);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--sand-beige);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
    background-color: var(--pure-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-green);
    box-shadow: 0 0 0 2px rgba(45, 74, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .ar-planning .container,
    .stylist-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .plan-item.featured {
        transform: none;
    }
    
    section {
        padding: 48px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
        width: 95%;
    }
    
    .close {
        right: 16px;
        top: 12px;
    }
}

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-section .section-header {
    text-align: center;
}

.centered-section .concept-grid,
.centered-section .services-grid,
.centered-section .products-grid,
.centered-section .materials-grid,
.centered-section .membership-plans {
    justify-items: center;
}

.centered-section .ar-content,
.centered-section .stylist-content {
    text-align: left;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal-black);
    color: var(--ceramic-white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    color: var(--ceramic-white);
    font-size: 1.1rem;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--sand-beige);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.cookie-btn.accept {
    background-color: var(--deep-green);
    color: var(--ceramic-white);
}

.cookie-btn.accept:hover {
    background-color: var(--sand-beige);
    color: var(--charcoal-black);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--ceramic-white);
    border: 1px solid var(--ceramic-white);
}

.cookie-btn.decline:hover {
    background-color: var(--ceramic-white);
    color: var(--charcoal-black);
}

.cookie-btn.settings {
    background-color: var(--sand-beige);
    color: var(--charcoal-black);
}

.cookie-btn.settings:hover {
    background-color: var(--deep-green);
    color: var(--ceramic-white);
}

/* Cookie Settings Modal */
.cookie-settings-content {
    max-width: 600px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--sand-beige);
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category h4 {
    margin-bottom: 0;
    color: var(--deep-green);
}

.cookie-status.required {
    background-color: var(--sand-beige);
    color: var(--charcoal-black);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--medium-gray);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--deep-green);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
        gap: 8px;
    }
}