html,
body {
  overflow-x: hidden;
}

/* =======================================
   top-mv（メインビジュアル）
======================================= */
.top-mv {
  padding-top: 80px;
  background: linear-gradient(143deg,
      #f2fdf5 0%,
      #f2fdf5 25%,
      #caebd7 50%,
      #caebd7 75%,
      #caebd7 100%);
}

/* サイドストリップ＋写真を横並び（同じ高さ） */
.top-mv__visual {
  display: flex;
  height: calc(100vh - 80px);
  min-height: 460px;
}

/* 左サイドストリップ */
.top-mv__side {
  position: relative;
  flex-shrink: 0;
  width: 7.5vw;
  background: linear-gradient(to bottom, #fff 0%, #fff 45%, transparent 45%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-mv__side-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  color: #6caa60;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.top-mv__main {
  height: 95%;
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 35px 0 0 35px;
}

/* 背景写真 */
.top-mv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 35px 0 0 35px;
}

/* 下部グラデーション（テキスト可読性確保） */
.top-mv__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.24) 22%, transparent 46%),
    linear-gradient(to top, rgba(0, 0, 0, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

/* キャッチコピー */
.top-mv__catch {
  position: absolute;
  bottom: 1.1vw;
  left: 2.5vw;
  color: #fff;
  font-size: 60px;
  line-height: 1.8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  margin: 0;
  line-height: 1.4;
}

/* 駐車場バッジ */
.top-mv__parking {
  position: absolute;
  bottom: clamp(30px, 5vh, 56px);
  right: clamp(20px, 5vw, 80px);
  width: 15vw;
  height: 15vw;
  min-width: 250px;
  min-height: 250px;
  border-radius: 50%;
  background: linear-gradient(20deg, #cbb28fe0 50%, #c1a37fe0 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  font-family: "fot-tsukuardgothic-std", sans-serif;
}

.top-mv__parking::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: conic-gradient(from -72deg, rgba(255, 255, 255, 0.9) 0deg 152deg, transparent 152deg 182deg, rgba(255, 255, 255, 0.9) 182deg 332deg, transparent 332deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  pointer-events: none;
  opacity: 0.6;
}

.top-mv__parking img,
.top-mv__parking span {
  position: relative;
  z-index: 1;
}

.top-mv__parking span {
  font-size: 28px;
  line-height: 1.2;
}

/* 英字テキスト帯（section外・白背景） */
.top-mv__en {
  background: #fff;
  padding: 10px;
  overflow: hidden;
  line-height: 1;
}

.top-mv__en img {
  width: 100%;
}

/* =======================================
   top-mv SP
======================================= */
@media screen and (max-width: 1100px) {
  .top-mv__catch {
    font-size: clamp(40px, calc(22px + 3vw), 52px);
    bottom: 3.5vw;
    left: 3.5vw;
  }

  .top-mv__parking {
    position: absolute;
    bottom: initial;
    top: 42vw;
    right: clamp(20px, 5vw, 80px);
  }

  .top-mv__parking {
    width: 200px;
    height: 200px;
    min-width: initial;
    min-height: initial;
    gap: 10px;
  }

  .top-mv__parking::before {
    inset: 10px;
  }

  .top-mv__parking img {
    width: 75px;
  }

  .top-mv__parking span {
    font-size: 22px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 600px) {
  .top-mv {
    padding-top: 68px;
  }

  .top-mv__visual {
    height: clamp(320px, 55vh, 520px);
    min-height: unset;
  }

  .top-mv__side {
    width: 30px;
  }

  .top-mv__side-text {
    font-size: 10px;
  }

  .top-mv__main {
    flex: 1;
  }

  .top-mv__catch {
    font-size: clamp(18px, 5.2vw, 26px);
    line-height: 1.7;
    bottom: 32px;
    left: 16px;
  }

  .top-mv__parking {
    width: 120px;
    height: 120px;
    min-width: initial;
    min-height: initial;
    top: initial;
    bottom: 30vw;
    font-size: 10px;
    gap: 3px;
  }

  .top-mv__parking::before {
    inset: 7px;
  }

  .top-mv__parking span {
    font-size: 13px;
    line-height: 1.2;
    margin-top: 5px;
  }

  .top-mv__parking img {
    width: 40px;
  }

  .top-mv__parking strong {
    font-size: 10px;
  }
}

/* =======================================
   top-info（NEWS + 診療時間）
======================================= */
.top-info {
  background: #fff;
}

.top-info__inner {
    display: flex;
    gap: 50px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    justify-content: center;
}

/* ---- NEWS ---- */
.top-info__news {
  flex: 0 0 42%;
}

.top-info__news .c-sec-ttl {
  position: relative;
  padding-bottom: 14px;
}

.top-info__news .c-sec-ttl::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: #a2c6ad;
}

/* スクロールラッパー（グラデーションフェードで続きを示す） */
.top-info__news-scroll {
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border-radius: 40px;
  padding: 20px 30px 0 0;
}

.top-info__news-scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 30px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  z-index: 1;
}

.top-info__news-list {
    max-height: 560px;
    overflow-y: auto;
    padding: 20px 20px 50px 20px;
    scrollbar-width: thin;
    scrollbar-color: #cee6d2 transparent;
    border-radius: 40px;
}

.top-info__news-list::-webkit-scrollbar {
  width: 3px;
}

.top-info__news-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

.top-info__news-list::-webkit-scrollbar-thumb {
  background: #cee6d2;
  border-radius: 4px;
}

.top-info__news-item {
    padding: 15px 10px;
    background: #fff;
    border-radius: 8px;
}

.top-info__news-date {
  display: block;
  color: #a2c6ad;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  font-size: 22px;
}

.top-info__news-ttl {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  color: #727272;
  margin-bottom: 6px;
  line-height: 1.5;
    font-size: 109%;
}

.top-info__news-body {
  color: #727272;
  line-height: 1.7;
}

/* ---- 診療時間 ---- */
.top-info__hours {
  max-width: 700px;
}

.top-info__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 18px;
}

.top-info__table {
  width: 100%;
  border-collapse: collapse;
}

.top-info__table th {
  background: #bae1b8;
  color: #686767;
  font-weight: 700;
  padding: 10px 6px;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
}

.top-info__table td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 1px solid #b6b6b6;
}

.top-info__table td.time-label {
  text-align: right;
  white-space: nowrap;
  font-size: 22px;
  color: #727272;
  padding-left: 14px;
  background: #f8f8f8;
  width: 200px;
  padding-right: 15px;
}

.top-info__table .is-open {
  color: #bae1b8;
  font-weight: 700;
}

.top-info__table .is-closed {
  color: #bbb;
}

/* 診療時間 補足テキスト */
.top-info__hours-note {
  color: #727272;
  line-height: 1;
  margin-bottom: 20px;
}

.top-info__hours-note>div {
  display: flex;
  gap: 12px;
  padding: 5px 0;
	    align-items: baseline;
}

.top-info__hours-note dt {
  width: 4em;
  flex-shrink: 0;
  white-space: nowrap;
  color: #686767;
}

.top-info__hours-note dd {
  color: #686767;
}

.top-info__hours-heading-wrapper {
  background: #f4faf8;
  padding: 25px 20px;
  border-radius: 30px;
}

/* 診療時間 見出し */
.top-info__hours-heading {
  display: block;
  width: 60%;
  min-width: 250px;
  margin: 0 auto 20px;
  background: linear-gradient(-90deg, #87d09f, #b4cd8c);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  border-radius: 30px;
  letter-spacing: 0.15em;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 22px;
}

/* アラート注意書き */
.top-info__hours-alert {
  color: #727272;
  line-height: 1.8;
  padding: 2px 4px;
}

.top-info__hours-alert.orange {
  color: #d6ae69;
}

.top-info__hours-alert.gray {
  color: #686767;
}

/* nodocaバナー */
.top-info__banner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 70px;
}

.top-info__banner img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
@media screen and (max-width: 600px) {
.top-info__hours-note>div {
	gap: 5px;
	}	
}
/* =======================================
   top-info SP
======================================= */
@media screen and (max-width: 1200px) {
  .top-info__inner {
    flex-direction: column-reverse;
    padding: 48px 20px 40px;
    gap: 48px;
    max-width: 900px;
  }

  .top-info__hours {
    max-width: initial;
  }
}

@media screen and (max-width: 600px) {
  .top-info__inner {
    flex-direction: column;
  }

  .top-info__news {
    order: 2;
  }

  .top-info__hours {
    order: 1;
  }

  .top-info__banner {
    padding: 0 20px 52px;
  }

  .top-info__table td.time-label {
    font-size: 17px;
    width: 150px;
  }

  .top-info__table {
    font-size: 17px;
  }

  .top-info__hours-note-row--visit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .top-info__hours-note-row--visit dd {
    min-width: 0;
    line-height: 1.3;
  }

  .top-info__hours-note-row--visit .no-wrap {
    white-space: normal;
  }

  .top-info__news-list {
    padding: 25px 10px 60px;
  }

  .top-info__hours-heading {
    font-size: 18px;
  }
.top-info__news-scroll {
    padding: 20px 10px 0 0;
}
.top-info__news-item {
    padding: 10px 10px;
}
}


/* =======================================
   top-medical（診療案内）
======================================= */
.top-medical {
  position: relative;
  background: #fff url(../img/medical-bg.png) center center / cover no-repeat;
  padding: 100px 0 80px;
}

.top-medical::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 82%);
  pointer-events: none;
}

.top-medical__inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.top-medical .c-sec-ttl {
  margin-bottom: 52px;
}

/* ---- 特集カード ---- */
.top-medical__feature {
  display: flex;
  align-items: stretch;
  max-width: 1350px;
  margin: 0 auto 42px;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(91, 144, 112, 0.12);
  min-height: 430px;
}

.top-medical__feature--rev {
  flex-direction: row-reverse;
  margin-bottom: 0;
}

.top-medical__feature-img {
  flex: 0 0 46%;
  overflow: hidden;
}

.top-medical__feature-sep {
  flex-shrink: 0;
  width: 8px;
  background: linear-gradient(180deg, #baecca, #daeda2);
}

.top-medical__feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.top-medical__feature:hover .top-medical__feature-img img {
  transform: scale(1.04);
}

.top-medical__feature-body {
  flex: 1;
  padding: 52px 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-medical__feature-ttl {
  font-size: 35px;
  color: #99cf97;
  margin: 0 0 14px;
  line-height: 1.4;
}

.top-medical__feature-text {
  color: #727272;
  line-height: 1.85;
  margin-bottom: 10px;
}

.top-medical__feature-note {
  font-size: 17px;
  color: #727272;
  line-height: 1.7;
  margin: 18px 0 24px;
  background: #f2f9f4;
  padding: 22px 28px;
}

.top-medical__feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  color: #727272;
  margin: 0px 0 28px;
  background: #f2f9f4;
  padding: 22px 28px;
}

.top-medical__feature-list>li {
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.top-medical__feature-list>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: #9acaa4;
  border-radius: 50%;
}

/* 詳しくはこちらリンク */
.c-button {
  display: inline-flex;
  align-items: center;
  width: 250px;
  height: 75px;
  padding-left: 25px;
  border: #e5efe7 solid 2px;
  border-radius: 40px;
  gap: 10px;
  color: #727272;
  font-weight: 700;
  transition: gap 0.25s ease;
  align-self: flex-start;
  font-size: 19px;
}

.c-button::after {
  content: "";
  position: relative;
  right: -50px;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url(../img/icon-arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  transition: background-color 0.3s ease;
}

/* ---- 診療項目グリッド ---- */

.top-medical__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 52px;
}

.top-medical__grid>li {
  width: calc(25% - 12px);
}

.top-medical__grid-sep {
  height: 5px;
  background: linear-gradient(180deg, #baecca, #daeda2);
}

.top-medical__grid>li>a {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-medical__grid>li>a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.top-medical__grid-img {
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
}

.top-medical__grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
max-width:380px;
}

.top-medical__grid>li>a:hover .top-medical__grid-img img {
  transform: scale(1.06);
}

.top-medical__grid-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 18px 14px 35px;
  font-weight: 700;
  color: #99cf97;
  line-height: 1.4;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 24px;
}

.top-medical__grid-name::after {
  content: "";
  position: relative;
  right: 4px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-image: url(../img/icon-arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px;
}
.close_ttl{
    color: #ffffff !important;	
    background-color: #e89393;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;	
}
/* =======================================
   top-medical 1000px
======================================= */
@media screen and (max-width: 1300px) {

  .top-medical__feature,
  .top-medical__feature--rev {
    flex-direction: column;
    min-height: unset;
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .top-medical__feature-img {
    flex: none;
    width: 100%;
    height: 400px;
  }

  .top-medical__feature-img img {
    object-position: 0 -10px;
  }

  .top-medical__feature-link {
    height: 55px;
    padding-left: 25px;
    margin: auto;
  }

  .top-medical__feature-sep {
    width: 100%;
    height: 8px;
  }

  .top-medical__grid>li {
    width: calc(50% - 8px);
  }

  .top-medical__grid-name {
    font-size: 24px;
    padding: 14px 18px 14px 20px;
  }

  .top-medical__grid-name::after {
    width: 30px;
    height: 30px;
    background-size: 30px;
  }
}

/* =======================================
   top-medical SP
======================================= */
@media screen and (max-width: 600px) {
  .top-medical {
    padding: 48px 0 56px;
  }

  .top-medical__inner {
    padding: 0 20px;
  }

  .top-medical .c-sec-ttl {
    margin-bottom: 36px;
  }

  .top-medical__feature-img {
    height: 200px;
  }

  .top-medical__feature-body {
    padding: 20px 18px;
  }

  .top-medical__feature-note,
  .top-medical__feature-list {
    padding: 18px 20px;
  }

  .top-medical__feature-list {
    grid-template-columns: 1fr;
  }

  .top-medical__grid {
    gap: 12px;
    margin-top: 36px;
  }

  .top-medical__grid-name {
    font-size: 16px;
    padding: 8px 10px 8px 12px;
    height: 44px;
    min-height: 44px;
  }

  .top-medical__grid>li>a {
    display: block;
  }

  .top-medical__grid-name::after {
    width: 24px;
    height: 24px;
    background-size: 18px;
    right: 1vw;
  }

  .c-button::after {
    background-size: 18px;
  }

  .top-medical__feature-ttl {
    font-size: 24px;
  }

}

/* =======================================
   top-feature（山形内科の特徴）
======================================= */
.top-feature {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* 背景装飾サークル */
.top-feature__circle {
  position: absolute;
  width: 700px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.top-feature__circle--tl {
  top: 150px;
  left: -160px;
}

.top-feature__circle--tr {
  top: 0;
  right: -150px;
}

.top-feature__circle--br {
  right: 32px;
  bottom: 180px;
}

.top-feature__circle--sp-mid {
  display: none;
}

.top-feature__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.top-feature .c-sec-ttl {
  margin-bottom: 48px;
}

/* FEATURE 画像タイトル */
.top-feature__ttl-en {
  margin: 0 0 6px;
  line-height: 1;
}

.top-feature__ttl-en img {
  height: 48px;
  width: auto;
  display: inline-block;
}

/* グリッド */
.top-feature__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-bottom: 130px;
}

/* カード */
.top-feature__card {
  max-width: 700px;
  background: #fff;
  border-radius: 70px;
  padding: 50px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  aspect-ratio: 7 / 5;
}

.top-feature__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding-left: 20px;
}

.top-feature__card-point {
  position: relative;
  writing-mode: vertical-rl;
  transform: rotate(360deg);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: #99cf97;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

.top-feature__card-point::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  background: #99cf97;
  top: -2px;
  left: -6px;
}

.top-feature__card-num {
  font-size: 60px;
  color: #99cf97;
  line-height: 1;
  letter-spacing: 0.05em;
}

.top-feature__card-ttl {
  position: relative;
  font-size: 25px;
  color: #727272;
  margin: 0 0 12px;
  line-height: 1.5;
}

.top-feature__card-ttl::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #99cf97;
  bottom: -30px;
  left: 0;
}

.top-feature__card-ttl::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #99cf97;
  bottom: -33px;
  left: 0;
}

span.orange {
  color: #d6ae69;
}

.top-feature__card-body {
  color: #727272;
  line-height: 1.85;
  margin-top: 60px;
  margin-right: 20px;
}

/* 背景写真帯 */
.top-feature__bg {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  height: clamp(280px, 18.75vw, 360px);
  overflow: hidden;
}

.top-feature__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

/* =======================================
   top-feature 中間ブレークポイント
======================================= */
/* 1400px以下：aspect-ratioを縦長に（7/6）でコンテンツの窮屈さを解消 */
@media screen and (max-width: 1400px) {
  .top-feature__card {
    aspect-ratio: 7 / 6;
  }
}

/* 1200px以下：aspect-ratioを解除してコンテンツ高さ優先 */
@media screen and (max-width: 1200px) {
  .top-feature__card {
    aspect-ratio: unset;
  }
}

/* 1000px以下：1列レイアウトに切り替え */
@media screen and (max-width: 1100px) {
  .top-feature__grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .top-feature__card {
    max-width: 100%;
  }

  .top-feature__circle--tl {
    top: 30%;
    left: -160px;
  }

  .top-feature__circle--br {
    right: -100px;
    bottom: 180px;
  }
}

/* =======================================
   top-feature SP
======================================= */
@media screen and (max-width: 600px) {
  .top-feature {
    padding: 48px 0 0;
  }

  .top-feature__inner {
    padding: 0 20px;
  }

  .top-feature .c-sec-ttl {
    margin-bottom: 32px;
  }

  .top-feature__ttl-en img {
    height: 36px;
  }

  .top-feature__circle {
    width: 350px;
  }

  .top-feature__circle--tl {
    top: 50%;
    right: -126px;
    transform: scale(1.5);
    left: initial;
  }

  .top-feature__circle--tr {
    top: 80px;
    right: -146px;
    transform: scale(1.5);
  }

  .top-feature__circle--sp-mid {
    display: block;
    top: 20%;
    left: -118px;
    transform: scale(1.5);
  }

  .top-feature__circle--br {
    bottom: 250px;
    left: -65px;
    transform: scale(1.5);
  }

  .top-feature__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 44px;
  }

  .top-feature__card {
    padding: 32px 28px 40px;
  }

  .top-feature__card-head {
    gap: 10px;
    margin-bottom: 16px;
    padding-left: 16px;
  }

  .top-feature__card-num {
    font-size: 44px;
  }

  .top-feature__card-ttl {
    font-size: 20px;
  }

  .top-feature__card-ttl::before {
    bottom: -24px;
  }

  .top-feature__card-ttl::after {
    bottom: -27px;
  }

  .top-feature__card-body {
    margin-top: 52px;
    font-size: 16px;
    line-height: 1.8;
  }

  .top-feature__bg {
    height: clamp(180px, 50vw, 240px);
  }

  .top-feature__bg img {
    height: 100%;
    max-height: none;
    object-position: center center;
  }
}

/* =======================================
   top-greeting（院長あいさつ）
======================================= */
.top-greeting {
  background: #fff;
  padding: 100px 0 150px;
  position: relative;
  overflow: hidden;
}

/* greeting-bg.jpgをimg-wrapの背後にセクション全高で縦長表示 */
.top-greeting::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40%;
  transform: translateY(-50%);
  height: 85%;
  background: url(../img/greeting-bg.jpg) center / cover no-repeat;
  z-index: 0;
}

.top-greeting__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.top-greeting .c-sec-ttl {
  margin-bottom: 48px;
}

.top-greeting__ttl-en {
  margin: 0 0 6px;
  line-height: 1;
}

.top-greeting__ttl-en img {
  height: 48px;
  width: auto;
  display: inline-block;
}

/* コンテンツ（写真左端フルブリード + テキスト） */
.top-greeting__content {
  display: flex;
  align-items: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

/* 院長写真：左端にくっつける */
.top-greeting__img-wrap {
  flex: 0 0 50%;
  overflow: hidden;
  border-radius: 0 60px 60px 0;
  min-height: 420px;
}

.top-greeting__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 420px;
}

/* テキストエリア */
.top-greeting__body {
  flex: 1;
  padding: 0 clamp(40px, 8vw, 120px) 0 clamp(40px, 5vw, 80px);
  max-width: 800px;
}

.top-greeting__catch {
  font-size: 26px;
  color: #99cf97;
  line-height: 1.8;
  margin: 0 0 20px;
}

.top-greeting__text {
  color: #727272;
  line-height: 1.9;
  margin: 0 0 28px;
}

/* 院長名 */
.top-greeting__name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.top-greeting__name-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #99cf97;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  outline: #fff solid 1px;
  outline-offset: -5px;
}

.top-greeting__name-text {
  font-size: 24px;
  color: #727272;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.top-greeting a.c-button::after {
  right: -90px;
}

/* =======================================
   top-greeting SP
======================================= */
@media screen and (max-width: 1200px) {
  .top-greeting {
    padding: 48px 0 56px;
  }

  /* 1100px以下：section::beforeを非表示にしてテキスト干渉を解消 */
  .top-greeting::before {
    display: none;
  }

  .top-greeting__inner {
    padding: 0 20px;
  }

  .top-greeting .c-sec-ttl {
    margin-bottom: 32px;
  }

  .top-greeting__ttl-en img {
    height: 36px;
  }

  .top-greeting__content {
    flex-direction: column;
    gap: 70px;
    margin-top: 70px;
  }

  .top-greeting__img-wrap {
    flex: none;
    width: 95%;
    min-height: unset;
    max-width: 750px;
    margin-right: auto;
    border-radius: 0;
    overflow: visible;
    background: none;
    position: relative;
  }

  /* bgを写真の外にはみ出させる */
  .top-greeting__img-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 130%;
    background: url(../img/greeting-bg.jpg) center / cover no-repeat;
    z-index: 0;
    width: 75%;
  }

  .top-greeting__img {
    position: relative;
    z-index: 1;
    border-radius: 0 25px 25px 0;
    min-height: unset;
    display: block;
  }

  .top-greeting__body {
    width: 100%;
    max-width: 720px;
    padding: 32px 20px 0;
  }

  .top-greeting__name {
    justify-content: center;
  }

  .top-greeting__btn-wrap {
    text-align: center;
  }

  .top-greeting a.c-button {
    height: 55px;
    padding-left: 25px;
  }

}

@media screen and (max-width: 600px) {
  .top-greeting__content {
    gap: 46px;
    margin-top: 46px;
  }

  .top-greeting__body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .top-greeting__catch {
    font-size: 19px;
    margin-bottom: 16px;
  }

  .top-greeting__catch .no-wrap {
    white-space: normal;
  }

  .top-greeting__name-text {
    font-size: 20px;
  }

  .top-greeting__name-role {
    font-size: 15px;
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 390px) {
  .top-greeting__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-greeting a.c-button {
    width: min(250px, 100%);
  }

  .top-greeting a.c-button::after {
    right: -34px;
  }
}

/* =======================================
   top-recruit（採用情報）
======================================= */
.top-recruit {
  background: #fbfcf5;
  position: relative;
  min-height: auto;
  padding: clamp(64px, 4.9vw, 94px) 0 clamp(88px, 7.4vw, 142px);
  overflow: hidden;
}

/* SP専用：縦長写真（デフォルト非表示） */
.top-recruit__sp-imgs {
  display: none;
}

.top-recruit__sp-img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.top-recruit__sp-panel {
  display: none;
}

/* PC：枠と写真 */
.top-recruit__pc-img {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 296px), 1622px);
  margin: 0 auto;
  padding: clamp(28px, 2.5vw, 40px) clamp(24px, 2.45vw, 40px) clamp(30px, 2.5vw, 41px);
  background: url("../img/recuruit-banner-wrap-pc.png") center / 100% 100% no-repeat;
  border-radius: clamp(20px, 1.6vw, 30px);
  overflow: hidden;
}

.top-recruit__pc-img::before {
  content: none;
}

.top-recruit__pc-img::after {
  content: none;
}

.top-recruit__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1543 / 650;
  display: block;
  object-fit: cover;
  border-radius: clamp(16px, 1.15vw, 22px);
}

/* カードコンテナ：写真の右側に重ねる */
.top-recruit__card {
  position: absolute;
  z-index: 2;
  top: clamp(148px, 11.25vw, 216px);
  right: clamp(56px, 13.9vw, 267px);
  min-height: 0;
}

/* テキストエリア：70%不透明白で浮遊 */
.top-recruit__body {
  width: clamp(440px, 34.9vw, 670px);
  min-height: clamp(320px, 25vw, 481px);
  background: rgba(255, 255, 255, 0.74);
  border-radius: clamp(16px, 1.15vw, 22px);
  padding: clamp(40px, 3.35vw, 64px) clamp(48px, 5.8vw, 111px) clamp(30px, 1.8vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-recruit__body .c-sec-ttl {
  margin-bottom: clamp(18px, 1.6vw, 30px);
}

.top-recruit__body .c-sec-ttl__gradient-en {
  font-size: 60px;
}

/* RECRUIT：グラデーションを解除して個別カラー */
h2.top-recruit__ttl-en {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #d9d9d9;
  color: #d9d9d9;
}

h2.top-recruit__ttl-en .top-recruit__ttl-r {
  -webkit-text-fill-color: #bae0b8;
  color: #bae0b8;
}

.top-recruit__text {
  color: #727272;
  line-height: 1.85;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin: 0 0 clamp(24px, 2.35vw, 45px);
}

.top-recruit__link.c-button {
  background: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.18em;
  width: 250px;
  height: 70px;
  padding-left: clamp(22px, 1.56vw, 30px);
}

.top-recruit__link.c-button::after {
  margin-left: auto;
  right: 14px;
}

@media screen and (max-width: 1600px) and (min-width: 1101px) {
  .top-recruit__pc-img {
    width: calc(100% - 64px);
  }

  .top-recruit__card {
    top: 50%;
    right: 6%;
    transform: translateY(-46%);
  }

  .top-recruit__body {
    width: 500px;
    padding: 36px clamp(32px, 4vw, 56px) 30px;
  }

  .top-recruit__body .c-sec-ttl__gradient-en {
    font-size: 52px;
  }

  .top-recruit__body .c-sec-ttl__ja {
    font-size: 24px;
  }

  .top-recruit__text {
    font-size: 17px;
  }
}

@media screen and (max-width: 1100px) and (min-width: 601px) {
  .top-recruit {
    min-height: unset;
    padding: 72px 32px 86px;
  }

  .top-recruit__pc-img {
    display: none;
  }

  .top-recruit__sp-imgs {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    padding: 37px 26px 84px;
    background: url("../img/recuruit-banner-wrap-sp.png") center / 100% 100% no-repeat;
    border-radius: 24px;
    overflow: hidden;
  }

  .top-recruit__sp-img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .top-recruit__card {
    top: auto;
    left: 50%;
    right: auto;
    bottom: 112px;
    width: min(560px, calc(100% - 128px));
    transform: translateX(-50%);
  }

  .top-recruit__body {
    width: 100%;
    min-height: 0;
    padding: 38px 54px 34px;
  }

  .top-recruit__body .c-sec-ttl__gradient-en {
    font-size: 44px;
  }

  .top-recruit__body .c-sec-ttl__ja {
    font-size: 22px;
  }

  .top-recruit__text {
    font-size: 17px;
  }

  .top-recruit__link.c-button {
    width: 230px;
    height: 55px;
    font-size: 16px;
  }
}

/* =======================================
   top-recruit SP
======================================= */
@media screen and (max-width: 600px) {
  .top-recruit {
    min-height: unset;
    padding: 54px 22px 62px;
  }

  .top-recruit__sp-imgs {
    display: none;
  }

  .top-recruit__sp-panel {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(214, 247, 250, 0.54);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.74), 0 0 22px rgba(197, 231, 235, 0.28);
  }

  .top-recruit__sp-panel::before {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: 0;
    background:
      radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.72), transparent 34%),
      radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.58), transparent 36%),
      linear-gradient(135deg, rgba(186, 232, 236, 0.86), rgba(231, 253, 255, 0.9));
    filter: blur(12px);
  }

  .top-recruit__sp-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
      inset 0 0 22px 12px rgba(255, 255, 255, 0.62),
      inset 0 0 16px 6px rgba(187, 232, 236, 0.54);
  }

  .top-recruit__sp-panel>* {
    position: relative;
    z-index: 3;
  }

  .top-recruit__pc-img {
    display: none;
  }

  .top-recruit__card {
    display: none;
  }

  .top-recruit__sp-panel-head {
    margin-bottom: 18px;
  }

  .top-recruit__sp-panel-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 16px;
  }

  .top-recruit__sp-panel-body {
    margin-top: 18px;
    padding: 30px 24px 28px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
  }

  .top-recruit__sp-panel-text {
    color: #727272;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
  }

  .top-recruit__sp-panel-link {
    display: flex;
    align-items: center;
    width: min(300px, 82%);
    height: 55px;
    margin: 0 auto;
    padding-left: 28px;
    border: #e5efe7 solid 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #727272;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
  }

  .top-recruit__sp-panel-link::after {
    content: "";
    margin-left: auto;
    margin-right: 20px;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-image: url(../img/icon-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
  }
}

@media screen and (max-width: 390px) {
  .top-recruit {
    padding: 48px 18px 56px;
  }

  .top-recruit__sp-imgs {
    display: none;
  }

  .top-recruit__sp-panel {
    padding: 22px;
  }

  .top-recruit__sp-panel-body {
    padding: 28px 20px 26px;
  }
}
