/*
Theme Name: Fukuro Kishiwada Naika
Theme URI:
Author:
Author URI:
Description: ふくろうクリニック岸和田内科 WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fukuro-kishiwada-naika
*/

/* ==========================================================================
   Google Fonts - loaded via HTML link tag for better performance
   ========================================================================== */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary-blue: #1a2d4d;
    --dark-blue: #161c37;
    --navy: #303967;
    --gold: #D4B572;
    --gold-hover: #C0A361;
    --light-blue: #f4f7f9;
    --light-blue-accent: #dbe2f6;
    --light-beige: #FDF5E6;
    --light-pink: #FFF0F5;
    --off-white: #FDFCF9;
    --cream: #FCF8F4;
    --text-dark: #333333;
    --text-dark-blue: #1a2d4d;
    --text-gray: #666666;
    --text-medium: #3b3c41;
    --text-light: #888888;
    --white: #FFFFFF;
    --border-gray: #E5E5E5;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-card: rgba(48, 57, 103, 0.2);

    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-jp-zen: 'Zen Maru Gothic', sans-serif;

    --max-width: 1200px;
    --header-height: 120px;
    --section-padding: 80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-jp);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-jp {
    font-family: var(--font-jp);
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a2d4d;
    position: relative;
    display: inline-block;
}

/* Header */
.site-header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    margin-left: 60px;
}

.main-navigation li {
    list-style: none;
}

.main-navigation a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-family: var(--font-jp-zen);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.nav-en {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-right-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-divider {
    width: 1px;
    height: 85px;
    background-color: var(--border-gray);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.header-phone-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.header-phone {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.1em;
}

.header-phone svg {
    width: 22px;
    height: 22px;
}

.header-closed {
    font-family: var(--font-jp-zen);
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 400;
    margin-left: 8px;
}

.header-buttons {
    display: flex;
    gap: 16px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 900;
    color: var(--white);
    gap: 8px;
    min-width: 146px;
    line-height: 1;
}

.header-btn:hover {
    opacity: 0.85;
}

.header-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.header-btn-line svg {
    width: 28px;
    height: 28px;
}

.header-btn-web {
    background-color: var(--navy);
}

.header-btn-line {
    background-color: #06C755;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Contact - hidden on desktop */
.mobile-contact {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    margin-top: var(--header-height);
    width: 100%;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Schedule Section (診療日時)
   ========================================================================== */
.schedule-section {
    padding: 80px 0;
    background-color: #f4f7f9;
}

.schedule-section .section-title-jp {
    font-size: 2.4rem;
    color: #1a2d4d;
}

.schedule-container {
    max-width: 1160px;
    margin: 0 auto;
    background-color: var(--white);
    border: 2px solid #1a2d4d;
    border-radius: 10px;
    padding: 37px 34px 46px;
}

.schedule-header {
    display: grid;
    grid-template-columns: 160px repeat(6, 1fr);
    gap: 0;
    margin-bottom: 0;
    border-bottom: 3px solid #1a2d4d;
    padding-bottom: 10px;
}

.schedule-header-label {
    font-family: var(--font-jp);
    font-size: 24px;
    font-weight: 500;
    color: #1a2d4d;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-header-day {
    font-family: var(--font-jp);
    font-size: 20px;
    font-weight: 500;
    color: #1a2d4d;
    text-align: center;
}

.schedule-body {
    display: grid;
    grid-template-columns: 160px repeat(6, 1fr);
    gap: 14px;
    margin-top: 29px;
}

.schedule-time-slot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.schedule-time-label {
    font-family: var(--font-jp);
    font-size: 24px;
    font-weight: 700;
    color: #1a2d4d;
    margin-bottom: 6px;
    text-align: center;
}

.schedule-time-hours {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 400;
    color: #1a2d4d;
    margin-bottom: 0;
    text-align: center;
}

.schedule-time-reception {
    font-family: var(--font-jp-zen);
    font-size: 12px;
    color: #1a2d4d;
    line-height: 1;
    text-align: center;
}

.schedule-time-reception .time-en {
    font-family: var(--font-en);
}

.schedule-day-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-cell {
    border-radius: 5px;
    padding: 16px 8px;
    text-align: center;
    font-family: var(--font-jp-zen);
    font-size: 15px;
    font-weight: 500;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-height: 53px;
}

.schedule-cell.tall {
    min-height: 87px;
}

.schedule-cell.tall-2 {
    min-height: 114px;
}

.schedule-cell small {
    display: block;
    font-family: var(--font-en);
    font-size: 15px;
    font-weight: 400;
    margin-top: 4px;
    line-height: 15px;
}

/* Department color variations */
.dept-general {
    background-color: rgba(10, 29, 125, 0.1);
}

.dept-urology {
    background-color: rgba(255, 222, 0, 0.1);
}

.dept-cardiology {
    background-color: rgba(230, 0, 18, 0.1);
}

.dept-psychosomatic {
    background-color: rgba(241, 141, 0, 0.1);
}

.dept-gastro {
    background-color: rgba(152, 79, 155, 0.1);
}

.dept-diabetes {
    background-color: rgba(0, 160, 141, 0.1);
}

/* ==========================================================================
   Medical Departments Section (診療科案内)
   ========================================================================== */
.departments-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.department-card {
    background-color: var(--light-blue);
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(26, 45, 77, 0.15);
    background-color: #e8eef5;
}

.department-card.active {
    background-color: var(--white);
    border-color: var(--primary-blue);
    position: relative;
    box-shadow: 2px 4px 10px 5px var(--shadow-card);
    z-index: 3;
    transform: translateY(0);
}

.department-card.active:hover {
    transform: translateY(0);
    box-shadow: 2px 4px 10px 5px var(--shadow-card);
    background-color: var(--white);
}

/* 三角形は.department-detailの::beforeに移動 */

/* 動的に追加される三角形 */
.detail-triangle {
    position: absolute;
    transform: translateX(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 16.5px solid transparent;
    border-right: 16.5px solid transparent;
    border-bottom: 41px solid var(--primary-blue);
    z-index: 1;
    pointer-events: none;
}

.department-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.department-name {
    font-family: var(--font-jp-zen);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* 各診療科のアイコンサイズ */
.dept-general-medicine .department-icon,
.dept-cardiology .department-icon,
.dept-urology .department-icon {
    width: 76px;
    height: 76px;
}

.dept-diabetes .department-icon {
    width: 83px;
    height: 83px;
}

.dept-gastroenterology .department-icon {
    width: 73px;
    height: 73px;
}

.dept-psychosomatic .department-icon {
    width: 78px;
    height: 78px;
}

/* Department Detail */
.department-detail {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    position: relative;
    z-index: 15;
}

.detail-header {
    background-color: var(--white);
    padding: 30px;
    position: relative;
    z-index: 2;
}

.detail-title {
    font-size: 36px;
    font-weight: 500;
    font-family: var(--font-jp);
    color: var(--text-dark-blue);
    text-align: center;
    line-height: 1.5;
}

.detail-divider {
    height: 2px;
    background-color: var(--text-dark-blue);
    margin: 0 48px;
    position: relative;
    z-index: 2;
}

.detail-content {
    padding: 40px 48px;
    background-color: var(--white);
    position: relative;
    z-index: 2;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-subtitle {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-jp);
    color: var(--text-dark-blue);
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.detail-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 3px;
    height: 26px;
    background-color: var(--text-dark-blue);
}

.test-items {
    display: flex;
    gap: 20px;
}

.test-item {
    flex: 1;
    background-color: var(--light-blue);
    padding: 18px 15px;
    border-radius: 5px;
    text-align: center;
    font-family: var(--font-jp-zen);
    color: #161c37;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    letter-spacing: 2.4px;
    line-height: 1;
}

.test-item-main {
    font-size: 20px;
    font-weight: 400;
}

.test-item-sub {
    font-size: 16px;
    font-weight: 400;
    margin-top: 4px;
}

/* Doctor Info */
.doctor-info {
    display: flex;
    gap: 40px;
}

.doctor-left {
    width: 220px;
    flex-shrink: 0;
}

.doctor-photo {
    width: 169px;
    height: 169px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-schedule {
    background-color: var(--white);
    padding: 0;
    text-align: center;
}

.schedule-label {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-jp-zen);
    color: var(--text-dark-blue);
    margin-bottom: 12px;
    line-height: 1.1;
}

.schedule-days {
    display: grid;
    grid-template-columns: repeat(6, 26px);
    gap: 8px;
    margin-bottom: 8px;
    justify-content: center;
}

.schedule-day {
    font-size: 18px;
    font-family: var(--font-jp-zen);
    font-weight: 500;
    padding: 8px 0;
    background-color: var(--light-blue-accent);
    color: var(--text-medium);
    border-radius: 3px;
    line-height: 1.1;
}

.schedule-day.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.schedule-note {
    font-size: 12px;
    font-family: var(--font-jp-zen);
    font-weight: 300;
    color: #000;
    line-height: 1.1;
    letter-spacing: -0.3px;
    margin-top: 12px;
}

.doctor-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-clinic {
    font-size: 16px;
    font-family: var(--font-jp-zen);
    color: var(--text-medium);
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.5;
}

.doctor-name {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-jp-zen);
    color: var(--text-dark-blue);
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.3;
}

.doctor-yomigana {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-jp-zen);
    color: var(--text-dark-blue);
    display: inline-block;
    margin-left: 10px;
}

.doctor-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: flex-start;
}

.certification-badge {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-jp-zen);
    line-height: 1.2;
}

.doctor-details-grid {
    display: grid;
    grid-template-columns: 366px 397px;
    gap: 27px;
    margin-bottom: 30px;
}

.career-title,
.affiliations-title {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--font-jp-zen);
    color: #000;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.5;
}

.career-divider,
.affiliations-divider {
    height: 1px;
    background-color: #000;
    margin-bottom: 15px;
}

.career-list,
.affiliations-list {
    font-size: 16px;
    font-family: var(--font-jp-zen);
    color: #333;
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-list li,
.affiliations-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 18px;
    line-height: 1.7;
}

.career-list li::before,
.affiliations-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--light-blue-accent);
    font-weight: 900;
    font-family: var(--font-jp-zen);
}

.doctor-message {
    font-size: 16px;
    font-family: var(--font-jp-zen);
    color: #333;
    line-height: 1.7;
    background-color: var(--light-blue);
    padding: 30px;
    border-radius: 5px;
    text-align: left;
}

.doctor-message p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.doctor-message p:last-child {
    margin-bottom: 0;
}

.doctor-message strong {
    color: var(--text-dark-blue);
    font-weight: 700;
}

.doctor-generic-message {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-blue);
    border-radius: 10px;
    font-weight: 500;
}

/* ==========================================================================
   Home Visit Section (訪問診療について)
   ========================================================================== */
.homevisit-section {
    padding: 100px 0;
    background-color: #f4f7f9;
}

.homevisit-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.homevisit-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #DDD;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #888;
}

.homevisit-content {
    flex: 1;
}

.homevisit-tagline {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.homevisit-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
}

.homevisit-description strong {
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   Access Section (アクセス)
   ========================================================================== */
.access-section {
    padding: 100px 0;
    background-color: var(--white);
}

.access-inner {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.access-map {
    flex: 1.2;
    border-radius: 10px;
    overflow: hidden;
}

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

.access-info {
    flex: 1;
}

.access-clinic-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.access-table {
    width: 100%;
    margin-bottom: 40px;
}

.access-table th {
    text-align: left;
    vertical-align: top;
    padding: 15px 0;
    width: 100px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-gray);
}

.access-table td {
    padding: 15px 0;
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-gray);
}

/* ==========================================================================
   News Section (お知らせ)
   ========================================================================== */
.news-section {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.news-section .section-title-jp {
    color: #293a8d;
    font-size: 2.4rem;
}

.news-list {
    max-width: 900px;
    margin: 0 auto 50px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px 40px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--text-gray);
    width: 120px;
}

.news-category-bubble {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    color: var(--text-gray);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 30px;
    min-width: 100px;
    text-align: center;
}

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

.news-more-wrapper {
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 220px;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-gold span {
    margin-left: 10px;
    font-family: var(--font-en);
}

/* ==========================================================================
   Page Hero
   ========================================================================== */
.page-hero {
    background-color: var(--white);
    padding: 40px 0 80px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.page-hero-content {
    flex: 1;
    position: relative;
}

.page-hero-en {
    font-family: var(--font-en);
    font-size: 5.5rem;
    font-weight: 900;
    color: #F0F4F8;
    line-height: 1;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.page-hero-jp {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    position: absolute;
    top: 4.5rem;
    left: 5px;
}

.page-hero-image {
    flex: 1.2;
}

.page-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* ==========================================================================
   Contact Footer (Dark Blue Section)
   ========================================================================== */
.contact-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

/* Wave effect approx */
.contact-footer::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231E3A5F" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,186.7C960,192,1056,160,1152,138.7C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 60px;
}

.contact-footer-left {
    flex: 1;
}

.contact-clinic-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-address {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.payment-methods {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    max-width: 320px;
}

.payment-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-text {
    font-size: 0.75rem;
    line-height: 1.8;
    opacity: 0.9;
}

.contact-footer-right {
    flex: 1.2;
}

.contact-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-table {
    width: 100%;
    margin-bottom: 30px;
}

.contact-info-table th {
    text-align: left;
    vertical-align: top;
    padding: 10px 0;
    width: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.8;
}

.contact-info-table td {
    padding: 10px 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-info-table td a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-reservation-buttons {
    display: flex;
    gap: 15px;
}

.contact-res-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    min-width: 160px;
}

.contact-res-btn svg {
    width: 18px;
    height: 18px;
}

.btn-web { background-color: #1E3A5F; border: 1px solid rgba(255,255,255,0.3); }
.btn-line { background-color: #06C755; }

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

/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */
/* About Page Wrapper */
.about-main-content {
    margin-top: var(--header-height);
}

.about-page-wrapper {
    position: relative;
    width: 1280px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 600px;
}

/* About Hero Section */
.about-hero-en {
    position: absolute;
    left: 78px;
    top: 222px;
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 900;
    color: var(--text-dark-blue);
    line-height: 22px;
    margin: 0;
    letter-spacing: 2.816px;
}

.about-hero-jp {
    position: absolute;
    left: 88px;
    top: 269px;
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-dark-blue);
    margin: 0;
    line-height: 22px;
}

.about-hero-image {
    position: absolute;
    left: 243px;
    top: 238px;
    width: 1001px;
    height: 337px;
    border-radius: 31px;
    overflow: hidden;
}

.about-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 31px;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* Section Title */
.about-page-wrapper .section-title-main {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 480px;
    font-family: var(--font-jp);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: normal;
    text-align: center;
}

.about-page-wrapper .section-title-underline {
    position: absolute;
    left: 612px;
    top: 523px;
    width: 55px;
    height: 3px;
    background-color: var(--text-dark);
}

/* About Features Section */
.about-features {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}

.feature-number {
    font-family: var(--font-en);
    font-size: 4.8rem;
    font-weight: 700;
    color: #a6baeb;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.feature-title {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark-blue);
    margin-bottom: 25px;
    padding-left: 0;
    border-left: none;
    line-height: 1.4;
}

.feature-title::before {
    content: '';
    display: block;
    width: 36px;
    height: 8px;
    background-color: var(--text-dark-blue);
    margin-bottom: 10px;
}

.feature-text {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    line-height: 2.5;
    margin-bottom: 30px;
    flex-grow: 1;
    color: var(--text-dark);
}

.btn-gold-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--white);
    padding: 8px 30px;
    border-radius: 24px;
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 400;
    gap: 10px;
    align-self: flex-start;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.16em;
    transition: all 0.3s ease;
}

.btn-gold-small:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-gold-small span {
    font-family: var(--font-jp-zen);
    font-size: 1.6rem;
    line-height: 1;
    margin-left: 5px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tags span {
    font-family: var(--font-jp-zen);
    font-size: 0.875rem;
    background-color: var(--light-blue-accent);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.4;
}

.feature-image-placeholder {
    width: 100%;
    height: 151px;
    background-color: #d9d9d9;
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.about-greeting {
    padding: 100px 0;
    background-color: var(--off-white);
}

.about-greeting .section-title {
    margin-bottom: 50px;
}

.about-greeting .doctor-profile {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-greeting .doctor-visual {
    flex: 0 0 281px;
}

.about-greeting .doctor-photo {
    width: 281px;
    height: 422px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
}

.about-greeting .doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-greeting .doctor-details {
    flex: 1;
    max-width: 832px;
}

.about-greeting .doctor-role {
    font-family: var(--font-jp-zen);
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 8px;
    text-align: left;
    font-weight: 400;
}

.about-greeting .doctor-name-large {
    font-family: var(--font-jp-zen);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark-blue);
    margin-bottom: 15px;
    text-align: left;
}

.about-greeting .doctor-name-large small {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark-blue);
}

.about-greeting .doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: flex-start;
}

.about-greeting .doctor-tag {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 18px;
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
}

.doctor-message-box {
    background-color: var(--light-blue);
    padding: 40px;
    border-radius: 5px;
    margin-bottom: 40px;
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    line-height: 1.6875;
    color: var(--text-medium);
}

.doctor-message-box p {
    margin-bottom: 0;
    font-weight: 500;
}

.about-greeting .profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-greeting .profile-sub-title {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    text-align: center;
}

.about-greeting .profile-list {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    color: #333;
}

.about-greeting .profile-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 18px;
    line-height: 1.6875;
}

.about-greeting .profile-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--light-blue-accent);
    font-weight: 900;
}

.beauty-promo {
    padding: 120px 0;
    background-color: #fdf8f7;
}

.beauty-promo-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.beauty-promo-content {
    flex: 0 0 533px;
}

.beauty-promo-en {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(to bottom, rgba(197, 154, 148, 0.3) 0%, rgba(197, 154, 148, 0.3) 51.923%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.beauty-promo-title {
    font-family: var(--font-jp);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark-blue);
    margin-bottom: 30px;
    line-height: 1.2;
}

.beauty-promo-text {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 0;
    color: #333;
}

.beauty-highlight {
    color: #c59a94;
    font-weight: 700;
}

.btn-beauty-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c59a94;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 31.5px;
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 40px;
    gap: 10px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.16em;
    transition: all 0.3s ease;
}

.btn-beauty-promo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-beauty-promo span {
    font-size: 2rem;
    line-height: 1;
    margin-left: 10px;
}

.beauty-promo-image {
    flex: 1;
}

.beauty-image-shape {
    width: 442px;
    height: 594px;
    background-color: #d9d9d9;
    border-radius: 500px 500px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-jp);
    font-size: 1.6rem;
    color: var(--text-dark);
}

/* ==========================================================================
   Treatment Page Specific Styles
   ========================================================================== */
.treatment-inspections {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.inspection-cards {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.inspection-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.inspection-card.reverse {
    flex-direction: row-reverse;
}

.inspection-content {
    flex: 1;
}

.inspection-label {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 700;
    color: #F0F4F8;
    display: block;
    margin-bottom: 10px;
}

.inspection-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-blue);
    padding-left: 15px;
}

.inspection-text {
    font-size: 0.875rem;
    line-height: 1.8;
}

.inspection-image {
    flex: 1;
}

.image-placeholder-box {
    width: 100%;
    aspect-ratio: 1.5/1;
    background-color: #DDD;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* ==========================================================================
   Access Page Specific Styles
   ========================================================================== */
.large-map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.large-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.traffic-access {
    padding: 100px 0;
}

.traffic-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.traffic-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.traffic-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.traffic-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.traffic-text {
    font-size: 1rem;
}

.parking-guide {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.parking-image {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.parking-notes {
    max-width: 1000px;
    margin: 0 auto;
}

.note-red {
    color: #D65A8A;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: transparent;
    color: var(--text-dark);
    padding: 0;
    border-top: none;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-gray);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 0;
}

.footer-clinic-info {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.footer-nav ul {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* ==========================================================================
   Front Page Footer
   ========================================================================== */
.front-footer {
    position: relative;
    width: 100%;
    background-color: var(--primary-blue);
}

.front-footer-bg {
    position: absolute;
    background-color: var(--primary-blue);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

/* ロゴアイコン（左上の波デザイン） */
.front-footer-logo-icon {
    position: absolute;
    z-index: 1;
    top: -26px;
    left: -106px;
    width: 1485px;
    height: 154px;
    overflow: hidden;
}

.front-footer-logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* メインコンテナ */
.front-footer-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 74px 60px;
    display: flex;
    gap: 154px;
}

/* 左側エリア */
.front-footer-left {
    width: 560px;
}

.footer-clinic-title {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: normal;
    margin-bottom: 28px;
}

.footer-address-block {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.07em;
    margin-bottom: 24px;
}

.footer-address-block p {
    margin-bottom: 0;
}

/* デジスマ払いボックス */
.digisuma-box {
    position: relative;
    background-color: rgba(219, 226, 246, 0.2);
    border: 1px solid rgba(219, 226, 246, 0.8);
    border-radius: 10px;
    padding: 27px 28px 22px;
    margin-top: 40px;
}

.digisuma-badge {
    position: absolute;
    top: -15px;
    left: 22px;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 8px 27px;
    border-radius: 4px;
    font-family: var(--font-jp);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.digisuma-heading {
    font-family: var(--font-jp);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: normal;
    margin-bottom: 8px;
}

.digisuma-desc {
    font-family: var(--font-jp-zen);
    font-size: 0.9375rem;
    color: #e1e2e4;
    line-height: 1.65;
    margin-bottom: 18px;
}

.digisuma-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 38px;
    transition: background-color 0.3s ease;
}

.digisuma-details-link:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.digisuma-details-link img {
    width: 15px;
    height: 15px;
}

.other-payment-methods {
    padding-top: 12px;
}

.other-payment-methods h4 {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: normal;
    margin-bottom: 2px;
}

.other-payment-methods p {
    font-family: var(--font-jp-zen);
    font-size: 0.9375rem;
    color: #e1e2e4;
    line-height: 1.6;
}

/* 右側エリア */
.front-footer-right {
    padding-top: 18px;
}

.footer-inquiry-title {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: normal;
    margin-bottom: 24px;
}

.footer-contact-table {
    margin-bottom: 36px;
}

.footer-contact-row {
    display: flex;
    margin-bottom: 18px;
}

.footer-contact-label {
    font-family: var(--font-jp-zen);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.07em;
    min-width: 116px;
}

.footer-contact-value {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.footer-contact-value a {
    color: var(--white);
}

.footer-hours {
    font-family: var(--font-jp-zen);
}

.footer-hours p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* 予約ボタン */
.footer-reservation-btns {
    display: flex;
    gap: 16px;
}

.footer-res-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 900;
    color: var(--white);
    min-width: 146px;
    height: 37px;
    transition: opacity 0.3s ease;
}

.footer-res-btn:hover {
    opacity: 0.85;
}

.footer-res-btn img {
    width: 23px;
    height: 23px;
}

.footer-res-web {
    background-color: var(--primary-blue);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-res-line {
    background-color: #06c755;
}

.footer-res-line img {
    width: 28px;
    height: 28px;
}

/* 下部バナー */
.front-footer-bottom-banners {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.footer-bottom-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    transition: opacity 0.3s ease;
    min-height: 71px;
}

.footer-bottom-banner:hover {
    opacity: 0.9;
}

.footer-banner-green {
    background-color: #c6db5c;
    font-family: var(--font-jp-zen);
}

.footer-banner-pink {
    background-color: #c59a94;
    font-family: 'Noto Serif JP', serif;
}

/* ==========================================================================
   Responsive - Tablet (max-width: 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .main-navigation ul {
        gap: 20px;
        margin-left: 20px;
    }

    .header-phone {
        font-size: 1.125rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-visual {
        width: 100%;
        max-width: 300px;
    }

    .doctor-tags {
        justify-content: center;
    }

    .profile-grid {
        text-align: left;
    }

    .homevisit-inner, .access-inner, .beauty-promo-inner {
        flex-direction: column;
        gap: 40px;
    }

    .inspection-card, .inspection-card.reverse {
        flex-direction: column;
        gap: 30px;
    }

    /* About Page Responsive */
    .about-page-wrapper {
        width: 100%;
        padding: 40px 20px;
    }

    .about-hero-en {
        position: static;
        font-size: 3rem;
        margin-bottom: 10px;
        text-align: center;
    }

    .about-hero-jp {
        position: static;
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .about-hero-image {
        position: static;
        width: 100%;
        height: auto;
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .about-hero-image img {
        position: static;
        height: auto;
    }

    .about-page-wrapper .section-title-main {
        position: static;
        transform: none;
        margin-bottom: 15px;
    }

    .about-page-wrapper .section-title-underline {
        position: static;
        margin: 0 auto 40px;
    }

    .about-greeting .doctor-profile {
        flex-direction: column;
        align-items: center;
    }

    .about-greeting .doctor-visual {
        flex: 0 0 auto;
    }

    .about-greeting .doctor-role,
    .about-greeting .doctor-name-large {
        text-align: center;
    }

    .about-greeting .doctor-tags {
        justify-content: center;
    }

    .about-greeting .profile-grid {
        text-align: left;
    }

    .beauty-promo-content {
        flex: 1;
    }

    .beauty-image-shape {
        width: 100%;
        max-width: 442px;
        margin: 0 auto;
    }

    /* Schedule Section */
    .schedule-container {
        overflow-x: auto;
    }

    .schedule-header,
    .schedule-body {
        min-width: 700px;
    }

    /* Front Footer Responsive - Tablet */
    .front-footer-container {
        flex-direction: column;
        padding: 56px 40px 60px;
        gap: 40px;
    }

    .front-footer-left {
        width: 100%;
        max-width: 600px;
    }

    .digisuma-box {
        padding: 27px 20px 22px;
    }

    .front-footer-bottom-banners {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title-jp {
        font-size: 1.5rem;
    }

    /* Header Mobile */
    .header-divider, .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .site-logo img {
        height: 32px;
    }

    .header-right-area {
        gap: 15px;
    }

    .header-contact {
        display: none; /* Hide phone in header on mobile to save space */
    }

    /* Mobile Navigation Drawer */
    .main-navigation.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        padding: 100px 20px 40px;
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    .main-navigation.active li {
        border-bottom: 1px solid var(--border-gray);
    }

    .main-navigation.active a {
        padding: 20px 0;
        align-items: flex-start;
        font-size: 1.125rem;
    }

    .main-navigation.active .nav-en {
        margin-top: 5px;
    }

    /* Schedule Section */
    .schedule-section .section-title-jp {
        font-size: 2rem;
    }

    .schedule-container {
        padding: 20px;
        overflow-x: auto;
    }

    .schedule-header {
        min-width: 800px;
    }

    .schedule-body {
        min-width: 800px;
    }

    .schedule-cell {
        font-size: 0.8125rem;
        padding: 12px 6px;
    }

    /* Departments Grid */
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .department-card {
        padding: 15px 5px;
    }

    .department-icon {
        width: 40px;
        height: 40px;
    }

    .department-name {
        font-size: 0.75rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Page Hero */
    .page-hero-inner {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .page-hero-en {
        font-size: 3.5rem;
    }

    .page-hero-jp {
        top: 3rem;
        font-size: 1.5rem;
    }

    .page-hero-image img {
        height: 200px;
    }

    /* Detail Sections */
    .detail-content {
        padding: 20px;
    }

    .test-items {
        flex-direction: column;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    /* Home Visit Phone */
    .homevisit-phone-large {
        font-size: 1.75rem;
    }

    /* Access Map */
    .large-map {
        height: 300px;
    }

    .traffic-item {
        gap: 20px;
    }

    .traffic-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        flex-shrink: 0;
    }

    /* News */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-category-bubble {
        margin-right: 0;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .contact-footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .contact-reservation-buttons {
        flex-direction: column;
    }

    .bottom-fixed-buttons {
        flex-direction: column;
    }

    /* Front Footer Responsive */
    .front-footer-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px 60px;
    }

    .front-footer-left {
        width: 100%;
    }

    .footer-contact-row {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    .footer-contact-label {
        min-width: auto;
    }

    .footer-reservation-btns {
        flex-direction: column;
    }

    .footer-res-btn {
        width: 100%;
    }

    .front-footer-logo-icon {
        display: none;
    }

    /* About Page Mobile */
    .about-page-wrapper {
        width: 100%;
        padding: 30px 20px;
    }

    .about-hero-en {
        position: static;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .about-hero-jp {
        position: static;
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .about-hero-image {
        position: static;
        width: 100%;
        height: auto;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .about-hero-image img {
        position: static;
        height: auto;
    }

    .section-title-area {
        padding: 40px 0 20px;
    }

    .section-title-main {
        font-size: 1.25rem;
    }

    .about-features {
        padding: 40px 0;
    }

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

    .feature-number {
        font-size: 4rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .about-greeting {
        padding: 60px 0;
    }

    .about-greeting .doctor-profile {
        flex-direction: column;
        align-items: center;
    }

    .about-greeting .doctor-visual {
        width: 100%;
        max-width: 281px;
    }

    .about-greeting .doctor-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 281 / 422;
    }

    .about-greeting .doctor-role,
    .about-greeting .doctor-name-large {
        text-align: center;
    }

    .about-greeting .doctor-tags {
        justify-content: center;
    }

    .about-greeting .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .beauty-promo {
        padding: 60px 0;
    }

    .beauty-promo-inner {
        flex-direction: column;
        gap: 40px;
    }

    .beauty-promo-content {
        flex: 1;
        width: 100%;
    }

    .beauty-promo-en {
        font-size: 1.5rem;
    }

    .beauty-promo-title {
        font-size: 2rem;
    }

    .beauty-promo-text {
        font-size: 1rem;
    }

    .beauty-image-shape {
        width: 100%;
        max-width: 300px;
        height: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Responsive - Small Mobile (max-width: 480px)
   ========================================================================== */
@media screen and (max-width: 480px) {
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero-en {
        font-size: 2.5rem;
    }

    .page-hero-jp {
        top: 2rem;
    }
}
