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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* Container */
.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;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    color: #1e40af;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e40af;
}

h3 {
    font-size: 1.5rem;
    color: #1e40af;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f97316;
}

/* Header */
.header {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo svg {
    display: block;
}

.brand-name h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.brand-name p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.contact-header .phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f97316;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-header .phone-link:hover {
    background-color: #ea580c;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-product {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background-color: #f97316;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1e40af;
}

.btn-product {
    background-color: #1e40af;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.btn-product:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-1px);
}

/* Images */
.about-img, .product-img, .instructor-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
    height: 200px;
}

.instructor-img {
    height: 200px;
    border-radius: 50%;
    width: 200px;
    margin: 0 auto;
    display: block;
}

.product-svg,
.instructor-svg {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.instructor-svg {
    border-radius: 50%;
    width: 200px;
    margin: 0 auto;
    display: block;
}

.about-img {
    height: 400px;
}

/* Sections */
section {
    padding: 6rem 0;
}

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

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

.centered-section .about-content,
.centered-section .contact-content,
.centered-section .safety-content {
    text-align: left;
}

.about {
    background-color: #fefefe;
}

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

.about-text {
    font-size: 1.1rem;
}

/* Services */
.services {
    background-color: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    background-color: #f97316;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Products */
.products {
    background-color: #fefefe;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    overflow: hidden;
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f97316;
    margin: 1rem 0;
}

/* Membership */
.membership {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.membership h2 {
    color: white;
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.membership-card {
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.membership-card.featured {
    transform: scale(1.05);
    border: 3px solid #f97316;
}

.membership-card:hover {
    transform: translateY(-5px);
}

.membership-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #f97316;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.membership-card ul {
    list-style: none;
    margin: 2rem 0;
}

.membership-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.membership-card li:last-child {
    border-bottom: none;
}

/* Safety */
.safety {
    background-color: #f8fafc;
}

.safety-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.safety-icons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.safety-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.safety-item svg {
    color: #f97316;
    margin-bottom: 1rem;
}

/* Instructors */
.instructors {
    background-color: #fefefe;
}

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

.instructor-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.instructor-image {
    margin-bottom: 1.5rem;
}

.instructor-title {
    color: #f97316;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background-color: #f8fafc;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    color: #f97316;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f97316;
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-services,
.footer-company {
    display: flex;
    flex-direction: column;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #f97316;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-section p a {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-section p a:hover {
    color: #f97316;
}

.brand-name-footer h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.brand-name-footer p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Wave Pattern */
.hero::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content,
    .contact-content,
    .safety-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand,
    .footer-services,
    .footer-company,
    .footer-contact {
        text-align: center;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-cards {
        grid-template-columns: 1fr;
    }
    
    .membership-card.featured {
        transform: none;
    }
    
    .safety-icons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}