@charset "utf-8";

/* top-section/*.png セクション別再現 */
#container{
  padding-top: 110px;
}

/* ========== サイト最上端〜MV・お知らせまで共通背景 ========== */
.home-top-skin {
  /*--home-top-bg-max-height: 72.5rem;*/
  position: relative;
  /* ヘッダーは兄弟要素のため、背景を負のマージンで上に回し見た目を継続 */
  margin-top: clamp(-7.5rem, -18vh, -5rem);
  /*background-color: #f5f0fa;*/
  background-color: #f5e9e5;
  /* 画像は ::before で高さ上限付きに描画（cover の縦伸びを抑える） */
  z-index: 2;
}

.home-top-skin::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  /*height: min(100%, var(--home-top-bg-max-height));*/
  height: 100%;
  /*max-height: var(--home-top-bg-max-height);*/
  background-image: url("../images/bg_home_catch.png");
  background-repeat: no-repeat;
  /*background-size: cover;*/
  background-size: 1920px auto;
  background-position: center top;
}

.home-top-skin::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
  width: 46.875%;
  aspect-ratio: 1 / 1;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);

}

/* ========== MV 共通（ヒーロー＋お知らせ） ========== */
.home-mv {
  position: relative;
  z-index: 2;
}

.home-mv::before{
  content: "";
  width: 20rem;
  aspect-ratio: 1;
  clip-path: polygon(100% 0, 0 0, 0 100%);
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* ========== 02 MAIN VISUAL ========== */
.home-hero {
  position: relative;
  overflow: hidden;
  /* ヘッダー（sticky・兄弟配置）との距離を確保 */
  padding-top: clamp(148px, 20vw, 228px);
  padding-bottom: 36px;
  min-height: clamp(520px, 62vh, 720px);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem 3rem;
  align-items: center;
}

.home-hero__title {
  font-size: 2.75rem;
  line-height: var(--lh-44-77);
  color: var(--color-brand-navy);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5em;
  font-weight: 450;
}

.home-hero__catch-line {
  display: block;
}

.home-hero__emp {
  font-style: normal;
  -webkit-text-emphasis-style: filled;
  -webkit-text-emphasis-color: #3c4175;
  -webkit-text-emphasis-position: over right;
  text-emphasis-style: filled;
  text-emphasis-color: #3c4175;
  text-emphasis-position: over right;
}

.home-hero__lead {
  font-size: 1.125rem;
  line-height: var(--lh-18-32);
  color: var(--color-brand-navy);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 2;
}

.home-hero__visual-wrap {
  justify-self: end;
  width: min(100%, 580px);
}

/* スタジアム型（横長ピル） */
.home-hero__visual-frame {
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 400px;
}

.home-hero__visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.home-hero__scroll-icon {
  display: block;
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--color-brand-navy);
  border-bottom: 2px solid var(--color-brand-navy);
  transform: rotate(45deg);
  margin-top: -8px;
  opacity: 0.45;
}

/* ========== 共通見出し ========== */
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading__ja {
  font-size: 1.625rem;
  line-height: var(--lh-26-45);
  color: var(--color-text-dim);
  font-weight: 500;
}

.section-heading__en {
  display: block;
  margin-top: 0.375rem;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  line-height: var(--lh-16-28);
  letter-spacing: 0.28em;
  color: var(--color-teal);
}

.section-heading__en--medical {
  color: #a896c8;
  letter-spacing: 0.35em;
}

.section-heading__en--clinic {
  color: var(--color-clinic-green-soft);
  letter-spacing: 0.3em;
}

.section-heading__en--info {
  color: var(--color-text-muted);
  letter-spacing: 0.32em;
}

/* お知らせ：記事リスト列の上・中央（03_NEWS.png） */
.section-heading--news {
  margin-bottom: 1.5rem;
}

/* ========== 03 NEWS（.home-mv 内・背景は .home-top-skin） ========== */
.home-news {
  position: relative;
  padding-top: clamp(3.75rem, 6vw, 5rem);
  padding-bottom: 4rem;
  overflow: visible;
}

.home-news__wrap {
  position: relative;
  z-index: 1;
}

.home-news__grid {
  display: flex;
  gap: 0 2.5rem;
}

.home-news__main {
  min-width: 0;
  width: 32rem;
}

.home-news__list {
  display: flex;
  flex-direction: column;
}

.home-news__item {
  line-height: var(--lh-16-24);
  color: var(--color-text-dim);
  border-bottom: 1px solid #fff;
}

.home-news__item .news_link,
.home-news__item .nolink,
.home-news__item .news_direct{
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  transition: .3s all ease;
}

.home-news__item .news_link:hover,
.home-news__item .news_direct:has(a):hover{
  background: rgba(255,255,255,0.5);
}

.home-news__item .news_direct:has(a){
  cursor: pointer;
}

.home-news__item .news_direct:has(a):hover{
  color: var(--color-brand-navy);
}


.home-news__item time {
  display: inline-block;
  font-size: 0.9rem;
  transition: .3s all ease;
}

.home-news__item .entry_title{
  flex: 1;
  transition: .3s all ease;
}

.home-news__item .news_direct .entry_title{
  font-weight: 500;
}

.home-news__item a.news_link:hover time,
.home-news__item a.news_link:hover .entry_title{
  color: var(--color-brand-navy);
}

.home-news__cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: flex-end;
}

.home-news__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.home-news__cta-text {
  font-size: 1.125rem;
  line-height: var(--lh-18-32);
  color: var(--color-teal);
}

.home-news__cta-btn {
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-news__cta-link:hover .home-news__cta-text {
  text-decoration: underline;
}

.entry_body_direct{
  margin-top: 0.5em;
}

  .entry_body_direct p{
    margin: 0 0 0.5em 0;
  }

  .entry_body_direct p a{
    color: var(--color-brand-navy);
    text-decoration: underline;
  }

  .entry_body_direct p a:hover{
    opacity: 0.8;
  }

.home-news__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.home-news__photos {
  position: relative;
  width: 100%;
  max-width: 280px;
  min-height: clamp(168px, 20vw, 220px);
  align-self: flex-end;
}



/* ピル型院内写真（メイン＋右上に一部見せ） */
.home-news__pill-frame {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.1);
}

.home-news__pill-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-news__pill-frame--main {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin-top: 40px;
  margin-left: auto;
  aspect-ratio: 2 / 1;
  z-index: 1;
}

.home-news__pill-frame--peek {
  position: absolute;
  top: -10rem;
  right: -25rem;
  width: 20rem;
  aspect-ratio: 2 / 1;
  z-index: 2;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.12);
}

.home-news__decor-stars {
  position: absolute;
  left: -40px;
  top: -20px;
}

.home-news__star--1 {
  width: 48px;
  opacity: 0.85;
}

.home-news__mame{
  position: relative;
}

.news__mame_inner{
  position: absolute;
  bottom: -9rem;
  right: calc(50% - 32rem);
}

.news__mame_inner::before{
  content: "";
  display: inline-block;
  width: 3.5rem;
  aspect-ratio: 112 / 104;
  background-image: url(../images/fig_kirakira.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -5rem;
  right: 4rem;
}

.news__mame_inner::after{
  content: "";
  display: inline-block;
  width: 7.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-image: url(../images/fig_circle.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -4rem;
  right: -6rem;
}


.home-news__mame-link{
  transition: .3s all ease;
  display: block;
  width: 15rem;
}

.home-news__mame-link:hover{
  transform: scale(1.05);
  filter: brightness(1.04);
}

.home-news__mame-link img {
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.12));
}

.home-recruit{
  display: none;
  margin-top: 5rem;
}

.home-recruit.job1,
.home-recruit.job2,
.home-recruit.job3{
  display: block;
}

.home-recruit a{
  display: inline-block;
  width: 30rem;
  transition: .3s all ease;
}

.home-recruit a:hover{
  filter: brightness(1.03);
  transform: scale(1.03);
}

/* ========== 04 MEDICAL ========== */
.home-medical {
  position: relative;
  padding: 5rem 0 4.5rem;
  background-color: var(--color-white);
  overflow: hidden;
}

  .home-medical::before{
    content: "";
    display: inline-block;
    position: absolute;
    top: 3rem;
    right: -15rem;
    z-index: 0;
    width: 33.75rem;
    aspect-ratio: 1;
    background-image: url("../images/img_green_right.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }


.home-medical .container {
  position: relative;
  z-index: 1;
}

.home-medical__intro {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: var(--lh-16-32);
  color: var(--color-text);
}

.home-medical__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.medical-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.875rem;
  border-radius: 999px;
  background: #ECE9F5;
  background: linear-gradient(90deg, rgba(236, 233, 245, 1) 0%, rgba(234, 224, 233, 1) 100%);
  box-shadow: 0 4px 16px rgb(130 93 170 / 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.medical-card:hover {
  box-shadow: 0 8px 24px rgb(130 93 170 / 0.12);
  transform: translateY(-2px);
}

.medical-card__icon-wrap {
  flex-shrink: 0;
  width: 6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04);
}

.medical-card__icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.medical-card__text {
  flex: 1;
  min-width: 0;
  position: relative;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.medical-card__label-en {
  font-family: var(--font-en);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  color: #9b7cb8;

}

.medical-card__label-ja {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-dim);
  position: relative;
  line-height: 1;
  display: block;
}

.medical-card__arrow {
  flex-shrink: 0;
  line-height: 1;
}

.medical-card__arrow img {
  width: 1rem;
  height: auto;
}

.home-medical__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.375rem;
  max-width: 920px;
  margin-inline: auto;
}

.home-medical__tags a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-tag-border);
  background-color: var(--color-white);
  border: 1px solid #c5b8dc;
  border-radius: 999px;
  text-decoration: none;
}

.home-medical__tags a:hover {
  background-color: #faf8fc;
}

/* ========== 05 CLINIC ========== */
.home-clinic {
  /*padding-block: 40px 56px;*/
  background-color: var(--color-white);
}

.home-clinic__surface {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--color-section-mint-2);
  box-shadow: 0 8px 40px rgb(50 80 74 / 0.08);
}

.home-clinic__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 2rem 3.75rem;
  background-color: #eef5f3;
  background-image: url("../images/bg_clinic.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home-clinic__body {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.85;
  color: var(--color-text-dim);
}

.home-clinic__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0 2rem;
}

.clinic-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 10px;
  background-color: var(--color-button-clinic);
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: var(--lh-18-32);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.clinic-btn:hover {
  background-color: #3a5f57;
}

.clinic-btn__label{
  flex: 1;
  text-align: center;
  padding-left: 2rem;
}

.clinic-btn__icon {
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========== 06 INFORMATION ========== */
.home-info {
  padding-block: 56px 48px;
  background-color: var(--color-white);
}


.home-info > .container{
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  position: relative;
}

.home-info > .container::before {
  content: "";
  display: inline-block;
  width: 35.25rem;
  aspect-ratio: 1128 / 1080;
  background-image: url(../images/img_green_left.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: -35.25rem;
}

.home-info__img img{
  border-radius: 0.25rem;
}


.home-info__intro {
}

.shinryo_calendar{
  margin-bottom: 0.75rem;
}

.shinryo_calendar table{
  margin-bottom: 0.5rem;
  width: 100%;
  border-collapse: separate;
  font-size: 1.1rem;
}

  .shinryo_calendar table th,
  .shinryo_calendar table td{
    padding: 0.75rem;
    text-align: center;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
  }

  .shinryo_calendar table thead th{
    background: #f2f4fb;
    border-top: 1px solid #bbb;
    font-weight: 500;
  }

  .shinryo_calendar table thead th.c_sat{
    color: #0063a4;
  }

  .shinryo_calendar table thead th.c_sun{
    color: #a42600;
  }

  .shinryo_calendar table thead th:first-child{
    border-radius: 0.75rem 0 0 0;
    border-left: 1px solid #bbb;
  }


  .shinryo_calendar table thead th:last-child{
    border-radius: 0 0.75rem 0 0;
  }

  .shinryo_calendar table tbody tr td:first-child{
    border-left: 1px solid #bbb;
    font-weight: 500;
  }

  .shinryo_calendar table tbody tr:last-child td:first-child{
    border-radius: 0 0 0 0.75rem;
  }

  .shinryo_calendar table tbody tr:last-child td:last-child{
    border-radius: 0 0 0.75rem 0;
  }

.bun_shinryo_yotei{
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

  .bun_shinryo_yotei a{
    display: flex;
    gap: 0.5em;
    padding: 0.65em 1.5em 0.5em;
    border-radius: 100vh;
    color: var(--color-brand-navy);
    border: 1px solid var(--color-brand-navy);
    font-weight: 500;
    line-height: 1;
    transition: .3s all ease;
  }

  .bun_shinryo_yotei a:hover{
    background: var(--color-brand-navy);
    color: #fff;
  }

  .bun_shinryo_yotei a::before{
    font-family: FontAwesome;
    content:"\f073";
    font-weight: normal;
  }
  

.home-info__grid {
  display: block;
  margin-inline: auto;
}

.shinryo_calendar_legend{
  display: flex;
  gap: 1.5rem;
}

.info-table {
  border-top: 1px solid var(--color-line);
}

.info-table__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-line);
  align-items: start;
}

.info-table__label span {
  display: inline-block;
  line-height: 1;
  padding: 0.3rem 0 0.2rem;
  width: 6em;
  text-align: center;
  border-radius: 0.25rem;
  background: #976162;
  background: linear-gradient(90deg, rgba(151, 97, 98, 1) 0%, rgba(98, 68, 111, 1) 100%);
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
}

.info-table__value {
  line-height: var(--lh-16-32);
  color: var(--color-text-dim);
  padding-right: 10em;
}

/* ========== 07 ACCESS ==========
   docs/design/top-section/07_ACCESS.png · design_review §7 · 01_top.md（住所・電話ブロック座標）準拠 */
.home-access {
  position: relative;
  z-index: 0;
  /* 住所・地図エリアは白、下のカーブはラベンダー＋白半円でつなぐ */
  background-color: var(--color-white);
  /* 医院紹介 .container の本文幅（--container-max）の 80% 相当＋左右ガター */
  --home-access-stack-max: min(100%, calc(var(--container-max) * 0.8 + var(--gutter) * 2));
  --home-access-tel-icon: 32px;
  --home-access-tel-gap: 12px;
}

/* 上部（ロゴ・表記＋住所）と地図を同じ幅に収める */
.home-access .container.home-access__top {
  position: relative;
  z-index: 2;
  max-width: var(--home-access-stack-max);
}

.home-access__top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4rem;
  padding: 2.5rem 3rem 5rem 3rem;
}

.home-access__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding-bottom: 0.5rem;
}

.home-access__mark {
  width: 4.5rem;
  height: auto;
  flex-shrink: 0;
}

.home-access__titles {
  flex: 1;
  min-width: 0;
}

.home-access__title-img {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.home-access__address {
  color: var(--color-text);
  font-style: normal;
  max-width: 22.5rem;
  line-height: 1.6;

}

/* 地図：医院紹介ブロック幅の約 80% に合わせ、.container と同じガターで揃える */
.home-access__map {
  position: relative;
  z-index: 1;
  width: 800px;
  aspect-ratio: 2 / 1;
  box-sizing: border-box;
  line-height: 0;
  background-color: var(--color-white);
  margin: 0 auto;
}

.home-access__map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 07_ACCESS：地図（白）との間を空け、ラベンダー＋上辺の白半円で白背景と連続させる */
.home-access {
  position: relative;
  z-index: 1;
  padding: 3rem 0 clamp(3.5rem, 10vw, 5.5rem);
  background: var(--color-access-lavender);
  overflow: hidden;
}

/* 白い楕円：中心を上辺に置き、下弦が SNS（Instagram）付近まで届く大きさ */
.home-access::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: 300vw;
  aspect-ratio: 1 / 1;
  background: var(--color-white);
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

/* 電話見出し・番号は 272px 幅ブロック左揃え、注記は 400px 中央（01_top.md） */
.home-access__contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-access__contact-primary {
  width: min(20rem, 100%);
  text-align: left;
}

/* 電話アイコン＋gap の分だけ右にずらし、番号の数字頭と見出し頭を揃える */
.home-access__tel-heading {
  padding-left: calc(var(--home-access-tel-icon) + var(--home-access-tel-gap));
  font-size: 18.4px;
  line-height: var(--lh-18-32);
  font-weight: 500;
  color: var(--color-brand-navy);
}

.home-access__tel {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-brand-navy);
}

.home-access__tel a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.home-access__tel-icon {
  flex-shrink: 0;
  width: 32px;
  height: auto;
}

.home-access__note {
  margin: 16px 0 0;
  max-width: 25rem;
  line-height: var(--lh-14-25);
  color: var(--color-text);
  text-align: center;
}

.home-access__sns {
  margin-top: 20px;
}

.home-access__sns a {
  display: inline-block;
}

.home-access__sns img {
  vertical-align: middle;
}

.home_bns{
  margin: 4.5rem 0;
}

.home_bns ul{
  display: flex;
  justify-content: center;
  gap: 2rem;
}

  .home_bns ul li{
    width: 18.5rem;
  }

    .home_bns ul li a{
      display: block;
      transition: .3s all ease;
    }

    .home_bns ul li a:hover{
      opacity: 0.8;
      box-shadow: 0 0 10px 1px rgb(0 0 0 / 0.1);
    }

.home-important{
    width: 100%;
    max-width: calc(var(--container-max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

  .home-important a{
    display: inline-block;
    color: var(--color-text-accent);
    transition: .3s all ease;
  }

  .home-important a:hover{
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.1);
  }

  .home-important__wrap{
    width: 24rem;
    position: relative;
    z-index: 0;
  }

.home-news__mame.for_sp,
.home-hero__visual2.for_sp{
  display: none;
}




/*1280px以下*/
@media screen and (min-width:1px) and (max-width:1280px){

}


/*1180px以下*/
@media screen and (min-width:1px) and (max-width:1180px){

    
}

/*1080px以下*/
@media screen and (min-width:1px) and (max-width:1080px){

}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
  #container{
    padding-top: 7rem;
  }

  .home-hero{
    min-height: auto;
    min-height: initial;
    padding-top: 10rem;
  }

  .home-hero__title{
    font-size: 2.65rem;
  }

  .home-news__pill-frame--peek{
    top: -6rem;
    right: -13rem;
  }

  .home-news__pill-frame--main{
    margin-top: 5rem;
  }

  .home-news__mame{
    z-index: 1;
  }

  .news__mame_inner{
    right: 2vw;
  }

  .home-news__mame-link{
    width: 13rem;
  }

  .home-clinic__actions{
    padding-left: 0;
    padding-right: 0;
  }

    .clinic-btn__label{
      padding-left: 0;
    }

  .home-access__map{
    width: 90vw;
    aspect-ratio: 3 / 2;
  }

  .home-access__contact-primary{
    width: auto;
  }
}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
  #container{
    padding-top: 18vw;
  }

  .home-mv::before{
    width: 35vw;
    z-index: 1;
  }

  .home-top-skin::before{
    content: none;

  }

  .home-hero{
    padding-top: 8rem;
    background-image: url(../images/bg_home_catch.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .home-hero::after{
    content: "";
    display: block;
    width: 10vw;
    aspect-ratio: 1;
    background: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }

  .container.home-hero__inner{
    padding-inline: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }

  .home-hero__title{
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .home-hero__lead{
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-news{
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 2rem;
  }

  .container.home-news__wrap{
    padding-inline: 0;
  }

  .home-news__grid{
    flex-direction: column-reverse;
  }

  .section-heading__en{
    margin-top: 0;
  }

  .section-heading{
    margin-bottom: 1rem;
  }

  .section-heading--news{
    margin-bottom: 0;
  }

  .home-news__main{
    width: auto;
  }

  .home-news__list{
    padding-inline: 8vw;
  }

  .home-news__aside{
    display: none;
  }

  .home-news__photos{
    max-width: auto;
    max-width: initial;
  }

  .home-news__pill-frame--peek{
    top: -1.5rem;
    right: -4rem;
    width: 60vw;
  }

  .home-news__pill-frame--main{
    position: absolute;
    margin-top: 0;
    left: -10vw;
    width: 60vw;
  }

  .news__mame_inner{
    bottom: -1rem;
  }

  .home-news__mame-link{
    width: 9rem;
  }

  .home-news__cta{
    justify-content: center;
  }

  .home-recruit{
    margin-top: 3rem;
  }

  .home-recruit a{
    width: 100%;
  }

  .home-medical{
    padding-top: 3rem;
  }

  .home-medical::before{
    width: 35vw;
    right: -5vw;
    top: 9vw;
  }

  .home-medical > .container{
    padding-inline: 5vw;    
  }

  .home-medical__intro {
    padding: 0 1em;
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.8;
  }
  
  .home-medical__cards{
    gap: 0.5rem;
  }

  .medical-card{
    width: calc((100% - 0.5rem) / 2);
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .home-medical__cards{
    display: flex;
    flex-wrap: wrap;
  }

  .medical-card__icon-wrap{
    width: 4rem;
  }

    .medical-card__icon{
      width: 3rem;
      height: 3rem;
    }

    .medical-card__label-en{
      font-size: 0.7rem;
    }

    .medical-card__label-ja{
      font-size: 1.05rem;
    }

  .home-medical__tags{
    justify-content: center;
  }

  .home-medical__tags a{
    font-size: 0.8rem;
    padding: 0.5em 0.6em;
  }

  .home-clinic > .container{
    padding-inline: 5vw;
  }

  .home-clinic__inner{
    padding: 2rem 1.5rem;
  }

  .home-clinic__actions{
    flex-direction: column;
  }

  .home-info > .container{
    padding-inline: 5vw;
  }

  .shinryo_calendar table th, .shinryo_calendar table td{
    padding: 0.375rem;
  }

  .info-table__row{
    grid-template-columns: 6em 1fr;
    gap: 1em;
  }

  .info-table__value{
    padding-right: 0;
  }

  .shinryo_calendar_legend{
    flex-direction: column;
    gap: 0;
  }

  .home-access__top{
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 0 0 0;
    margin-bottom: 1.5rem;
  }

  .home-access .container.home-access__top::before{
    width: 25vw;
    left: -10vw;
    top: -5vw;
  }

  .home-access__mark{
    width: 3.5rem;
  }

  .home-access__title-img{
    width: 13rem;
  }

  .home-access__address{
    text-align: center;
  }

  .home-access__curve{
    padding-bottom: 0;
  }

  .home-access__sns a{
    width: 2rem;
    height: auto;
    aspect-ratio: 1;
  }

  .home_bns {
    margin: 2rem 0;
  }

  .home-hero__visual-frame{
    width: 80vw;
    transform: translateX(-10vw);
    margin-bottom: 2rem;
  }

  .home-hero__visual2.for_sp{
    display: flex;
    flex-direction: column;
    padding: 0 5vw;
  }

    .home-hero__visual2.for_sp li:nth-child(1){
      width: 50vw;
      aspect-ratio: 2 / 1;
      margin-bottom: 1rem;
      border-radius: 100vh;
      overflow: hidden;
      margin-left: auto;
    }

    .home-hero__visual2.for_sp li:nth-child(2){
      width: 40vw;
      aspect-ratio: 2 / 1;
      margin-bottom: 1rem;
      border-radius: 100vh;
      overflow: hidden;
      margin-right: auto;
      margin-top: -2rem;
    }

    .home-hero__visual2.for_sp li img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

  .home-news__mame{
    display: none;
  }

  .home-top-skin{
    background: none;
  }

  .home-top-skin::after{
    content: none;
  }

  .home-hero__copy{
    box-sizing: border-box;
    padding: 0 0 0 6vw;
    width: 100%;
  }

  .home-important{
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .home-important__wrap{
    width: 100%;
  }

  .home-news__mame.for_sp{
    display: block;
  }



}