/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベース */
:root {
    --primary-color: #2D5016;
    --secondary-color: #4A7C2C;
    --accent-color: #8FBC5A;
    --tropical-green: #6BA547;
    --warm-light: #F5E6D3;
    --text-dark: #1A3A0F;
    --text-light: #5C7C4A;
    --bg-light: #F8F9F6;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(45, 80, 22, 0.1);
    --shadow-lg: 0 15px 40px rgba(45, 80, 22, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-image {
    opacity: 0.7;
}

.logo span {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--tropical-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--tropical-green);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-background.jpg') center center / cover no-repeat;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1.2s ease;
    max-width: 900px;
    padding: 3rem 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    opacity: 0.95;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    cursor: pointer;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 3.3rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.3);
}

/* セクション共通 */
section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--tropical-green);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 1.5rem;
}

/* スクールについて */
.about {
    background: var(--white);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--tropical-green);
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: url('../images/about-massage.jpg') center center / cover no-repeat;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(45, 80, 22, 0.3) 100%);
}

/* ギャラリー */
.gallery {
    background: var(--white);
    padding: 6rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 80, 22, 0.95) 0%, transparent 100%);
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* コース */
.courses {
    background: var(--bg-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.course-card {
    background: var(--white);
    border-radius: 0;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-top-color: var(--tropical-green);
}

.course-card.featured {
    border-top-color: var(--tropical-green);
    box-shadow: 0 5px 25px rgba(107, 165, 71, 0.15);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--tropical-green);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tropical-green), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(107, 165, 71, 0.2);
}

.course-illustration {
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.course-card:hover .course-illustration {
    opacity: 1;
    transform: scale(1.05);
}

.course-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.course-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-price {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--tropical-green);
    text-align: center;
    padding: 1.5rem;
    background: rgba(143, 188, 90, 0.05);
    border-radius: 0;
    margin-bottom: 2rem;
    border-left: 3px solid var(--tropical-green);
}

.course-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E8E8E8;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--tropical-green);
}

.course-notes {
    max-width: 1100px;
    margin: 4rem auto 0;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--tropical-green);
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tropical-green), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.note-item p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

/* 特徴 */
.features {
    background: url('../images/features-spa-background.jpg') center center / cover no-repeat;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tropical-green), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.8rem;
    box-shadow: 0 5px 20px rgba(107, 165, 71, 0.2);
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* お問い合わせ */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tropical-green), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item .small {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.required {
    color: #E53E3E;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #E0E0E0;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tropical-green);
    box-shadow: 0 0 0 3px rgba(107, 165, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo h4 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-contact {
    margin-top: 1.2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 4rem;
    border-radius: 0;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* レスポンシブ */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }

    .logo-image {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .course-info {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 2.5rem;
        width: 95%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn {
        padding: 0.9rem 2.5rem;
        font-size: 0.8rem;
    }
}