/* 全体のスタイル */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: 40px;
}

/* PC用メニューバー */
nav.menu {
    display: flex;
}

nav.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav.menu ul li {
    position: relative;
}

nav.menu ul li a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

/* Languages のドロップダウン */
nav.menu ul li.dropdown {
    position: relative; /* ドロップダウンメニューの基準位置を設定 */
}

nav.menu ul li.dropdown .dropdown-menu {
    display: none; /* 初期状態で非表示 */
    position: absolute;
    top: 100%; /* 親要素の下に配置 */
    left: 0;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    list-style: none;
    z-index: 1000; /* 他の要素より前面に表示 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

nav.menu ul li.dropdown:hover .dropdown-menu {
    display: block; /* ホバー時に表示 */
}

nav.menu ul li.dropdown .dropdown-menu li {
    padding: 5px 0;
}

nav.menu ul li.dropdown .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    display: block;
    font-size: 0.9rem;
}

nav.menu ul li.dropdown:hover {
    cursor: pointer;
}

/* Languages の背景色を設定 */
header nav.menu ul li.dropdown {
    background-color: rgba(217, 217, 217, 0.45); /* 背景色 D9D9D9 45% */
    padding: 0;
    display: flex;
    align-items: center; /* アイコンとテキストを中央揃え */
}

/* ドロップダウンアイコンのサイズ調整 */
header nav.menu ul li .dropdown-icon {
    height: 10px; /* アイコンの高さ */
    width: 10px; /* アイコンの幅 */
    margin-left: 5px;
}


/* ハンバーガーメニュー用スタイル */
.hamburger-menu {
    display: none; /* スマホ表示ではハンバーガーメニューを表示 */
    cursor: pointer;
    position: fixed; /* メニューが開いても位置が固定される */
    top: 20px; /* 上部の位置 */
    right: 20px; /* 右側の位置 */
    z-index: 1100; /* メニューよりも前面に表示 */
}

.hamburger-menu img {
    height: 25px;
    width: 25px;
}

/* バナーセクション */
.banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
}

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

.banner-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1rem;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(217, 217, 217, 0.5);
    padding: 20px 40px;
    border-radius: 20px;
    text-align: center;
}

.banner-overlay h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

/* 汎用性のあるボタンスタイル */
.btn-contact {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #686DE0; /* メインカラー */
    border-radius: 50px; /* 丸みをつける */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(104, 109, 224, 0.3); /* 影をつける */
}

/* ホバー時 */
.btn-contact:hover {
    background-color: #575ed8; /* 少し暗くする */
    box-shadow: 0 6px 12px rgba(104, 109, 224, 0.5);
    transform: translateY(-2px); /* 少し浮かせる */
}

/* サブタイトル */
.subtitle {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.subtitle h2 {
    font-size: 1.8rem;
    color: #333;
}

/* Introduction Section */
.introduction {
    display: flex; /* 横並びに配置 */
    align-items: center; /* 縦方向で中央揃え */
    justify-content: center; /* セクション全体を中央揃え */
    gap: 40px; /* テキストと画像の間隔を設定 */
    padding: 60px 20px; /* 全体の余白を設定 */
    text-align: left; /* テキストを左揃え */
    max-width: 1200px; /* セクション全体の最大幅を設定 */
    margin: 0 auto; /* セクションを画面中央に配置 */
}

.intro-content {
    display: flex;
    flex-direction: row; /* 横並び */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* 全体の最大幅 */
    width: 100%;
    gap: 40px; /* テキストと画像の間隔を設定 */
}

.intro-text {
    flex: 1; /* テキスト部分を均等に拡張 */
    max-width: 50%; /* テキスト部分の幅を制限 */
}

.intro-text p {
    font-size: 1.2rem; /* フォントサイズ */
    line-height: 1.8; /* 行間 */
    margin-bottom: 30px; /* ボタンとの間隔 */
}

.button {
    display: inline-block;
    background-color: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px; /* ボタンの丸みを設定 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    font-size: 1rem;
}

.button:hover {
    background-color: #444;
    transform: translateY(-2px); /* ホバー時の動き */
}

.intro-image {
    flex: 1; /* 画像部分を均等に拡張 */
    display: flex;
    justify-content: center; /* 横方向で中央揃え */
}

.intro-image img {
    max-width: 75%; /* 画像が親要素を超えないように */
    height: auto; /* 画像のアスペクト比を維持 */
    border-radius: 20px; /* 角丸を設定 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

/* Services Section */
.services {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* ボックス全体の高さを揃える */
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.5rem;
    margin-top: -20px;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
    color: #333;
    width: 100%;
}

.service-box {
    flex: 1 1 calc(33.333% - 30px);
    background-color: rgba(217, 217, 217, 0.45);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-link {
    text-decoration: none; /* 下線を削除 */
}

.service-content {
    padding: 20px;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.title-container h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #333;
}

.title-container .arrow-icon {
    width: 45px;
    height: 45px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-box:hover .arrow-icon {
    transform: scale(1.2);
}

.service-content img {
    width: 140px; /* 画像をさらに大きく */
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
    text-align: left;
    margin-bottom: 0; /* テキスト間隔調整 */
}

/* How It Works Section */
.how-it-works {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

/* Steps Container */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* Individual Step */
.step {
    flex: 1 1 calc(25% - 60px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
}

/* Step Number */
.step-number-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #c9a4f4;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step Content */
.step-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.step-content img {
    width: 75px;
    height: 75px;
    margin-bottom: 15px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

/* Mission Section */
.mission {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; /* テキストと画像間の余白 */
}

.mission-content {
    flex: 1;
    text-align: left;
}

.mission-content h2 {
    font-size: 2.5rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.mission-button {
    display: inline-block;
    background-color: black;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mission-button:hover {
    background-color: #444;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.mission-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mission-image img {
    max-width: 75%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* フェードインエフェクト */
.fade-in {
    opacity: 0;
    transform: translateY(30px); /* 少し大きく動かす */
    transition: opacity 1.2s ease, transform 1.2s ease; /* 時間を1.2秒に延長 */
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 左スライドインエフェクト */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px); /* 大きめにスライド */
    transition: opacity 1.2s ease, transform 1.2s ease; /* 時間を延長 */
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 右スライドインエフェクト */
.slide-in-right {
    opacity: 0;
    transform: translateX(60px); /* 大きめにスライド */
    transition: opacity 1.2s ease, transform 1.2s ease; /* 時間を延長 */
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in:nth-child(1) {
    transition-delay: 0.2s; /* 最初の要素に遅延を設定 */
}

.fade-in:nth-child(2) {
    transition-delay: 0.4s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.6s;
}



/* Footer Section */
.footer {
    padding: 0;
    color: white;
    width: 100%;
    overflow: hidden; /* 横スクロールを防ぐ */
}

.footer-content {
    background: url('../assets/images/Footer.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    max-width: 100vw; /* ビューポートを超えないように */
    margin: 0;
    padding: 60px 40px;
    box-sizing: border-box; /* パディングを幅に含める */
}

.footer-section {
    flex: 1 1 calc(25% - 20px); /* 各セクションの幅を揃える */
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.social-icon {
    width: 40px;
    height: 40px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #000;
    width: 100%; /* フッター下部を画面幅にフィット */
    max-width: 100vw; /* 画面を超えないように */
}

/* Content Sections */
.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.text-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.company-info {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.info-table td {
    padding: 15px;
    border: 1px solid #d6d6d6;
    vertical-align: top;
    text-align: left;
}

.info-table td:first-child {
    width: 20%;
    font-weight: bold;
    background-color: #f9f9f9;
}

.info-table td:last-child {
    width: 80%;
}

.officers-list {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.officers-list h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.officers-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.officer-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #d6d6d6;
}

.officer-role {
    font-weight: bold;
    flex: 1 1 40%; /* 役職の幅を調整 */
    margin-right: 20px;
}

.officer-info {
    flex: 1 1 55%; /* 名前とタイトルの幅を調整 */
    display: flex;
    flex-direction: column; /* デフォルトは縦並び */
}

.officer-info .officer-name {
    font-size: 1rem;
    font-weight: bold;
}

.officer-info .officer-title {
    font-size: 0.9rem;
    color: #666;
}

.description {
    text-align: center;
    padding: 60px 250px;
}

.description h2 {
    font-size: 2.5rem;
    color: #6E6E73;
    margin-bottom: 20px;
}

.description .highlight {
    color: #000000;
    font-weight: bold;
}

.description-image {
    width: 60%;
    max-width: 800px;
    margin: 20px auto 0;
    display: block;
    border-radius: 20px;
}

.awakening {
    padding: 40px 20px;
    text-align: center;
}

.awakening h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
}

.awakening-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.awakening-image {
    width: 50%;
    max-width: 300px;
    border-radius: 20px;
}

.awakening-content p {
    font-size: 1rem;
    color: #6E6E73;
    max-width: 400px;
}

.cases-expected {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.cases-expected h2 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #000000;
}

/* カードコンテナ */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* カード */
.card {
    background-color: #f5f5f5;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* カードのタイトル */
.card h3 {
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

/* カードの画像 */
.card img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 20px;
}

/* カードの本文 */
.card p {
    font-size: 24px;
    font-weight: bold;
    color: #6e6e73;
}

/* Growth Factors セクションのスタイル */
.growth-factors {
    position: relative;
    background-size: cover;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 40px;
    max-width: 1200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.section-title {
    font-size: 64px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
}

.text-box p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Clinics List Section */
.clinics {
    padding: 40px 20px;
}

.clinics h2 {
    font-size: 64px;
    text-align: center;
    margin-bottom: 40px;
}

.clinic-list {
    max-width: 1200px;
    margin: 30px auto;
}

.clinic {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.clinic-image {
    width: 200px;
    height: auto;
    border-radius: 20px;
    margin-right: 30px;
}

.clinic-info {
    flex: 1;
}

.clinic-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.clinic-info p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.clinic-info .clinic-type-location {
    font-size: 14px;
    color: #8E8E8E;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid rgba(104, 109, 224, 0.5);
    color: rgba(104, 109, 224, 0.5);
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.read-more:hover {
    background-color: rgba(104, 109, 224, 0.1);
    color: rgba(104, 109, 224, 0.7);
    border-color: rgba(104, 109, 224, 0.7);
}

.divider {
    height: 1px;
    background-color: rgba(142, 142, 142, 0.5);
    margin: 0 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}
.page-title h1 {
    font-size: 40px;
    color: #000000;
    margin-bottom: 10px;
}
.page-title p {
    font-size: 24px;
    color: #5F5F5F;
}

/* Search Area */
.search-area {
    background-color: rgba(217, 217, 217, 0.45);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
}

.search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.keyword-search {
    position: relative;
    flex: 1 1 100%;
    max-width: 50%;
}

.keyword-search input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
}

.dropdown-container {
    display: flex;
    gap: 10px;
    flex: 1 1 100%;
    max-width: 50%;
}

.dropdown-container select {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#search-btn {
    background-color: rgba(104, 109, 224, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search-btn:hover {
    background-color: rgba(104, 109, 224, 0.7);
}

/* 検索結果が0件の場合のスタイル */
.no-results {
    text-align: center;
    font-size: 18px;
    color: #888;
    margin-top: 20px;
    display: none;
}



/* Filter Status */
.filter-status {
    font-size: 16px;
    color: #5F5F5F;
    margin-top: 10px;
}

/* Clinic Details */
.clinic-page {
    padding: 40px 50px;
}

.clinic-header {
    text-align: center;
    padding: 20px;
}

.clinic-header h1 {
    font-size: 64px;
    font-weight: bold;
}

.clinic-header .clinic-description {
    font-size: 24px;
    margin: 10px 0;
}

.clinic-details {
    margin: 20px 0;
    font-size: 18px;
    color: #5F5F5F;
    border-top: 1px solid rgba(142, 142, 142, 0.5);
    border-bottom: 1px solid rgba(142, 142, 142, 0.5);
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly;
}

.clinic-details p {
    margin: 0;
}

/* ギャラリーセクション */
.clinic-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px; /* 両脇にスペースを追加 */
    position: relative;
}

/* ギャラリーラッパー */
.gallery-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin: 0 auto;
}

/* ギャラリー画像 */
.gallery-image {
    flex: 0 0 calc(100% / 4); /* PC: 4枚表示 */
    margin: 0 5px; /* 各画像間のスペース */
    object-fit: cover;
    border-radius: 10px;
    max-width: 350px; /* 横幅自動調整 */
    height: auto; /* 縦幅自動調整 */
}

/* Separator Line */
.separator-line {
    width: calc(100% - 40px);
    height: 3px;
    background-color: rgba(142, 142, 142, 0.5);
    margin: 60px auto;
}

/* Director Section */
.director-section {
    text-align: center;
}

.director-title {
    font-size: 40px;
    font-weight: bold;
}

.director-description {
    font-size: 24px;
    margin: 10px 0;
}

.director-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.director-image {
    border-radius: 20px;
    max-width: 300px;
    width: 100%;
    margin: 10px;
}

.director-expertise {
    max-width: 600px;
    margin: 10px;
    text-align: left;
}

.director-expertise h2 {
    font-size: 32px;
}

.director-expertise p {
    font-size: 18px;
}

/* Credentials Section */
.credentials-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.credentials-column {
    flex: 1 1 45%;
    margin: 10px;
}

.line {
    width: 100%;
    height: 1px;
    background-color: rgba(142, 142, 142, 0.5);
    margin: 10px 0;
}

.history-list, .certifications-list {
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.history-list li, .certifications-list li {
    margin-bottom: 10px;
}

.certifications-list p {
    margin: 5px 0 10px;
}

/* Prices Section */
.prices-section {
    text-align: center;
    padding: -20px 20px 20px 20px;
    margin: 0 auto;
    max-width: 800px;
    font-family: Arial, sans-serif;
}

.prices-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.price-list {
    margin: 0 auto;
    text-align: left;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}

.treatment-name {
    font-weight: bold;
    flex-basis: 50%;
    text-align: left;
}

.treatment-price {
    flex-basis: 50%;
    text-align: right;
    color: #5F5F5F;
}

.divider {
    height: 1px;
    background-color: rgba(142, 142, 142, 0.5);
    margin: 10px 0;
}

.price-notes {
    font-size: 0.875rem;
    margin-top: 20px;
    color: #5F5F5F;
    line-height: 1.6;
    text-align: left;
}

/* Clinic Information Section */
.clinic-information {
    text-align: center;
    padding: -20px 20px 20px 20px;
    margin: 0 auto;
    max-width: 800px;
    font-family: Arial, sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.clinic-info-group {
    margin-bottom: 20px;
}

.info-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.info-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #5F5F5F;
}

/* フローティングボタンのデザイン */
.floating-contact-btn {
    position: fixed;
    bottom: 50px; /* 画面下からの距離 */
    right: 50px; /* 画面右からの距離 */
    background-color: #686DE0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px 100px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(104, 109, 224, 0.3);
    transition: all 0.3s ease-in-out;
    z-index: 1000; /* 最前面に表示 */
}

/* ホバー時のエフェクト */
.floating-contact-btn:hover {
    background-color: #575ed8;
    box-shadow: 0 6px 12px rgba(104, 109, 224, 0.5);
    transform: translateY(-2px);
}


/* レスポンシブ用スタイル */
/* 中画面（タブレットサイズ） */
@media (max-width: 1024px) {
    .banner-text h1 {
        font-size: 2rem; /* タブレットサイズで縮小 */
    }

    .banner-text p {
        font-size: 0.9rem; /* タブレットサイズで縮小 */
    }
}

/* 小画面（スマホサイズ） */
@media (max-width: 768px) {
    nav.menu {
        display: none; /* 初期状態では非表示 */
        flex-direction: column;
        position: fixed; /* 固定表示に変更 */
        top: 0;
        right: 0;
        height: 100%; /* メニュー全体を画面いっぱいに表示 */
        width: 80%; /* 横幅を80%に設定 */
        background-color: rgba(255, 255, 255, 0.95); /* 白背景でやや透過 */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); /* 左側に影を追加 */
        padding: 20px;
        z-index: 1000; /* 他の要素の上に表示 */
        overflow-y: auto; /* メニューが長くなった場合にスクロール */
    }

    nav.menu.active {
        display: flex; /* メニューが開いた時に表示 */
    }

    nav.menu ul {
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav.menu ul li a {
        text-decoration: none;
        color: #333;
        font-size: 1.2rem; /* リンクの文字を大きく設定 */
        text-align: center;
        display: block;
        padding: 10px 0; /* リンク間に余白を追加 */
    }

    .hamburger-menu {
        display: block; /* スマホ表示ではハンバーガーメニューを表示 */
    }

    .hamburger-menu img {
        height: 25px;
        width: 25px;
    }

    .banner-text-container{
        width: 75%;
        padding: 30px; /* テキストの余白を調整 */
    }

    .banner-text h1 {
        font-size: 1.5rem; /* スマホサイズでさらに縮小 */
        margin-bottom: 30px;
    }

    .banner-text p {
        font-size: 0.8rem; /* スマホサイズでさらに縮小 */
    }

    .subtitle h2 {
        font-size: 1.5rem; /* スマホサイズで縮小 */
    }

    .introduction {
        flex-direction: column; /* 縦並びに変更 */
        text-align: center; /* テキストを中央揃え */
        padding: 40px 10px;
    }

    .intro-content {
        flex-direction: column; /* テキストと画像を縦に並べる */
        gap: 20px;
    }

    .intro-text {
        max-width: 80%; /* テキストの幅を100%に設定 */
    }

    .intro-text p {
        font-size: 0.8rem; /* フォントサイズを縮小 */
        margin-bottom: 20px; /* ボタンとの間隔を広げる */
    }

    .intro-image {
        max-width: 80%; /* 画像の幅を制限 */
        margin: 0 auto; /* 画像を中央に配置 */
    }

    .button {
        margin: 0 auto; /* ボタンを中央に配置 */
    }

    .services {
        flex-direction: column; /* ボックスを縦一列に配置 */
        gap: 20px; /* ボックス間の間隔 */
        padding: 20px 10px; /* スマホ用の余白調整 */
    }

    .service-box {
        flex: 1 1 100%; /* ボックスが横幅いっぱいに広がる */
        max-width: 75%; /* 幅を制限しない */
        margin: 0 auto; /* ボックスを中央揃え */
        position: relative;
    }

    .service-content {
        align-items: flex-start; /* 内容を左揃え */
        padding: 20px;
    }

    .title-container h3 {
        text-align: left; /* タイトルを左揃え */
        width: 100%; /* タイトル幅を調整 */
    }

    .title-container .arrow-icon {
        position: absolute; /* 矢印をボックス右上に配置 */
        top: 10px; /* ボックス内の上端からの距離 */
        right: 10px; /* ボックス内の右端からの距離 */
        width: 45px; /* 矢印サイズ */
        height: 45px;
        transform: none; /* 位置調整のために変形を解除 */
    }

    .service-content img {
        width: 140px; /* 画像を少し拡大 */
        margin: 10px 0; /* 余白調整 */
    }

    .service-content p {
        text-align: left; /* テキストを左揃え */
    }

    .how-it-works h2 {
        font-size: 2rem; /* フォントサイズを縮小 */
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step {
        flex: 1 1 100%;
    }

    .step-content h3 {
        font-size: 1.5rem; /* フォントサイズを縮小 */
    }

    .step-content p {
        font-size: 0.8rem; /* フォントサイズを縮小 */
    }

    .mission {
        flex-direction: column; /* 縦並びに変更 */
        text-align: center;
    }

    .mission-content {
        margin-bottom: 30px;
    }

    .mission-content h2 {
        font-size: 1.5rem; /* フォントサイズを縮小 */
    }

    .mission-content p {
        font-size: 0.8rem; /* フォントサイズを縮小 */
    }

    .mission-image {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100vw; /* はみ出し防止 */
        padding: 40px 20px; /* モバイルでは少し狭く */
    }

    .footer-section {
        flex: 1 1 100%; /* フル幅に設定 */
        margin-bottom: 20px;
    }

    .footer-section h3 {
        font-size: 1rem; /* フォントサイズを縮小 */
    }

    .footer-section p {
        font-size: 0.8rem; /* フォントサイズを縮小 */
    }

    .banner {
        width: 100%;
        height: auto; /* スマホサイズでバナーの高さを調整 */
    }

    .banner-video{
        width: 100%;
        height: 750px; /* ビデオの高さを調整 */
    }

    .banner-image {
        width: 100%; /* 横幅を完全に広げる */
        height: auto; /* 高さは自動調整 */
    }

    .banner-overlay {
        width: 70%; /* 横幅を画面サイズに合わせる */
        padding: 15px 20px; /* 内側の余白を調整 */
    }

    .banner-overlay h1 {
        font-size: 1.5rem; /* スマホでさらに小さく */
    }

    .content-container {
        flex-direction: column;
        text-align: center;
    }

    .text-content,
    .image-content {
        max-width: 100%;
    }

    .text-content h2 {
        font-size: 1.5rem; /* フォントサイズを縮小 */
    }

    .text-content p {
        font-size: 0.8rem; /* フォントサイズを縮小 */
    }

    .company-info h2 {
        font-size: 1.5rem; /* フォントサイズを縮小 */
    }

    .info-table td {
        padding: 10px;
        font-size: 0.8rem; /* フォントサイズを縮小 */
    }

    .officers-list h2 {
        font-size: 1.5rem; /* フォントサイズを縮小 */
    }

    .officer-item {
        flex-wrap: nowrap; /* 横並びを維持 */
        align-items: flex-start; /* アイテムを上揃えに調整 */
    }

    .officer-role {
        font-size: 12px;
        margin-right: 10px;
        flex: 1; /* 役職部分の幅を固定 */
        text-align: left; /* 左揃え */
    }

    .officer-info {
        display: flex;
        flex-direction: column; /* 名前とタイトルを縦並び */
        flex: 2; /* 名前とタイトルの幅を固定 */
        align-items: flex-start; /* 左揃え */
    }

    .officer-info .officer-name {
        font-size: 12px;
    }

    .officer-info .officer-title {
        font-size: 10px;
    }

    .description {
        padding: 40px 30px;
    }

    .description h2 {
        font-size: 1.5rem;
    }

    .description-image {
        width: 80%;
    }

    .awakening h2 {
        font-size: 1.5rem;
    }

    .awakening-content {
        flex-direction: column;
        text-align: center;
    }

    .awakening-image {
        width: 80%;
    }

    .awakening-content p {
        font-size: 0.8rem;
        text-align: center;
    }

    .cases-expected h2 {
        font-size: 24px;
    }

    .card h3 {
        font-size: 24px;
    }

    .card img {
        max-width: 150px;
    }

    .card p {
        font-size: 14px;
    }

    .section-title {
        padding: 20px;
        font-size: 24px;
    }

    .text-box p {
        font-size: 12px;
    }

    .background-overlay {
        padding: 20px;
    }

    .clinics h2 {
        font-size: 30px;
    }

    .clinics-list h2 {
        font-size: 26px;
    }

    .clinic {
        flex-direction: column;
    }

    .clinic-image {
        width: 35%;
    }

    .clinic-info h3 {
        font-size: 20px;
    }

    .clinic-info p {
        font-size: 14px;
    }

    .clinic-info .read-more {
        font-size: 14px;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .page-title p {
        font-size: 18px;
    }

    .search-area {
        padding: 10px;
    }

    .clinic-page {
        padding: 20px;
    }

    .clinic-header h1 {
        font-size: 35px;
    }

    .clinic-header .clinic-description {
        font-size: 14px;
    }

    .clinic-details {
        font-size: 14px;
    }

    .gallery-image {
        flex: 0 0 100%;
        width: 100%;
        max-width: 250px;
    }
    
    .clinic-gallery {
        width: 100%;
        padding: 0;
    }

    .director-title {
        font-size: 24px;
    }

    .director-description {
        font-size: 14px;
    }

    .director-expertise h2 {
        font-size: 24px;
    }

    .director-expertise p {
        font-size: 14px;
    }

    .credentials-column {
        flex: 1 1 100%;
    }

    .credentials-column h2 {
        font-size: 22px;
    }

    .history-list, .certifications-list {
        font-size: 12px;
    }

    .btn-contact {
        font-size: 16px;
        padding: 10px 20px;
    }

    .floating-contact-btn {
        font-size: 16px;
        padding: 12px 50px;
        bottom: 50px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 25px; /* 最小画面のサイズ */
    }

    .banner-text p {
        font-size: 12px; /* 最小画面のサイズ */
    }

    .banner-overlay h1 {
        font-size: 1.5rem; /* さらに小さい画面用フォントサイズ */
    }
}