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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3a6f;
}

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

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ヘッダー全体の余白を調整して横幅を確保 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0; /* 上下パディングを少し削る */
    gap: 15px; /* ロゴとナビゲーションの間の最低限の隙間 */
}

.logo a {
    font-size: 1.6rem; /* 1.5remから大きく変更 */
    font-weight: 800;  /* 少し太くして存在感を出す */
    letter-spacing: -0.02em; /* 字間をわずかに詰め、横幅を節約 */
    white-space: nowrap;
}

/* ナビゲーションを右端に寄せる */
.nav {
    flex: 1; /* 余ったスペースを活用 */
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem; /* 間隔をさらに詰め、横並びを死守 */
    align-items: center;
}

.nav-list a {
    font-size: 0.85rem; /* わずかに小さくしてバランスを取る */
    padding: 0.2rem 0.5rem; /* 左右の余白を最小限に */
    font-weight: 600;
}

.nav-list a:hover,
.nav-list a.active {
    background-color: #f0f4f8;
    color: #2c5aa0;
}

.btn-contact {
    padding: 0.5rem 1rem !important; /* お問い合わせボタンも少しスリムに */
    white-space: nowrap;
}


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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c5aa0;
    transition: all 0.3s ease;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #2c5aa0;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #2c5aa0; /* 背景を紺色に */
    color: #fff;              /* 文字を白に */
    border-color: #2c5aa0;    /* 枠線も紺色に合わせる */
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: #fff;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}


.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff6b35;
    margin: 1rem auto 0;
}

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


/* ========================================
   特徴セクション
======================================== */
.features {
    background-color: #fff;
}

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

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #2c5aa0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   対象患者セクション
======================================== */
.target-patients {
    background-color: #f0f4f8;
}

.target-list {
    max-width: 800px;
    margin: 0 auto;
}

.target-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.target-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: #2c5aa0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.target-item p {
    flex: 1;
    line-height: 1.8;
}

/* ========================================
   統括医師紹介セクション
======================================== */
.doctor-intro {
    background-color: #fff;
}

.doctor-intro-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.doctor-intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.doctor-badge {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.doctor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.doctor-name-en {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-top: 0.5rem;
}

.doctor-message {
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ========================================
   お知らせセクション
======================================== */
.news {
    background-color: #f0f4f8;
}

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

.news-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-date {
    flex-shrink: 0;
    color: #666;
    font-size: 0.95rem;
}

.news-category {
    flex-shrink: 0;
    background-color: #2c5aa0;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.news-title {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.news-title:hover {
    color: #2c5aa0;
}

/* ========================================
   クイックリンクセクション
======================================== */
.quick-links {
    background-color: #fff;
}

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

.quick-link-card {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: #2c5aa0;
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.15);
}

.quick-link-card h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
}

.quick-link-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   ページヘッダー
======================================== */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   コンテンツセクション
======================================== */
.content-section {
    background-color: #fff;
}

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

.content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #f0f4f8;
}

.content-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c5aa0;
    margin: 2rem 0 1rem;
}

.content-text {
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.content-intro {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

/* ========================================
   テーブル
======================================== */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

thead {
    background-color: #2c5aa0;
    color: #fff;
}

th, td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #f0f4f8;
}

/* ========================================
   アラート
======================================== */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ff6b35;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #2c5aa0;
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.alert-list {
    margin-left: 1.5rem;
    color: #555;
}

.alert-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ========================================
   特徴リスト
======================================== */
.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #2c5aa0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-content h3 {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #555;
    line-height: 1.7;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.cta-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-section .btn {
    margin: 0.5rem;
}

/* ========================================
   診療の流れ - タイムライン
======================================== */
.flow-timeline {
    margin: 3rem 0;
}

.flow-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 4rem;
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: -3rem;
    width: 2px;
    background-color: #e0e0e0;
}

.flow-step:last-child::before {
    display: none;
}

.flow-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.flow-step-number {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: #2c5aa0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.flow-step-title {
    font-size: 1.4rem;
    color: #2c5aa0;
    font-weight: 700;
}

.flow-step-content {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.flow-step-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.flow-info-box {
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 3px solid #2c5aa0;
}

.flow-info-box h4 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
}

.flow-info-box ul {
    margin-left: 1.5rem;
    color: #555;
}

.flow-info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.flow-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* ========================================
   費用ページ
======================================== */
.cost-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.cost-card-title {
    font-size: 1.5rem;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cost-table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.cost-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.cost-table tbody tr:last-child {
    border-bottom: none;
}

.cost-item {
    font-weight: 600;
    color: #333;
}

.cost-price {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
}

.cost-note {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.cost-description {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.7;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.payment-item h4 {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
}

.payment-item p {
    color: #666;
    line-height: 1.7;
}

/* ========================================
   医師紹介ページ
======================================== */
.doctor-profile-main {
    margin: 3rem 0;
}

.doctor-profile-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.doctor-profile-image-large {
    position: relative;
}

.doctor-profile-image-large img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.image-credit {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.image-credit a {
    color: #2c5aa0;
    text-decoration: underline;
}

.doctor-badge-large {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.doctor-name-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 2rem;
}

.doctor-message {
    line-height: 1.9;
    color: #555;
    margin-bottom: 1rem;
}

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

.doctor-detail-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.doctor-detail-title {
    font-size: 1.4rem;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e0e0e0;
}

.doctor-detail-subtitle {
    font-size: 1.1rem;
    color: #2c5aa0;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #2c5aa0;
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.3rem;
}

.timeline-content {
    color: #555;
    line-height: 1.7;
}

.doctor-bio {
    margin-top: 1.5rem;
    line-height: 1.9;
    color: #555;
    padding: 1rem;
    background-color: #fff;
    border-radius: 6px;
}

.qualification-list,
.association-list,
.media-list,
.publication-list,
.lecture-list {
    list-style: none;
    margin-left: 0;
}

.qualification-list li,
.association-list li,
.media-list li,
.publication-list li,
.lecture-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.qualification-list li::before,
.association-list li::before,
.media-list li::before,
.publication-list li::before,
.lecture-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: 700;
}

/* ========================================
   FAQページ
======================================== */
.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category-btn {
    padding: 0.7rem 1.5rem;
    background-color: #f0f4f8;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background-color: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

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

.faq-item-expanded {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question-expanded {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question-expanded:hover {
    background-color: #e8eef4;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2c5aa0;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item-expanded.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item-expanded.active .faq-answer-expanded {
    max-height: 1000px;
}

.faq-answer-expanded p,
.faq-answer-expanded ul {
    padding: 1.5rem;
    line-height: 1.9;
    color: #555;
}

.faq-answer-expanded ul {
    margin-left: 2rem;
}

.faq-answer-expanded li {
    margin-bottom: 0.5rem;
}

/* ========================================
   アクセスページ
======================================== */
.clinic-info-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

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

.clinic-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
}

.clinic-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #2c5aa0;
}

.clinic-info-icon svg {
    width: 100%;
    height: 100%;
}

.clinic-info-content h3 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.clinic-info-content p {
    line-height: 1.7;
    color: #555;
}

.clinic-info-content a {
    color: #2c5aa0;
    font-weight: 600;
}

.info-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.schedule-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.schedule-table {
    margin: 2rem 0;
}

.schedule-time {
    font-weight: 600;
    color: #333;
}

.schedule-available {
    text-align: center;
    color: #2c5aa0;
    font-weight: 700;
}

.schedule-closed {
    text-align: center;
    color: #ccc;
}

.schedule-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* --- 診療時間テーブルの横スクロール対応 --- */

/* 1. テーブルを囲む親要素にスクロールを許可 */
.schedule-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
}

/* 2. テーブルの最小横幅を固定する */
.schedule-table {
    min-width: 600px; /* スマホでも表が潰れないよう最低幅を確保 */
    width: 100%;
    margin: 1.5rem 0;
}

.access-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.access-methods {
    margin-top: 2rem;
}

.access-method {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.access-method h3 {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.access-method ul {
    margin-left: 1.5rem;
}

.access-method li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #555;
}

.access-method strong {
    color: #2c5aa0;
}

.access-method p {
    line-height: 1.7;
    color: #555;
}

.map-card {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.map-placeholder {
    background-color: #e0e0e0;
    padding: 0.2rem;
    text-align: center;
    border-radius: 2px;
    color: #666;
}

.map-note {
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: left;
}

.map-note code {
    display: block;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    overflow-x: auto;
}

.facility-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facility-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.facility-item h3 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
}

.facility-item p {
    color: #666;
    line-height: 1.7;
}

/* ========================================
   お問い合わせページ
======================================== */
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 3rem;
}

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

.contact-method-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #2c5aa0;
}

.contact-method-icon svg {
    width: 100%;
    height: 100%;
}

.contact-method-card h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.contact-phone {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
    margin: 1rem 0;
}

.contact-method-detail a {
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-method-hours {
    color: #666;
    margin-top: 0.5rem;
}

.contact-method-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.contact-form-card {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.form-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group-half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

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

.required {
    color: #ff6b35;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.privacy-link {
    color: #2c5aa0;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* フォームボタンのレスポンシブ調整 */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem; /* スマホでは余白を少しタイトに */
    }
    
    .contact-form-card .btn-large {
        font-size: 1.1rem;
        padding: 1.2rem 1rem;
        /* 指で押しやすいサイズ感を維持 */
    }
}

.privacy-policy {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.privacy-policy h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.privacy-policy p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.privacy-policy ul {
    margin-left: 2rem;
    color: #555;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #1e3a6f;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section {
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .doctor-intro-card,
    .doctor-profile-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .doctor-profile-image-large {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid,
    .quick-links-grid,
    .contact-methods-grid,
    .payment-methods,
    .clinic-info-grid,
    .facility-grid,
    .doctor-details-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .flow-step {
        padding-left: 3rem;
    }
    
    .flow-step-title {
        font-size: 1.2rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-category-btn {
        text-align: center;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .doctor-name-large {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .doctor-name-large {
        font-size: 1.5rem;
    }
    
    .contact-phone {
        font-size: 1.4rem;
    }
}