@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding-top: 80px;
}

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


/* ==============================================
   ナビゲーションメニュー
   ============================================== */
.main-nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    backdrop-filter: blur(15px);
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 0;
}

.main-nav li {
    margin: 0 0.5rem;
    text-align: center;
    position: relative;
}

.main-nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: rgba(44, 90, 160, 0.3);
}

.main-nav a {
    text-decoration: none;
    color: #2c5aa0;
    font-weight: 500;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background-color: transparent;
    transition: all 0.4s ease;
}

.main-nav ul a {
    position: relative;
    overflow: hidden;
}

.main-nav ul a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #2c5aa0;
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 5px;
}

.main-nav ul a:hover::before {
    width: 100%;
}

.main-nav ul a i,
.main-nav ul a span {
    position: relative;
    z-index: 2;
}

.main-nav ul a:hover {
    color: white;
}




/* ==============================================
   ヒーローセクション（メインビジュアル）
   ============================================== */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
    padding: 0;
    opacity: 1;
    transform: none;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 2s ease 1s;
}

.hero-overlay.loaded {
    background: rgba(0, 0, 0, 0.3);
}

/* .hero-logo {
    position: absolute;
    top: 10px;
    left: 20px;
    color: white;
    z-index: 10;
    opacity: 0;
    animation: fadeInLeft 1.5s ease-out 0.5s forwards;
    transition: all 0.3s ease;
} */

/* .hero-logo .organization {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero-logo .clinic-name {
    font-size: 6rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color: white;
} */

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    animation: fadeInUp 2s ease-out 1s forwards;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color: white;
    text-align: center;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    letter-spacing: normal;
    position: static;
}


.hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
}

/* ==============================================
   スクロールアニメーション
   ============================================== */
.scroll_down {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    animation: arrowmove 1s ease-in-out infinite;
}

.scroll_down a {
    position: absolute;
    left: -24px;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    width: 24px;
    height: 24px;
    text-decoration: none;
}

.text {
    display: block;
    margin-top: 70px;
    margin-left: -14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 2px;
}

.arrow {
    position: absolute;
    width: 28px;
    height: 5px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.arrow:first-child {
    animation: move 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.arrow:before,
.arrow:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: rgba(255, 255, 255, 0.8);
}

.arrow:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.arrow:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% { opacity: 1; }
    33% { opacity: 1; transform: translateY(30px); }
    67% { opacity: 1; transform: translateY(40px); }
    100% { opacity: 0; transform: translateY(55px) scale3d(0.5, 0.5, 0.5); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   新着情報セクション
   ============================================== */
.news {
    background-color: #ffffff;
    padding: 3rem 0;
}

.news-list {
    margin-top: 2rem;
}

.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-list {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dotted #ccc;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.news-item-list:hover {
    background-color: #f8fbff;
    cursor: pointer;
    transform: translateX(5px);
}

.news-arrow {
    margin-left: auto;
    color: #2c5aa0;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.news-item-list:hover .news-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.news-category {
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    min-width: 120px;
    flex-shrink: 0;
}

.news-title {
    color: #333;
    font-size: 1rem;
    flex: 1;
}

/* ==============================================
   共通セクションスタイル
   ============================================== */
section {
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background-color: #f8fbff;
}

h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    font-weight: 400;
    letter-spacing: 1px;
}

h2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #3a6bb8, #2c5aa0);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff, #e8f4ff);
    border-radius: 2px;
}

/* ==============================================
   特徴セクション（医院の特徴）
   ============================================== */
.features {
    background-color: #f8fbff;
    padding: 4rem 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f1ff;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* ==============================================
   医院について・医師紹介セクション
   ============================================== */
.about-content,
.doctor-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image,
.doctor-image {
    flex: 1;
}

.about-image img,
.doctor-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.about-text,
.doctor-info {
    flex: 1;
}

.about-text p,
.doctor-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.doctor-info h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.doctor-title {
    font-size: 1.2rem;
    color: #1e4080;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-text h3,
.doctor-experience h4,
.doctor-message h4 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: left;
}

.about-text h3::after,
.doctor-experience h4::after,
.doctor-message h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #2c5aa0;
    margin: 0.5rem 0;
}

.about-text ul,
.doctor-experience ul {
    list-style: none;
    padding-left: 0;
}

.about-text li,
.doctor-experience li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text li::before,
.doctor-experience li::before {
    content: '•';
    color: #2c5aa0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.doctor-experience,
.doctor-message {
    margin-bottom: 2rem;
}

/* ==============================================
   診療案内セクション
   ============================================== */
.services-content {
    margin-bottom: 3rem;
}

.services-content h3,
.schedule-content h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.services-content h3::after,
.schedule-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #2c5aa0;
    margin: 0.5rem 0;
}

.services-list {
    text-align: left;
}

.services-list ul {
    list-style: none;
    margin-bottom: 2rem;
}

.services-list li {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    color: white;
    padding: 1rem 2rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.services-list li i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.services-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.services-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 1rem;
    max-width: 800px;
    text-align: left;
}

/* ==============================================
   診療時間表
   ============================================== */
.schedule-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.day-header {
    background: linear-gradient(135deg, #e3f2fd, #f3f9ff);
    color: #2c5aa0;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.day-item {
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    color: #2c5aa0;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 1.4rem;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.day-item.holiday,
.unavailable.holiday {
    background: linear-gradient(135deg, #ffe6e6, #ffebeb) !important;
    color: #d63384 !important;
    border-color: rgba(214, 51, 132, 0.2) !important;
}

.time-header {
    background: linear-gradient(135deg, #f0f8ff, #f8fbff);
    color: #2c5aa0;
    padding: 0.8rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    border: 1px solid rgba(44, 90, 160, 0.15);
}

.schedule-table td {
    padding: 0.8rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid #e8f1ff;
    font-size: 1.3rem;
}

.available {
    background-color: #e8f5e8;
    color: #2e7d32;
    font-weight: 500;
}

.unavailable {
    background-color: #fff3e0;
    color: #f57c00;
    font-weight: 500;
}

.schedule-notes {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8fbff;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.schedule-notes p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

/* ==============================================
   アクセスセクション
   ============================================== */
.access {
    background-color: #ffffff;
}

.access-info {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.access-address-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border-radius: 20px;
    color: #2c5aa0;
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.15);
    border: 2px solid rgba(44, 90, 160, 0.1);
}

.address-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.address-content {
    text-align: left;
}

.address-postal {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.address-text {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.access-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.access-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
    border: 2px solid rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.access-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
    border-color: rgba(44, 90, 160, 0.3);
}

.access-item.phone:hover {
    background: linear-gradient(135deg, #e8f5e8, #f0fff0);
    border-color: #28a745;
}

.access-item.phone:hover .access-item-icon {
    background: linear-gradient(135deg, #28a745, #218838);
}

.access-item.phone:hover .access-item-value {
    color: #28a745;
}

.access-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.access-item.phone .access-item-icon {
    background: linear-gradient(135deg, #28a745, #218838);
}

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

.access-item-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.access-item-value {
    font-size: 1.1rem;
    color: #2c5aa0;
    font-weight: 600;
    line-height: 1.4;
}

.access-item.phone .access-item-value {
    font-size: 1.3rem;
    color: #2c5aa0;
}

.access-item.station .access-item-value {
    color: #e74c3c;
    font-weight: 500;
}

.access-item.phone .access-item-value a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.access-item.phone .access-item-value a:hover {
    color: #1e4080;
    text-decoration: underline;
}

/* アクセス情報のレスポンシブ対応 */
@media (min-width: 768px) {
    .access-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .access-item-content {
        text-align: center;
        margin-top: 1rem;
    }
    
    .access-item-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .access-address-large {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .address-content {
        text-align: center;
        margin-top: 1rem;
    }
    
    .address-text {
        font-size: 1.4rem;
    }
    
    .access-info-grid {
        grid-template-columns: 1fr;
    }
}


.access-map {
    width: 100%;
    padding: 0;
}

.access-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.access-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.access-feature i {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* 駐車場アイコン - 青色 */
.access-feature:nth-child(1) i {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.access-feature:nth-child(1) {
    color: #2196F3;
}

.access-feature:nth-child(1):hover {
    border-color: #2196F3;
    background: linear-gradient(135deg, #E3F2FD, #F3F9FF);
}

/* 禁煙アイコン - オレンジ色 */
.access-feature:nth-child(2) i {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.access-feature:nth-child(2) {
    color: #FF9800;
}

.access-feature:nth-child(2):hover {
    border-color: #FF9800;
    background: linear-gradient(135deg, #FFF3E0, #FFF8F1);
}

/* バリアフリーアイコン - 青色 */
.access-feature:nth-child(3) i {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.access-feature:nth-child(3) {
    color: #2196F3;
}

.access-feature:nth-child(3):hover {
    border-color: #2196F3;
    background: linear-gradient(135deg, #E3F2FD, #F3F9FF);
}

.access-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ==============================================
   フッター
   ============================================== */
footer {
    background: linear-gradient(135deg, #1e4080, #2c5aa0);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.footer-links a:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-links a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ==============================================
   記事ページスタイル
   ============================================== */
.article-page {
    padding: 2rem 0;
    background-color: #ffffff;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

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

.breadcrumb a:hover {
    color: #1e4080;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
    font-size: 0.8rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.2rem;
    color: #2c5aa0;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2c5aa0;
    background: none;
    padding: 0 0 0.5rem 0;
    border-radius: 0;
    box-shadow: none;
}

.article-body h2::before,
.article-body h2::after {
    display: none;
}

.article-body h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.article-body h4 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body ul, .article-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: #2c5aa0;
    font-weight: 600;
}

.article-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-notice h4 {
    color: #856404;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-notice p {
    color: #856404;
    margin: 0;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f8ff;
    color: #2c5aa0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-label {
    font-size: 0.9rem;
    color: #666;
    margin-right: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.line {
    background: #00c300;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.article-navigation {
    margin-top: 3rem;
    text-align: center;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2c5aa0, #1e4080);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.back-to-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.contact-info {
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border: 2px solid rgba(44, 90, 160, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-info h4 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.contact-info a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

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

.policy-date {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

/* ==============================================
   TOPに戻るボタン
   ============================================== */
.back-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    right: 20px;
    bottom: -160px;
    color: #87ceeb;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(44, 90, 160, 0.1));
    transition: all 0.3s ease;
    letter-spacing: 3px;
    font-weight: bold;
    border-radius: 100px 100px 0 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(44, 90, 160, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.back-to-top .arrow-up {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 15px solid #87ceeb;
    z-index: 1001;
}

.back-to-top p {
    margin: 0;
    font-size: 12px;
    bottom: 15px;
    position: absolute;
    color: #87ceeb;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1001;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    bottom: 0px;
}

.back-to-top:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(44, 90, 160, 0.2));
    transform: translateY(-3px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 12px 40px rgba(44, 90, 160, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.1);
}

/* ==============================================
   レスポンシブデザイン（タブレット・スマートフォン対応）
   ============================================== */
@media (max-width: 768px) {
    .main-nav .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-logo {
        top: 20px;
        left: 20px;
    }
    
    .hero-logo .organization {
        font-size: 0.9rem;
    }
    
    .hero-logo .clinic-name {
        font-size: 1.5rem;
    }
    
    .about-content,
    .doctor-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .doctor-image {
        flex: none;
        align-self: center;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .services-list li {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .access-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .access-feature {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .back-to-top {
        width: 120px;
        height: 60px;
        right: 15px;
        bottom: -120px;
    }
    
    .back-to-top .arrow-up {
        top: 10px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 10px solid #87ceeb;
    }
    
    .back-to-top p {
        font-size: 10px;
        bottom: 12px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: calc(100vh - 60px);
    }
    
    .hero-logo {
        top: 15px;
        left: 15px;
    }
    
    .hero-logo .organization {
        font-size: 0.8rem;
    }
    
    .hero-logo .clinic-name {
        font-size: 1.3rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .scroll_down {
        bottom: 150px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .news-item {
        font-size: 12px;
    }
    
    .about-content,
    .doctor-content {
        gap: 1.5rem;
    }
    
    .news-item-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-category,
    .news-date {
        min-width: auto;
    }
    
    section {
        padding: 2rem 0;
    }
}
/* ==============================================
   ナビゲーション コンテナレイアウト
   ============================================== */
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: none;
    padding: 0 40px;
}

.main-nav .hero-logo {
    flex: 0 0 auto;
}

.main-nav .nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 0 0 auto;
}

/* ==============================================
   ナビゲーション内のロゴスタイル
   ============================================== */
.main-nav .hero-logo {
    display: flex;
    flex-direction: column;
    color: #2c5aa0;
    font-weight: 500;
    line-height: 1.2;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
    transition: transform 0.3s ease;
}


.main-nav .hero-logo .organization {
    color: #2c5aa0;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 400;

}

.main-nav .hero-logo .clinic-name {
    color: #2c5aa0;
    font-size: 2rem;
    margin: 0;
    text-shadow: none;
    line-height: 1;
    font-weight: 500;
}

/* ==============================================
   ハンバーガーメニュー（モバイル用）
   ============================================== */
.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    gap: 0.3rem;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
}

.hamburger-lines span {
    width: 30px;
    height: 3px;
    background-color: #2c5aa0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-text {
    font-size: 0.7rem;
    color: #2c5aa0;
    font-weight: 500;
    margin-top: 0.2rem;
}

.hamburger.active .hamburger-lines span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-lines span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


@media (max-width: 992px) {
    .main-nav .container {
        padding: 0 20px;
    }
    
    .main-nav .hero-logo {
        flex: 0 0 auto;
        max-width: 60%;
    }
    
    .main-nav .hero-logo .organization {
        font-size: 0.8rem;
        margin: 0 0 2px 0;
    }
    
    .main-nav .hero-logo .clinic-name {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .hamburger {
        display: flex;
        flex: 0 0 auto;
    }
    
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(15px);
        z-index: 1000;
    }
    
    .main-nav ul.show {
        display: flex;
    }
    
    .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(44, 90, 160, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        height: calc(100vh - 100px);
    }
}