.home-updates {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 5vw, 72px) 0 clamp(72px, 7vw, 104px);
  background: #3564ad;
}

.home-updates::before,
.home-updates::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 48% 52% 55% 45%;
  content: "";
  pointer-events: none;
}

.home-updates::before { top: -150px; right: -90px; width: 380px; height: 300px; transform: rotate(14deg); }
.home-updates::after { bottom: -180px; left: -120px; width: 440px; height: 330px; transform: rotate(-9deg); }
.home-updates__inner { position: relative; z-index: 1; width: min(1100px, calc(100% - 80px)); margin: 0 auto; }
.home-updates__heading { position: relative; z-index: 0; margin-bottom: 34px; text-align: center; }

.home-updates__heading::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, .075);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: .06em;
  white-space: nowrap;
  content: "INFORMATION";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-updates__eyebrow,
.home-update-title > p,
.home-update-title > div > p {
  margin: 0 0 6px;
  color: #13aebb;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.home-updates__eyebrow { color: #76d8d2; }

.home-updates__heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(27px, 2.7vw, 40px);
  line-height: 1.4;
  letter-spacing: .08em;
}

.home-notice,
.home-blog,
.home-calendar {
  border: 1px solid rgba(63, 153, 161, .12);
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 16px 48px rgba(56, 123, 133, .08);
}

.home-notice { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: stretch; margin-bottom: 30px; overflow: hidden; border-radius: 26px 26px 8px 26px; }
.home-update-title { padding: 34px 36px; }
.home-update-title h3 { margin: 0; color: #24566d; font-family: "Zen Maru Gothic", sans-serif; font-size: 24px; letter-spacing: .06em; }
.home-notice > .home-update-title { display: flex; flex-direction: column; justify-content: center; background: #fff7c9; }

.home-notice__article {
  position: relative;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 42px;
  gap: 24px;
  align-items: start;
  min-height: 172px;
  padding: 34px 34px 32px;
  color: #3b505a;
  text-decoration: none;
  transition: background .25s ease;
}

.home-notice__article:hover { background: #fbfefe; }
.home-notice__article time,
.home-blog__list time { color: #13aebb; font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.home-notice__body h4 { margin: -3px 0 12px; color: #294f63; font-family: "Zen Maru Gothic", sans-serif; font-size: 20px; line-height: 1.55; }
.home-notice__body p { display: -webkit-box; margin: 0; overflow: hidden; color: #536a73; font-size: 15px; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-updates__arrow { align-self: center; color: #13aebb; font-size: 25px; transition: transform .2s ease; }
.home-notice__article:hover .home-updates__arrow { transform: translateX(5px); }
.home-notice__empty { display: flex; align-items: center; min-height: 150px; padding: 30px 40px; color: #60747d; }

.home-mouthpiece-banner {
  display: block;
  width: 70%;
  margin: 0 auto 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px 22px 22px 22px;
  box-shadow: 0 16px 42px rgba(14, 64, 94, .18);
  transition: box-shadow .25s ease, transform .25s ease;
}

.home-mouthpiece-banner:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.home-mouthpiece-banner:hover { box-shadow: 0 20px 48px rgba(14, 64, 94, .25); transform: translateY(-2px); }
.home-mouthpiece-banner__image { display: block; width: 100%; height: auto; }
.home-mouthpiece-banner__image--mobile { display: none; }

/* お知らせと医院ブログの間に置く、下層ページ共通のInstagram。 */
.home-instagram {
  padding: clamp(34px, 4vw, 52px) 0 clamp(38px, 4vw, 58px);
  overflow: hidden;
  background: #fff;
}

.home-instagram__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  width: min(100%, calc(100% - 64px));
  margin: 0 auto 18px;
}

.home-instagram__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.home-instagram__heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-navy);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.15;
  letter-spacing: .04em;
}

.home-instagram__icon {
  width: 1.12em;
  height: 1.12em;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: #e66699;
  stroke-width: 1.8;
}

.home-instagram__icon-dot {
  fill: #e66699;
  stroke: none;
}

.home-instagram__heading > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  color: var(--color-main);
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
}

.home-instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
}

.home-instagram__post {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef7f8;
}

.home-instagram__post:nth-child(n + 7) { display: none; }
.home-instagram__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.home-instagram__overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(24, 145, 156, .66); font-size: 25px; opacity: 0; transition: opacity .3s ease; }
.home-instagram__post:hover img,
.home-instagram__post:focus-visible img { transform: scale(1.045); filter: saturate(.85); }
.home-instagram__post:hover .home-instagram__overlay,
.home-instagram__post:focus-visible .home-instagram__overlay { opacity: 1; }
.home-instagram__plugin { width: min(100%, calc(100% - 64px)); margin-inline: auto; }
.home-instagram__plugin #sbi_images .sbi_item:nth-child(n + 7) { display: none !important; }

.home-updates__columns { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 30px; }
.home-blog,
.home-calendar { min-width: 0; overflow: hidden; border-radius: 8px 26px 26px 26px; }
.home-update-title--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.home-update-title--row > a { flex: 0 0 auto; padding-bottom: 3px; color: #31828b; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-update-title--row > a span { margin-left: 5px; }
.home-blog__list { margin: 0; padding: 0 30px 32px; list-style: none; }
.home-blog__list li { border-top: 1px solid #deebed; }
.home-blog__list li:last-child { border-bottom: 1px solid #deebed; }
.home-blog__list a { display: grid; grid-template-columns: 94px minmax(0, 1fr) 18px; gap: 13px; align-items: center; min-height: 67px; color: #3c5865; text-decoration: none; }
.home-blog__list a span { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.home-blog__list a b { color: #64bcc3; font-weight: 500; transition: transform .2s ease; }
.home-blog__list a:hover span { color: #138f9a; }
.home-blog__list a:hover b { transform: translateX(4px); }
.home-blog__empty { padding: 24px 0; color: #60747d; }
.home-calendar { align-self: start; padding: 22px; }
.home-calendar__frame { height: 304px; margin: 0; overflow: hidden; border: 1px solid #e0ebed; border-radius: 14px; background: #fff; }
.home-calendar__frame iframe { display: block; width: 128.21%; height: 390px; transform: scale(.78); transform-origin: left top; }

@media (max-width: 920px) {
  .home-updates__inner { width: min(100% - 40px, 720px); }
  .home-notice { grid-template-columns: 155px minmax(0, 1fr); }
  .home-notice__article { grid-template-columns: 100px minmax(0, 1fr) 28px; gap: 16px; }
  .home-updates__columns { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .home-updates { padding: 40px 0 64px; }
  .home-updates__inner { width: calc(100% - 30px); }
  .home-updates__heading { margin-bottom: 24px; }
  .home-notice { display: block; margin-bottom: 18px; border-radius: 20px 20px 6px 20px; }
  .home-update-title { padding: 23px 24px; }
  .home-notice > .home-update-title { display: block; }
  .home-notice__article { grid-template-columns: 1fr 22px; gap: 8px 14px; min-height: 0; padding: 24px; }
  .home-notice__article time { grid-column: 1 / -1; }
  .home-notice__body h4 { margin-top: 0; font-size: 18px; }
  .home-notice__body p { font-size: 14px; line-height: 1.8; -webkit-line-clamp: 4; }
  .home-mouthpiece-banner { margin-bottom: 18px; border-radius: 7px 18px 18px 18px; }
  .home-instagram { padding: 24px 0 30px; }
  .home-instagram__heading { grid-template-columns: 1fr; width: calc(100% - 40px); margin-bottom: 14px; }
  .home-instagram__heading > a { width: fit-content; margin-top: 9px; }
  .home-instagram__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .home-instagram__post:nth-child(n + 7) { display: none; }
  .home-instagram__plugin { width: calc(100% - 40px); }
  .home-instagram__plugin #sbi_images .sbi_item:nth-child(n + 7) { display: none !important; }
  .home-updates__columns { gap: 18px; }
  .home-blog, .home-calendar { border-radius: 6px 20px 20px 20px; }
  .home-update-title--row { align-items: center; padding-bottom: 18px; }
  .home-update-title h3 { font-size: 21px; }
  .home-blog__list { padding: 0 24px 26px; }
  .home-blog__list a { grid-template-columns: 1fr 18px; gap: 4px 10px; min-height: 76px; padding: 12px 0; }
  .home-blog__list time { grid-column: 1 / -1; }
  .home-blog__list a span { white-space: normal; }
  .home-calendar { padding: 14px; }
  .home-calendar__frame { height: 281px; }
  .home-calendar__frame iframe { width: 138.89%; height: 390px; transform: scale(.72); }
}

@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  .home-mouthpiece-banner { width: 100%; }
  .home-mouthpiece-banner__image--desktop { display: none; }
  .home-mouthpiece-banner__image--mobile { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .home-mouthpiece-banner,
  .home-instagram__post img,
  .home-instagram__overlay { transition: none; }
}
