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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}

/* PC版：nav-linksを無視して子要素を直接表示 */
.nav-links {
    display: contents;
}

/* PC版：SP版用の要素を非表示 */
.nav-close,
.nav-footer {
    display: none;
}

/* PC版：すずきコンタクトリンクは非表示（バナーで表示） */
.nav-link-contact {
    display: none;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 1);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s, filter 0.3s;
    z-index: -1;
    filter: blur(0);
}

.nav-link:hover::before {
    width: 80px;
    height: 80px;
    filter: blur(10px);
}

.nav-link:hover {
    color: #188AC1;
}

.nav-text-jp {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.nav-text-en {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 2px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: bold;
}

.nav-link.phone {
    background: none;
    border-radius: 0;
    flex-direction: row;
    gap: 8px;
    pointer-events: none;
    cursor: default;
}

.nav-link.phone .nav-text-jp {
    font-size: 20px;
}

.nav-link.phone:hover {
    color: #fff;
}

.nav-link.phone:hover::before {
    width: 0;
    height: 0;
}

.phone-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    transform-origin: center;
}

.hamburger-line:nth-child(1) {
    top: 6px;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 6px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger-menu.active .hamburger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ナビゲーションオーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* メインビジュアル */
.main-visual {
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.main-visual-image {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.main-visual-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.main-visual-img-pc {
    display: block;
}

.main-visual-img-sp {
    display: none;
}

.wave-container {
    position: absolute;
    bottom: -8%;
    left: 0;
    width: 100%;
    z-index: 3;
    overflow: hidden;
}

.wave-svg-wrapper {
    width: 100%;
    height: auto;
}

.wave-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
    display: block;
}

.wave-svg .wave-group {
    animation: wave linear 24s infinite;
    transform: translateX(-1440px);
}

@keyframes wave {
    from {
        transform: translateX(-1440px);
    }
    to {
        transform: translateX(-4320px);
    }
}

.wave-svg {
    overflow: visible;
}

.wave-svg .cls-1 {
    shape-rendering: geometricPrecision;
}

.fluid-shape {
    position: absolute;
    top: 10%;
    left: 8vw;
    width: 50%;
    max-width: 600px;
    aspect-ratio: 1.5 / 1;
    pointer-events: none;
    transform: scale(0.75);
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fluid-shape-1 {
    z-index: 2;
    background: #F8C8CA;
    border-radius: 61% 39% 16% 84% / 57% 72% 28% 43%;
    animation: fluid-anim-1 20s ease-in-out infinite;
    opacity: 0.8;
}

.fluid-shape-2 {
    z-index: 1;
    background: #FFFFFF;
    border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%;
    animation: fluid-anim-2 25s ease-in-out infinite;
    opacity: 0.7;
}

.main-visual-text {
    position: relative;
    z-index: 10;
    color: #333;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.5;
    padding: 20px;
    text-align: center;
    pointer-events: none;
}

.call-number-display {
    position: absolute;
    bottom: 3%;
    left: 12vw;
    width: 180px;
    height: 180px;
    background: #188AC1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(24, 138, 193, 0.4),
                0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 2px 10px rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.call-number-dots {
    position: absolute;
    bottom: calc(3% - 20px);
    left: calc(12vw + 50px);
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, rgba(79, 195, 247, 0.6) 2px, transparent 2px);
    background-size: 12px 12px;
    background-position: 0 0;
    opacity: 0.5;
    z-index: 4;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
}

.call-number-label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-align: center;
}

.call-number-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.call-number-value {
    color: #fff;
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
}

.call-number-unit {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

/* ご案内状況確認バナー */
.status-check-banner {
    position: absolute;
    bottom: 8%;
    left: calc(12vw + 180px + 30px);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 5;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.status-check-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.status-check-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.status-check-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-check-main {
    color: #188AC1;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.status-check-sp {
    display: none;
}

.status-check-highlight {
    display: inline-block;
    width: fit-content;
    background-image: linear-gradient(transparent 70%, rgba(255, 157, 159, 0.6) 70%);
    background-size: 100% 100%;
}

.status-check-disclaimer {
    color: #188AC1;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.8;
    max-width: 350px;
}

.status-check-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-check-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* マップリンクバナー */
.map-link-banner {
    position: absolute;
    bottom: 0%;
    right: 5vw;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 5;
    transition: transform 0.3s;
}

.map-link-banner:hover {
    transform: translateY(-2px);
}

.map-pin-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map-pin-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    background: #188AC1;
    border-radius: 50%;
    z-index: 1;
}

.map-pin-icon::after {
    content: '';
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 56px solid #188AC1;
    z-index: 1;
}

.map-pin-circle {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 112px;
    height: 112px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.map-pin-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #188AC1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.map-banner-content {
    display: none;
}

.map-banner-sp {
    display: none;
}

@keyframes fluid-anim-1 {
    0%    { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
    12.5% { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    25%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    37.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    50%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    62.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    75%   { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    87.5% { border-radius: 40% 60% 55% 45% / 50% 60% 40% 50%; }
    100%  { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
}

@keyframes fluid-anim-2 {
    0%    { border-radius: 55% 45% 65% 35% / 45% 55% 35% 65%; }
    12.5% { border-radius: 70% 30% 50% 50% / 60% 40% 70% 30%; }
    25%   { border-radius: 45% 55% 75% 25% / 65% 35% 55% 45%; }
    37.5% { border-radius: 50% 50% 60% 40% / 50% 50% 50% 50%; }
    50%   { border-radius: 45% 55% 75% 25% / 65% 35% 55% 45%; }
    62.5% { border-radius: 50% 50% 60% 40% / 50% 50% 50% 50%; }
    75%   { border-radius: 70% 30% 50% 50% / 60% 40% 70% 30%; }
    87.5% { border-radius: 60% 40% 55% 45% / 40% 60% 50% 50%; }
    100%  { border-radius: 55% 45% 65% 35% / 45% 55% 35% 65%; }
}

/* ヒーローセクション */
.hero {
    background: #fff;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.cloud-shape {
    background: #4FC3F7;
    border-radius: 50px 50px 50px 0;
    padding: 30px 40px;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.cloud-shape::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #4FC3F7;
}

.catchphrase {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
}

.top-news-section {
    max-width: 1200px;
    margin: 2% auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.top-news-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background-color: rgb(221, 237, 250);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(24, 138, 193, 0.1);
}

.top-news-title {
    color: #188AC1;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.top-news-description {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.news-section {
    background-image: url('images/home_ringnote.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    border-radius: 20px;
    padding: 12% 10%;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
    min-height: 0;
    box-sizing: border-box;
}

.news-title {
    color: #188AC1;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: bold;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #E0E0E0;
}

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

.news-date {
    color: #188AC1;
    font-size: 18px;
    white-space: nowrap;
    display: inline-block;
    width: fit-content;
    background-image: linear-gradient(transparent 70%, rgba(255, 157, 159, 0.6) 70%);
    background-size: 100% 100%;
}

.news-text {
    color: #333;
    font-size: 16px;
}

.news-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-left: auto;
    padding-top: 20px;
    color: #188AC1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-more-text {
    display: inline-block;
    width: fit-content;
    background-image: linear-gradient(transparent 70%, rgba(255, 157, 159, 0.6) 70%);
    background-size: 100% 100%;
}

.news-more-link::after {
    content: '';
    width: 40px;
    height: 20px;
    background-image: url('images/news_arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(15deg);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.news-more-link:hover {
    color: #188AC1;
}

.news-more-link:hover::after {
    transform: translateX(4px);
}

.message-circle {
    width: 120px;
    height: 120px;
    background: #4FC3F7;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.circle-number {
    font-size: 32px;
    font-weight: bold;
}

.circle-text {
    font-size: 12px;
    margin-top: 5px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.hours-table {
    border-radius: 20px;
    padding: 25px 0;
    color: #333;
    position: relative;
    z-index: 1;
}

.hours-schedule {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hours-schedule th,
.hours-schedule td {
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    border: 2px solid rgba(24, 138, 193, 0.3);
    border-right: none;
    border-bottom: none;
}

.hours-schedule th:last-child,
.hours-schedule td:last-child {
    border-right: 2px solid rgba(24, 138, 193, 0.3);
}

.hours-schedule tr:last-child td {
    border-bottom: 2px solid rgba(24, 138, 193, 0.3);
}

.hours-schedule th {
    font-weight: bold;
    color: #fff;
    background: #188AC1;
    border-color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

.hours-schedule th:first-child {
    border-top-left-radius: 8px;
    letter-spacing: 0.1em;
}

.hours-schedule th:last-child {
    border-top-right-radius: 8px;
}

.hours-schedule td:first-child {
    text-align: center;
    font-weight: 500;
    color: #188AC1;
    background: #fff;
    border-color: rgba(24, 138, 193, 0.3);
    font-size: 18px;
    white-space: nowrap;
    padding: 12px 12px;
}

.hours-schedule tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.hours-schedule td:not(:first-child) {
    color: #188AC1;
    background: #fff;
    font-weight: normal;
    border-color: rgba(24, 138, 193, 0.3);
}

.hours-schedule tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.hours-note {
    font-size: 14px;
    text-align: center;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}


/* 装飾用シェイプ */
.decorative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.3;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: #FFB3BA;
    border-radius: 50%;
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: #4FC3F7;
    border-radius: 20px;
    transform: rotate(45deg);
    bottom: 20%;
    left: 5%;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: #BAE1FF;
    border-radius: 50%;
    top: 50%;
    right: 5%;
}

/* セクション共通スタイル */
.section {
    padding: 80px 20px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    display: none;
}

.section-title {
    font-size: 28px;
    color: #333333;
    font-weight: bold;
    padding: 20px 40px;
    display: inline-block;
    position: relative;
    isolation: isolate;
}

.section-title-en {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-top: -4%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #188AC1;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/logo_title_bgicon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

/* ご利用案内セクション */
.guide-section {
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #F0F7FA 15%, 
        #DCECF9 30%, 
        #DCECF9 70%, 
        #F0F7FA 85%, 
        #ffffff 100%);
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.guide-item-title {
    color: #188AC1;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.guide-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #188AC1;
}

.guide-item-title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 100%;
    width: 8px;
    height: 8px;
    background: #188AC1;
    transform: rotate(45deg);
}

.guide-item-text {
    color: #188AC1;
    line-height: 1.8;
}

.shape-circle {
    width: 80px;
    height: 80px;
    background: #FFB3BA;
    border-radius: 50%;
    top: 15%;
    right: 10%;
}

.shape-square {
    width: 60px;
    height: 60px;
    background: #4FC3F7;
    border-radius: 15px;
    bottom: 20%;
    left: 8%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #BAE1FF;
    top: 60%;
    right: 5%;
}

/* 診療内容セクション */
.services-section {
    background: #fff;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/machiai.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 5%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0.3) 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 5%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0.3) 95%,
        transparent 100%
    );
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 5%,
        transparent 15%,
        transparent 85%,
        rgba(255, 255, 255, 0.8) 95%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.services-section .section-container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: #f9f6f1;
    border: none;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 12px rgba(140, 115, 87, 0.3);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 360px;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(140, 115, 87, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed #8C7357;
    border-radius: 20px;
    pointer-events: none;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    color: #333333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-description {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
}

.clinic-slider-wrapper {
    width: 100vw;
    overflow: hidden;
    margin-top: 50px;
    position: relative;
    height: 825px; /* ジグザグ配置を考慮した高さ（675px + 150px） */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.clinic-slider {
    display: flex;
    gap: 20px;
    width: fit-content;
    animation: slide 20s linear infinite;
    align-items: flex-start;
}

.clinic-slide {
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.clinic-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ジグザグ配置：1枚目と3枚目は同じ高さ、2枚目と4枚目は同じ高さ */
.slide-1,
.slide-3 {
    width: 600px;
    height: 675px;
}

.slide-2,
.slide-4 {
    width: 600px;
    height: 600px;
    margin-top: 150px; /* ジグザグ配置のためのオフセット */
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* 当院についてセクション */
.about-section {
    background: none;
}

.about-content {
    position: relative;
    min-height: 1000px;
    width: 100%;
}

.crayon-line {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.crayon-path {
    stroke-dasharray: 2500;
    stroke-dashoffset: 2500;
    filter: drop-shadow(0 3px 6px rgba(143, 176, 197, 0.4)) 
            drop-shadow(0 1px 2px rgba(143, 176, 197, 0.2));
    opacity: 0.5;
}


.crayon-path.animate {
    animation: drawLine 5s ease-in-out forwards;
}

.crayon-path-dashed.animate {
    animation: drawLine 5s ease-in-out forwards;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 2500;
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
}

.message-section {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 48%;
    width: 100%;
    z-index: 2;
}

.policy-section {
    position: absolute;
    bottom: 2%;
    right: 0;
    max-width: 48%;
    width: 100%;
    z-index: 2;
}


.message-cloud {
    background-image: url('images/about_shape_1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    padding: 160px;
    color: #333;
    position: relative;
    min-height: 550px;
    width: 140%;
    max-width: 140%;
    margin-left: -20%;
    margin-right: -20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-label {
    writing-mode: vertical-rl;
    position: absolute;
    left: 50px;
    top: 45%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #487F9A;
    opacity: 0.3;
    z-index: 2;
    white-space: nowrap;
}

.content-subtitle {
    font-size: 26px;
    font-weight: bold;
    color: #188AC1;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.message-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.message-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.director-signature {
    margin-top: 30px;
    font-weight: bold;
    line-height: 1.8;
    color: #188ac1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.message-text .director-signature {
    color: #188ac1;
}

.signature-line {
    display: inline-block;
    text-align: center;
    min-width: 280px;
}

.signature-clinic {
    font-size: 18px;
}

.signature-director {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

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

.director-name {
    font-size: 28px;
}

.signature-profile {
    font-size: 14px;
}

.profile-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    background-image: linear-gradient(transparent 70%, rgba(255, 157, 159, 0.6) 70%);
    background-size: 100% 100%;
}

.profile-link:hover {
    opacity: 0.7;
}

.signature-profile .profile-link {
    text-decoration: none;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    padding-right: 10px;
    scrollbar-gutter: stable;
}

/* PC版のカスタムスクロールバー */
@media (min-width: 769px) {
    .modal-body::-webkit-scrollbar {
        width: 10px;
    }
    
    .modal-body::-webkit-scrollbar-track {
        background: transparent;
        margin: 15px 0;
    }
    
    .modal-body::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 5px;
        border: 4px solid #fff;
    }
    
    .modal-body::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
    
    /* Firefox用 */
    .modal-body {
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 28px;
    color: #188AC1;
    margin-bottom: 20px;
    font-weight: bold;
}

.modal-body {
    color: #333;
    line-height: 1.8;
}

.modal-body p {
    font-size: 16px;
    margin-bottom: 15px;
}

.profile-section {
    margin-bottom: 30px;
}

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

.profile-section-title {
    font-size: 20px;
    color: #188AC1;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #188AC1;
    padding-bottom: 5px;
}

.profile-timeline {
    margin: 0;
    padding: 0;
}

.profile-timeline dt {
    font-weight: bold;
    color: #188AC1;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 16px;
}

.profile-timeline dt:first-child {
    margin-top: 0;
}

.profile-timeline dd {
    margin-left: 0;
    margin-bottom: 10px;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
}

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

.profile-list li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.profile-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #188AC1;
    font-weight: bold;
}

.profile-detail {
    font-size: 14px;
    color: #666;
    display: block;
    margin-top: 3px;
}

.modal-body .profile-link {
    color: #188AC1;
    text-decoration: underline;
    transition: color 0.3s;
}

.modal-body .profile-link:hover {
    color: #0d6a94;
}

.profile-app-link-wrapper {
    text-align: center;
    margin-top: 10px;
}

.profile-app-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #188AC1;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.profile-app-link:hover {
    background-color: #0d6a94;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* モーダル内のレスポンシブ対応 */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .modal-body {
        max-height: calc(80vh - 100px);
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .profile-section-title {
        font-size: 18px;
    }
    
    .profile-timeline dt,
    .profile-timeline dd,
    .profile-list li {
        font-size: 14px;
    }
    
    .profile-app-link {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.policy-cloud {
    border-radius: 30px;
    padding: 160px;
    color: #333;
    position: relative;
    min-height: 550px;
    width: 140%;
    max-width: 140%;
    margin-left: -20%;
    margin-right: -20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.policy-cloud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/about_shape_1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1) scaleY(-1);
    opacity: 0.4;
    z-index: 0;
}

.policy-label {
    writing-mode: vertical-rl;
    position: absolute;
    right: 20px;
    top: 46%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.2em;
    line-height: 1.2;
    color: #487F9A;
    opacity: 0.3;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.policy-label-line {
    display: block;
}

.policy-label-medical {
    margin-right: 10px;
}

.policy-label-policy {
    margin-left: 0;
    margin-right: -8%;
    margin-top: 64%;
}

.policy-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.policy-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.shape-curve {
    width: 200px;
    height: 100px;
    border: 3px solid #4FC3F7;
    border-top: none;
    border-radius: 0 0 100px 100px;
    top: 10%;
    left: 5%;
    opacity: 0.2;
}

.shape-footprint {
    width: 40px;
    height: 50px;
    background: #FFB3BA;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    bottom: 15%;
    right: 8%;
    opacity: 0.3;
}

/* アクセスセクション */
.access-section {
    background: #fff;
    position: relative;
}

.access-section .section-container {
    position: relative;
}

.access-title-wrapper {
    position: relative;
    display: inline-block;
}

.access-footprint-top {
    position: absolute;
    top: -120px;
    left: calc((100vw - 1200px) / 2 * -1);
    width: 220px;
    height: auto;
    opacity: 0;
    z-index: 1;
    clip-path: inset(0% 0 100% 0);
    animation: footprintReveal 1.5s ease-out forwards;
}

@keyframes footprintReveal {
    0% {
        opacity: 0;
        clip-path: inset(0% 0 100% 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        clip-path: inset(0% 0 0% 0);
    }
}

@media (max-width: 1200px) {
    .access-footprint-top {
        left: 2vw;
        width: 180px;
    }
    
    .access-footprint-bottom {
        display: none;
    }
}

@media (max-width: 768px) {
    .access-footprint-top {
        width: 150px;
        left: 2vw;
        top: -60px;
    }
    
    .access-footprint-bottom {
        width: 150px;
        right: 2vw;
        bottom: -20px;
    }
}

.access-footprint-bottom {
    position: absolute;
    bottom: -40px;
    right: calc((100vw - 1200px) / 2 * -1);
    width: 220px;
    height: auto;
    opacity: 0;
    z-index: 0;
    clip-path: inset(0% 0 100% 0);
    animation: footprintRevealBottom 1.5s ease-out 0.5s forwards;
    transform: scaleX(-1);
}

@keyframes footprintRevealBottom {
    0% {
        opacity: 0;
        clip-path: inset(0% 0 100% 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        clip-path: inset(0% 0 0% 0);
    }
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 40px;
}

.clinic-name {
    font-size: 32px;
    color: #4FC3F7;
    margin-bottom: 20px;
}

.info-item {
    color: #666;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-item strong {
    color: #333;
    white-space: nowrap;
    font-weight: 500;
}

.info-item span {
    font-weight: 500;
}

.address-item {
    align-items: flex-start;
}

.address-text {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
    font-weight: 500;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.phone-item:hover {
    opacity: 0.8;
}

.phone-item span {
    font-weight: 500;
    font-size: 22px;
}

.phone-icon-bl {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.access-hours-table {
    margin-top: 20px;
}

.access-hours-table .access-hours-sp {
    display: none;
}

.access-hours-table .hours-schedule {
    background: #fff;
    border-radius: 10px;
    padding: 0;
}

.access-hours-table .hours-schedule th,
.access-hours-table .hours-schedule td {
    color: inherit;
}

.access-hours-table .hours-schedule th {
    color: #fff;
    background: #188AC1;
    border-color: rgba(255, 255, 255, 0.3);
}

.access-hours-table .hours-schedule td:first-child {
    color: #188AC1;
    background: #fff;
}

.access-hours-table .hours-schedule td:not(:first-child) {
    color: #188AC1;
    background: #fff;
}

.parking-info {
    background: none;
    display: flex;
    justify-content: flex-end;
    border-radius: 20px;
    padding: 25px 0;
    box-sizing: border-box;
}

.parking-map {
    width: 100%;
    height: auto;
    display: block;
}

.google-map-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 40px;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    z-index: 2;
}

.google-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0 auto;
    display: block;
}

/* Googleカレンダー */
.google-calendar {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

/* フッター */
.footer {
    background: #fff;
}

.footer-content {
    background: #188AC1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.footer-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

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

.copyright-text {
    color: #fff;
    font-size: 16px;
}

/* すずきコンタクトバナー */
.contact-banner-section {
    width: 100%;
    margin: 0 auto;
}

.contact-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-banner-link:hover {
    opacity: 0.9;
}

.contact-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-banner-image-sp {
    display: none;
}

/* レスポンシブデザイン */
@media (max-width: 1450px) {
    .logo-text {
        font-size: 20px;
    }

    .nav-text-jp {
        font-size: 18px;
        white-space: nowrap;
    }

    .nav-text-en {
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 1000px) {
    .call-number-display {
        left: auto;
        right: 5vw;
    }

    .fluid-shape {
        top: 10%;
        left: 4vw;
        transform: scale(0.75);
    }

    .main-visual-text {
        font-size: 1.5rem;
        padding: 12px;
        text-align: center;
    }

    .status-check-banner {
        bottom: 18%;
        left: 0;
        right: auto;
        padding: 12px 24px;
        max-width: calc(100vw - 120px - 15px);
        border-radius: 0 999px 999px 0;
    }

    .status-check-main {
        font-size: 17px;
        line-height: 1.3;
    }

    .status-check-pc {
        display: none;
    }

    .status-check-sp {
        display: inline;
    }

    .status-check-icon {
        width: 36px;
        height: 36px;
    }

    .map-link-banner {
        width: auto;
        height: auto;
        bottom: calc(18% - 90px);
        right: auto;
        left: 0;
        position: absolute;
        background: #188AC1;
        border-radius: 0 999px 999px 0;
        padding: 12px 24px;
        display: flex;
        align-items: center;
        max-width: calc(100vw - 120px - 15px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .map-pin-icon {
        display: none;
    }

    .map-banner-content {
        display: flex;
        align-items: center;
        gap: 18px;
        width: 100%;
    }

    .map-banner-text {
        flex: 1;
    }

    .map-banner-main {
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.3;
    }

    .map-banner-pc {
        display: none;
    }

    .map-banner-sp {
        display: inline;
    }

    .map-banner-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .map-banner-icon .map-icon-path {
        fill: #fff;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 30px 20px;
        max-width: 100%;
    }
}

@media (max-width: 1224px) {
    .hamburger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-height: 100vh;
        height: 100%;
        background: #188AC1;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }

    .nav.active {
        left: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* PC版の設定をリセット */
    .nav-links {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        min-height: 0;
    }

    /* 閉じるボタン（ハンバーガーメニューが×に変わるため非表示） */
    .nav-close {
        display: none;
    }

    .nav-close-icon {
        color: #fff;
        font-size: 36px;
        font-weight: 300;
        line-height: 1;
    }

    /* SP版：PC版のphoneリンクを非表示 */
    .nav-link.phone {
        display: none;
    }

    /* SP版：すずきコンタクトリンクを表示 */
    .nav-link-contact {
        display: flex;
        border-bottom: 2px dotted #fff;
    }

    /* SP版：ナビゲーションフッターを表示 */
    .nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
        gap: 20px;
        flex-shrink: 0;
    }

    .nav-link {
        width: 100%;
        padding: 20px 0;
        border-radius: 0 !important;
        justify-content: center;
        align-items: center;
        position: relative;
        color: #fff !important;
        text-decoration: none;
        transition: opacity 0.3s;
        border-bottom: 2px dotted #fff;
        /* PC版のホバーエフェクトをリセット */
        flex-direction: row;
    }

    .nav-link:last-child:not(.nav-link-contact) {
        border-bottom: none;
    }

    .nav-link:last-child:not(.nav-link-contact)::before,
    .nav-link:last-child:not(.nav-link-contact)::after {
        display: none;
    }

    .nav-link:hover {
        opacity: 0.8;
        color: #fff !important;
    }

    /* PC版の::beforeホバーエフェクトをリセット */
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        z-index: 1;
        /* PC版のスタイルをリセット */
        top: auto;
        transform: none;
        width: 6px;
        height: 6px;
        filter: none;
        transition: none;
    }

    /* PC版のホバー時の白丸拡大エフェクトを無効化 */
    .nav-link:hover::before {
        width: 6px;
        height: 6px;
        filter: none;
        transform: none;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        right: 0;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        z-index: 1;
    }

    .nav-text-jp {
        display: block;
        font-size: 20px;
        line-height: 1.5;
        font-weight: 500;
        color: #fff;
        text-align: center;
    }

    .nav-text-en {
        display: none;
    }

    .nav-footer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.3s;
    }

    .nav-footer-logo:hover {
        opacity: 0.8;
    }

    .nav-footer-logo-icon {
        width: 40px;
        height: 40px;
        object-fit: contain;
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    }

    .nav-footer-logo-text {
        font-size: 18px;
        font-weight: bold;
        color: #fff;
    }

    .nav-footer-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.3s;
    }

    .nav-footer-phone:hover {
        opacity: 0.8;
    }

    .nav-footer-phone-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .nav-footer-phone-number {
        font-size: 18px;
        color: #fff;
        font-weight: 500;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .clinic-slider-wrapper {
        margin-top: 30px;
        height: 562px; /* レスポンシブ時の高さ（450px + 112px） */
    }

    .slide-1,
    .slide-3 {
        width: 450px;
        height: 506px;
    }

    .slide-2,
    .slide-4 {
        width: 450px;
        height: 450px;
        margin-top: 112px; /* ジグザグ配置のためのオフセット */
    }

    .about-content {
        min-height: auto;
        padding-bottom: 40px;
    }

    .message-section {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        width: 100%;
        margin-bottom: 40px;
    }

    .policy-section {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        width: 100%;
    }

    .access-content {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-bottom: 10px;
    }
}

@media (min-width: 769px) and (max-width: 968px) {
    .message-text,
    .policy-text {
        padding: 0 150px;
    }

    .crayon-line {
        z-index: 2;
    }
}

/* SP版（768px以下） */
@media (max-width: 768px) {
    /* ヘッダー */
    .header {
        padding: 8px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 20px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-height: 100vh;
        height: 100%;
        background: #188AC1;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }

    .nav.active {
        left: 0;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* PC版の設定をリセット */
    .nav-links {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        min-height: 0;
    }

    /* 閉じるボタン（ハンバーガーメニューが×に変わるため非表示） */
    .nav-close {
        display: none;
    }

    .nav-close-icon {
        color: #fff;
        font-size: 36px;
        font-weight: 300;
        line-height: 1;
    }

    /* SP版：PC版のphoneリンクを非表示 */
    .nav-link.phone {
        display: none;
    }

    /* SP版：すずきコンタクトリンクを表示 */
    .nav-link-contact {
        display: flex;
        border-bottom: 2px dotted #fff;
    }

    /* SP版：ナビゲーションフッターを表示 */
    .nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
        gap: 20px;
        flex-shrink: 0;
    }

    .nav-link {
        width: 100%;
        padding: 20px 0;
        border-radius: 0 !important;
        justify-content: center;
        align-items: center;
        position: relative;
        color: #fff !important;
        text-decoration: none;
        transition: opacity 0.3s;
        border-bottom: 2px dotted #fff;
        /* PC版のホバーエフェクトをリセット */
        flex-direction: row;
    }

    .nav-link:last-child:not(.nav-link-contact) {
        border-bottom: none;
    }

    .nav-link:last-child:not(.nav-link-contact)::before,
    .nav-link:last-child:not(.nav-link-contact)::after {
        display: none;
    }

    .nav-link:hover {
        opacity: 0.8;
        color: #fff !important;
    }

    /* PC版の::beforeホバーエフェクトをリセット */
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        z-index: 1;
        /* PC版のスタイルをリセット */
        top: auto;
        transform: none;
        width: 6px;
        height: 6px;
        filter: none;
        transition: none;
    }

    /* PC版のホバー時の白丸拡大エフェクトを無効化 */
    .nav-link:hover::before {
        width: 6px;
        height: 6px;
        filter: none;
        transform: none;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        right: 0;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        z-index: 1;
    }

    .nav-text-jp {
        display: block;
        font-size: 20px;
        line-height: 1.5;
        font-weight: 500;
        color: #fff;
        text-align: center;
    }

    .nav-text-en {
        display: none;
    }

    .nav-footer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.3s;
    }

    .nav-footer-logo:hover {
        opacity: 0.8;
    }

    .nav-footer-logo-icon {
        width: 40px;
        height: 40px;
        object-fit: contain;
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    }

    .nav-footer-logo-text {
        font-size: 18px;
        font-weight: bold;
        color: #fff;
    }

    .nav-footer-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.3s;
    }

    .nav-footer-phone:hover {
        opacity: 0.8;
    }

    .nav-footer-phone-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .nav-footer-phone-number {
        font-size: 18px;
        color: #fff;
        font-weight: 500;
    }

    /* メインビジュアル */
    .main-visual-img-pc {
        display: none;
    }

    .main-visual-img-sp {
        display: block;
    }

    /* すずきコンタクトバナー */
    .contact-banner-image-pc {
        display: none;
    }

    .contact-banner-image-sp {
        display: block;
    }

    .main-visual-image {
        height: 50vh;
    }

    .main-visual-image img {
        object-position: 85% center;
    }

    .fluid-shape {
        width: 60%;
        max-width: none;
        left: auto;
        right: -5vw;
        top: 35%;
        transform: scale(0.7);
    }

    .main-visual-text {
        font-size: 1.1rem;
        padding: 12px;
        text-align: right;
    }

    .call-number-display {
        width: 120px;
        height: 120px;
        bottom: 3%;
        left: auto;
        right: 5vw;
    }

    .call-number-value {
        font-size: 48px;
        margin-top: -5px;
    }

    .call-number-unit {
        font-size: 20px;
    }

    .call-number-label {
        font-size: 12px;
    }

    .call-number-dots {
        width: 100px;
        height: 100px;
        bottom: calc(3% - 15px);
        left: auto;
        right: calc(5vw + 30px);
    }

    .status-check-banner {
        bottom: 18%;
        left: 0;
        right: auto;
        padding: 10px 20px;
        max-width: calc(100vw - 120px - 15px);
        border-radius: 0 999px 999px 0;
    }

    .status-check-main {
        font-size: 14px;
        line-height: 1.3;
    }

    .status-check-pc {
        display: none;
    }

    .status-check-sp {
        display: inline;
    }

    .status-check-icon {
        width: 30px;
        height: 30px;
    }

    .map-link-banner {
        width: auto;
        height: auto;
        bottom: calc(18% - 65px);
        right: auto;
        left: 0;
        position: absolute;
        background: #188AC1;
        border-radius: 0 999px 999px 0;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        max-width: calc(100vw - 120px - 15px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .map-pin-icon {
        display: none;
    }

    .map-banner-content {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .map-banner-text {
        flex: 1;
    }

    .map-banner-main {
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }

    .map-banner-pc {
        display: none;
    }

    .map-banner-sp {
        display: inline;
    }

    .map-banner-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .map-banner-icon .map-icon-path {
        fill: #fff;
    }

    /* トップニュースセクション */
    .top-news-section {
        max-width: 1200px;
        margin: 4% auto 2%;
        padding: 0 15px;
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .top-news-content {
        padding: 20px;
    }

    .top-news-title {
        font-size: 18px;
    }

    .top-news-description {
        font-size: 14px;
    }

    /* お知らせセクション */
    .news-section {
        background-image: url('images/home_ringnote.png');
        padding: 12% 10%;
        background-size: 100% 100%;
        min-height: 0;
        box-sizing: border-box;
    }

    .news-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .news-date {
        font-size: 16px;
    }

    .news-text {
        font-size: 14px;
    }

    .news-more-link {
        margin-right: 30px;
    }

    /* SP版：お知らせを3つまで表示 */
    .news-item:nth-child(n+4) {
        display: none;
    }

    /* 診療時間セクション */
    .hours-table {
        padding: 15px;
    }

    .hours-schedule th {
        font-size: 14px;
        padding: 10px 4px;
    }

    .hours-schedule td {
        font-size: 12px;
        padding: 10px 4px;
    }

    .hours-schedule td:first-child {
        font-size: 14px;
    }

    /* Googleカレンダー */
    .google-calendar {
        padding: 15px;
    }

    .google-calendar iframe {
        height: 400px;
    }

    /* セクション共通 */
    .section {
        padding: 40px 15px;
    }

    .hero {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
        padding: 15px 25px;
    }

    .section-title-en {
        font-size: 14px;
    }

    /* ご利用案内セクション */
    .guide-item {
        padding: 20px;
    }

    .guide-item-title {
        font-size: 18px;
    }

    .guide-item-text {
        font-size: 14px;
    }

    /* 診療内容セクション */
    .services-section::before {
        background-position: center 30%;
    }

    .services-section::after {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.8) 3%,
            transparent 10%,
            transparent 97%,
            rgba(255, 255, 255, 0.4) 99%,
            rgba(255, 255, 255, 0.6) 100%
        );
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .service-card {
        padding: 20px 8px;
        max-width: 100%;
        aspect-ratio: 1;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .service-card::before {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-width: 1.5px;
        border-radius: 8px;
    }

    .service-icon {
        width: 15vw;
        height: 15vw;
        max-width: 60px;
        max-height: 60px;
        min-width: 40px;
        min-height: 40px;
        margin-bottom: 8px;
    }

    .service-title {
        font-size: 3.5vw;
        font-size: clamp(12px, 3.5vw, 16px);
        margin-bottom: 0;
    }

    .service-description {
        display: none;
    }

    .clinic-slider-wrapper {
        height: 340px;
    }

    .slide-1,
    .slide-3 {
        width: 250px;
        height: 281px;
    }

    .slide-2,
    .slide-4 {
        width: 250px;
        height: 250px;
        margin-top: 63px;
    }

    /* 当院についてセクション */
    .about-section {
        padding-left: 0;
        padding-right: 0;
    }

    .about-section .section-container {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
        overflow: visible;
        max-width: 100%;
    }

    .about-content {
        min-height: auto;
        padding-bottom: 30px;
        overflow: visible;
        position: relative;
    }

    .crayon-line {
        top: 36%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: auto;
        overflow: visible;
    }

    .crayon-line svg {
        overflow: visible;
    }

    .crayon-path {
        stroke-width: 2.5;
    }

    .message-section {
        position: relative;
        z-index: 2;
    }

    .policy-section {
        overflow: visible;
        position: relative;
        z-index: 2;
        margin-top: 30px;
    }

    .message-cloud,
    .policy-cloud {
        padding: 80px 40px;
        min-height: auto;
        width: calc(100% + 30px);
        max-width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 55px;
        padding-right: 55px;
    }

    .policy-cloud {
        margin-top: -20px;
        margin-bottom: 0;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .message-cloud {
        background-size: contain;
    }

    .policy-cloud::before {
        background-size: contain;
        top: -50px;
        bottom: -30px;
    }

    .message-label,
    .policy-label {
        font-size: 28px;
        left: 5px;
    }

    .policy-label {
        right: 5px;
        left: auto;
        flex-direction: row;
        gap: 0.2em;
    }

    .policy-label-line {
        display: inline;
    }

    .policy-label-medical {
        margin-right: 0;
        margin-top: 1em;
    }

    .policy-label-policy {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }

    .content-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .message-text p,
    .policy-text p {
        font-size: 14px;
    }

    .signature-line {
        min-width: auto;
    }

    .signature-clinic,
    .signature-director {
        font-size: 16px;
    }

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

    .signature-profile {
        font-size: 12px;
    }

    /* アクセスセクション */
    .access-section .section-header {
        margin-bottom: 20px;
    }

    .access-footprint-top {
        width: 120px;
        left: 0;
        top: -110px;
    }

    .access-footprint-bottom {
        display: none;
    }

    .access-info {
        text-align: center;
        align-items: center;
        gap: 24px;
    }

    .clinic-name {
        font-size: 24px;
        text-align: center;
        margin-bottom: 0;
    }

    .info-item {
        justify-content: center;
        text-align: center;
        line-height: 1.5;
    }

    .address-text {
        font-size: 16px;
        text-align: center;
        line-height: 1.5;
    }

    .phone-item {
        justify-content: center;
    }

    .phone-item span {
        font-size: 18px;
    }

    .access-hours-table {
        padding: 15px;
        border-radius: 20px;
        color: #333;
        width: 100%;
        box-sizing: border-box;
    }

    .access-hours-table .access-hours-pc {
        display: none;
    }

    .access-hours-table .access-hours-sp {
        display: table;
    }

    .access-hours-table .hours-schedule {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 15px;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .access-hours-table .hours-schedule th,
    .access-hours-table .hours-schedule td {
        padding: 10px 4px;
        text-align: center;
        font-size: 12px;
        border: 2px solid rgba(24, 138, 193, 0.3);
        border-right: none;
        border-bottom: none;
    }

    .access-hours-table .hours-schedule th:last-child,
    .access-hours-table .hours-schedule td:last-child {
        border-right: 2px solid rgba(24, 138, 193, 0.3);
    }

    .access-hours-table .hours-schedule tr:last-child td {
        border-bottom: 2px solid rgba(24, 138, 193, 0.3);
    }

    .access-hours-table .hours-schedule th {
        font-weight: bold;
        color: #fff;
        background: #188AC1;
        border-color: rgba(255, 255, 255, 0.3);
        font-size: 14px;
    }

    .access-hours-table .hours-schedule th:first-child {
        border-top-left-radius: 8px;
        letter-spacing: 0.1em;
    }

    .access-hours-table .hours-schedule th:last-child {
        border-top-right-radius: 8px;
    }

    .access-hours-table .hours-schedule td:first-child {
        text-align: center;
        font-weight: 500;
        color: #188AC1;
        background: #fff;
        border-color: rgba(24, 138, 193, 0.3);
        font-size: 14px;
        white-space: nowrap;
        padding: 10px 4px;
    }

    .access-hours-table .hours-schedule tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

    .access-hours-table .hours-schedule td:not(:first-child) {
        color: #188AC1;
        background: #fff;
        font-weight: normal;
        border-color: rgba(24, 138, 193, 0.3);
    }

    .access-hours-table .hours-schedule tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

    .access-hours-table .hours-note {
        font-size: 14px;
        text-align: center;
        color: #333;
        margin-top: 10px;
        font-weight: 500;
    }

    .parking-info {
        padding: 15px;
        border-radius: 20px;
        justify-content: center;
    }

    .parking-map {
        width: 100%;
    }

    .google-map-wrapper {
        height: 300px;
        padding: 15px;
        position: relative;
        z-index: 2;
        box-sizing: border-box;
        margin-top: 4px;
    }

    .google-map-wrapper iframe {
        width: 100%;
        height: 100%;
    }

    /* フッター */
    .footer-content {
        padding: 15px;
    }

    .footer-logo-icon {
        width: 28px;
        height: 28px;
    }

    .footer-logo-text {
        font-size: 16px;
    }

    .copyright-text {
        font-size: 14px;
    }

    .catchphrase {
        font-size: 18px;
    }

    /* 波の位置調整 */
    .wave-container {
        bottom: -22%;
    }

    .wave-svg {
        max-height: 300px;
        min-height: 250px;
    }

    /* SP版：装飾図形を両サイドに散らばせる */
    .hero .shape-1 {
        top: 10%;
        right: 2%;
        width: 70px;
        height: 70px;
    }

    .hero .shape-2 {
        bottom: 20%;
        left: 2%;
        width: 55px;
        height: 55px;
    }

    .hero .shape-3 {
        top: 50%;
        right: 2%;
        width: 45px;
        height: 45px;
    }

    .guide-section .shape-circle {
        top: 15%;
        right: 2%;
        width: 55px;
        height: 55px;
    }

    .guide-section .shape-square {
        bottom: 20%;
        left: 2%;
        width: 45px;
        height: 45px;
    }

    .guide-section .shape-triangle {
        top: 60%;
        right: 2%;
        border-left-width: 28px;
        border-right-width: 28px;
        border-bottom-width: 50px;
    }

    /* トップに戻るボタン（SP版） */
    .scroll-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        background-color: #188AC1;
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(24, 138, 193, 0.3);
    }

    .scroll-to-top.show {
        display: flex;
    }

    .scroll-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(24, 138, 193, 0.4);
    }

    .scroll-to-top::before {
        content: '↑';
        color: #fff;
        font-size: 20px !important;
        font-weight: bold;
        line-height: 1;
    }

    /* フッターと重なっている時のスタイル */
    .scroll-to-top.footer-overlap {
        background-color: #fff;
        border: 2px solid #188AC1;
    }

    .scroll-to-top.footer-overlap::before {
        color: #188AC1;
    }
}

/* トップに戻るボタン（PC版） */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #188AC1;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 138, 193, 0.3);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(24, 138, 193, 0.4);
}

.scroll-to-top::before {
    content: '↑';
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

/* フッターと重なっている時のスタイル */
.scroll-to-top.footer-overlap {
    background-color: #fff;
    border: 2px solid #188AC1;
}

.scroll-to-top.footer-overlap::before {
    color: #188AC1;
}

/* 装飾図形をコンテンツより下に配置 */
.decorative-shapes {
    z-index: 0;
}

.guide-content,
.services-grid,
.about-content,
.access-content {
    position: relative;
    z-index: 1;
}

/* ABOUTセクションの装飾図形を非表示 */
.about-section .decorative-shapes,
.about-section .shape-curve,
.about-section .shape-footprint {
    display: none !important;
}

/* お呼び出し番号の周りの点は非表示のまま */
.call-number-dots {
    display: none !important;
}

