 /* * {
    outline: 2px solid red;
  }  */
/* ↑スーパーヒーロー！！！！

/* ====== Design ====== */
:root {
    --color-brand-primary: #980B25;
    --color-text-primary: #554632;
    --color-text-inverse: #FFFFFF;
    --color-accent-primary: #D5804D;
    --color-accent-secondary:#615249;
    --color-accent-tertiary:#CEBBAF;
    --color-bg-primary: #FFFCF7;
    --color-bg-secondary: #F7EFE2;
}

:root {
    --font-base: 
    "Yu Gothic",
    "YuGothic",
    "Hiragino Sans",
    "Noto Sans JP",
    "Meiryo",
    sans-serif;

    --font-heading:
    "Yu Mincho",
    "游明朝体",
    "YuMincho",
    "MS PMincho",
    serif;

    --font-number:
    "Overpass",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

/* ====== Base ====== */
html {
    font-size: 62.5%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    font-family: var(--font-base);
    color: var(--color-text-primary);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.05em;
    background-color: var(--color-bg-primary);
    position: relative;
    opacity: 0;
    transition: opacity 1.6s ease;
}
@media (max-width: 768px) {

  body {
    font-weight: 400;
    line-height: 1.9;
  }

}

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

.u-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .u-sp-only {
    display: inline;
  }
}

/* ====== Typography ====== */
h1, h2, h3 {
    font-family:var(--font-heading);
    font-weight: 800;
}

/* ====== background ====== */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background-image: url("../../assets/images/other/bg-paper.jpg");
  background-repeat: repeat;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}


/* ==============================
   Common Layout
   ============================== */
.topsection__inner {
    padding: 120px 16px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width:768px) {
    .topsection__inner {
        padding: 60px 16px;
    }
}

.section__inner {
    padding: 100px 16px 200px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width:768px) {
    .section__inner {
        padding-bottom: 100px;
        padding-top: 0;
    }

}
/* ---header---- */
header {
    margin: 0 auto;
    padding: 8px 20px;
}
@media (max-width: 768px) {
    header {
        padding: 0px 0px 0px 3vw;
    }
}

.header__inner {
    display: flex;
    align-items: center;
}
@media (max-width: 1024px) {
    .header__inner {
        position: relative;
  }
}

/* ロゴ */

.header__logo {
    margin: 0;
    line-height: 1;
}

.header__logo-link img {
    display: block;
    height: 53px;
    width: auto;
}
@media (max-width:768px) {
    .header__logo-link img {
        height: 50px;
    }
}
@media (max-width:375px) {
    .header__logo-link img {
        height: 42px;
    }
}

/* ナビゲーション */

.header__nav-wrap {
    margin-left: auto;
    margin-right: 1.5vw;
}
@media (max-width: 1024px) {
    .header__nav-wrap {
        display: none;
    }
}

.header__nav {
    display: flex;
    gap: clamp(12px, 2vw, 36px);
    font-family: var(--font-heading);
    font-weight: 600;
    list-style: none;
    margin-right: 30px;
    padding: 0;
}
@media (max-width: 1200px) {
  .header__nav {
    gap: 16px;
    margin-right: 0;
  }
  .header__nav a {
    font-size: 1.4rem; 
  }
}

.header__nav-link {
    text-decoration: none;
    position: relative;
}

/* hover下線 */
.header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--color-brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.header__nav-link:hover::after {
    transform: scaleX(1);
}

/* =========================
   電話
========================= */
.header__tel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width:1024px) {
    .header__tel {
        display: flex;
        margin-left: auto;
    }
}

.header__tel-titl {
    display: inline-flex;
    padding: 3px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background: var(--color-brand-primary);
    color: var(--color-text-inverse);
    font-size: 1.0rem;
    font-weight: 700;
}
@media (max-width:1024px) {
    .header__tel-titl {
        display: none;
    }
}

.header__tel-link {
    font-family: var(--font-number);
    color: var(--color-brand-primary);
    font-weight: 600;
    font-size: 2.8rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header__tel-link::before {
    content: "";
    width: 24px;
    height: 25px;
    background: url(../../assets/images/other/icon-tell-red.svg);
}

.header__tel-link-sp {
    display: none;
}
@media (max-width: 1024px) {
    .header__tel-link {
        display: none;
    }
    .header__tel-link-sp {
        display: block;
        width: 62px;
        height: 62px;
        background: var(--color-accent-primary);
        color: var(--color-bg-primary);
        font-size: 1.4rem;
        padding-top: 6px;
        text-align: center;
        font-weight: 800;
    }

  .header__tel-link-sp::before {
        content: "";
        background: url(../../assets/images/other/icon-tell-white.svg) no-repeat center / contain;
        width: 61px;
        height: 31px;
        display: block;
    }
}


/* =========================
   ハンバーガー（PC非表示）
========================= */
.header__menu-logo, 
.header__hours-title {
    display: none;
}
.header__hamburger {
    display: none;
}
@media (max-width: 1024px) {
    .header{
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--color-bg-primary);
    }

    .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        inset: 0;
        background-image: url(../../assets/images/other/bg-paper.jpg);
        background-repeat: repeat;
        opacity: 0.08;
        z-index: 10;
        pointer-events: none;
    }
        

    .header__hamburger {
        display: inline-flex;
        flex-direction: column;
        width: 62px;
        height: 62px;
        gap: 6px;
        background: var(--color-brand-primary);
        justify-content: center;
        align-items: center;
        z-index:200;
  }

  .header__hamburger-line {
        width: 26px;
        height: 4px;
        border-radius: 4px;
        background: var(--color-text-inverse);
  }

  /* アニメ用：線を動かせるように */
  .header__hamburger-line {
    transition: transform .3s ease, opacity .3s ease;
  }

  .header__hamburger.is-open{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110; /* nav-wrap(90)より上 */
  }

  /* 1本目：下に移動して回転 */
  .header__hamburger.is-open .header__hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  /* 2本目：消す */
  .header__hamburger.is-open .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  /* 3本目：上に移動して回転 */
  .header__hamburger.is-open .header__hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }


/* ハンバーガーメニュー */
    .header__menu-logo  {
        display: block;
        text-align: center;
        margin-bottom: 30px;
        }

        .header__menu-logo img{
        width: 100px;
        margin: 0 auto;
    }

  .header__nav-wrap {
    display: block;
    position: fixed;
    top: 0;
    right: -110%;
    width: min(80%, 360px);
    height: auto;
    border-radius: 0 0 0 30px;
    background: var(--color-bg-primary);
    padding: 16px 10px 24px;
    transition: right .3s ease;
    z-index: 90;
    box-shadow: -8px 0 16px rgba(0,0,0,.10);
  }

  .header__nav-wrap.is-open{
    right: -10px;
  }

  .header__nav{
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .header__hours-title {
    display: block;
    margin-top: 40px;

  }
}


/* footer */
footer {
    background-color: var(--color-accent-secondary);
    color: var(--color-text-inverse);
}

/* fv */
.fv {
    margin-top: 30px;
}
@media (max-width:768px) {
    .fv {
        padding: 0 16px;
    }
}

.fv__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(32px, 5vw, 80px);
}
@media (max-width:768px) {
    .fv__inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

 /* 右：大写真 */
.fv__slider {
    overflow: hidden;
}


.fv__mainphoto {
    width: 100%;        /* 横いっぱい */
    height: auto;       /* 縦は自然 */
    display: block;     /* 余計な隙間消す */
    border-radius: 30px 0 0 30px;
}
@media (max-width:768px) {
    .fv__mainphoto {
        border-radius: 20px;
    }
}

/* コピー＋小写真 */
.fv__copy {
    margin-top: 6.94vw;
}

.fv__title {
    margin-left: 6.94vw;
    width: clamp(200px, 23.3vw, 336px);
    height: auto;
}
@media (max-width:768px) {
    .fv__title {
        width: 62.6vw;
        margin-left: 0;
    }
}

.fv__copy-sub {
    margin-left: 6.94vw;
    margin-top: 3.33vw;
    font-size: clamp(1.6rem, 1.8vw, 2.3rem);
    font-weight: 800;
}
@media (max-width:768px) {
    .fv__copy-sub {
        margin-left: 0;
        margin-top: clamp(16px, 2.8vw, 30px);
        font-size: clamp(1.6rem, 4.83vw, 2rem);
        text-align: left;
    }
}


.fv__copy-sub span {
    color: var(--color-accent-primary);
}

.fv__subphoto {
    margin-top: 3.89vw;
    width: 100%;        /* 横いっぱい */
    height: auto;       /* 縦は自然 */
}
@media (max-width:768px) {
    .fv__subphoto {
        display: none;
    }
}

.fv__subphoto img {
    width: 100%;
    border-radius: 0 25px 25px 0;
}


.fv__mainphoto--sp{
  display:none;
}

@media (max-width:768px){

    .fv__mainphoto--pc{
        display:none;
    }

    .fv__mainphoto--sp{
        display:block;
    }

    .fv__slider{
        position:relative;
        aspect-ratio: 4 / 3;   /* 好みで 3/2 でもOK */
        width: 100%;
        margin: 0 auto;
    }   

    .fv__mainphoto{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .fv__mainphoto--sp{
        position:absolute;
        inset:0;
        opacity:0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition:opacity 2.0s ease;
    }

    .fv__mainphoto--sp.is-active{
        opacity:1;
    }

   
}



/* lead */
.lead__innner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
@media (max-width:900px) {
    .lead__innner {
        flex-direction: column-reverse  ;
        gap: 32px;
    }
}

.lead__image-box {
    max-width: 346px;
    height: auto;
    border-radius: 30px;
}

.lead__image-box img {
    border-radius: 30px;
}

.lead__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (max-width:900px) {
    .lead__text {
        gap: 16px;
        text-align: center;
    }
}

.lead__text h2 {
    color: var(--color-accent-primary);
    font-size: 2.6rem;
    letter-spacing: 0.028em;
}


.lead__text p {
    line-height: 1.8;
    letter-spacing: 0.038;
}
@media (max-width:768px) {
    .lead__text h2 {
        font-size: 2.0rem;
    }

    .lead__text p {
        font-size: 1.5rem;
        line-height: 2;
    }
    
}

/* recommend */
.topsection__title {
    font-size: 3.2rem;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 80px;
}

@media (max-width:768px) {
    .topsection__title {
        font-size: 2.4rem;
        gap: 6px;
        margin-bottom: 30px;
    }
}

.topsection__title::before {
    content: "";
    display: block;
    width: 38px;
    height: 36px;
    background-image: url(../../assets/images/other/leaf-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
@media (max-width:768px) {
    .topsection__title::before {
        width: 24px;
        height: 23px;
        margin-top: 5px;
    
    }
}

/* recommend */
.recommend-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}
@media (max-width: 900px) {
  .recommend-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* policy */
.policy {
    background-color: var(--color-bg-secondary);
    padding-top: 40px;
}

.policy-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
@media (max-width:900px) {
    .policy-list {
        gap: 80px;
        margin: 0 auto;
        max-width: 600px;
    }
}

.policy-list__item {
    display: flex;
    gap: 1.8vw;
    align-items: center;
    justify-content: center;
}

.policy-list__item:nth-child(2) {
    flex-direction: row-reverse;
}

@media (max-width:900px) {
    .policy-list__item {
        flex-direction: column;
    }

    .policy-list__item:nth-child(2) {
        flex-direction: column; /* ←これ追加 */
    }

}



.policy-list__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width:900px) {
    .policy-list__heading {
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }
}
.policy-list__title {
    color: var(--color-accent-primary);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
@media (max-width:768px) {
    .policy-list__title {
        font-size: 1.9rem;
        /* justify-content: flex-end; */
    }
}

.policy-list__number {
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color:var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
}
@media (max-width:900px) {
    .policy-list__number {
        transform: translateY(10px);
    }
}


.policy-list__media {
    flex: 0 0 52%;
}

.policy-list__content {
    flex: 1;
}

.policy-list__description {
    line-height: 2;
}


.policy-list__image {
    border-radius: 20px;
}

.policy-list__btn {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    padding: 18px 20px 18px 26px;
    color: var(--color-text-inverse);
    font-weight: 800;
    background-color: var(--color-accent-primary);
    border-radius: 10px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.25);
    align-self: flex-end;
}

.policy-list__item:nth-child(n+2) .policy-list__btn {
    padding-left: 55px;
}
@media (max-width:900px) {
    .policy-list__btn {
        width: 200px;
        padding: 14px 15px 14px 19px;
    }

    .policy-list__item:nth-child(n+2) .policy-list__btn {
    padding-left: 30px;
}
}

.policy-list__btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top:  2px solid var(--color-text-inverse);
    border-right:  2px solid var(--color-text-inverse);
    transform: rotate(45deg);
}


/* access */
.access__photos {
    display: flex;
    align-items: center;
    gap: 26px;
}
@media (max-width:768px) {
    .access__photos {
        gap: 10px;
    }
}

.access__photo img {
    border-radius: 30px;
}
@media (max-width:768px) {
    .access__photo img {
        border-radius: 15px;
    }
}

.access__content {
    display: flex;
    margin: 40px auto;
    gap: 40px;
}
@media (max-width:768px) {
    .access__content {
        flex-direction: column;
        margin: 16px auto;
        gap: 16px;
    }
}

.access__info {
    flex: 0 1 41%;
}

.access__map {
    flex: 0 1 59%;
}
.access__logo {
    width: 210px;
    height: auto;
}

.access__address {
    margin-top: 24px;
}

.access-card {
    margin-top: 40px;
    /* padding: 16px;
    width: 400px;
    background-color: var(--color-bg-secondary);
    border-radius: 20px; */
}

.access-card__title {
    font-family:var(--font-base); 
    color: var(--color-text-primary);
    font-weight: 800;
    position: relative;
    margin-left: 22px;
    margin-bottom: 10px;
}

.access-card__title::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../assets/images/other/icon-train.svg);
    top: 3px;
    left: -23px;
}

.access-card--car .access-card__title::before {
    background-image: url(../../assets/images/other/icon-car.svg);
    top: 3px;
    left: -23px
}

.access-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
    
.access-card__badge {
    padding: 6px;
    background-color: var(--color-accent-primary);
    color: var(--color-bg-primary);
    font-size: 1.4rem;
    border-radius: 6px;
    margin-left: 16px;

}

.access__map-iframe{
  width: 100%;
  height: 100%;
  min-height: 260px; /* 好みで。参考画像っぽい高さ */
  border: 0;
  border-radius: 12px; /* デザインに合わせて */
  display: block;
}

/* contact */
.contact {
    padding: 100px 0;
    background-image: url(../../assets/images/photo/contact-bg-pc.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width:768px) {
    .contact {
        padding: 25vw 0;
        background-image: url(../../assets/images/photo/contact-bg-sp.webp);
        background-position: center top;
        min-height: 300px;
    }

}

.contact__inner {
    margin: 0 auto;
    padding: 34px 0;
    width: 515px;
    height: 165px;
    background-color: var(--color-text-inverse);
    border-radius: 5px;
    text-align: center;
    position: relative;
}

/* 外側の白線 */
.contact__inner::after {
    content: "";
    position: absolute;
    inset: -6px;              /* 線と本体の距離 */
    border: 3px solid #fff;   /* 白い線 */
    border-radius: 7px;       /* 本体より少し大きく */
    pointer-events: none;
}
@media (max-width:768px) {
    .contact__inner {
        width: 275px;
        height: 230px;
        padding: 40px 0;
    }

}


.contact__title {
    font-family: var(--font-base);
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
}
@media (max-width:768px) {
    .contact__title {
        margin-bottom: 8px;
    }
}

.contact__badge {
    font-size: 2.0rem;
    color: var(--color-accent-primary);
    display: inline-block;
}

.contact__badge::before {
    position: absolute;
    content: "・・・・・";
    display: block;
    font-size: 2rem;
    color: var(--color-accent-primary);
    top: -18px;
    right: 248px;
}
@media (max-width:768px) {
    .contact__badge::before {
        right: 127px;
    }
}

.contact__tel {
    margin-left: 10px;
    font-family: var(--font-number);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.96px; 
    position: relative;
}

.contact__tel::before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    top: 6px;
    left: -26px;
    background-image: url(../../assets/images/other/icon-tell-brown.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width:768px) {
    .contact__tel {
        font-size: 2.8rem;
    }
    .contact__tel::before {
        top: 3px;
    }
}
.contact__note {
    margin: 16px;
}
/* footer */
.footersection__inner {
    display: flex;
    flex-direction: column;
    gap: 120px;
    padding: 120px 16px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width:768px) {
    .footersection__inner {
        gap: 60px;
        padding-top: 70px;
    }
}


.footer__nav {
    display: flex;
    justify-content: center;
    gap: 100px;
    font-family: var(--font-heading);
}
@media (max-width:768px) {
    .footer__nav {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 50px 0px;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 1.5rem;
    }
}

.footer__subnav {
    margin-top: 12px;
    margin-left: 12px;
    display: grid;
}
@media (max-width:768px) {
    .footer__subnav {
        gap: 12px;
    }
}

.footer__sublink {
    position: relative;
    padding-left: 8px;
}

.footer__sublink::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 10px;
    background: var(--color-accent-primary);
}

.footer__contact {
    display: flex;
    justify-content: space-between;
}
@media (max-width:768px) {
    .footer__contact {
        flex-direction: column;
    }
}


/* 診療時間カード全体 */
.hours-card {
  --time-col: 5.0em;
  display: grid;
  grid-template-columns: 44px 1fr; /* 縦ラベル / 本体 */
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width:768px) {
    .hours-card {
        width: 100%;
        max-width: 520px; 
        margin: 0 auto;
    }

}

/* 左の縦ラベル */
.hours-card__label {
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .28em;
  writing-mode: vertical-rl;
  text-orientation: mixed;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

/* 右側の中身（余白） */
.hours-card__content {
  padding: 20px 28px 16px 20px;
}

/* 曜日行 / 丸行：共通（列定義を統一して揃える） */
.hours-card__week,
.hours-card__marks {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: var(--time-col) repeat(7, 1fr);
  column-gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

/* 曜日行（見本の点線は曜日行の下） */
.hours-card__week {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;

  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-accent-secondary);
  margin-bottom: 10px;
  padding-left: 12px;
}

/* 丸行 */
.hours-card__marks {
  padding-top: 0;
}

/* 左の「空白セル」「午後2時〜9時」セル（共通） */
.hours-card__time,.hours-card__time-non {
  font-size: 1.0rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: right;
  transform: none;
}


/* 曜日セル */
.hours-card__day {
  justify-self: center;
  text-align: center;
  font-weight: 600;
}

/* 日曜（休診） */
.hours-card__day--off {
  font-weight: 700;
}

/* 営業日の丸 */
.hours-card__mark {
  position: relative;
  height: 16px;
  justify-self: center;
}

.hours-card__mark::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-accent-secondary);
  margin: 0 auto;
}

/* 休診（日曜）：横棒表示、丸は出さない */
.hours-card__mark--off::before {
  display: none;
}

.hours-card__mark--off {
  height: 16px;
  line-height: 16px;
  font-weight: 700;
  transform: translateY(-1px);
}

/* 注釈 */
.hours-card__subnote {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* 注釈が連続する場合の間隔 */
.hours-card__subnote + .hours-card__subnote {
  margin-top: 4px;
}

/* =========================
  SP微調整（必要なら）
========================= */
@media (max-width: 768px) {
  .hours-card {
    --time-col: 4em;
  }

  .hours-card__content {
    padding: 16px 16px 14px 14px;
  }

  .hours-card__week,
  .hours-card__marks {
    column-gap: 8px;
  }

  .hours-card__week {
    font-size: 1.3rem;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .hours-card__time {
    font-size: 1.0rem;
  }
}

.footer__info {
    display: flex;
    gap: 40px;
}

.footer__logo {
    width: 147px;
    height: auto;
}
@media (max-width:768px) {
    .footer__logo {
        margin: 0 auto;
    }
}

.footer__address-text {
    margin-top: 10px;
}

.footer__tel {
    margin-top: 6px;
    font-weight: 800;
}

.copy {
    text-align: center;
    font-size: 1rem;
    padding-bottom: 40px;
}

@media (max-width:768px) {
    .footer__info {
        flex-direction: column;
        margin: 40px auto;
        justify-content: center;
    }
    .footer__address {
        text-align: center;
    }

}

.hours-card_for-fv {
    display: none;
}
@media (max-width:768px) {
    .hours-card_for-fv {
        display: inline-grid;
        border-radius: 0;
    }
}

/* ==================
about.html
===================== */
/* page-intro */
.page-intro {
    width: 94.7%;   
    max-width: 1600px; 
    margin: 0 auto; 
    padding-bottom: 100px;
}
@media (max-width:768px) {
    .page-intro {
        padding-top: 20px;
    }
}
.page-intro__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.page-intro__title {
    color: var(--color-accent-primary);
    text-align: center;
    font-size: 3.6rem;
    font-weight: 600;
    letter-spacing: 2.352px;
    padding: 40px 0 20px;
}
@media (max-width:768px) {
    .page-intro__title {
        font-size: 2.4rem;
    }
}

.page-intro__text {
    font-size: 2rem;
    line-height: 180%;
    width: 730px;
    margin: 0 auto;
}
@media (max-width:768px) {
    .page-intro__text {
        width: auto;
        font-size: 1.6rem;
        line-height: 160%;
    } 
}

/* about-point */
.about__bg {
    background-color: var(--color-bg-secondary);
    border-radius: 80px 80px 0 0;
    padding-top: 60px;
}
@media (max-width:768px) {
    .about__bg {
        border-radius: 60px 60px 0 0;
        padding-top: auto;
    }
}
.about-point {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.about-point--reverse {
    display: flex;
    gap: 40px;
}
@media (max-width:768px) {
    .about-point--reverse {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

.about-point__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}
@media (max-width:768px) {
    .about-point__content {
        gap: 16px;
    }
}

.about-point__title {
    color: var(--color-accent-primary);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.5px;
}
@media (max-width:768px) {
    .about-point__title {
        font-size: 2rem;
    }
}

.about-point__text {
    font-weight: 500;
    line-height: 180%; 
    letter-spacing: 0.784px;
}
@media (max-width:768px) {
    .about-point__tex {
        line-height: 160%;
    }
}


.about-point__image {
    flex: 1;
    max-width: 540px;
    margin: 0 auto;
}

.about-point__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.about-point--reverse:nth-of-type(even) {
    flex-direction: row-reverse;
}
@media (max-width:768px) {
    .about-point--reverse:nth-of-type(even) {
        flex-direction: column-reverse;
    }
}


/* ページ下部ボタン */
.subpage-nav {
        padding: 80px 16px 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.subpage-nav__list {
    display: flex;
    gap: 80px;
    justify-content: center;
}
@media (max-width:768px) {
    .subpage-nav__list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

.subpage-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 210px;
    height: 58px;
    padding: 0 17px;
    background-color: var(--color-accent-primary);
    border-radius: 10px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.25);
}
@media (max-width:768px) {
    .subpage-nav__link {
        height: 50px;
        font-size: 1.4rem;
        width: 180px;
    }
}
.subpage-nav__label {
    color: var(--color-text-inverse);
    font-weight: 800;
    text-align: center;
    flex: 1;
}

.subpage-nav__icon {
    position: relative;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.subpage-nav__icon::before,
.subpage-nav__icon::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--color-text-inverse); 
  border-radius: 999px;
  transform-origin: right center;
}

.subpage-nav__icon::before{
  transform: translateY(-50%) rotate(45deg);
}

.subpage-nav__icon::after{
  transform: translateY(-50%) rotate(-45deg);
}

/* ==================
treatment.html
===================== */
.treatment {
    display: flex;
    flex-direction: column;
    gap: 120px;
}
@media (max-width:768px) {
    .treatment {
        gap: 100px;
    }
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}


/* ベース線 */
.treatment__rule {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--color-accent-tertiary);
  border-radius: 999px;
  display: block;
  margin-bottom: 60px;
}

/* オレンジ部分 */
.treatment__rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 200px; /* 好きな長さ */
  background: var(--color-accent-primary);
  border-radius: 999px;
}
@media (max-width:768px) {
    .treatment__rule {
        margin-bottom: 30px;
    }
    .treatment__rule::before {
        width: 60px;
    }
}



.treatment__title {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 3.2px;
    padding-left: 16px;
}
@media (max-width:768px) {
    .treatment__title {
        font-size: 2.0rem;
        padding-left: 8px;
    }
}

/* 写真エリア */
.treatment-card {
  display: grid;
  grid-template-columns: 1fr 2fr; /* ← ここが1:2 */
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .treatment-card {
    grid-template-columns: 1fr; /* ← 1列にする */
    margin-top: 16px;
    gap: 16px;
  }

}


.treatment-card__media {
  display: grid;
  gap: 40px;
}
@media (max-width: 768px) {
    .treatment-card__media {
       grid-template-columns: 1fr 1fr; 
       gap: 10px;
    }
}

.treatment-card__body {
  min-width: 0; /* はみ出し防止（重要） */
}

/* 画像整える */
.treatment-card__photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
@media (max-width:768px) {
    .treatment-card__photo {
        border-radius: 10px;
    }
}

.treatment-card__photo img {                                                                    
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.treatment-card__lead {
    display: flex;
    gap: 8px;
}

.treatment-card__icon {
    content: "";
    display: block;
    width: 38px;
    height: 36px;
    background-image: url(../../assets/images/other/leaf-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
@media (max-width:768px) {
    .treatment-card__icon {
        width: 20px;
        height: 22px;
        margin-top: 5px;
    
    }
}

.treatment-card__catch {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}
@media (max-width:768px) {
    .treatment-card__catch {
        font-size: 2rem;
    }
}

.treatment-card__text {
    margin-top: 24px;
    letter-spacing: 0.78px;
}
@media (max-width:768px) {
    .treatment-card__text {
        margin-top: 10px;
    }
}

.treatment-effect {
    margin-top: 60px;
    padding: 20px 30px;
    width: auto;
    background-color: var(--color-bg-secondary);
    border-radius: 20px;
    position: relative;
}

.treatment-effect::before {
    content: "";
    position: absolute;
    inset: 9px; /* 内側にずらす */
    border-radius: 20px;
    border: 2px solid var(--color-text-inverse);
    pointer-events: none;
}
@media (max-width:768px) {
    .treatment-effect {
        margin-top: 30px;
        border-radius: 16px;
        padding: 20px;
    }

    .treatment-effect::before {
        border-radius: 16px;
    }
}

.treatment-effect__title {
    margin-top: 8px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.98px;
}
@media (max-width:768px) {
    .treatment-effect__title {
        font-size: 1.8rem;
    }
}

.treatment-effect__list {
    margin-top: 14px;
}

.treatment-effect__list {
  list-style: none;
  padding-left: 1em;
}
@media (max-width:768px) {
    .treatment-effect__list {
        padding-left: 0;
    }
}

.treatment-effect__item {
  position: relative;
  padding: 3px 0;
}

.treatment-effect__item::before {
  content: "・";
  margin-right: 0.3em;
}


/* ==================
clinic.html
===================== */
/* 医院概要 */
.page-clinic .section__inner {
    padding: 0 16px 50px;
}
@media (max-width:768px) {
    .page-clinic .section__inner {
        padding-bottom: 50px;
        padding-top: 0;
    }

}

.clinic-overview__inner {
  max-width: 980px;
  margin: 50px auto;
  padding: 0 20px;
}

/* table */
.clinic-overview__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-text-inverse);
}

/* 行 */
.clinic-overview__row th,
.clinic-overview__row td {
  padding: 26px 28px;
  line-height: 1.8;
  border-bottom: 2px solid var(--color-accent-tertiary); /* うすオレンジの罫線 */
}

/* 左カラム（見出し） */
.clinic-overview__head {
  width: 220px;  
  background: var(--color-accent-secondary); 
  color: var(--color-text-inverse);
  text-align: center;
  border-right: 1px solid var(--color-accent-secondary);
}

/* 右カラム（内容） */
.clinic-overview__data {
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
}

/* 電話リンク（見た目は通常テキスト寄り） */
.clinic-overview__tel {
  color: inherit;
  text-decoration: none;
}

.clinic-overview__tel:hover,
.clinic-overview__tel:focus-visible {
  text-decoration: underline;
}


/*  SP（縦並び） */
@media (max-width: 768px) {
  .clinic-overview {
    padding: 60px 0 80px;
  }

  /* tableをカード風に縦積み */
  .clinic-overview__table,
  .clinic-overview__table tbody,
  .clinic-overview__row,
  .clinic-overview__head,
  .clinic-overview__data {
    display: block;
    width: 100%;
  }

  .clinic-overview__row {
    border-bottom: 1px solid var(--color-accent-secondary);
  }

  .clinic-overview__row th {
    border-bottom: none;
    padding: 16px 18px;
    font-weight: 500;
  }

  .clinic-overview__row td {
    border-bottom: none;
    padding: 18px 18px;
    margin-bottom: 16px;
  }

  .clinic-overview__head {
    text-align: left;
    border-right: none;
  }

  .clinic-overview__data {
    padding-top: 14px;
    padding-bottom: 22px;
  }
}

/* =========================
   料金（price）
========================= */

.price {
  padding: 90px 0 110px;
}

.price__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.price__lead {
  margin-top: 26px;
  line-height: 2;
}

.price__cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
}
@media (max-width: 768px) {
  .price__cards {
    grid-template-columns: 1fr;
  }
}

/* 料金 */
.price-card {
  position: relative;
  background:var(--color-bg-secondary);
  border: 2px solid #f7f2ea;
  border-radius: 16px;
  padding: 28px 26px 30px;
  text-align: center;
}
@media (max-width:768px) {
    .price-card {
         max-width: 310px;
        margin: 0 auto;
        width: 100%;
    }
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 10px; /* ← ここでどれだけ内側にするか調整 */
  border: 2px solid var(--color-text-inverse);
  border-radius: 12px; /* 親より少し小さく */
  pointer-events: none;
}

.price-card__badge {
  display: inline-block;
  min-width: 86px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--color-text-inverse);
  background: var(--color-accent-secondary); 
}
/* 分 */
.price-card__time {
  margin-top: 16px;
  font-weight: 600;
}

.price-card__num {
    font-size: 3rem;
    letter-spacing: -0.33px;
    font-weight: 500;
}

.price-card__unit {
  font-size: 1.4rem;
  margin-left: 4px;
}

/* 金額 */
.price-card__amount {
  margin-top: 8px;
  font-weight: 700;
}

.price-card__yen {
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.528px;
}
@media (max-width:768px) {
    .price-card__num {
        font-size: 2.4rem;
    }
    .price-card__yen { 
        font-size: 3.8rem;
    }
}

/* 小さい横線 */
.price-card__divider {
  display: block;
  width: 23px;
  height: 4px;
  margin: 8px auto 0;
  background: var(--color-text-inverse)
}

/* 説明 */
.price-card__note {
  margin-top: 36px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.176px;
}
@media (max-width:768px) {
    .price-card__note {
        line-height: 1.7;
    }
}

/* バッジ色の差分 */
.price-card--trial .price-card__badge {
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
}

.price-card--standard .price-card__badge {
  background: var(--color-accent-secondary);
}

.price-card--deep .price-card__badge {
  background: var(--color-accent-primary);
}

.price__footnote {
  margin-top: 28px;
  line-height: 1.9;
}

.access__inner__span {
    margin-top: 60px;
}


/* ==================
voice.html
===================== */
.voice__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 60px;
  max-width: 900px;
}

/* card */
.voice-card {
  background: var(--color-text-inverse);
  border-radius: 30px;
  padding: 47px 40px 0;
  /* box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); */
}
@media (max-width: 768px){
    .voice-card {
        border-radius: 15px;
        padding: 32px 16px 0;
    }
}

.voice-card__head {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width:768px) {
    .voice-card__head {
     display: flex;
     flex-direction: column;
     gap: 16px;
  }
}

.voice-card__avatar {
  width: 100%;
}
@media (max-width:768px) {
    .voice-card__avatar {
        display: contents;
        margin: 0 auto;
    }
}


.voice-card__meta {
  min-width: 0;
}

.voice-card__tag {
  display: inline-block;
  background: var(--color-accent-secondary);
  color: var(--color-text-inverse);
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 6px 14px;
}

.voice-card__title {
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-family: var(--font-base);
  margin-top: 20px;
}
@media (max-width:768px) {
    .voice-card__tag {
        font-size: 1.2rem;
        padding: 6px 8px;
    } 

    .voice-card__title {
        font-size: 2rem;
        margin-top: 16px;
    }
}

.voice-card__title-accent {
  color: var(--color-accent-primary);
}

.voice-card__profile {
  margin-top: 10px;
  font-size: 1.6rem;
}
@media (max-width:768px) {
    .voice-card__profile {
        font-size: 1rem;
    }
}

.voice-card__rule {
  border: none;
  height: 2px;
  background: var(--color-bg-secondary);
  margin: 26px 0 0;
}
@media (max-width:768px) {
    .voice-card__rul {
        margin-top: 16px;
    }
}

/* body */
.voice-card__body {
  padding: 27px 0 35px;
}
@media (max-width:768px) {
    .voice-card__body {
        padding: 20px 0 26px;
}
}

.voice-card__text {
  line-height: 1.8;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
@media (max-width:768px) {
    .voice-card__text {
    line-height: 1.6;
    font-size: 1.5rem;
    margin-bottom: 10px;
    }
}



.voice-card__text:last-child {
  margin-bottom: 0;
}

.voice-card__accent {
  color: var(--color-accent-primary);
  font-weight: 800;
}



.voice__note {
    margin-top: 44px;
    font-size: 1.6rem;
    text-align: center;
}
@media (max-width:768px) {
    .voice__note {
        text-align: left;
    }
}


/* ------------ */

/* 診療時間ドロワー */
.hours-drawer {
  position: fixed;
  right: 0;
  bottom: 40px;
  z-index: 100;
}
@media (max-width: 1024px) {
    .hours-drawer {
        display: none;
    }
}

/* カードをスライド */
.hours-drawer .hours-card {
  width: 340px;
  border-radius: 10px 0 0 10px;
  transition: transform .3s ease;
  transform: translateX(calc(100% - 70px)); /* 70pxだけ見せる */
}

/* 開いた状態 */
.hours-drawer.is-open .hours-card {
  transform: translateX(0);
}

.hours-drawer .hours-card {
    width: 533px;
    height: 200px;
}

.hours-drawer .hours-card__label {
    font-size: 2rem;
    width: 70px;
}

.hours-drawer .hours-card__content {
    padding: 30px 28px 16px 50px;
}

/* 曜日行（見本の点線は曜日行の下） */
 .hours-drawer .hours-card__week {
  font-size: 1.6rem;
  padding-bottom: 10px;
  padding-left: 5px;
  
}

/* 丸行 */
.hours-drawer .hours-card__marks {
  padding-top: 0;
  column-gap: 26px;
}

/* 左の「空白セル」「午後2時〜9時」セル（共通） */
.hours-drawer .hours-card__time,.hours-card__time-non {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: left;
    padding-left: 6px;
}

/* 営業日の丸 */
.hours-card__mark {
  position: relative;
  height: 16px;
  justify-self: center;
}

.hours-drawer .hours-card__mark::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent-secondary);
  margin: 0 auto;
}

/* 休診（日曜）：横棒表示、丸は出さない */
.hours-drawer .hours-card__mark--off::before {
  display: none;
}

.hours-drawer .hours-card__mark--off {
  height: 16px;
  line-height: 16px;
  font-weight: 700;
  transform: translateY(-1px);
}

/* 注釈 */
.hours-drawer .hours-card__subnote {
  font-size: 1.5rem;
}

/* 注釈が連続する場合の間隔 */
.hours-card__subnote + .hours-card__subnote {
  margin-top: 4px;
}

/* =========================
  SP微調整（必要なら）
========================= */
@media (max-width: 768px) {
  .hours-card {
    --time-col: 4em;
  }

  .hours-card__content {
    padding: 16px 16px 14px 14px;
  }

  .hours-card__week,
  .hours-card__marks {
    column-gap: 8px;
  }

  .hours-card__week {
    font-size: 1.3rem;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .hours-card__time {
    font-size: 1.4rem;
    font-weight: 500;
  }
}

.footer__info {
    display: flex;
    gap: 40px;
}

.footer__logo {
    width: 147px;
    height: auto;
}
@media (max-width:768px) {
    .footer__logo {
        margin: 0 auto;
    }
}

.footer__address-text {
    margin-top: 10px;
}

.footer__tel {
    margin-top: 6px;
    font-weight: 800;
}

.copy {
    text-align: center;
    font-size: 1rem;
    padding-bottom: 40px;
}

@media (max-width:768px) {
    .footer__info {
        flex-direction: column;
        margin: 40px auto;
        justify-content: center;
    }
    .footer__address {
        text-align: center;
    }

}

/* ------------ */