﻿/*
Theme Name: Inoue Yasuaki
Theme URI:
Author: Inoue Yasuaki
Description: 脳神経外科専門医 井上靖章の公式サイト用WordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inoue-theme
*/

/* リセットCSS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベーススタイル */
:root {
    --main-color: #313864;
    --white: #ffffff;
    --text-color: #333333;
    --gray: #f0f0f0;
    --light-blue: #edf4fa;
    --blue: #5482c2;
    --gradient-start: #4db8e8;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* スマホ専用改行 */
.br-sp { display: none; }
@media screen and (max-width: 768px) { .br-sp { display: block; } }

/* デスクトップ専用改行 */
.br-pc { display: block; }
@media screen and (max-width: 768px) { .br-pc { display: none; } }

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    background-color: var(--main-color);
    transition: transform 0.3s ease;
}

.header.is-hidden {
    transform: translateY(-100%);
}

main {
    padding-top: 76px;
}

.nav {
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-item a,
.menu-item a {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
}

/* WordPress メニュー対応 */
.header .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ハンバーガーメニューボタン（デフォルトは非表示） */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ハンバーガーメニュー開いた状態 */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ページローダー */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loader-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--main-color);
    transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader-panel-top {
    top: 0;
}

.loader-panel-bottom {
    bottom: 0;
}

.loader-title-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.loader-title {
    font-size: 4.0rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.7;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateX(-80px);
    animation: loaderTitleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes loaderTitleIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#page-loader.is-open .loader-panel-top {
    transform: translateY(-100%);
}

#page-loader.is-open .loader-panel-bottom {
    transform: translateY(100%);
}

#page-loader.is-open .loader-title-wrap {
    opacity: 0;
}

#page-loader.is-hidden {
    display: none;
}

@media screen and (max-width: 768px) {
    .loader-title {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 480px) {
    .loader-title {
        font-size: 2.2rem;
    }
}

/* スクロールアニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}
.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* メインビジュアル */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: -76px;
    padding-top: 76px;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.hero-content {
    position: absolute;
    bottom: 30px;
    right: 60px;
    text-align: left;
    color: var(--white);
    max-width: 750px;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.85), 0 0 30px rgba(0,0,0,0.6);
}

.hero-text {
    font-size: 2.4rem;
    line-height: 2;
    letter-spacing: 0.08em;
    margin-bottom: 30px;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.85), 0 0 24px rgba(0,0,0,0.6);
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
}

.btn-hero {
    display: inline-block;
    padding: 16px 48px;
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-hero:hover {
    background-color: var(--blue);
    border-color: var(--blue);
    opacity: 1;
}

/* メッセージセクション */
.message {
    position: relative;
    background: linear-gradient(
        150deg,
        var(--gray) 0%,
        var(--gray) 30%,
        var(--white) 30%,
        var(--white) 60%,
        var(--gray) 60%,
        var(--gray) 100%
    );
    padding: 80px 40px;
}

.message-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.message-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.message-block {
    position: relative;
    margin-bottom: 60px;
    min-height: 400px;
}

.message-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
}

.message-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.message-text {
    position: relative;
    margin-left: 50%;
    padding: 40px;
    z-index: 1;
}

.message-block-reverse .message-image {
    left: auto;
    right: 0;
}

.message-block-reverse .message-text {
    margin-left: 0;
    margin-right: 50%;
}

.message-text p {
    margin-bottom: 1.5em;
    font-size: 1.8rem;
    line-height: 2;
    text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7), 0 0 35px rgba(255,255,255,0.5);
}

.message-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    min-width: 400px;
    padding: 18px 60px;
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--blue);
    border-color: var(--blue);
    opacity: 1;
}

/* お知らせセクション */
.news {
    background-color: var(--gray);
    padding: 80px 40px;
}

.news-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.news-title {
    font-size: 4.0rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 30%;
    flex-shrink: 0;
    padding-top: 20px;
    text-align: center;
}

.news-content {
    width: 70%;
}

.news-list {
    margin-bottom: 30px;
}

.news-item {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--text-color);
}

.news-date {
    font-size: 1.6rem;
    color: var(--text-color);
    flex-shrink: 0;
}

.news-text {
    font-size: 1.6rem;
    color: var(--text-color);
}

.news-more {
    text-align: right;
}

.news-link {
    display: inline-block;
    position: relative;
    font-size: 1.6rem;
    color: var(--text-color);
    padding: 10px 30px 10px 20px;
}

.news-link::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--text-color);
}

.news-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 1px;
    background-color: var(--text-color);
    transform: rotate(45deg);
    transform-origin: right bottom;
}

/* 執刀医セクション */
.doctor {
    background-color: var(--gray);
    padding: 60px 0 100px;
}

.doctor-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.doctor-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-left: 100px;
    margin-bottom: 0;
}

.doctor-en {
    font-size: 12rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.1em;
    line-height: 1;
}

.doctor-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 500;
    color: var(--main-color);
    letter-spacing: 0.1em;
    padding-bottom: 10px;
}

.doctor-title-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--main-color);
    transform: rotate(-60deg);
}

.doctor-content {
    position: relative;
    display: flex;
    margin-bottom: 180px;
}

.doctor-image {
    width: 65%;
    flex-shrink: 0;
}

.doctor-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.doctor-info {
    position: absolute;
    right: 0;
    top: 50px;
    width: 60%;
    background-color: var(--white);
    padding: 50px;
}

.doctor-name {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.doctor-education {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.doctor-career {
    list-style: none;
    margin-bottom: 30px;
}

.doctor-career li {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 5px;
}

.doctor-cert-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.doctor-cert {
    list-style: none;
}

.doctor-cert li {
    font-size: 1.5rem;
    line-height: 1.8;
}

.doctor-summary {
    max-width: 800px;
    font-size: 1.8rem;
    line-height: 2;
    color: var(--text-color);
    text-align: left;
    margin: 50px auto 0;
    padding: 30px 40px;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.doctor-cta {
    text-align: center;
    margin-top: 80px;
}

.btn-secondary {
    display: inline-block;
    min-width: 400px;
    padding: 20px 40px;
    background-color: var(--main-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--blue);
    opacity: 1;
}

/* トップページへ戻るボタン */
.back-to-top-btn {
    text-align: center;
    margin-top: 60px;
}

/* 脳動脈瘤セクション */
.aneurysm {
    background-color: var(--gray);
    padding: 40px 40px;
}

.aneurysm-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.aneurysm-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aneurysm-intro {
    text-align: left;
    font-size: 1.8rem;
    line-height: 2;
    max-width: 750px;
    margin: 0 auto 60px;
}

.treatment-box {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px 80px;
    margin-bottom: 60px;
}

.treatment-header {
    text-align: center;
    margin-bottom: 40px;
}

.treatment-header-line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--main-color);
    margin: 0 auto 15px;
}

.treatment-header-title {
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--main-color);
    letter-spacing: 0.1em;
}

.treatment-methods {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.treatment-method {
    flex: 1;
}

.treatment-method-title {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.treatment-method-image {
    margin-bottom: 20px;
}

.treatment-method-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.treatment-method-text p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.treatment-note {
    background-color: var(--light-blue);
    padding: 30px 100px;
}

.treatment-note p {
    font-size: 1.6rem;
    line-height: 1.8;
    text-align: left;
}

.aneurysm-cta {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.btn-outline {
    display: inline-block;
    padding: 20px 60px;
    background-color: var(--white);
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--main-color);
    color: var(--white);
    opacity: 1;
}

/* その他の脳神経外科手術セクション */
.other-surgery {
    background-color: var(--gray);
    padding: 80px 40px;
}

.other-surgery-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.other-surgery-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other-surgery-intro {
    text-align: left;
    font-size: 1.8rem;
    line-height: 2;
    max-width: 750px;
    margin: 0 auto 60px;
}

.surgery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.surgery-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
}

.surgery-card-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.surgery-card-icon {
    margin-bottom: 20px;
}

.surgery-card-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.surgery-card-text {
    font-size: 1.6rem;
    line-height: 1.8;
    text-align: left;
}

.other-surgery-cta {
    display: flex;
    justify-content: center;
    gap: 50px;
}

/* ご相談から手術までの流れセクション */
.flow {
    background-color: var(--gray);
    padding: 80px 40px;
}

.flow-inner {
    max-width: 900px;
    margin: 0 auto;
}

.flow-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flow-intro {
    text-align: left;
    font-size: 1.8rem;
    line-height: 2;
    max-width: 750px;
    margin: 0 auto 60px;
}

.flow-list {
    margin-bottom: 60px;
}

.flow-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--white);
    padding: 20px 40px 20px 60px;
    margin-bottom: 0;
}

.flow-item:not(:last-child) {
    margin-bottom: 40px;
}

.flow-number {
    font-size: 7rem;
    font-weight: 500;
    color: #5d87b7;
    line-height: 1;
    flex-shrink: 0;
    min-width: 100px;
}

.flow-content {
    flex: 1;
}

.flow-item-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #5d87b7;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.flow-item-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
}

.flow-connector {
    position: absolute;
    left: 80px;
    bottom: -40px;
    width: 20px;
    height: 40px;
    background-color: #5d87b7;
    z-index: 1;
}

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

/* 提携医療機関セクション */
.partners {
    background-color: var(--gray);
    padding: 80px 40px;
}

.partners-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-intro {
    text-align: left;
    font-size: 1.8rem;
    line-height: 2;
    max-width: 750px;
    margin: 0 auto 60px;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: var(--white);
    padding: 20px;
}

.partners-item {
    text-align: center;
    font-size: 2.0rem;
    font-weight: 500;
    padding: 30px 20px;
    color: var(--main-color);
}

.partners-item a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.partners-item a:hover {
    color: var(--blue);
    opacity: 0.8;
}

/* よくある質問セクション */
.faq {
    background-color: var(--gray);
    padding: 80px 40px;
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 0;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    padding: 40px 60px;
}

.faq-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--text-color);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.faq-label-q {
    font-size: 3rem;
    font-weight: 500;
    color: var(--blue);
    line-height: 1;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--text-color);
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding-left: 20px;
}

.faq-label-a {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1;
    flex-shrink: 0;
}

.faq-answer-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* コンタクトセクション */
.contact {
    background-image: url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 40px;
}

.contact-inner {
    width: 40%;
    text-align: right;
}

.contact-title {
    font-size: 6.4rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.2em;
    margin-bottom: 40px;
}

.btn-contact {
    display: inline-block;
    min-width: 400px;
    padding: 20px 60px;
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--white);
    color: var(--main-color);
    opacity: 1;
}

/* フッター前の余白 */
.footer-spacer {
    background-color: var(--gray);
    height: 80px;
}

.single .footer-spacer,
.page-template-page-contact .footer-spacer {
    background-color: var(--white);
}

/* フッター */
.footer {
    background-color: var(--main-color);
    padding: 30px 20px;
    text-align: center;
}

.copyright {
    color: var(--white);
    font-size: 1.2rem;
}

/* アーカイブ・シングルページ用スタイル */
.page-header {
    background-color: var(--main-color);
    padding: 120px 40px 60px;
    text-align: center;
    margin-top: -76px;
    padding-top: 136px;
}

.page-header-simple {
    padding: 60px 40px 30px;
}

.page-header-title {
    font-size: 4.0rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.15em;
}

.archive-content {
    background-color: var(--gray);
    padding: 60px 40px;
}

.single-content {
    background-color: var(--white);
    padding: 60px 40px;
}

.archive-inner,
.single-inner {
    max-width: 900px;
    margin: 0 auto;
}

.post-list {
    list-style: none;
}

.post-item {
    background-color: var(--white);
    margin-bottom: 20px;
    padding: 28px 36px;
}

.post-item-link {
    display: flex;
    gap: 0;
    color: inherit;
    transition: opacity 0.3s ease;
    padding-left: 24px;
}

.post-item-link:hover {
    opacity: 0.75;
}

.post-item-thumbnail {
    width: 240px;
    flex-shrink: 0;
    overflow: hidden;
    align-self: center;
}

.post-item-thumbnail img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    display: block;
}

.post-item-body {
    padding: 24px 30px;
    flex: 1;
}

.post-item-date {
    font-size: 1.4rem;
    color: #999;
    margin-bottom: 10px;
}

.post-item-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
}

.post-item-excerpt {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 1.4rem;
    color: var(--blue);
    text-decoration: none;
}

.read-more:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.single-article {
    background-color: var(--white);
    padding: 50px;
}

.single-article-thumbnail {
    margin-bottom: 30px;
}

.single-article-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.single-article-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 15px;
}

.single-article-date {
    font-size: 1.4rem;
    color: #999;
    margin-bottom: 30px;
}

.single-article-body,
.page-body {
    font-size: 1.6rem;
    line-height: 2;
}

.single-article-body p,
.page-body p {
    margin-bottom: 1.5em;
}

.single-article-body a,
.page-body a {
    word-break: break-all;
}

/* 記事・固定ページ内見出し */
.single-article-body h2,
.page-body h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 15px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--gradient-start), #1e3c72) 1;
}

.single-article-body h3,
.page-body h3 {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--main-color);
    margin-top: 2em;
    margin-bottom: 0.8em;
    padding-left: 15px;
    border-left: 4px solid var(--blue);
}

.single-article-body h4,
.page-body h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    position: relative;
    padding-left: 20px;
}

.single-article-body h4::before,
.page-body h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--gradient-start), #1e3c72);
    border-radius: 2px;
}

/* 記事・固定ページ内リスト */
.single-article-body ul,
.page-body ul {
    list-style: disc;
    padding-left: 2em;
    margin-bottom: 1.5em;
}

.single-article-body ol,
.page-body ol {
    list-style: decimal;
    padding-left: 2em;
    margin-bottom: 1.5em;
}

.single-article-body li,
.page-body li {
    margin-bottom: 0.5em;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    font-size: 1.6rem;
    color: var(--blue);
}

/* 前後の記事ナビゲーション */
.post-navigation {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.post-nav-prev,
.post-nav-next {
    flex: 1;
}

.post-nav-prev a,
.post-nav-next a {
    display: block;
    padding: 25px 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-prev a:hover,
.post-nav-next a:hover {
    border-color: var(--blue);
    opacity: 1;
}

.post-nav-next a {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 8px;
}

.post-nav-title {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--main-color);
}

/* 一覧に戻るボタン */
.back-to-list {
    text-align: center;
    margin-top: 50px;
}

.btn-back-list {
    display: inline-block;
    min-width: 300px;
    padding: 18px 40px;
    background-color: var(--main-color);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-list:hover {
    background-color: var(--blue);
    opacity: 1;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: var(--white);
    color: var(--main-color);
    font-size: 1.6rem;
}

.pagination .page-numbers.current {
    background-color: var(--main-color);
    color: var(--white);
}

/* 固定ページ用 */
.page-content {
    background-color: var(--gray);
    padding: 60px 40px;
}

.page-inner {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
}

.page-inner h1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 30px;
}

.page-body {
    font-size: 1.6rem;
    line-height: 2;
}

.page-body p {
    margin-bottom: 1.5em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex;
        background-color: var(--main-color);
        width: 62px;
        height: 62px;
        padding: 18px;
        gap: 5px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(49, 56, 100, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.is-active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list,
    .header .menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-item a,
    .menu-item a {
        font-size: 2.0rem;
        text-shadow: none;
    }

    .header {
        background-color: transparent;
        padding: 0;
    }

    main {
        padding-top: 62px;
    }

    .hero {
        height: 100vh;
        margin-top: -62px;
        padding-top: 62px;
    }

    .hero-content {
        right: 20px;
        left: 20px;
        bottom: 60px;
        max-width: 100%;
    }

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

    .hero-text {
        font-size: 1.8rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .btn-hero {
        font-size: 1.6rem;
        padding: 14px 36px;
    }

    .message {
        padding: 60px 20px;
    }

    .message-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    .message-block {
        min-height: auto;
    }

    .message-image {
        position: relative;
        width: 100%;
    }

    .message-text {
        margin-left: 0;
        padding: 30px 20px;
    }

    .message-block-reverse .message-text {
        margin-right: 0;
    }

    .message-block-reverse .message-image {
        margin-left: -100px;
        width: calc(100% + 100px);
    }

    .news {
        padding: 60px 20px;
    }

    .news-inner {
        flex-direction: column;
        gap: 30px;
    }

    .news-inner {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .news-title {
        font-size: 2.4rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .news-content {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
    }

    .news-item::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--text-color);
        margin-top: 20px;
    }

    .doctor {
        padding: 40px 20px 60px;
    }

    .doctor-header {
        align-items: flex-end;
        gap: 12px;
        margin-left: 0;
    }

    .doctor-en {
        font-size: 5rem;
        padding-bottom: 10px;
    }

    .doctor-title {
        font-size: 1.8rem;
    }

    .doctor-content {
        flex-direction: column;
        margin-bottom: 0;
    }

    .doctor-image {
        width: 100%;
    }

    .doctor-info {
        position: relative;
        top: 0;
        width: 100%;
        padding: 30px 20px;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 280px;
        padding: 15px 30px;
        font-size: 1.4rem;
    }

    .aneurysm {
        padding: 60px 20px;
    }

    .aneurysm-title {
        font-size: 2.4rem;
    }

    .aneurysm-intro {
        text-align: left;
    }

    .treatment-box {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .treatment-header-title {
        font-size: 2rem;
    }

    .treatment-methods {
        flex-direction: column;
        gap: 40px;
    }

    .treatment-note {
        padding: 25px 20px;
    }

    .treatment-note p {
        text-align: left;
    }

    .aneurysm-cta {
        flex-direction: column;
        gap: 20px;
    }

    .btn-outline {
        padding: 15px 40px;
        font-size: 1.4rem;
        text-align: center;
    }

    .other-surgery {
        padding: 60px 20px;
    }

    .other-surgery-title {
        font-size: 2.4rem;
    }

    .other-surgery-intro {
        text-align: left;
    }

    .surgery-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .other-surgery-cta {
        flex-direction: column;
        gap: 20px;
    }

    .flow {
        padding: 60px 20px;
    }

    .flow-title {
        font-size: 2.4rem;
    }

    .flow-intro {
        text-align: left;
    }

    .flow-item {
        padding: 30px 20px;
        gap: 20px;
    }

    .flow-number {
        font-size: 3.5rem;
    }

    .flow-item-title {
        font-size: 1.8rem;
    }

    .flow-connector {
        left: 40px;
    }

    .partners {
        padding: 60px 20px;
    }

    .partners-title {
        font-size: 2.4rem;
    }

    .partners-intro {
        text-align: left;
    }

    .partners-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }

    .partners-item {
        font-size: 1.6rem;
        padding: 20px 10px;
    }

    .faq {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 2.4rem;
    }

    .faq-list {
        padding: 30px 30px;
    }

    .faq-label-q,
    .faq-label-a {
        font-size: 2rem;
    }

    .faq-question-text {
        font-size: 1.6rem;
    }

    .faq-answer-text {
        font-size: 1.4rem;
    }

    .contact {
        padding: 80px 20px;
    }

    .contact-inner {
        width: 100%;
        text-align: center;
    }

    .contact-title {
        font-size: 4rem;
    }

    .btn-contact {
        min-width: 280px;
        padding: 15px 40px;
        font-size: 1.4rem;
    }

    .footer-spacer {
        height: 60px;
    }

    .page-header {
        padding: 80px 20px 40px;
        margin-top: -62px;
        padding-top: 102px;
    }

    .page-header-simple {
        padding: 50px 20px 20px;
    }

    .page-header-title {
        font-size: 2.4rem;
    }

    .post-item-link {
        flex-direction: column;
        padding-left: 0;
    }

    .post-item-body {
        padding-left: 0;
        padding-right: 0;
    }

    .post-item-thumbnail {
        width: 100%;
    }

    .single-content {
        padding: 20px 0;
    }

    .single-article {
        padding: 30px 20px;
    }

    .single-article-title {
        font-size: 2.0rem;
    }

    .single-article-body h2,
    .page-body h2 {
        font-size: 2.0rem;
    }

    .single-article-body h3,
    .page-body h3 {
        font-size: 1.8rem;
    }

    .single-article-body h4,
    .page-body h4 {
        font-size: 1.6rem;
    }

    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .post-nav-next a {
        text-align: left;
    }

    .post-nav-prev a,
    .post-nav-next a {
        padding: 20px;
    }

    .btn-back-list {
        min-width: auto;
        width: 100%;
        padding: 15px 30px;
    }
}

@media screen and (max-width: 480px) {
    .hamburger {
        width: 58px;
        height: 58px;
        padding: 16px;
    }

    .nav-list,
    .header .menu {
        gap: 25px;
    }

    .nav-item a,
    .menu-item a {
        font-size: 1.8rem;
    }

    main {
        padding-top: 58px;
    }

    .page-header {
        margin-top: -58px;
        padding-top: 98px;
    }

    .hero {
        height: 100vh;
        margin-top: -58px;
        padding-top: 58px;
    }

    .hero-content {
        right: 10px;
        left: 15px;
        bottom: 140px;
        max-width: 100%;
    }

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

    .hero-text {
        font-size: 1.6rem;
    }

    .message-title {
        font-size: 2.4rem;
    }

    .message-text p {
        font-size: 1.4rem;
    }

    .btn-primary,
    .btn-secondary {
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
        font-size: 1.4rem;
    }

    .news-title {
        font-size: 2.4rem;
    }

    .news-date,
    .news-text {
        font-size: 1.4rem;
    }

    .doctor-en {
        font-size: 4rem;
    }

    .doctor-title {
        font-size: 1.6rem;
    }

    .doctor-name {
        font-size: 1.6rem;
    }

    .doctor-info {
        padding: 20px 15px;
    }

    .aneurysm-title {
        font-size: 2.4rem;
    }

    .aneurysm-intro {
        font-size: 1.4rem;
    }

    .treatment-header-title {
        font-size: 1.8rem;
    }

    .treatment-method-title {
        font-size: 1.6rem;
    }

    .treatment-method-text p,
    .treatment-note p {
        font-size: 1.4rem;
    }

    .other-surgery-title {
        font-size: 2.2rem;
    }

    .other-surgery-intro {
        font-size: 1.4rem;
    }

    .surgery-cards {
        grid-template-columns: 1fr;
    }

    .surgery-card-title {
        font-size: 1.6rem;
    }

    .surgery-card-text {
        font-size: 1.3rem;
    }

    .flow-title {
        font-size: 2.4rem;
    }

    .flow-intro {
        font-size: 1.4rem;
    }

    .flow-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 25px 20px;
    }

    .flow-number {
        font-size: 3rem;
        min-width: 50px;
    }

    .flow-content {
        padding-top: 0;
        flex: 1;
    }

    .flow-item-title {
        font-size: 1.6rem;
    }

    .flow-item-text {
        font-size: 1.4rem;
    }

    .flow-connector {
        left: 30px;
    }

    .partners-title {
        font-size: 2.4rem;
    }

    .partners-intro {
        font-size: 1.4rem;
    }

    .partners-list {
        grid-template-columns: 1fr;
    }

    .partners-item {
        font-size: 1.8rem;
    }

    .faq-title {
        font-size: 2.4rem;
    }

    .faq-list {
        padding: 20px 20px;
    }

    .faq-item {
        padding: 20px 0;
    }

    .faq-label-q,
    .faq-label-a {
        font-size: 1.8rem;
    }

    .faq-question-text {
        font-size: 1.4rem;
    }

    .faq-answer-text {
        font-size: 1.3rem;
    }

    .contact {
        padding: 60px 20px;
    }

    .contact-title {
        font-size: 3rem;
    }

    .btn-contact {
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
        font-size: 1.4rem;
    }

    .footer-spacer {
        height: 40px;
    }
}

/* ==========================================
   医療チーム・施設・設備紹介ページ
   ========================================== */

/* メインビジュアル */
.team-hero {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: -76px;
    padding-top: 76px;
    box-sizing: border-box;
    background-image: url('images/team-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-hero-content {
    padding-left: 80px;
}

.team-hero-title {
    font-size: 4.8rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.team-hero-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.1em;
}

.team-hero-en {
    position: absolute;
    bottom: 0;
    left: 80px;
    font-size: 8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
    line-height: 1;
}

/* レスポンシブ - 医療チームページ */
@media screen and (max-width: 768px) {
    .team-hero {
        height: 400px;
        margin-top: -62px;
        padding-top: 62px;
    }

    .team-hero-content {
        padding-left: 30px;
    }

    .team-hero-title {
        font-size: 2.8rem;
    }

    .team-hero-subtitle {
        font-size: 1.6rem;
    }

    .team-hero-en {
        left: 30px;
        font-size: 4.8rem;
        bottom: 0;
    }
}

@media screen and (max-width: 480px) {
    .team-hero {
        height: 300px;
        margin-top: -58px;
        padding-top: 58px;
    }

    .team-hero-content {
        padding-left: 20px;
    }

    .team-hero-title {
        font-size: 2.2rem;
    }

    .team-hero-subtitle {
        font-size: 1.4rem;
    }

    .team-hero-en {
        left: 20px;
        font-size: 3.2rem;
        bottom: 0;
    }
}

/* 施設についてセクション */
.facilities {
    background-color: var(--gray);
    padding: 80px 40px;
}

.facilities-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.facilities-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 湖東記念病院（メイン施設） */
.facility-main {
    position: relative;
    display: flex;
    margin-bottom: 60px;
}

.facility-main-image {
    width: 60%;
    flex-shrink: 0;
}

.facility-main-image img {
    width: 100%;
    height: auto;
}

.facility-main-info {
    position: relative;
    width: 70%;
    margin-left: -20%;
    margin-top: 80px;
    background-color: var(--gray);
    padding: 40px 80px;
    z-index: 1;
}

.facility-main-name {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.facility-main-text {
    margin-bottom: 30px;
}

.facility-main-text p {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 1em;
}

.btn-outline-gray {
    display: inline-block;
    min-width: 400px;
    padding: 15px 50px;
    background-color: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline-gray:hover {
    background-color: var(--main-color);
    color: var(--white);
    opacity: 1;
}

/* 施設写真3枚 */
.facility-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.facility-photo-item {
    text-align: center;
}

.facility-photo-label {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.facility-photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 手術のご相談ボタン */
.facilities-cta {
    text-align: center;
    margin-bottom: 100px;
}

/* その他の病院 */
.facility-sub-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.facility-sub-item {
    display: flex;
    flex-direction: column;
}

.facility-sub-image {
    margin-bottom: 15px;
}

.facility-sub-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.facility-sub-info {
    padding: 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.facility-sub-info .facility-sub-text {
    flex: 1;
}

.facility-sub-info .btn-outline-gray {
    margin-top: auto;
    align-self: center;
}

.facility-sub-name {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.05em;
}

.facility-sub-text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* レスポンシブ - 施設セクション */
@media screen and (max-width: 768px) {
    .facilities {
        padding: 60px 20px;
    }

    .facilities-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    .facility-main {
        flex-direction: column;
    }

    .facility-main-image {
        width: 100%;
    }

    .facility-main-info {
        width: 100%;
        margin-left: 0;
        margin-top: -30px;
        padding: 30px 20px;
    }

    .facility-main-name {
        font-size: 2.0rem;
    }

    .facility-photos {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facility-photo-item img {
        height: 180px;
    }

    .facility-sub-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {
    .facilities-title {
        font-size: 2.0rem;
    }

    .facility-main-name {
        font-size: 1.8rem;
    }

    .facility-main-text p {
        font-size: 1.4rem;
    }

    .btn-outline-gray,
    .btn-outline-gray-fill {
        min-width: auto;
        width: 100%;
        padding: 12px 30px;
        font-size: 1.3rem;
    }

    .facility-sub-name {
        font-size: 1.8rem;
    }
}

/* ==========================================
   設備についてセクション
   ========================================== */
.equipment {
    background-color: var(--gray);
    padding: 80px 40px;
}

.equipment-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.equipment-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.text-blue {
    color: var(--blue);
}

.equipment-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 60px;
}

.equipment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.equipment-card {
    background-color: var(--white);
    padding: 30px;
}

.equipment-card-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.equipment-card-image {
    margin-bottom: 20px;
    text-align: center;
}

.equipment-card-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.equipment-card-text {
    font-size: 1.6rem;
    line-height: 1.8;
}

.equipment-note {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: center;
    color: var(--main-color);
}

/* レスポンシブ - 設備セクション */
@media screen and (max-width: 768px) {
    .equipment {
        padding: 60px 20px;
    }

    .equipment-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .equipment-subtitle {
        font-size: 1.8rem;
    }

    .equipment-intro {
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 40px;
    }

    .equipment-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .equipment-card-title {
        font-size: 1.8rem;
    }

    .equipment-card-image img {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .equipment-title {
        font-size: 2.0rem;
    }

    .equipment-subtitle {
        font-size: 1.6rem;
    }

    .equipment-card {
        padding: 20px;
    }

    .equipment-card-title {
        font-size: 1.6rem;
    }

    .equipment-card-text {
        font-size: 1.4rem;
    }

    .equipment-note {
        font-size: 1.3rem;
        text-align: left;
    }
}

/* ==========================================
   医療チームについてセクション
   ========================================== */
.medical-team {
    background-color: var(--gray);
    padding: 80px 40px;
}

.medical-team-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.medical-team-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.medical-team-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.medical-team-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 610px;
    margin: 0 auto 60px;
}

/* 医師プロフィール */
.doctor-profile {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 60px;
}

.doctor-profile-image {
    width: 50%;
    flex-shrink: 0;
}

.doctor-profile-image img {
    width: 100%;
    height: auto;
}

.doctor-profile-info {
    flex: 1;
    padding-top: 20px;
}

.doctor-profile-label {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-bottom: 10px;
}

.doctor-profile-name {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--main-color);
}

.doctor-profile-text {
    font-size: 1.6rem;
    line-height: 2;
}

.doctor-profile-en {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: right;
    pointer-events: none;
}

/* チームコンタクトセクション */
.team-contact {
    position: relative;
    background-image: url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 40px;
}

.team-contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.team-contact-inner {
    max-width: 900px;
}

.team-contact-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.85), 0 0 24px rgba(0,0,0,0.6);
}

.team-contact-text {
    font-size: 2rem;
    line-height: 2;
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.85), 0 0 24px rgba(0,0,0,0.6);
}

.btn-outline-white {
    display: inline-block;
    min-width: 400px;
    padding: 18px 50px;
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--main-color);
    opacity: 1;
}

/* レスポンシブ - 医療チームセクション */
@media screen and (max-width: 768px) {
    .medical-team {
        padding: 60px 20px;
    }

    .medical-team-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .medical-team-subtitle {
        font-size: 1.8rem;
    }

    .medical-team-intro {
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 40px;
    }

    .doctor-profile {
        flex-direction: column;
        gap: 30px;
    }

    .doctor-profile-image {
        width: 100%;
    }

    .doctor-profile-info {
        padding-top: 0;
    }

    .doctor-profile-name {
        font-size: 2.0rem;
    }

    .doctor-profile-en {
        font-size: 5rem;
        position: relative;
        text-align: right;
        margin-top: 20px;
    }

    .team-contact {
        padding: 60px 20px;
    }

    .team-contact-title {
        font-size: 2.0rem;
    }

    .team-contact-text {
        font-size: 1.4rem;
    }

    .btn-outline-white {
        min-width: auto;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .medical-team-title {
        font-size: 2.4rem;
    }

    .medical-team-subtitle {
        font-size: 1.6rem;
    }

    .doctor-profile-label {
        font-size: 1.4rem;
    }

    .doctor-profile-name {
        font-size: 1.8rem;
    }

    .doctor-profile-text {
        font-size: 1.4rem;
    }

    .doctor-profile-en {
        font-size: 3.5rem;
    }

    .team-contact-title {
        font-size: 1.8rem;
    }

    .team-contact-text {
        font-size: 1.3rem;
    }
}

/* ==========================================
   よくあるご質問セクション（チームページ）
   ========================================== */
.team-faq {
    background-color: var(--gray);
    padding: 80px 40px;
}

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

.team-faq-label {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-faq-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-faq .faq-list {
    padding: 0;
}

.team-faq-cta {
    text-align: center;
    margin-top: 60px;
}

/* レスポンシブ - よくあるご質問セクション */
@media screen and (max-width: 768px) {
    .team-faq {
        padding: 60px 20px;
    }

    .team-faq-label {
        font-size: 1.6rem;
    }

    .team-faq-title {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 480px) {
    .team-faq-label {
        font-size: 1.4rem;
    }

    .team-faq-title {
        font-size: 2.4rem;
    }
}

/* ==========================================
   脳動脈瘤ページ
   ========================================== */

/* メインビジュアル */
.aneurysm-hero {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: -76px;
    padding-top: 76px;
    box-sizing: border-box;
    background-image: url('images/team-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aneurysm-hero-content {
    padding-left: 80px;
}

.aneurysm-hero-title {
    font-size: 4.8rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.aneurysm-hero-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.1em;
}

.aneurysm-hero-en {
    position: absolute;
    bottom: 0;
    left: 80px;
    font-size: 8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
    line-height: 1;
}

/* 目次セクション */
.aneurysm-toc {
    background-color: var(--gray);
    padding: 60px 40px;
}

.aneurysm-toc-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.aneurysm-toc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.aneurysm-toc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 40px;
    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 2.0rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    transition: all 0.3s ease;
}

.aneurysm-toc-btn:hover {
    background-color: var(--main-color);
    color: var(--white);
    opacity: 1;
}

.aneurysm-toc-btn strong {
    font-weight: 700;
}

/* レスポンシブ - 脳動脈瘤ページ */
@media screen and (max-width: 768px) {
    .aneurysm-hero {
        height: 400px;
        margin-top: -62px;
        padding-top: 62px;
    }

    .aneurysm-hero-content {
        padding-left: 30px;
    }

    .aneurysm-hero-title {
        font-size: 3.2rem;
    }

    .aneurysm-hero-subtitle {
        font-size: 1.8rem;
    }

    .aneurysm-hero-en {
        left: 30px;
        font-size: 5rem;
    }

    .aneurysm-toc {
        padding: 40px 20px;
    }

    .aneurysm-toc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aneurysm-toc-btn {
        font-size: 1.6rem;
        padding: 20px 30px;
    }
}

@media screen and (max-width: 480px) {
    .aneurysm-hero {
        height: 300px;
        margin-top: -58px;
        padding-top: 58px;
    }

    .aneurysm-hero-content {
        padding-left: 20px;
    }

    .aneurysm-hero-title {
        font-size: 2.4rem;
    }

    .aneurysm-hero-subtitle {
        font-size: 1.4rem;
    }

    .aneurysm-hero-en {
        left: 20px;
        font-size: 3.5rem;
    }

    .aneurysm-toc-btn {
        font-size: 1.4rem;
        padding: 18px 20px;
    }
}

/* 脳動脈瘤とは？セクション */
.about-aneurysm {
    background-color: var(--gray);
    padding: 80px 40px;
}

.about-aneurysm-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-aneurysm-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 画像とテキストの重なり */
.about-aneurysm-intro {
    position: relative;
    display: flex;
    margin-bottom: 10px;
}

.about-aneurysm-image {
    width: 55%;
    flex-shrink: 0;
}

.about-aneurysm-image img {
    width: 100%;
    height: auto;
}

.about-aneurysm-text {
    position: relative;
    width: 55%;
    margin-left: -10%;
    margin-top: 80px;
    background-color: var(--gray);
    padding: 40px 60px;
    z-index: 1;
}

.about-aneurysm-text p {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 1.5em;
}

/* 関連リンク */
.about-aneurysm-related {
    margin-top: 10px;
    margin-bottom: 60px;
    margin-left: 20%;
}

.about-aneurysm-related-label {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.about-aneurysm-related-link {
    font-size: 1.6rem;
    line-height: 1.8;
}

.about-aneurysm-related-link a {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--blue);
    text-decoration: none;
    transition: opacity 0.3s;
}

.about-aneurysm-related-link a:hover {
    opacity: 0.7;
}

.about-aneurysm-related-link .circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-aneurysm-related-link .circle-arrow::before {
    content: '→';
    color: var(--blue);
    font-weight: 700;
}

/* 詳細説明ボックス */
.about-aneurysm-detail {
    background-color: var(--white);
    padding: 50px 60px;
    margin-bottom: 60px;
}

.about-aneurysm-detail-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--blue);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.about-aneurysm-detail-text {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 40px;
}

.about-aneurysm-detail-text:last-child {
    margin-bottom: 0;
}

.about-aneurysm-detail-text strong {
    font-weight: 700;
}

.about-aneurysm-cta {
    text-align: center;
}

/* レスポンシブ - 脳動脈瘤とは？セクション */
@media screen and (max-width: 768px) {
    .about-aneurysm {
        padding: 40px 20px;
    }

    .about-aneurysm-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    .about-aneurysm-intro {
        flex-direction: column;
    }

    .about-aneurysm-image {
        width: 100%;
    }

    .about-aneurysm-text {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        padding: 0;
    }

    .about-aneurysm-related {
        margin-top: 30px;
        margin-bottom: 40px;
        margin-left: 0;
    }

    .about-aneurysm-related-link .circle-arrow {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }

    .about-aneurysm-detail {
        padding: 30px 20px;
    }

    .about-aneurysm-detail-title {
        font-size: 1.8rem;
    }

    .about-aneurysm-detail-text {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .about-aneurysm-title {
        font-size: 2.4rem;
    }

    .about-aneurysm-text p {
        font-size: 1.4rem;
    }

    .about-aneurysm-detail-title {
        font-size: 1.6rem;
    }

    .about-aneurysm-related-label {
        font-size: 1.4rem;
    }

    .about-aneurysm-related-link {
        font-size: 1.4rem;
    }
}

/* 症状セクション */
.symptoms-section {
    background-color: var(--gray);
    padding: 80px 40px;
}

.symptoms-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.symptoms-title {
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 未破裂と破裂の比較 */
.symptoms-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.symptoms-item {
    background-color: var(--gray);
}

.symptoms-item-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    padding: 25px 30px 20px;
    letter-spacing: 0.05em;
}

.symptoms-item-image {
    background-color: var(--white);
    text-align: center;
    padding: 10px;
}

.symptoms-item-image img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
}

.symptoms-item-text {
    font-size: 1.6rem;
    line-height: 1.8;
    padding: 20px 30px 30px;
}

/* ライトブルー背景の説明ボックス */
.symptoms-notice {
    background-color: var(--light-blue);
    padding: 50px 80px;
    margin-bottom: 60px;
}

.symptoms-notice-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.symptoms-notice-text {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 20px;
}

.symptoms-notice-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 20px;
}

.symptoms-notice-list li {
    font-size: 1.6rem;
    line-height: 2;
    position: relative;
    padding-left: 20px;
}

.symptoms-notice-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.symptoms-notice-link {
    margin-top: 30px;
    font-size: 1.6rem;
    line-height: 1.8;
}

.symptoms-notice-link a {
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.symptoms-notice-link a:hover {
    opacity: 0.7;
}

.symptoms-notice-link .circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.symptoms-notice-link .circle-arrow::before {
    content: '→';
    color: var(--blue);
    font-weight: 700;
}

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

/* レスポンシブ - 症状セクション */
@media screen and (max-width: 768px) {
    .symptoms-section {
        padding: 40px 20px;
    }

    .symptoms-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .symptoms-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .symptoms-item-title {
        font-size: 1.6rem;
        padding: 20px 20px 15px;
    }

    .symptoms-item-image {
        padding: 20px;
    }

    .symptoms-item-text {
        font-size: 1.4rem;
        padding: 15px 20px 25px;
    }

    .symptoms-notice {
        padding: 30px 20px;
    }

    .symptoms-notice-title {
        font-size: 1.6rem;
    }

    .symptoms-notice-text,
    .symptoms-notice-list li,
    .symptoms-notice-link {
        font-size: 1.4rem;
    }

    .symptoms-notice-link .circle-arrow {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .symptoms-title {
        font-size: 2.2rem;
    }

    .symptoms-notice-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   脳動脈瘤と診断されたらセクション
======================================== */
.diagnosed-section {
    background-color: var(--gray);
    padding: 100px 20px;
}

.diagnosed-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.diagnosed-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diagnosed-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.diagnosed-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 880px;
    margin: 0 auto 60px;
}

.diagnosed-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.diagnosed-card {
    background-color: var(--white);
    padding: 40px 60px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.diagnosed-card-icon {
    flex-shrink: 0;
    width: 140px;
}

.diagnosed-card-icon img {
    width: 100%;
    height: auto;
}

.diagnosed-card-content {
    flex: 1;
}

.diagnosed-card-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.diagnosed-card-text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.diagnosed-card-text:last-child {
    margin-bottom: 0;
}

.diagnosed-card-list {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 0;
}

.diagnosed-card-list li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.diagnosed-card-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 0.8em;
}

/* wysiwyg出力用 - diagnosed-card-content内の素のHTML要素 */
.diagnosed-card-content h4 {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.diagnosed-card-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.diagnosed-card-content p:last-child {
    margin-bottom: 0;
}

.diagnosed-card-content ul {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 0;
}

.diagnosed-card-content ul li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.diagnosed-card-content ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 0.8em;
}

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

/* レスポンシブ - 診断されたらセクション */
@media screen and (max-width: 768px) {
    .diagnosed-section {
        padding: 40px 20px;
    }

    .diagnosed-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .diagnosed-subtitle {
        font-size: 1.8rem;
    }

    .diagnosed-intro {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .diagnosed-card {
        padding: 25px;
        flex-direction: column;
        gap: 20px;
    }

    .diagnosed-card-icon {
        width: 80px;
        margin: 0 auto;
    }

    .diagnosed-card-title,
    .diagnosed-card-content h4 {
        font-size: 1.6rem;
        text-align: center;
    }

    .diagnosed-card-text,
    .diagnosed-card-list li,
    .diagnosed-card-content p,
    .diagnosed-card-content ul li {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .diagnosed-title {
        font-size: 2.4rem;
    }

    .diagnosed-subtitle {
        font-size: 1.6rem;
    }

    .diagnosed-card {
        padding: 20px;
    }

    .diagnosed-card-icon {
        width: 90px;
    }

    .diagnosed-card-title,
    .diagnosed-card-content h4 {
        font-size: 1.5rem;
    }
}

/* ========================================
   脳動脈瘤の手術方法セクション
======================================== */
.surgery-methods-section {
    background-color: var(--gray);
    padding: 100px 20px;
}

.surgery-methods-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.surgery-methods-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.surgery-methods-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.surgery-methods-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 920px;
    margin: 0 auto 60px;
}

/* 手術方法比較テーブル */
.surgery-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.surgery-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border: 3px solid var(--gray);
    table-layout: fixed;
}

.surgery-table th:first-child,
.surgery-table td:first-child {
    width: 20%;
}

.surgery-table th:nth-child(2),
.surgery-table td:nth-child(2),
.surgery-table th:nth-child(3),
.surgery-table td:nth-child(3) {
    width: 40%;
}

.surgery-table th,
.surgery-table td {
    border: 3px solid var(--gray);
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    font-size: 1.6rem;
    line-height: 1.8;
}

.surgery-table thead th {
    background-color: var(--main-color);
    color: var(--white);
    font-weight: 500;
}

.surgery-table thead th .th-main {
    display: block;
    font-size: 1.6rem;
}

.surgery-table thead th .th-sub {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 5px;
}

.surgery-table tbody tr:nth-child(odd) td {
    background-color: var(--white);
}

.surgery-table tbody tr:nth-child(even) td {
    background-color: var(--light-blue);
}

.surgery-table tbody tr td:first-child {
    background-color: var(--main-color);
    color: var(--white);
    font-weight: 500;
}

/* 注釈 */
.surgery-notes {
    max-width: 900px;
    margin: 30px auto 30px;
}

.surgery-notes p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.surgery-notes p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ - 手術方法セクション */
@media screen and (max-width: 768px) {
    .surgery-methods-section {
        padding: 40px 20px;
    }

    .surgery-methods-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .surgery-methods-subtitle {
        font-size: 1.8rem;
    }

    .surgery-methods-intro {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .surgery-table th,
    .surgery-table td {
        font-size: 1.3rem;
    }

    .surgery-table thead th .th-main {
        font-size: 1.3rem;
    }

    .surgery-table thead th .th-sub {
        font-size: 1.1rem;
    }

    .surgery-notes p {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .surgery-methods-title {
        font-size: 2.4rem;
    }

    .surgery-methods-subtitle {
        font-size: 1.6rem;
    }

    .surgery-table th,
    .surgery-table td {
        font-size: 1.2rem;
    }

    .surgery-table thead th .th-main {
        font-size: 1.2rem;
    }

    .surgery-table thead th .th-sub {
        font-size: 1.0rem;
    }

    .surgery-notes p {
        font-size: 1.2rem;
    }
}

/* ========================================
   脳動脈瘤の手術方法の選び方セクション
======================================== */
.surgery-choice-section {
    background-color: var(--gray);
    padding: 100px 20px;
}

.surgery-choice-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.surgery-choice-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.surgery-choice-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.surgery-choice-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 750px;
    margin: 0 auto 60px;
}

.surgery-choice-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.surgery-choice-card {
    background-color: var(--white);
    border: 2px solid var(--blue);
    padding: 40px 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.surgery-choice-card-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.surgery-choice-card-title .card-number {
    font-size: 4.0rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.surgery-choice-card-text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.surgery-choice-card-text:last-child {
    margin-bottom: 0;
}

.surgery-choice-card-list {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 0;
}

.surgery-choice-card-list li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.surgery-choice-card-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 0.8em;
}

/* wysiwyg出力用 - surgery-choice-card内の素のHTML要素 */
.surgery-choice-card p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.surgery-choice-card p:last-child {
    margin-bottom: 0;
}

.surgery-choice-card ul {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 0;
}

.surgery-choice-card ul li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.surgery-choice-card ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 0.8em;
}

.surgery-choice-cta {
    text-align: center;
}

/* レスポンシブ - 手術方法の選び方セクション */
@media screen and (max-width: 768px) {
    .surgery-choice-section {
        padding: 40px 20px;
    }

    .surgery-choice-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .surgery-choice-subtitle {
        font-size: 1.8rem;
    }

    .surgery-choice-intro {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .surgery-choice-card {
        padding: 30px 25px;
    }

    .surgery-choice-card-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }

    .surgery-choice-card-title .card-number {
        font-size: 2.6rem;
    }

    .surgery-choice-card-text,
    .surgery-choice-card-list li,
    .surgery-choice-card p,
    .surgery-choice-card ul li {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .surgery-choice-title {
        font-size: 2.2rem;
    }

    .surgery-choice-subtitle {
        font-size: 1.6rem;
    }

    .surgery-choice-card {
        padding: 25px 20px;
    }

    .surgery-choice-card-title {
        font-size: 1.5rem;
    }

    .surgery-choice-card-title .card-number {
        font-size: 2.2rem;
    }
}

/* ========================================
   手術が難しいと言われた方へセクション
======================================== */
.difficult-section {
    background-color: var(--gray);
    padding: 100px 20px;
}

.difficult-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.difficult-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.difficult-subtitle {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.difficult-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    max-width: 840px;
    margin: 0 auto 40px;
}

.difficult-image {
    margin-bottom: 40px;
}

.difficult-image img {
    width: 100%;
    height: auto;
}

.difficult-content {
    background-color: var(--white);
    padding: 40px 100px;
    margin-bottom: 60px;
}

.difficult-content-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--blue);
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.difficult-content-list {
    list-style: none;
    margin-bottom: 40px;
    padding-left: 0;
}

.difficult-content-list li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.difficult-content-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 0.8em;
}

.difficult-content-text {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 20px;
}

.difficult-content-text:last-child {
    margin-bottom: 0;
}

.difficult-content-title + .difficult-content-text {
    margin-top: -10px;
}

.difficult-content-list + .difficult-content-title,
.difficult-content-text + .difficult-content-title {
    margin-top: 40px;
}

/* wysiwyg出力用 - difficult-content内の素のHTML要素 */
.difficult-content h4 {
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.difficult-content p {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 20px;
}

.difficult-content p:last-child {
    margin-bottom: 0;
}

.difficult-content h4 + p {
    margin-top: -10px;
}

.difficult-content ul + h4,
.difficult-content p + h4 {
    margin-top: 40px;
}

.difficult-content ul {
    list-style: none;
    margin-bottom: 40px;
    padding-left: 0;
}

.difficult-content ul li {
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.difficult-content ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.8em;
}

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

/* レスポンシブ - 手術が難しいセクション */
@media screen and (max-width: 768px) {
    .difficult-section {
        padding: 40px 20px;
    }

    .difficult-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .difficult-subtitle {
        font-size: 1.8rem;
    }

    .difficult-intro {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .difficult-content {
        padding: 40px 30px;
    }

    .difficult-content-title,
    .difficult-content h4 {
        font-size: 1.7rem;
    }

    .difficult-content-list li,
    .difficult-content-text,
    .difficult-content ul li,
    .difficult-content p {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .difficult-title {
        font-size: 2.2rem;
    }

    .difficult-subtitle {
        font-size: 1.6rem;
    }

    .difficult-content {
        padding: 30px 20px;
    }

    .difficult-content-title,
    .difficult-content h4 {
        font-size: 1.5rem;
    }
}

/* ========================================
   ご相談から手術までの流れセクション
======================================== */
.consultation-flow-section {
    background-color: var(--gray);
    padding: 100px 20px;
}

.consultation-flow-inner {
    max-width: 850px;
    margin: 0 auto;
}

.consultation-flow-title {
    font-size: 4.0rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--gradient-start), #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-flow-intro {
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
    margin-bottom: 60px;
}

.consultation-flow-steps {
    margin-bottom: 60px;
    margin-left: 100px;
}

.flow-step {
    display: flex;
    gap: 30px;
    position: relative;
    padding-bottom: 50px;
}

.flow-step:last-child {
    padding-bottom: 0;
}

/* 数字の丸と縦線 */
.flow-step-number {
    width: 60px;
    height: 60px;
    background-color: #5d87b7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* 縦線 */
.flow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 3px;
    height: calc(100% - 60px);
    background-color: #5d87b7;
}

.flow-step-content {
    flex: 1;
    padding-top: 10px;
}

.flow-step-title {
    font-size: 2.0rem;
    font-weight: 500;
    color: #5d87b7;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.flow-step-text {
    font-size: 1.6rem;
    line-height: 1.8;
}

.consultation-flow-cta {
    text-align: center;
}

/* レスポンシブ - 流れセクション */
@media screen and (max-width: 768px) {
    .consultation-flow-section {
        padding: 60px 20px;
    }

    .consultation-flow-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .consultation-flow-intro {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .consultation-flow-steps {
        margin-left: 0;
    }

    .flow-step {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px;
        padding-bottom: 40px;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }

    .flow-step-number {
        width: 50px;
        height: 50px;
        font-size: 2.0rem;
        flex-shrink: 0;
        position: relative !important;
        margin: 0 !important;
    }

    .flow-step:not(:last-child)::before {
        left: 25px;
        top: 50px;
        height: calc(100% - 50px);
    }

    .flow-step-content {
        padding-top: 5px;
        flex: 1;
    }

    .flow-step-title {
        font-size: 1.7rem;
    }

    .flow-step-text {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .consultation-flow-title {
        font-size: 2.4rem;
    }

    .flow-step-number {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .flow-step:not(:last-child)::before {
        left: 22px;
        top: 45px;
        height: calc(100% - 45px);
    }

    .flow-step-title {
        font-size: 1.5rem;
    }
}

/* ==========================================
   トップへ戻るボタン
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--main-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--blue);
}

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

.back-to-top-arrow {
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(-45deg);
    margin-top: 4px;
}

@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 74px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top-arrow {
        width: 10px;
        height: 10px;
    }
}

/* スマホ固定フッターCTA */
.fixed-cta {
    display: none;
}

@media screen and (max-width: 768px) {
    .fixed-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .fixed-cta.is-hidden {
        transform: translateY(100%);
    }

    body.fixed-cta-hidden {
        padding-bottom: 0;
    }

    body.fixed-cta-hidden .footer-spacer {
        height: 0;
    }

    .fixed-cta-btn {
        display: block;
        width: 100%;
        padding: 16px 20px;
        background-color: var(--main-color);
        color: var(--white);
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-align: center;
        transition: background-color 0.3s ease;
    }

    .fixed-cta-btn:hover {
        background-color: var(--blue);
        opacity: 1;
    }

    /* 固定フッター分の下余白 */
    body {
        padding-bottom: 54px;
    }

    /* お問い合わせページでは非表示 */
    .page-template-page-contact .fixed-cta {
        display: none;
    }
}

/* =========================================================
   お問い合わせページ
   ========================================================= */

/* ページヘッダー */
.contact-page-hero {
    background-color: var(--main-color);
    padding: 120px 40px 60px;
    margin-top: -76px;
    padding-top: 156px;
    text-align: center;
    background-image: url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-page-hero-inner {
    position: relative;
    z-index: 1;
}

.contact-page-title {
    font-size: 4.0rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.85), 0 0 30px rgba(0,0,0,0.6);
}

.contact-page-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 0.08em;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.85), 0 0 24px rgba(0,0,0,0.6);
}

/* フォームセクション */
.contact-form-section {
    background-color: var(--white);
    padding: 80px 40px 100px;
}

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

/* 完了・エラーメッセージ */
.contact-result {
    padding: 30px 40px;
    margin-bottom: 80px;
    font-size: 1.7rem;
    line-height: 2;
    border-left: 4px solid;
}

.contact-result--success {
    background-color: #edf6f0;
    border-color: #3a9b5e;
    color: #1e5c38;
}

.contact-result--error {
    background-color: #fdf0f0;
    border-color: #c0392b;
    color: #7b1f1f;
}

.contact-result-action {
    text-align: center;
    margin-top: 40px;
}

/* リード文 */
.contact-intro {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 50px;
}

/* ご注意ください */
.contact-notice {
    background-color: var(--gray);
    padding: 40px 50px;
    margin-bottom: 60px;
}

.contact-notice-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-color);
}

.contact-notice-list {
    list-style: none;
    padding: 0 0 0 180px;
}

.contact-notice-list li {
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--text-color);
}

.contact-notice-tel {
    color: #c0392b !important;
}

/* フォームテーブル */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

.contact-table th,
.contact-table td {
    border: 1px solid #ccc;
    padding: 20px 24px;
    vertical-align: middle;
    font-size: 1.5rem;
    line-height: 1.7;
}

.contact-table th {
    background-color: var(--light-blue);
    width: 280px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-table th small {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 4px;
    color: #666;
}

/* 必須・任意ラベル */
/* ※必須マーク */
.cf-required-mark {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c0392b;
    margin-left: 4px;
}

/* フォーム上部の注意書き */
.contact-form-note {
    font-size: 1.4rem;
    color: #666;
    text-align: left;
    margin-bottom: 8px;
}

/* 入力フィールド */
.cf-input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #bbb;
    font-size: 1.5rem;
    font-family: inherit;
    color: var(--text-color);
    background-color: var(--white);
    transition: border-color 0.2s ease;
    border-radius: 2px;
}

.cf-input:focus {
    outline: none;
    border-color: var(--blue);
}

.cf-input--full {
    width: 100%;
}

.cf-input--medium {
    width: 60%;
}

/* テキストエリア */
.cf-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bbb;
    font-size: 1.5rem;
    font-family: inherit;
    color: var(--text-color);
    background-color: var(--white);
    resize: vertical;
    transition: border-color 0.2s ease;
    border-radius: 2px;
}

.cf-textarea:focus {
    outline: none;
    border-color: var(--blue);
}

/* ラジオボタン */
.cf-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.cf-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

.cf-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
    cursor: pointer;
    flex-shrink: 0;
}

/* チェックボックス */
.cf-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1.6;
}

.cf-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ファイルアップロード */
.cf-file-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cf-file-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--main-color);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
    width: fit-content;
}

.cf-file-btn:hover {
    background-color: var(--blue);
}

.cf-file-input {
    display: none;
}

.cf-file-note {
    font-size: 1.3rem;
    color: #777;
}

.cf-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf-file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--main-color);
    padding: 6px 12px;
    background-color: var(--light-blue);
    border-left: 3px solid var(--blue);
}

.cf-file-list-name {
    word-break: break-all;
    flex: 1;
}

.cf-file-remove-btn {
    flex-shrink: 0;
    padding: 4px 10px;
    background: none;
    border: 1px solid #c0392b;
    color: #c0392b;
    font-size: 1.2rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cf-file-remove-btn:hover {
    background-color: #c0392b;
    color: var(--white);
}

/* 送信ボタン */
.contact-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.15em;
}

/* =========================================================
   お問い合わせページ レスポンシブ
   ========================================================= */

@media screen and (max-width: 768px) {
    .contact-page-hero {
        padding: 120px 20px 50px;
    }

    .contact-page-title {
        font-size: 3.2rem;
    }

    .contact-page-subtitle {
        font-size: 1.5rem;
    }

    .contact-form-section {
        padding: 50px 20px 70px;
    }

    .contact-notice {
        padding: 30px 24px;
    }

    .contact-table th,
    .contact-table td {
        display: block;
        width: 100%;
        padding: 14px 16px;
    }

    .contact-table th {
        border-bottom: none;
        background-color: var(--gray);
    }

    .cf-input--medium {
        width: 100%;
    }

    .cf-file-wrap {
        align-items: center;
    }

    .cf-radio-group {
        gap: 16px;
    }

    .btn-primary.btn-submit {
        min-width: 0;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact-page-title {
        font-size: 2.8rem;
    }

    .contact-page-subtitle {
        font-size: 1.4rem;
    }

    .contact-notice-list {
        padding-left: 0;
    }

    .contact-notice-list li {
        font-size: 1.4rem;
    }
}
