@charset "UTF-8";
/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* mixin
_ ************************************** */
/* mq
_ ************************************** */
/* =========================================
  Font Mixins
========================================= */
/* 英字装飾（Montserrat）
  - weight: medium(500) / semibold(600)
  - font-size は呼び出し側で指定
------------------------------------------ */
/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* hero
_ ************************************** */
.p-home-hero {
  background: var(--color-white);
}

/* 中身は 1900px で止める（1900px未満は余白ゼロ） */
.p-home-hero__inner {
  max-width: 1900px;
  margin-inline: auto;
  padding-inline: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  column-gap: clamp(18px, 3vw, 70px);
}
@media (max-width: 768px) {
  .p-home-hero__inner {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

/* =====================================================
  Left : Main visual
===================================================== */
.p-home-hero__main-visual {
  margin: 0;
  position: relative;
  width: min(1020px, 100%);
  height: clamp(480px, 65vh + 8vw, 860px);
}
.p-home-hero__main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-secondary);
  transform: translate(20px, 20px);
  z-index: 0;
}
.p-home-hero__main-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1024px) {
  .p-home-hero__main-visual img {
    object-position: center;
  }
  .p-home-hero__main-visual::after {
    transform: translate(15px, 15px);
  }
}
@media (max-width: 768px) {
  .p-home-hero__main-visual {
    width: 100%;
    height: clamp(340px, 53vh + 6vw, 540px);
  }
  .p-home-hero__main-visual::after {
    transform: translate(0px, 10px);
  }
}
@media (max-width: 414px) {
  .p-home-hero__main-visual {
    height: clamp(300px, 58vh + 4vw, 520px);
  }
}

/* =====================================================
  Right : Content
===================================================== */
.p-home-hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: clamp(480px, 65vh + 8vw, 860px);
  width: min(800px, 100%);
  padding: clamp(170px, 6vh, 110px) clamp(20px, 2.6vw, 44px) clamp(70px, 5.5vh, 100px);
}
@media (max-width: 768px) {
  .p-home-hero__content {
    min-height: auto;
    padding: clamp(40px, 10vw, 100px) clamp(30px, 7vw, 60px) clamp(20px, 6vh, 60px);
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .p-home-hero__content {
    padding-bottom: clamp(0px, 1vh, 30px);
    height: 35vh;
    align-items: center;
  }
}
@media (max-width: 414px) {
  .p-home-hero__content {
    padding: 40px 20px 0;
  }
}

.p-home-hero__titles {
  position: relative;
  z-index: 2;
}

.p-home-hero__title {
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-text);
  font-size: clamp(24px, 3.8vw, 46px);
  /* 1600px以上はデザイン固定 */
}
@media (min-width: 1600px) {
  .p-home-hero__title {
    font-size: 50px;
  }
}
@media (max-width: 1550px) {
  .p-home-hero__title {
    font-size: clamp(24px, 3.4vw, 44px);
    letter-spacing: 0.06em;
  }
}
@media (max-width: 1450px) {
  .p-home-hero__title {
    font-size: clamp(24px, 3.2vw, 42px);
  }
}
@media (max-width: 768px) {
  .p-home-hero__title {
    font-size: clamp(24px, 4.2vw, 32px);
  }
}
@media (max-width: 414px) {
  .p-home-hero__title {
    font-size: 22px;
    line-height: 1.5;
  }
}

.p-home-hero__lead {
  margin: 20px 0 0;
  line-height: 2;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-size: 11px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  /* 英字装飾としての共通“質感” */
  font-feature-settings: "kern";
  letter-spacing: 0.12em;
}
@media (min-width: 414px) {
  .p-home-hero__lead {
    margin-top: 20px;
    font-size: clamp(12px, 1.4vw, 18px);
    line-height: 1.7;
  }
}
@media (min-width: 1600px) {
  .p-home-hero__lead {
    font-size: 18px;
  }
}

/* =====================================================
  Sub visual (pink)
===================================================== */
.p-home-hero__sub-visual {
  margin: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(clamp(10px, 5vw, 90px));
  width: min(400px, 53%);
  aspect-ratio: 400/500;
}
.p-home-hero__sub-visual::after {
  background: var(--color-primary);
  bottom: -20px;
  content: "";
  height: 100%;
  left: 20px;
  position: absolute;
  width: 100%;
  z-index: 0;
}
.p-home-hero__sub-visual img {
  display: block;
  width: min(400px, 100%);
  height: min(500px, 100%);
  object-fit: cover; /* ←比率崩れ防止 */
  object-position: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 1800px) {
  .p-home-hero__sub-visual::after {
    width: calc(100% - 20px);
  }
}
@media (max-width: 1280px) {
  .p-home-hero__sub-visual {
    width: min(400px, 60%);
  }
}
@media (max-width: 1024px) {
  .p-home-hero__sub-visual {
    width: min(400px, 68%);
  }
  .p-home-hero__sub-visual::after {
    bottom: -15px;
    left: 15px;
    width: calc(100% - 15px);
  }
}
@media (max-width: 768px) {
  .p-home-hero__sub-visual {
    transform: none;
    right: 0;
    width: min(282px, 35%);
    aspect-ratio: 282/348;
    bottom: auto;
    top: 70px;
  }
  .p-home-hero__sub-visual::after {
    bottom: -10px;
    left: 10px;
    width: calc(100% - 10px);
  }
  .p-home-hero__sub-visual img {
    width: min(282px, 100%);
    height: min(348px, 100%);
  }
}
@media (max-width: 600px) {
  .p-home-hero__sub-visual {
    top: 12vh;
    width: min(282px, 38%);
  }
}

/* =====================================================
  SCROLL（右端の縦）
===================================================== */
.p-home-hero__scroll {
  position: absolute;
  right: 18px;
  top: 260px;
  display: grid;
  justify-items: center;
  gap: 10px;
  z-index: 1;
}
@media (max-width: 768px) {
  .p-home-hero__scroll {
    right: 12px;
    top: 62vh;
  }
}

.p-home-hero__scroll-dot {
  color: #90a6e6;
  font-size: 16px;
  line-height: 1;
}

.p-home-hero__scroll-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: rgba(42, 47, 58, 0.55);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  /* 英字装飾としての共通“質感” */
  font-feature-settings: "kern";
  letter-spacing: 0.12em;
}

.p-home-hero__scroll-line {
  width: 1px;
  height: 88px;
  background: #90a6e6;
  opacity: 0.9;
  transform-origin: top;
  animation: scrollLine 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  30% {
    transform: scaleY(1);
    opacity: 1;
  }
  70% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}
/* =========================================
  Hero: image blur -> clear
========================================= */
/* モーションを許可している環境だけ */
@media (prefers-reduced-motion: no-preference) {
  /* timing tokens */
  .p-home-hero {
    --hero-dur: 700ms;
    --hero-ease: ease-out;
    --hero-delay-main: 0ms;
    --hero-delay-sub: 160ms;
    --hero-delay-copy: 320ms;
  }
  /* 背景色（青/ピンク）はフェードのみ */
  .p-home-hero__main-visual::after {
    opacity: 0;
    animation: hero-bg-fade var(--hero-dur) var(--hero-ease) forwards;
    animation-delay: var(--hero-delay-main);
  }
  .p-home-hero__sub-visual::after {
    opacity: 0;
    animation: hero-bg-fade var(--hero-dur) var(--hero-ease) forwards;
    animation-delay: var(--hero-delay-sub);
  }
  /* 写真：表示 ぼかし→クリア */
  .p-home-hero__main-visual img,
  .p-home-hero__sub-visual img {
    opacity: 1;
    filter: blur(16px);
    transform: scale(1.02);
    will-change: filter, transform;
    animation: hero-img-reveal var(--hero-dur) var(--hero-ease) forwards;
  }
  .p-home-hero__main-visual img {
    animation-delay: var(--hero-delay-main);
  }
  .p-home-hero__sub-visual img {
    animation-delay: var(--hero-delay-sub);
  }
  /* コピー：最後にフェード＋少し上がる */
  .p-home-hero__titles {
    opacity: 0;
    transform: translateY(8px);
    will-change: opacity, transform;
    animation: hero-copy-reveal 560ms var(--hero-ease) forwards;
    animation-delay: var(--hero-delay-copy);
  }
}
/* 背景：フェードだけ */
@keyframes hero-bg-fade {
  to {
    opacity: 1;
  }
}
/* 画像：ぼかし → クリア */
@keyframes hero-img-reveal {
  to {
    filter: blur(0);
    transform: scale(1);
  }
}
/* コピー：フェード＋少し上がる */
@keyframes hero-copy-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 動きを減らす設定の人には即時表示 */
@media (prefers-reduced-motion: reduce) {
  .p-home-hero__main-visual::after,
  .p-home-hero__sub-visual::after,
  .p-home-hero__main-visual img,
  .p-home-hero__sub-visual img,
  .p-home-hero__titles {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* news
_ ************************************** */
.p-home-news {
  padding-block: 150px 150px;
  color: var(--color-text);
}
@media (max-width: 1024px) {
  .p-home-news {
    padding-block: 120px 100px;
  }
}
@media (max-width: 768px) {
  .p-home-news {
    padding-block: 60px 60px;
  }
}

.p-home-news__layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  column-gap: clamp(24px, 5vw, 80px);
}
@media (max-width: 1024px) {
  .p-home-news__layout {
    align-items: start;
    column-gap: clamp(24px, 5vw, 60px);
  }
}
@media (max-width: 768px) {
  .p-home-news__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.p-home-news__cta {
  margin-top: 32px;
}
.p-home-news__cta--pc {
  display: block;
}
@media (max-width: 768px) {
  .p-home-news__cta--pc {
    display: none;
  }
}
.p-home-news__cta--sp {
  display: none;
}
@media (max-width: 768px) {
  .p-home-news__cta--sp {
    display: flex;
    justify-content: center;
  }
}

.p-home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-home-news__item {
  border-bottom: 1px solid var(--color-gray);
}

.p-home-news__link {
  position: relative;
  display: block;
  padding: 18px 50px 18px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
@media (min-width: 768px) {
  .p-home-news__link {
    padding: 18px 78px 18px 20px;
  }
}
@media (min-width: 1024px) {
  .p-home-news__link {
    display: flex;
    align-items: center;
    padding: 18px 78px 18px 30px;
    column-gap: 30px;
  }
}
.p-home-news__link:hover, .p-home-news__link:focus-visible {
  text-decoration: none;
}
.p-home-news__link:hover .p-home-news__text, .p-home-news__link:focus-visible .p-home-news__text {
  color: var(--color-primary);
}
.p-home-news__link:hover .p-home-news__arrow, .p-home-news__link:focus-visible .p-home-news__arrow {
  transform: translate(10px, -50%);
}
@media (max-width: 768px) {
  .p-home-news__link {
    padding: 18px 40px 18px 0;
  }
}

.p-home-news__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 1024px) {
  .p-home-news__meta {
    gap: 30px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  .p-home-news__meta {
    margin-bottom: 8px;
  }
}

/* 日付：固定幅 */
.p-home-news__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}
@media (min-width: 1024px) {
  .p-home-news__date {
    width: 100px;
  }
}
@media (max-width: 768px) {
  .p-home-news__date {
    font-size: 12px;
  }
}

/* タグ：固定幅 + 中央寄せ */
.p-home-news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 28px;
  padding-inline: 0;
  border-radius: var(--radius-pill);
  background: var(--color-grey-powder);
  color: var(--color-text-light);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .p-home-news__tag {
    font-size: 11px;
    width: 110px;
    height: 25px;
  }
}

.p-home-news__text {
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
@media (min-width: 1024px) {
  .p-home-news__text {
    flex: 1;
    min-width: 0;
  }
}

.p-home-news__arrow {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
  width: 21px;
  height: 9px;
  color: var(--color-primary);
  /* SVGマスク */
  background-color: currentColor;
  -webkit-mask-image: url("../images/cmn_img/cmn_arrow.svg");
  mask-image: url("../images/cmn_img/cmn_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 768px) {
  .p-home-news__arrow {
    width: 19px;
    height: 8px;
    right: 10px;
  }
}

/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* service
_ ************************************** */
/* 1900px 制御 */
.p-home-service__inner {
  max-width: 1900px;
  margin-inline: auto;
  padding-inline: 0;
}

.p-home-service__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 1024px) {
  .p-home-service__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -----------------------------
  Card
----------------------------- */
.p-home-service-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  /* 画像 */
  background-size: cover;
  background-position: center;
}
.p-home-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.p-home-service-card {
  /* アクセント色（矢印など） */
  --service-accent: var(--color-primary);
}
@media (max-width: 768px) {
  .p-home-service-card {
    min-height: 520px;
  }
}

.p-home-service-card--about {
  background-image: url("../images/home/home_bg_service_01.jpg");
  --service-accent: var(--color-primary);
}

.p-home-service-card--medical {
  background-image: url("../images/home/home_bg_service_02.jpg");
  --service-accent: var(--color-secondary);
}

.p-home-service-card--birth {
  background-image: url("../images/home/home_bg_service_03.jpg");
  --service-accent: var(--color-primary);
}

.p-home-service-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  width: min(550px, 100%);
  min-height: 688px;
  padding: 70px 30px 50px;
}
@media (max-width: 1280px) {
  .p-home-service-card__inner {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .p-home-service-card__inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    width: min(510px, 100%);
    padding: 50px 40px 50px;
    min-height: 520px;
  }
}
@media (max-width: 414px) {
  .p-home-service-card__inner {
    padding: 50px 30px 50px;
  }
}

/* head（縦書き） */
.p-home-service-card__head {
  position: static;
  z-index: auto;
  top: auto;
  left: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
@media (max-width: 768px) {
  .p-home-service-card__head {
    top: auto;
    left: auto;
    flex: 0 0 60px;
    gap: 8px;
  }
}

.p-home-service-card__title {
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  font-size: 35px;
  line-height: 1.2;
  color: rgba(42, 47, 58, 0.92);
}
@media (max-width: 1024px) {
  .p-home-service-card__title {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .p-home-service-card__title {
    font-size: 24px;
  }
}

.p-home-service-card__en {
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--service-accent);
  opacity: 0.9;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /* 英字装飾としての共通“質感” */
  font-feature-settings: "kern";
  letter-spacing: 0.12em;
}
@media (max-width: 1024px) {
  .p-home-service-card__en {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .p-home-service-card__en {
    font-size: 12px;
  }
}

/* panel（半透明ボックス） */
.p-home-service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .p-home-service-card__body {
    flex: 1;
    justify-content: flex-end;
    padding-bottom: 0;
    min-width: 0;
  }
}

.p-home-service-card__panel {
  position: static;
  z-index: auto;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(390px, 100%);
  margin-left: auto;
}
@media (max-width: 768px) {
  .p-home-service-card__panel {
    width: min(360px, 100%);
    margin-left: auto;
  }
}

.p-home-service-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-home-service-card__item {
  border-top: 1px solid rgba(42, 47, 58, 0.35);
}
.p-home-service-card__item:last-child {
  border-bottom: 1px solid rgba(42, 47, 58, 0.35);
}

.p-home-service-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 80px;
  padding-inline: 16px;
  padding-block: 0;
  text-decoration: none;
  color: rgba(42, 47, 58, 0.92);
  transition: all 0.2s ease-in-out;
}
.p-home-service-card__link:hover, .p-home-service-card__link:focus-visible {
  text-decoration: none;
}
.p-home-service-card__link:hover .p-home-service-card__label, .p-home-service-card__link:focus-visible .p-home-service-card__label {
  color: var(--service-accent);
}
.p-home-service-card__link:hover .p-home-service-card__arrow, .p-home-service-card__link:focus-visible .p-home-service-card__arrow {
  transform: translateX(10px);
}
@media (max-width: 768px) {
  .p-home-service-card__link {
    height: 50px;
    padding-inline: 14px;
    padding-block: 0;
  }
}

.p-home-service-card__label {
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .p-home-service-card__label {
    font-size: 16px;
  }
}

.p-home-service-card__arrow {
  flex: 0 0 auto;
  width: 25px;
  height: 10px;
  color: var(--service-accent);
  background-color: currentColor;
  -webkit-mask-image: url("../images/cmn_img/cmn_arrow.svg");
  mask-image: url("../images/cmn_img/cmn_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.25s ease;
}
@media (max-width: 768px) {
  .p-home-service-card__arrow {
    width: 20px;
    height: 8px;
  }
}

/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* clinic-info
_ ************************************** */
.p-home-clinic-info {
  padding-block: 150px 0;
}
@media (max-width: 1024px) {
  .p-home-clinic-info {
    padding-block: 100px 0;
  }
}
@media (max-width: 768px) {
  .p-home-clinic-info {
    padding-block: 60px 0;
  }
}

.p-home-clinic-info__main {
  display: grid;
  /* 左：slider（最大520）／右：content（最大600） */
  grid-template-columns: minmax(0, 520px) minmax(0, 600px);
  /* 画面が狭くなるほど gap が縮む（最大80px） */
  column-gap: clamp(24px, 5vw, 80px);
  /* 2カラム時の上下中央寄せ */
  align-items: start;
  /* grid item を縮められるようにする */
}
.p-home-clinic-info__main > * {
  min-width: 0;
}
@media (max-width: 768px) {
  .p-home-clinic-info__main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .p-home-clinic-info__main > * {
    min-width: 0;
  }
}
/* PC と SP で見出し表示位置変更 */
.p-home-clinic-info__heading-pc {
  display: block;
}

.p-home-clinic-info__heading-md {
  display: none;
}

@media (max-width: 1024px) {
  .p-home-clinic-info__heading-pc {
    display: none;
  }
  .p-home-clinic-info__heading-md {
    display: block;
    margin-inline: auto;
    width: min(768px, 100%);
  }
}
@media (max-width: 768px) {
  .p-home-clinic-info__heading-md {
    width: 100%;
  }
}
/* 右カラム（基本情報）をスライダー高さに対して上下中央寄せ */
.p-home-clinic-info__content {
  width: 100%;
  max-width: 768px;
  align-self: center;
}
@media (max-width: 768px) {
  .p-home-clinic-info__content {
    max-width: none;
    align-self: stretch;
  }
}

/* clinic-info slider */
/* swiper CSSカスタムプロパティの書き換え */
.js-clinic-slider {
  --swiper-pagination-color: var(--color-primary);
  --swiper-pagination-bullet-inactive-color: var(--color-gray-light);
  --swiper-pagination-bullet-horizontal-gap: 10px;
}

/* swiper 部分 */
.p-home-clinic-info__slider {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 520/600;
}
.p-home-clinic-info__slider .swiper {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.p-home-clinic-info__slider .swiper-slide picture,
.p-home-clinic-info__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.p-home-clinic-info__slider .swiper-slide img {
  object-fit: cover;
}
@media (max-width: 1024px) {
  .p-home-clinic-info__slider {
    max-width: 768px;
    aspect-ratio: 395/250;
    border-radius: 10px;
  }
}

/* タブレット帯：PC画像のまま、レイアウトだけ上下積み */
@media (min-width: 768px) and (max-width: 1024px) {
  .p-home-clinic-info__main {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .p-home-clinic-info__slider {
    max-width: 768px; /* SPスライダーサイズ */
    margin-inline: auto;
  }
  .p-home-clinic-info__content {
    max-width: 768px;
    align-self: stretch;
    margin-inline: auto;
  }
}
.p-home-clinic-info__address {
  margin-top: 24px;
  font-style: normal;
  line-height: 1.8;
}

.p-home-clinic-info__hours {
  margin-top: 32px;
}
@media (max-width: 768px) {
  .p-home-clinic-info__hours {
    margin-top: 20px;
  }
}

/* 休診日・診療科目 横並び */
.p-home-clinic-info__notes {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .p-home-clinic-info__notes {
    gap: 8px 18px;
    flex-wrap: wrap;
  }
}

.p-home-clinic-info__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.5em;
  color: var(--color-text);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .p-home-clinic-info__note {
    font-size: 13px;
    gap: 10px;
    margin-top: 0;
  }
}

.p-home-clinic-info__note-text {
  display: inline-block;
}

.p-home-clinic-info__small {
  margin-top: 10px;
}

/* 地図 */
.p-home-clinic-info__map {
  margin-top: 80px;
}
@media (max-width: 768px) {
  .p-home-clinic-info__map {
    margin-top: 40px;
  }
}

.p-home-clinic-info__map-frame {
  background-color: var(--color-gray-light);
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.p-home-clinic-info__map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
@media (max-width: 768px) {
  .p-home-clinic-info__map-frame {
    border-radius: 10px;
  }
  .p-home-clinic-info__map-frame iframe {
    height: 210px;
  }
}

/* ボタン（中央寄せ） */
.p-home-clinic-info__map-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .p-home-clinic-info__map-btn-wrap {
    margin-top: 30px;
  }
}

.p-home-clinic-info__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(42, 47, 58, 0.9);
  background: #fff;
  border: 1px solid rgba(42, 47, 58, 0.22);
  transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.p-home-clinic-info__map-btn:hover, .p-home-clinic-info__map-btn:focus-visible {
  background-color: rgba(188, 72, 143, 0.06);
  border-color: rgba(188, 72, 143, 0.35);
}
@media (max-width: 768px) {
  .p-home-clinic-info__map-btn {
    min-width: min(320px, 92%);
  }
}

.p-home-clinic-info__map-btn-label {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.p-home-clinic-info__map-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #bc488f;
}
.p-home-clinic-info__map-btn-icon svg {
  display: block;
  fill: currentColor;
}

/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* banner-links
_ ************************************** */
/* FAQ/RECRUIT スマホのみ背景演出 */
.p-home-banner-links {
  padding-block: 100px 100px;
}
@media (max-width: 768px) {
  .p-home-banner-links {
    padding-block: 60px 60px;
    position: relative;
    isolation: isolate;
  }
  .p-home-banner-links::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* 上は白を残し、途中からグレー */
    background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-white) 175px, var(--color-gray-light) 175px, var(--color-gray-light) 100%);
  }
}

.p-home-banner-links__grid {
  display: grid;
  gap: 30px;
}
@media (min-width: 768px) {
  .p-home-banner-links__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .p-home-banner-links__grid {
    margin-inline: auto;
    width: min(600px, 100%);
  }
}

/* -----------------------------
  card
----------------------------- */
.p-home-banner-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--color-white);
  overflow: hidden;
  min-height: 300px;
  transition: all 0.2s ease-in-out;
  background-image: none;
  background-size: initial;
  background-position: initial;
  /* 背景用レイヤー */
}
.p-home-banner-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.35s ease;
  will-change: transform;
}
.p-home-banner-link:hover, .p-home-banner-link:focus-visible {
  opacity: 0.9;
  text-decoration: none;
}
.p-home-banner-link:hover::before, .p-home-banner-link:focus-visible::before {
  transform: scale(1.06);
}
@media (max-width: 768px) {
  .p-home-banner-link {
    min-height: 230px;
    width: min(600px, 100%);
  }
}

/* FAQ（青系） */
.p-home-banner-link--faq::before {
  background-image: url("../images/home/home_bg_bnr_faq.jpg");
  --banner-tint: var(--color-secondary);
}
@media (max-width: 768px) {
  .p-home-banner-link--faq::before {
    background-image: url("../images/home/home_bg_bnr_faq_sp.jpg");
  }
}

/* RECRUIT（ピンク系） */
.p-home-banner-link--recruit::before {
  background-image: url("../images/home/home_bg_bnr_recruit.jpg");
  --banner-tint: var(--color-primary);
}
@media (max-width: 768px) {
  .p-home-banner-link--recruit::before {
    background-image: url("../images/home/home_bg_bnr_recruit_sp.jpg");
  }
}

.p-home-banner-link__body {
  position: relative;
  z-index: 1;
  padding: 50px 50px;
}
@media (max-width: 1024px) {
  .p-home-banner-link__body {
    padding: 50px 40px;
  }
}
@media (max-width: 768px) {
  .p-home-banner-link__body {
    padding: 40px 25px;
  }
}

.p-home-banner-link__eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  opacity: 0.95;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /* 英字装飾としての共通“質感” */
  font-feature-settings: "kern";
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  .p-home-banner-link__eyebrow {
    font-size: 12px;
  }
}

.p-home-banner-link__title {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
@media (max-width: 768px) {
  .p-home-banner-link__title {
    margin-top: 3px;
    font-size: 22px;
  }
}

.p-home-banner-link__text {
  margin: 30px 0 0;
  line-height: 1.9;
  letter-spacing: 0.06em;
  opacity: 0.96;
}
@media (max-width: 768px) {
  .p-home-banner-link__text {
    margin-top: 20px;
  }
}

/* -----------------------------
  矢印（SVG mask）
----------------------------- */
.p-home-banner-link__arrow {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: inline-block;
  width: 28px;
  height: 14px;
  flex-shrink: 0;
  /* 既存の → を隠す */
  font-size: 0;
  line-height: 0;
}
.p-home-banner-link__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  /* SVGをマスクとして使用（色は currentColor で塗る） */
  background-color: currentColor;
  -webkit-mask-image: url("../images/cmn_img/cmn_arrow.svg");
  mask-image: url("../images/cmn_img/cmn_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.25s ease;
}

.p-home-banner-link--faq .p-home-banner-link__arrow {
  color: var(--color-secondary);
}

.p-home-banner-link--recruit .p-home-banner-link__arrow {
  color: var(--color-primary);
}

/* hover時に右へスライド */
.p-home-banner-link:hover .p-home-banner-link__arrow::before,
.p-home-banner-link:focus-visible .p-home-banner-link__arrow::before {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .p-home-banner-link__arrow {
    right: 20px;
    bottom: 20px;
    width: 24px;
    height: 12px;
  }
}
/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* instagram
_ ************************************** */
.p-home-instagram {
  padding-block: 100px 80px;
}
@media (max-width: 768px) {
  .p-home-instagram {
    padding-block: 60px 40px;
  }
}

/* grid */
.p-home-instagram__grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 768px) {
  .p-home-instagram__grid {
    margin-top: 26px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.p-home-instagram__item {
  min-width: 0;
}

/* PCは5枚で止める：6枚目(is-sp-only)を隠す */
.p-home-instagram__item.is-sp-only {
  display: none;
}
@media (max-width: 768px) {
  .p-home-instagram__item.is-sp-only {
    display: block;
  }
}

.p-home-instagram__link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: var(--color-gray-light);
  transition: all 0.2s ease-in-out;
}
.p-home-instagram__link:hover, .p-home-instagram__link:focus-visible {
  opacity: 0.9;
}

.p-home-instagram__img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* button */
.p-home-instagram__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .p-home-instagram__btn-wrap {
    margin-top: 22px;
  }
}

.p-home-instagram__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(42, 47, 58, 0.9);
  background: #fff;
  border: 1px solid rgba(42, 47, 58, 0.22);
  transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.p-home-instagram__btn:hover, .p-home-instagram__btn:focus-visible {
  background-color: rgba(188, 72, 143, 0.06);
  border-color: rgba(188, 72, 143, 0.35);
}
@media (max-width: 768px) {
  .p-home-instagram__btn {
    min-width: min(320px, 92%);
  }
}

.p-home-instagram__btn-label {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.p-home-instagram__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(188, 72, 143, 0.35);
  color: #bc488f;
}
.p-home-instagram__btn-icon svg {
  display: block;
  fill: currentColor;
}

/* ************************************** _
タイトル：home.css
概要：トップページ用css
作成：2026.02.12
更新：2026.02.12
_ ************************************** */
/* bonyu-lab
_ ************************************** */
.p-home-bonyu-lab {
  padding-block: 0 100px;
}
@media (max-width: 768px) {
  .p-home-bonyu-lab {
    padding-block: 0 60px;
  }
}

.p-home-bonyu-lab__link {
  display: block;
  text-decoration: none;
  margin-inline: auto;
  width: min(400px, 100%);
  transition: all 0.2s ease-in-out;
}
@media (max-width: 768px) {
  .p-home-bonyu-lab__link {
    width: min(400px, 90%);
  }
}
.p-home-bonyu-lab__link:hover, .p-home-bonyu-lab__link:focus-visible {
  opacity: 0.9;
}

.p-home-bonyu-lab__img {
  display: block;
  width: min(400px, 100%);
  height: auto;
  margin-inline: auto;
}/*# sourceMappingURL=home.css.map */