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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FEFEFE;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2D3748;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #4A5568;
    font-size: 1.1rem;
}

/* Header */
.header {
    padding: 1rem 0;
    background-color: #FEFEFE;
    border-bottom: 1px solid #E2E8F0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2D3748;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2D3748;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4A5568;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #38A169 0%, #2F855A 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 161, 105, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #2D3748;
    border: 2px solid #2D3748;
}

.cta-button.secondary:hover {
    background: #2D3748;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.2);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image Styles */
.about-img,
.school-img,
.material-img,
.product-img,
.corporate-img,
.workshop-img,
.map-img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-img {
    width: 100%;
    height: 300px;
}

.school-img {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.material-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.corporate-img {
    width: 100%;
    height: 350px;
}

.workshop-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-img {
    width: 100%;
    height: 300px;
}

/* Placeholder Images - keeping for fallback */
.placeholder-image {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A5568;
    font-weight: 500;
    border-radius: 12px;
}

.hero-placeholder {
    height: 400px;
}

.about-placeholder {
    height: 300px;
}

.school-placeholder {
    height: 200px;
    margin-bottom: 1rem;
}

.material-placeholder {
    height: 180px;
    margin-bottom: 1rem;
}

.corporate-placeholder {
    height: 350px;
}

.product-placeholder {
    height: 220px;
    margin-bottom: 1rem;
}

.workshop-placeholder {
    height: 300px;
}

.map-placeholder {
    height: 300px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #FEFEFE;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A5568;
}

/* Schools Section */
.schools {
    padding: 5rem 0;
    background-color: #F7FAFC;
    text-align: center;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.school-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.school-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2D3748;
}

.school-card p {
    color: #4A5568;
}

/* Materials Section */
.materials {
    padding: 5rem 0;
    background-color: #FEFEFE;
    text-align: center;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.material-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2D3748;
}

.material-item p {
    color: #4A5568;
    font-size: 0.9rem;
}

/* Corporate Section */
.corporate {
    padding: 5rem 0;
    background-color: #F7FAFC;
    text-align: center;
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.corporate-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2D3748;
}

.corporate-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4A5568;
    line-height: 1.8;
}

.corporate-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.corporate-text li {
    padding: 0.5rem 0;
    color: #4A5568;
    position: relative;
    padding-left: 1.5rem;
}

.corporate-text li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #E53E3E;
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: #FEFEFE;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #2D3748;
}

.product-card p {
    color: #4A5568;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E53E3E;
    margin-bottom: 1rem;
}

.product-button {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.product-button:hover {
    background: linear-gradient(135deg, #C53030 0%, #9C2626 100%);
}

/* Workshops Section */
.workshops {
    padding: 5rem 0;
    background-color: #F7FAFC;
    text-align: center;
}

.workshops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.workshop-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2D3748;
}

.workshop-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4A5568;
    line-height: 1.8;
}

.workshop-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.workshop-text li {
    padding: 0.5rem 0;
    color: #4A5568;
    position: relative;
    padding-left: 1.5rem;
}

.workshop-text li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #E53E3E;
    font-weight: bold;
}

/* Design Section */
.design {
    padding: 5rem 0;
    background-color: #FEFEFE;
    text-align: center;
}

.design-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #2D3748;
}

.feature-card p {
    color: #4A5568;
}

/* Common Button Styles */
.section-button {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.section-button:hover {
    background: linear-gradient(135deg, #1A202C 0%, #171923 100%);
}

/* Contacts Section */
.contacts {
    padding: 5rem 0;
    background-color: #F7FAFC;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2D3748;
}

.contact-item p {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 0.25rem;
}

.contact-hours {
    font-size: 0.9rem;
    color: #718096;
}

/* Footer */
.footer {
    background-color: #2D3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    color: white;
}

.footer-brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.footer-contact p {
    margin: 0.25rem 0;
    color: #CBD5E0;
    font-size: 0.9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #CBD5E0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #A0AEC0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        width: 100%;
        height: 300px;
    }
    
    .about-grid,
    .corporate-grid,
    .workshops-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .schools-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .design-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .materials-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #4A5568;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #2D3748;
}

.order-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2D3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38A169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #38A169 0%, #2F855A 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2F855A 0%, #276749 100%);
}