/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #40E0D0;
    --secondary-color: #7FFFD4;
    --accent-color: #00CED1;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ローディング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #40E0D0, #7FFFD4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInScale 0.6s ease;
}

.loading-logo {
    margin-bottom: 40px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.spinner-leaf {
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    animation: leafBounce 1.2s ease-in-out infinite;
}

.spinner-leaf:nth-child(1) {
    animation-delay: 0s;
}

.spinner-leaf:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-leaf:nth-child(3) {
    animation-delay: 0.4s;
}

.spinner-leaf:nth-child(4) {
    animation-delay: 0.6s;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes leafBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 10px;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #40E0D0;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #40E0D0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: #40E0D0;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #00CED1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* メッセージセクション */
.message-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.message-box {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.message-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
}

.instagram-button-container {
    text-align: center;
    margin-top: 40px;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}


/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* サービスセクション */
.service-section {
    padding: 100px 0;
    background: white;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.service-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-intro p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: left;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    transition: width 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    width: 6px;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

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

.service-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #E0F7FA, #E0F7F4);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.service-detail p {
    font-size: 1.1rem;
    line-height: 2;
}

/* 施設の特徴セクション */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-item {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 10px;
}

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

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

/* 経営理念セクション */
.philosophy-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.philosophy-section .section-title {
    color: white;
}

.philosophy-section .section-title::after {
    background: white;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.philosophy-text {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.8;
}

.philosophy-description {
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
}

/* ご利用案内セクション */
.guide-section {
    padding: 100px 0;
    background: white;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.guide-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.guide-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.guide-detail {
    color: var(--text-dark);
}

.guide-detail p {
    margin-bottom: 10px;
}

.time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 5px 0 20px;
}

.closed, .capacity {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.flow-list {
    list-style: none;
    counter-reset: flow-counter;
}

.flow-list li {
    counter-increment: flow-counter;
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.flow-list li::before {
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FAQセクション */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-question {
    margin-bottom: 0;
    position: relative;
    padding-right: 40px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.6;
}

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

/* アクセスセクション */
.access-section {
    padding: 100px 0;
    background: white;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.access-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s;
}

.info-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.access-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.access-map iframe {
    display: block;
}

.map-link-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.map-link-button::after {
    content: '↗';
    font-size: 0.9rem;
    margin-left: 2px;
}

.map-link-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.3);
}

/* お問い合わせセクション */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-method {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid transparent;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.contact-method h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.contact-value {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.contact-value a:hover {
    color: var(--secondary-color);
}

.contact-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

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

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

.required {
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-info h3,
.footer-hours h4,
.footer-nav h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-info p,
.footer-hours p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

.footer-social h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

/* フレキシブルタイポグラフィ - 画面サイズに応じて動的に調整 */
html {
    font-size: clamp(14px, 2vw, 16px);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.message-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.philosophy-text {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
}

/* タッチデバイス最適化 */
@media (hover: none) and (pointer: coarse) {
    /* タップターゲットを最小44px以上に */
    .nav a,
    .mobile-menu a,
    .btn,
    button,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* タッチ操作のフィードバック */
    .btn:active,
    button:active {
        transform: scale(0.97);
    }
    
    .service-card:active,
    .feature-item:active,
    .faq-item:active {
        transform: scale(0.99);
    }
    
    /* スクロール性能の向上 */
    * {
        -webkit-tap-highlight-color: rgba(64, 224, 208, 0.3);
        -webkit-touch-callout: none;
    }
}

/* タブレット対応 (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        min-height: 70vh;
    }
}

/* レスポンシブデザイン - タブレット・モバイル */
@media (max-width: 768px) {
    /* スマホ時: 背景を白、フォントを黒に統一 */
    body {
        background-color: #ffffff;
        color: #333;
    }

    .message-section,
    .service-section,
    .features-section,
    .guide-section,
    .faq-section,
    .access-section,
    .contact-section {
        background-color: #ffffff;
        color: #333;
    }

    .message-box,
    .service-card,
    .feature-item,
    .guide-card,
    .contact-method,
    .contact-form,
    .faq-item,
    .info-item,
    .service-intro,
    .service-detail {
        background-color: #ffffff;
        color: #333;
    }

    .section-title,
    .message-text,
    .service-intro h3,
    .service-intro p,
    .service-card h4,
    .service-card p,
    .service-detail p,
    .feature-item h3,
    .feature-item p,
    .guide-card h3,
    .guide-detail,
    .faq-question h3,
    .faq-answer p,
    .access-info h3,
    .info-item strong,
    .contact-method h3,
    .contact-value,
    .contact-value a,
    .contact-time,
    .contact-form h3,
    .form-group label {
        color: #333;
    }

    .guide-card,
    .info-item {
        background-color: #f8f9fa;
    }

    .message-box {
        background-color: #ffffff;
    }

    .mobile-menu {
        background-color: #ffffff;
    }

    .mobile-menu a {
        color: #333;
    }

    .mobile-menu a:hover {
        background-color: #f8f9fa;
    }

    /* コンテナのパディング調整 */
    .container {
        padding: 0 15px;
    }
    
    /* ヘッダー */
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .mobile-menu {
        display: block;
    }
    
    .mobile-menu a {
        padding: 15px;
        border-radius: 8px;
        transition: background 0.3s;
    }
    
    .mobile-menu a:hover {
        background-color: #f8f9fa;
    }

    /* ヒーローセクション */
    .hero {
        margin-top: 90px;
        min-height: 500px;
        height: auto;
    }
    
    .hero-content {
        padding: 40px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* セクションのパディング調整 */
    .message-section,
    .service-section,
    .features-section,
    .philosophy-section,
    .guide-section,
    .faq-section,
    .access-section,
    .contact-section {
        padding: 60px 0;
    }

    .message-box {
        padding: 30px 20px;
    }
    
    .instagram-button-container {
        margin-top: 30px;
    }
    
    .btn-instagram {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* グリッドレイアウトを1列に */
    .service-cards,
    .features-grid,
    .guide-grid,
    .contact-methods,
    .access-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* カードのパディング調整 */
    .service-card,
    .feature-item,
    .guide-card,
    .contact-method {
        padding: 30px 20px;
    }
    
    /* フォーム */
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* iOSでのズーム防止 */
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* アクセスマップ */
    .access-map iframe {
        height: 300px;
    }
    
    .map-link-button {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* スマートフォン対応 (480px以下) */
@media (max-width: 480px) {
    /* ヘッダー */
    .logo img {
        height: 45px;
    }
    
    .header-content {
        padding: 10px 0;
    }

    /* ボタンサイズ */
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    /* セクションのパディング */
    .message-section,
    .service-section,
    .features-section,
    .philosophy-section,
    .guide-section,
    .faq-section,
    .access-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    /* カード */
    .service-card,
    .feature-item,
    .guide-card {
        padding: 25px 15px;
    }
    
    /* 経営理念 */
    .philosophy-box {
        padding: 30px 20px;
    }
    
    .philosophy-description {
        font-size: 1rem;
    }
    
    /* FAQ */
    .faq-item {
        padding: 20px 15px;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
    }
    
    /* アクセス情報 */
    .info-item {
        padding: 15px;
    }
    
    /* お問い合わせ */
    .contact-method {
        padding: 30px 20px;
    }
    
    .contact-value {
        font-size: 1.2rem;
        word-break: break-all;
    }
    
    /* フッター */
    .footer-content {
        gap: 25px;
    }
    
    .footer-info h3 {
        font-size: 1.2rem;
    }
}

/* 極小画面対応 (360px以下) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .message-box,
    .contact-form,
    .philosophy-box {
        padding: 20px 15px;
    }
    
    .service-card,
    .feature-item,
    .guide-card,
    .faq-item {
        padding: 20px 12px;
    }
}

/* ランドスケープモード対応 (横向き) */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .message-section,
    .service-section,
    .features-section,
    .philosophy-section,
    .guide-section,
    .faq-section,
    .access-section,
    .contact-section {
        padding: 50px 0;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }
    
    .service-card,
    .feature-item,
    .guide-card,
    .faq-item {
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    }
}

/* ダークモード無効化（白背景・黒文字で統一） */

/* アニメーション削減設定（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ページトップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 24px;
    line-height: 1;
}

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

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(64, 224, 208, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top-icon {
    display: block;
    font-weight: 300;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
