/* ===================== Variables ===================== */
:root {
  --pink-primary: #F5A0B5;
  --pink-light: #FDE8EE;
  --pink-dark: #E8829A;
  --orange-accent: #F5A623;
  --orange-light: #FFF3E0;
  --mint-accent: #7ECEC1;
  --mint-light: #E8F8F5;
  --white: #FFFFFF;
  --cream: #FFFBF7;
  --text-main: #4A3F3F;
  --text-light: #7A6E6E;
  --text-white: #FFFFFF;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Zen Maru Gothic', 'M PLUS Rounded 1c', 'Hiragino Maru Gothic Pro', sans-serif;
  --header-h-pc: 80px;
  --header-h-sp: 120px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 1rem;
}

body {
    font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', 'Hiragino Maru Gothic Pro', sans-serif;
    color: #4A3F3F;
    background: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===================== Section Title ===================== */
.sec-ttl {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-align: center;
    /*border-bottom: solid 2px #E97590;
    width: fit-content;
    margin-inline: auto;*/
    margin-bottom: 2rem;
    position: relative;
}

/*.sec-ttl::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #E97590;
    border-radius: 2px;
    margin: 0.5rem auto 0;
}*/

/* ===================== Animations ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/*.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.24s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.36s; }*/

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim { opacity: 0; animation: heroFadeIn 0.8s ease forwards; }
.hero-anim-d1 { animation-delay: 0.1s; }
.hero-anim-d3 { animation-delay: 0.3s; }
.hero-anim-d4 { animation-delay: 0.5s; }
.hero-anim-d5 { animation-delay: 0.7s; }

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mascot-float { animation: mascotFloat 3s ease-in-out infinite; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ===================== Header - 共通 ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.header-logo {
  margin: 0;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.header-logo a {
  display: block;
}

.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left;
}

/* ===================== Header - PC ===================== */
.header-pc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h-pc);
}

/* PC Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 22px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  position: relative;
}

.header-nav-link:hover {
  color: var(--pink-dark);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 28px;
  height: 3px;
  background: var(--pink-primary);
  border-radius: 2px;
  transition: transform 0.3s;
}

.header-nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav Icons */
.nav-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*.nav-icon svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}*/


.nav-icon svg,
.nav-icon img {
    width: 42px;
    height: 42px;
}

.nav-icon-home svg { stroke: var(--orange-accent); }
.nav-icon-doctor svg { stroke: var(--pink-primary); }
.nav-icon-medical svg { stroke: var(--mint-accent); }
.nav-icon-schedule svg { stroke: #8B9DC3; }
.nav-icon-access svg { stroke: #E07070; }

/* SP専用要素をPCで非表示 */
.header-sp-logo-area,
.header-sp-nav,
.mobile-menu {
  display: none;
}

/* ===================== Header - SP ===================== */
@media (max-width: 640px) {
  .header-pc-inner {
    display: none;
  }

  .header-sp-logo-area,
  .header-sp-nav {
    display: block;
  }

  .header-sp-logo-area {
    text-align: center;
    padding: 16px 16px 10px;
  }

  .header-sp-logo-area .header-logo {
    display: inline-block;
  }

  .header-sp-logo-area .header-logo img {
    height: 60px;
    object-position: center;
    max-width: 240px;
  }

  /* SP Nav */
  .header-sp-nav {
    display: flex;
    justify-content: stretch;
    border-top: 1px solid rgba(245, 160, 181, 0.2);
  }

  .sp-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 4px;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
    transition: color 0.3s, background 0.3s;
    text-align: center;
    line-height: 1.3;
    border-right: 1px solid rgba(245, 160, 181, 0.1);
  }

  .sp-nav-link:last-child {
    border-right: none;
  }

  .sp-nav-link:hover,
  .sp-nav-link:active {
    color: var(--pink-dark);
    background: rgba(253, 232, 238, 0.4);
  }

  .sp-nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-nav-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .sp-nav-icon-home svg { stroke: var(--orange-accent); }
  .sp-nav-icon-doctor svg { stroke: var(--pink-primary); }
  .sp-nav-icon-medical svg { stroke: var(--mint-accent); }
  .sp-nav-icon-schedule svg { stroke: #8B9DC3; }
  .sp-nav-icon-menu svg { stroke: var(--text-light); }

  /* Scrolled compact */
  .header.scrolled .header-sp-logo-area {
    padding: 6px 16px 4px;
  }

  .header.scrolled .header-sp-logo-area .header-logo img {
    height: 32px;
  }

  .header.scrolled .sp-nav-link {
    padding: 6px 4px;
    font-size: 0.55rem;
  }

  .header.scrolled .sp-nav-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Mobile menu */
  .mobile-menu {
    display: block;
    background: var(--white);
    border-top: 1px solid var(--pink-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .mobile-menu.open {
    max-height: 300px;
    padding: 16px 20px 20px;
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-link {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid #F5F0ED;
    transition: color 0.3s;
  }

  .mobile-menu-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-link:hover {
    color: var(--pink-dark);
  }
    
    
    
    
    .header-sp-logo-area {
  transition: padding 0.3s ease;
}

.header-sp-logo-area .header-logo img {
  transition: height 0.3s ease;
}

.sp-nav-link {
  transition: padding 0.3s ease, font-size 0.3s ease;
}

.sp-nav-icon svg,
.sp-nav-icon img {
  transition: width 0.3s ease, height 0.3s ease;
}
    
    
}





/* ===============================================================
　FV
=============================================================== */
.hero {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--header-h-pc));
    padding-top: var(--header-h-pc);
    padding-bottom: 2rem;
    background: url("img/hero.jpg") center / cover no-repeat;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    max-width: 1020px;
    padding: 1rem 0;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--pink-primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 14px rgba(245, 160, 181, 0.35);
  margin-bottom: 1.2rem;
  animation: badgePulse 2s ease-in-out infinite;
}

.hero-ttl {
    max-width: 420px;
    margin: 0 auto;
}
.hero-ttl img {
    width: 100%;
}

.hero-photo-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0 10px;
}
.hero-photo {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    background: url("img/hero-img.jpg") center / cover no-repeat;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-mascot {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2.5rem auto 0;
    z-index: 3;
    position: relative;
}
.hero-info {
    max-width: 820px;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 15rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    margin: -3.5rem auto 0;
}
.hero-open-date {
}
.hero-open-date .label {
    font-size: 1em;
    color: var(--text-light);
    font-weight: 500;
}
.hero-open-date .date {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange-accent);
}
.hero-open-date .day {
    font-size: 1rem;
    color: var(--text-light);
}












/* ===============================================================
　内覧会
=============================================================== */

section.news-sec {
    --badge: clamp(12rem, 26vw, 16.625rem);
    --gap: clamp(1.2rem, 3vw, 2.5rem);
}

section.news-sec {
    background: #FFF9ED;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    margin-top: clamp(2rem, 6vw, 5rem);
}

section.news-sec .container {
    position: relative;
}


/* 丸タイトル */

section.news-sec .title {
    position: absolute;
    top: clamp(-5rem, -7vw, -7rem);
    z-index: 2;
    width: var(--badge);
    aspect-ratio: 1 / 1;
    top: clamp(-6.5rem, -8vw, -7rem);
    left: calc(var(--badge) * -0.2);
    border-radius: 50%;
    background: #EA758F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

section.news-sec .title span {
    display: block;
    margin-bottom: clamp(.5rem, 2vw, 1rem);
}

section.news-sec .title span img {
    width: clamp(2rem, 5vw, 2.9375rem);
    height: auto;
    display: block;
}

section.news-sec .title h2 {
    color: #fff;
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.41644rem);
    font-weight: 700;
    line-height: 120%;
}


/* リスト */

section.news-sec .flex_box ul {
    margin-top: clamp(1.2rem, 3vw, 2.59rem);
}

section.news-sec .flex_box ul li {
    display: flex;
    gap: clamp(.35rem, 1.5vw, .59rem);
    padding-bottom: clamp(.6rem, 2vw, 1rem);
    font-size: clamp(1rem, 2.6vw, 1.125rem);
    font-weight: 700;
    line-height: 150%;
}


/* 白い帯（右まで伸ばす） */

section.news-sec .text_bk {
    position: relative;
    z-index: 0;
    margin-left: clamp(1rem, 9vw, 8rem);
    display: flex;
}

section.news-sec .text_bk::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -9999px;
    background: #fff;
    border-radius: clamp(1rem, 3vw, 1.875rem) 0 0 clamp(1rem, 3vw, 1.875rem);
    z-index: -1;
}

section.news-sec .text_box {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 12vw, 10rem);
}


/* 画像側 */

section.news-sec .img_box {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: clamp(1rem, 3vw, 1.5rem) 0;
    position: relative;
    /* 元の 27rem を可変に */
    width: calc(100% - clamp(18rem, 34vw, 27rem));
}

section.news-sec .img_box img:first-child {
    position: absolute;
    top: clamp(-3.2rem, -6vw, -5.2rem);
}


/* SP */

@media (max-width: 768px) {
    section.news-sec .title {
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto;
        margin-top: -5rem;
        z-index: 1;
    }
    section.news-sec .text_bk {
        display: block;
        padding: 2rem;
        background: #fff;
        margin: 1rem;
        border-radius: 1.5rem;
        margin-top: -2.5rem;
    }
    section.news-sec .text_bk::before {
        background: none;
        right: 0;
    }
    section.news-sec .text_box {
        padding: 1rem 0 2rem 0;
    }
    section.news-sec .img_box {
        width: 100%;
        margin-top: 2rem;
    }
    section.news-sec .img_box img:first-child {
        display: block;
        transform: scale(-1, 1);
        width: 50%;
        top: -2.7rem;
    }
    section.news-sec .flex_box ul {
        border: 3px solid #ea758f;
        padding: 1.2rem;
        border-radius: 1.5rem;
    }
    section.news-sec .flex_box ul li:last-child {
        padding-bottom: 0;
    }
}







/* ===============================================================
　診療案内
=============================================================== */
.medical-sec {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.medical-sec::before,
.medical-sec::after {
    content: '';
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 200px;
    height: 480px;
    pointer-events: none;
    z-index: -1;
}

.medical-sec::before {
    left: 1rem;
    background: url("img/bg-left.svg") left center / contain no-repeat;
}

.medical-sec::after {
    right: 1rem;
    background: url("img/bg-right.svg") right center / contain no-repeat;
}



.medical-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.medical-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.medical-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pediatrics {border: 3px solid #F5A0B5;}
.allergy {border: 3px solid #F5A623;}

.medical-card-img {
    margin: 0 auto .5rem;
}
.medical-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1rem;
    margin-bottom: .3rem;
}
.medical-card p {
    font-size: .875rem;
    line-height: 1.8;
}
.medical-card-sub {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 1rem;
}
.checkup {border: 3px solid #AFC714;}
.vaccine {border: 3px solid #68A8D8;}

.medical-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
}
.medical-card-icon img {
    width: 100%;
}
.medical-card-txt p {
    font-size: .875rem;
}
.medical-card-sub h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1rem;
    margin-bottom: .3rem;
}



/* ===============================================================
　診療時間
=============================================================== */
.schedule-sec {
    padding: 0 0 8rem;
    position: relative;
    z-index: 1;
}

.schedule-wrapper {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 1rem;
}
.schedule-table thead th {
    padding: .5rem 1rem;
    font-weight: 700;
    /*color: var(--text-light);*/
    font-size: .875rem;
    background: #FDE8EE;
}

.schedule-table thead th:first-child {
    /*text-align: left;*/
    border-radius: 30px 0 0 30px;
}
.schedule-table thead th:last-child {
    border-radius: 0px 30px 30px 0;
}


/*.day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-light);
  font-size: .875rem;
  font-weight: 700;
  /*color: var(--pink-dark);
}

.day-label.holiday {
    background: #f0eae5;
    color: #bbb;
}*/




.schedule-table tbody td {
    padding: .5rem 1rem;
    border-bottom: 1px solid #F5F0ED;
}

.schedule-table tbody td:first-child {
    /*text-align: left;*/
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.schedule-table span.open {
    color: #F5A0B5;
    font-weight: 700;
    font-size: .875rem;
}
.schedule-table span.shot {
    color: #68A8D8;
    font-weight: 700;
    font-size: .875rem;
}
.schedule-table span.adj {
    color: #F8A830;
    font-weight: 700;
    font-size: .875rem;
}
.schedule-table .closed {
    color: #E8829A;
    font-size: .85rem;
    font-weight: 700;
}
.schedule-notes {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}
.schedule-notes li {
  list-style: none;
  padding-left: 1.2em;
  position: relative;
}
.schedule-notes li span.open {
    color: #F5A0B5;
    font-weight: 700;
    font-size: .875rem;
}
.schedule-notes li span.shot {
    color: #68A8D8;
    font-weight: 700;
    font-size: .875rem;
}
.schedule-notes li span.adj {
    color: #F8A830;
    font-weight: 700;
    font-size: .875rem;
}


.row-vaccine td {
  background: var(--mint-light);
}

.row-vaccine td:first-child {
  color: var(--mint-accent);
}

/* ===============================================================
　医師紹介
=============================================================== */
.doctor-sec {
    position: relative;
    background: #e8f4f9;
    padding: 6rem 0 4rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.doctor-sec::before,
.doctor-sec::after {
    content: ''; 
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("img/bg-doctor.svg") bottom repeat-x;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 0;
}

.doctor-sec::before {
    top: -80px;
}
.doctor-sec::after {
    bottom: -80px;
    transform: rotate(180deg);
}






.doctor-inner {
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.doctor-inner::before,
.doctor-inner::after {
    content: '';
    position: absolute;
    top: 13%;
    transform: translateY(-50%);
    width: 300px;
    height: 200px;
    pointer-events: none;
    z-index: -1;
}

.doctor-inner::before {
    left: 1rem;
    background: url("img/bg-dr-left.svg") left center / contain no-repeat;
}

.doctor-inner::after {
    right: 1rem;
    background: url("img/bg-dr-right.svg") right center / contain no-repeat;
}





.doctor-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 0 auto 2rem;
}
.doctor-img img {
    width: 100%;
}
.doctor-img img {
    border-radius: .5rem;
}
.doctor-info {

}
.doctor-role {
    font-size: .875rem;
    font-weight: 500;
    line-height: .8rem;
}
.doctor-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.doctor-message {
    font-size: .875rem;
    line-height: 1.9;
}


.doctor-detail-grid {
    background: #fff;
    border: 2px solid #F5A623;
    border-radius: .6rem;
    padding: 1rem 1.5rem;
}

.doctor-detail-ttl {
    font-size: 1rem;
    font-weight: 700;
    color: #F5A623;
    text-align: center;
    margin: 0 auto .25rem;
}

.doctor-detail-list {
    list-style: none;
    font-size: .75rem;
    line-height: 2;
    margin: 0 auto 1.5rem;
}

.doctor-detail-list li {
    display: flex;
    gap: 0.5em;
}

.doctor-detail-list li span {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 5em;
}

.doctor-detail-list-simple {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-main);
    line-height: 2.2;
}

.doctor-detail-list-simple li {
    padding-left: 1.2em;
    position: relative;
}

.doctor-detail-list-simple li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #F5A623;
    font-size: 0.4rem;
    top: 0.7em;
}

.director-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 2rem;
    align-items: flex-start;
    margin: 0 auto 2rem;
}
.director-img img {
    width: 100%;
}
.director-info {
    flex: 1;
}

.director-role {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.director-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.director-message {
    font-size: .875rem;
    line-height: 1.8;
}

.director-detail-grid {
    background: #fff;
    border: 2px solid #F5A0B5;
    border-radius: .6rem;
    padding: 1rem 1.5rem;
}

.director-detail-ttl {
    font-size: 1rem;
    font-weight: 700;
    color: #F5A0B5;
    text-align: center;
    margin: 0 auto .25rem;
}

.director-detail-list {
    list-style: none;
    font-size: .75rem;
    line-height: 2;
    margin: 0 auto 1.5rem;
}

.director-detail-list li {
    display: flex;
    gap: 0.5em;
}

.director-detail-list li span {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 5em;
}

.director-detail-list-simple {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-main);
    line-height: 2.2;
}

.director-detail-list-simple li {
    padding-left: 1.2em;
    position: relative;
}

.director-detail-list-simple li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #F5A0B5;
    font-size: 0.4rem;
    top: 0.7em;
}







/* ===============================================================
　アクセス
=============================================================== */
.access-sec {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}
.access-inner {
    padding: 0 5rem;
}
.access-card {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 3rem;
    margin: 0 auto;
}
.access-logo {
    margin: 0 auto 2rem;
}
.access-logo img {
    width: 75%;
}
.access-info p.address {
    font-size: .875rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.access-info p.address::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("img/icon-map.svg") center / contain no-repeat;
    flex-shrink: 0;
    margin-top: 4px;
}
.access-info .tel a {
    font-size: 3rem;
    font-weight: 700;
    color: #E8829A;
    display: flex;
    align-items: baseline;
    gap: .5rem;
}
.access-info .tel a::before {
    content: '';
    width: 30px;
    height: 30px;
    background: url("img/icon-tel.svg") center / contain no-repeat;
    flex-shrink: 0;
}
.access-info p.station {
    font-size: .875rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.access-info p.station::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("img/icon-access.svg") center / contain no-repeat;
    flex-shrink: 0;
    margin-top: 4px;
}
.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

/* ===============================================================
　back-to-top
=============================================================== */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s;
}

.back-to-top:hover img {
    transform: scale(1.1);
}

.back-to-top span {
    font-size: .6rem;
    font-weight: 700;
    color: #4A3F3F;
    letter-spacing: 0.1em;
}



/* ===================== Footer ===================== */
.footer {
    padding: 3rem 0 0;
    position: relative;
    z-index: -1;
}

.footer-copy {
    text-align: center;
    color: #fff;
    font-size: .675rem;
    background: #E8829A;
    padding: .3rem 0;
}

/* ===================== Responsive ===================== */
@media (max-width: 640px) {
    html {
        font-size: .875rem;
    }
    
    .sec-ttl {font-size: 1.5rem;}
    section[id] {
    scroll-margin-top: 120px;
  }
    
    
    
    .header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
    .hero-inner {
        padding: 0;
    }
    
    .hero {
        margin-top: calc(-1 * var(--header-h-sp));
        padding-top: var(--header-h-sp);
        padding-bottom: 0;
    }
    .hero-photo-wrapper {
        padding: 0;
    }
    .hero-photo {
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }
    .hero-info {
        border-radius: 0;
        margin: 0 auto;
        box-shadow: none;
    }
    .hero-ttl {
        margin: 0 auto 1rem;
    }
    
    
    .medical-sec {
        padding: 6rem 1.5rem 0;
        margin-top: -3.5rem;
    }
    .medical-cards {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }
    .medical-sec::before,
    .medical-sec::after {
        top: 7%;
        width: 100%;
        height: 130px;
    }
    .medical-card p {
        font-size: .875rem;
    }
    
    
    

  /*.hero-mascot {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    top: -14px;
    left: 16px;
  }

  .hero-open-date {
    padding: 10px 18px;
    margin-top: -1.5rem;
    flex-direction: column;
    gap: 4px;
  }

  .hero-open-date .date {
    font-size: 1.1rem;
  }*/

    /*　医師紹介　*/
    .doctor-sec {
        z-index: 0;
    }
    .doctor-sec::before,
    .doctor-sec::after {
        height: 50px;
        z-index: -1;
    }
    .doctor-sec::before {
        top: -50px;
    }
    .doctor-sec::after {
        bottom: -50px;
    }
    .doctor-sec {
        padding: 0 1.5rem;
    }
    
    .doctor-inner::before,
    .doctor-inner::after {
        top: 2%;
        width: 70px;
    }
    .doctor-inner::before {
        left: 0;
    }
    .doctor-inner::after {
        right: 0;
    }
    
    .doctor-card,
    .director-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
    
    .doctor-img img,
    .director-img img {
        width: 75%;
        margin: 0 auto;
    }
    
    
    .doctor-role,
    .director-role {
        font-size: .875rem;
        text-align: center;
    }

    .doctor-name,
    .director-name {
        font-size: 1.5rem;
        text-align: center;
    }
    .doctor-detail-list,
    .doctor-detail-list-simple,
    .director-detail-list-simple {
        font-size: .875rem;
    }
    
    /*　診療時間　*/
    .schedule-sec {
        padding: 3rem 1rem;
    }
    .schedule-wrapper {
        padding: 0;
        overflow-x: hidden;
        box-shadow: none;
        border-radius: 0;
    }
    .schedule-table {
        font-size: .75rem;
    }
    .schedule-table thead th {
        padding: .3rem 1rem;
        font-size: .65rem;
    }
    
    .schedule-table tbody td {
        padding: .3rem .5rem;
    }
    
    .schedule-table span.open,
    .schedule-table span.adj,
    .schedule-table span.shot,
    .schedule-table .closed {
        font-size: .625rem;
    }
    .schedule-notes {
        font-size: .875rem;
    }

    
    
    
    
    
    
    
    
    
    /*　アクセス　*/
    .access-sec {
        padding: 3rem 1.5rem;
    }
    .access-inner {
        padding: 0;
    }
    .access-card {
        padding: 0;
        grid-template-columns: 1fr;
    }
    .access-logo img {
        width: 80%;
        margin: 0 auto;
    }
    .access-info p.address,
    .access-info .tel a,
    .access-info p.station {
        justify-content: center;
    }
    .access-info .tel a {
        font-size: 2rem;
    }
    .access-info .tel a::before {
        width: 15px;
        height: 20px;
    }


        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
}
