/* ==========================================
   カスタムプロパティ（変数）
========================================== */
:root {
    /* オレンジカラーパレット */
    --primary-color: #FF6B35;
    --primary-light: #FF8C61;
    --primary-dark: #E65528;
    --secondary-color: #FFB830;
    --accent-color: #FF9F45;
    
    /* ニュートラルカラー */
    --bg-cream: #FFF8F0;
    --bg-beige: #F5E6D3;
    --bg-white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --text-light: #999999;
    
    /* その他のカラー */
    --success-color: #4CAF50;
    --shadow-light: rgba(255, 107, 53, 0.1);
    --shadow-medium: rgba(255, 107, 53, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    
    /* フォント */
    --font-primary: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Noto Sans JP', sans-serif;
    --font-japanese: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   リセット & ベーススタイル
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'palt' 1;
    letter-spacing: 0.03em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ==========================================
   共通コンポーネント
========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-top: var(--spacing-md);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-line {
    background: linear-gradient(135deg, #06C755, #00B140);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

/* ==========================================
   ヘッダーナビゲーション
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-normal);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85), rgba(255, 184, 48, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.sp-only {
    display: none;
}

/* ==========================================
   特徴セクション
========================================== */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-light);
}

.feature-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--bg-white);
    padding: var(--spacing-sm);
    transition: var(--transition-slow);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: var(--spacing-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.feature-text {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.02rem;
}

.approach-image {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.approach-image img {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

/* ==========================================
   サービス概要セクション
========================================== */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.services-content {
    text-align: center;
}

.services-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

/* ==========================================
   施術方法セクション
========================================== */
.treatment {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-white), var(--bg-cream));
}

.treatment-main {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.treatment-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.treatment-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.treatment-card:hover::before {
    opacity: 1;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.15);
}

.treatment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.treatment-icon i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.treatment-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.treatment-text {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.02rem;
}

.ongoing-support {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.support-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

/* ==========================================
   疲労の重要性セクション
========================================== */
.fatigue {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-cream);
}

.fatigue-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.fatigue-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.fatigue-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.fatigue-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

.fatigue-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.rest-science-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.rest-science-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.rest-science-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.rest-science-icon i {
    font-size: 2.5rem;
}

.rest-science-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.rest-science-text {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
}

.rest-science-text strong {
    font-weight: 700;
    text-decoration: underline;
}

/* ==========================================
   検査セクション
========================================== */
.examination {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.examination-content {
    text-align: center;
}

.examination-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

/* ==========================================
   院長紹介セクション
========================================== */
.director {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-white), var(--bg-beige));
}

.director-content {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.director-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.director-profile {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.director-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.director-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--bg-cream);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.credential-item:hover {
    background-color: rgba(255, 107, 53, 0.08);
    transform: translateX(5px);
}

.credential-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.credential-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.director-message {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 2.1;
    text-align: left;
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--bg-beige);
    letter-spacing: 0.02em;
}

/* ==========================================
   患者様第一セクション
========================================== */
.patient-first {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-cream);
}

.patient-first-content {
    text-align: center;
}

.patient-first-image {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

/* ==========================================
   お問い合わせセクション
========================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-white), var(--bg-cream));
}

.contact-methods {
    margin-bottom: var(--spacing-lg);
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.line-consultation {
    max-width: 600px;
    margin: 0 auto;
}

.line-image {
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.qr-code {
    text-align: center;
}

.qr-image {
    margin: 0 auto var(--spacing-sm);
    max-width: 250px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--bg-white);
    transition: transform 0.3s;
}

.qr-image:hover {
    transform: scale(1.05);
}

.qr-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.contact-info {
    max-width: 1000px;
    margin: var(--spacing-lg) auto 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.info-item {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: var(--spacing-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.info-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-light);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--bg-white);
}

.info-content {
    flex: 1;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.info-text {
    color: var(--text-gray);
    line-height: 1.6;
}

.info-text a {
    color: var(--primary-color);
    font-weight: 500;
}

.info-text a:hover {
    text-decoration: underline;
}

/* ==========================================
   フッター
========================================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #1a1a1a);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-menu a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-info li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-light);
}

.footer-info i {
    color: var(--primary-light);
    width: 20px;
}

.footer-info a {
    color: var(--text-light);
}

.footer-info a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* ==========================================
   スクロールトップボタン
========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.scroll-top i {
    font-size: 1.3rem;
}

/* ==========================================
   レスポンシブデザイン
========================================== */

/* タブレット */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: -5px 0 15px var(--shadow-dark);
        transition: var(--transition-normal);
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .sp-only {
        display: inline;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .logo {
        font-size: 1.2rem;
    }

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

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

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* スクロールアニメーション用クラス */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
