/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #4299e1;
    --secondary-color: #48bb78;
    --accent-color: #ed8936;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border-color: #e2e8f0;
    --mental-color: #9f7aea;
    --physical-color: #4299e1;
    --intellectual-color: #48bb78;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

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

.nav a {
    color: white;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.8;
}

.hero-area-note {
    display: inline-block;
    font-size: 1.05rem;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-info {
    font-size: 0.95rem;
    opacity: 0.9;
}

.sp-only {
    display: none;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #dd6b20 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-large {
    font-size: 1.15rem;
    padding: 18px 40px;
}

/* ========================================
   緊急メッセージバー
======================================== */
.urgent-message {
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.urgent-message p {
    font-size: 1.05rem;
    font-weight: 500;
}

.urgent-message strong {
    font-weight: 700;
}

/* ========================================
   セクション共通
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ========================================
   特徴セクション
======================================== */
.features {
    background: var(--bg-light);
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
}

/* ========================================
   おすすめセクション
======================================== */
.recommend {
    background: white;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.recommend-item {
    background: var(--bg-light);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.recommend-item:hover {
    border-color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow);
    transform: scale(1.05);
}

.recommend-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.recommend-item p {
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.6;
}

/* ========================================
   サービスセクション
======================================== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: white;
}

.service-icon.mental {
    background: linear-gradient(135deg, var(--mental-color) 0%, #805ad5 100%);
}

.service-icon.physical {
    background: linear-gradient(135deg, var(--physical-color) 0%, #3182ce 100%);
}

.service-icon.intellectual {
    background: linear-gradient(135deg, var(--intellectual-color) 0%, #38a169 100%);
}

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

.service-card ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card li {
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 30px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.services-note {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.05rem;
}

.services-note i {
    margin-right: 8px;
}

/* ========================================
   サポートセクション
======================================== */
.support {
    background: white;
}

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

.support-item {
    background: var(--bg-light);
    padding: 35px 30px;
    border-radius: 15px;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.support-item:hover {
    border-color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow);
}

.support-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #dd6b20 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(237, 137, 54, 0.3);
}

.support-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-top: 15px;
    color: var(--text-color);
}

.support-item h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

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

/* ========================================
   フローセクション
======================================== */
.flow {
    background: var(--bg-light);
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
}

.flow-item {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.flow-step {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

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

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

.flow-arrow {
    text-align: center;
    padding: 20px 0;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ========================================
   料金セクション
======================================== */
.fee {
    background: white;
}

.fee-important {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.3);
}

.fee-important h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fee-important p {
    font-size: 1.15rem;
}

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

.fee-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.fee-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.fee-card:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.fee-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.fee-type {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.fee-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.fee-price span {
    font-size: 1.5rem;
}

.fee-price .large {
    font-size: 2.8rem;
    display: block;
}

.fee-card p {
    font-size: 1rem;
}

.fee-tax {
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.fee-card.featured p {
    color: rgba(255, 255, 255, 0.95);
}

.fee-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.fee-example {
    background: var(--bg-light);
    padding: 40px 35px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.fee-example h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.fee-example-content {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.example-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.example-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.example-calc {
    font-size: 1.05rem;
    color: var(--text-light);
}

.example-calc strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.fee-caution {
    background: #fff5f5;
    border-left-color: #e53e3e;
}

.fee-caution h4 {
    color: #c53030;
}

.fee-note-text {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
}

/* ========================================
   FAQセクション
======================================== */
.faq {
    background: var(--bg-light);
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i.fa-question-circle {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

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

/* ========================================
   お問い合わせセクション
======================================== */
.contact {
    background: white;
}

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

.contact-method {
    text-align: center;
}

.contact-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
}

.contact-icon.phone {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #38a169 100%);
}

.contact-icon.email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.contact-method h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-number:hover {
    color: #38a169;
    transform: scale(1.05);
}

.contact-email {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    word-break: break-all;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--primary-light);
}

.contact-time {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

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

.required {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-privacy {
    margin-bottom: 30px;
}

.form-privacy label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.form-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    max-width: 400px;
    display: flex;
    margin: 0 auto;
}

.form-success {
    display: none;
    text-align: center;
    padding: 50px 30px;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-success p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.cta-note {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: white;
    transition: all 0.3s ease;
}

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

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-link-group h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-link-group ul li {
    margin-bottom: 10px;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-link-group a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-keywords {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ========================================
   トップへ戻るボタン
======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* ヘッダー */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary-dark);
        padding: 30px 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav a {
        display: block;
        padding: 15px 30px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* ヒーロー */
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 15px 30px;
        width: 100%;
    }
    
    .sp-only {
        display: inline;
    }
    
    /* セクション */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* グリッド */
    .features-grid,
    .recommend-grid,
    .services-grid,
    .support-grid,
    .fee-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card ul {
        grid-template-columns: 1fr;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    /* その他 */
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-number {
        font-size: 1.5rem;
    }
    
    .contact-email {
        font-size: 1rem;
    }
}

/* ========================================
   ブログページ
======================================== */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

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

.blog-list {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.blog-category {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.category-guide {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.category-condition {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.category-support {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
}

.blog-card-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tag {
    padding: 5px 15px;
    background: var(--bg-light);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

/* ========================================
   記事ページ
======================================== */
.article-content {
    background: var(--bg-light);
    padding: 60px 0;
}

.article-container {
    max-width: 900px;
}

.article-header {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.article-category {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.article-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
}

.article-toc {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-toc h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.article-toc ul {
    list-style: none;
}

.article-toc li {
    margin-bottom: 12px;
}

.article-toc a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.article-toc a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.article-section {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.article-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.article-section p {
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-section ul, .article-section ol {
    margin: 20px 0 20px 30px;
    line-height: 1.9;
}

.article-section li {
    margin-bottom: 10px;
}

.article-box {
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.article-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.box-info {
    background: #ebf8ff;
    border-left: 5px solid #4299e1;
}

.box-success {
    background: #f0fff4;
    border-left: 5px solid #48bb78;
}

.box-warning {
    background: #fffaf0;
    border-left: 5px solid #ed8936;
}

.article-requirements, .article-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 30px 0;
}

.requirement-item, .step-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    position: relative;
}

.requirement-number, .step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

.requirement-note {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.article-cta-note {
    font-size: 1.05rem;
    opacity: 0.9;
}

.article-nav {
    text-align: center;
    margin: 40px 0;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-back:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.article-grades {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 30px 0;
}

.grade-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid;
}

.grade-1 {
    border-left-color: #e53e3e;
}

.grade-2 {
    border-left-color: #ed8936;
}

.grade-3 {
    border-left-color: #48bb78;
}

.grade-amount {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.article-faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-article {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
}

.faq-item-article h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.procedure-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.procedure-table th,
.procedure-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.procedure-table th {
    background: var(--bg-light);
    font-weight: 700;
    width: 150px;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 1.8rem;
    }
    
    .blog-card {
        padding: 25px;
    }
    
    .article-header,
    .article-section {
        padding: 30px 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-cta-buttons {
        flex-direction: column;
    }
}