:root {
  --ink: #16120f;
  --red: #ed1c24;
  --coral: #ff9b8f;
  --yellow: #ffda72;
  --mint: #a9dfc5;
  --blue: #a9d8f5;
  --cream: #fffaf3;
  --paper: #fffdf9;
  --line: #e7ddd2;
  --shadow: 0 16px 40px rgba(91, 62, 36, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 clamp(24px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 16px rgba(55, 37, 22, 0.07);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(250px, 28vw, 370px);
  height: auto;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 48% 52% 44% 56%;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy small {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
}

.brand-copy strong {
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: .06em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 13px;
  font-weight: 700;
}

.global-nav > a:not(.nav-contact) {
  position: relative;
  padding: 32px 0;
}

.global-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.global-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-contact,
.primary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 16px rgba(237, 28, 36, .23);
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(50, 33, 18, .13);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: .25s ease;
}

.hero {
  position: relative;
  min-height: 880px;
  padding: 92px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 49% 43%, rgba(255, 255, 255, .75), transparent 31%),
    linear-gradient(120deg, #fff8ef 0%, #fffdf9 62%, #fff9ee 100%);
}

.hero-inner,
.section-inner,
.footer-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 788px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
}

.hero-copy {
  padding-top: 20px;
}

.hero-copy > .eyebrow {
  color: #e60012;
}

.eyebrow {
  margin: 0 0 22px;
  color: #4d4238;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
}

.eyebrow.red {
  color: var(--red);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.45;
}

.hero h1 {
  font-size: clamp(46px, 4.9vw, 70px);
}

.hero h1 .hero-title-line {
  display: block;
  color: inherit;
  white-space: nowrap;
}

.hero h1 .hero-title-dot,
.section h2 span {
  color: var(--red);
}

.hero-lead {
  margin: 24px 0 34px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 100%);
}

.hero-links a,
.care-links a {
  min-height: 64px;
  padding: 9px 16px;
  border: 1px solid rgba(65, 49, 35, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 17px rgba(68, 45, 25, .09);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-links a:hover,
.care-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(68, 45, 25, .14);
}

.mini-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.mini-icon img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.coral { background-color: #ffc1b7; }
.yellow { background-color: #ffe496; }
.mint { background-color: #bce8d3; }
.blue { background-color: #c5e7fa; }

.hero-visual {
  position: relative;
  height: 690px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 5%;
  bottom: 11%;
  width: 52%;
  height: 53%;
  border-radius: 50% 50% 43% 57% / 62% 59% 41% 38%;
  background: linear-gradient(145deg, #bfe8ff, #8fd2f5);
  transform: rotate(-7deg);
}

.photo-placeholder {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(238,229,218,.8)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,.25) 16px 32px);
  color: #8d7c6c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.photo-placeholder small {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
}

.hero-dog {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: -1%;
  width: 76%;
  height: 91%;
  overflow: hidden;
}

.hero-dog img {
  display: block;
  width: 100%;
  height: auto;
}

.speech {
  position: absolute;
  right: -5%;
  bottom: 19%;
  z-index: 3;
  width: 225px;
  padding: 25px 20px;
  border: 2px dashed #a5a09a;
  border-radius: 48% 52% 48% 52% / 50% 45% 55% 50%;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.speech span {
  color: var(--red);
}

.line-illustration {
  position: absolute;
  top: 115px;
  right: -40px;
  color: #6b5a4a;
  font-family: "Yu Mincho", serif;
  transform: rotate(-8deg);
}

/* ======================================
   CSS DECORATIONS
   形・色・回転・大きさを変えてランダム風に固定配置
====================================== */

.decor-blob {
  position: absolute;
  z-index: 1;
  display: block;
  background: var(--blob-color, var(--coral));
  pointer-events: none;
}

.blob--soft {
  width: 190px;
  height: 150px;
  border-radius: 39% 61% 54% 46% / 50% 43% 57% 50%;
}

.blob--gourd {
  width: 130px;
  height: 130px;
  border-radius: 54% 46% 52% 48% / 47% 55% 45% 53%;
}

.blob--gourd::after {
  content: "";
  position: absolute;
  top: 72px;
  left: 48px;
  width: 155px;
  height: 135px;
  border-radius: 45% 55% 58% 42% / 52% 46% 54% 48%;
  background: inherit;
}

.blob--onigiri {
  width: 210px;
  height: 155px;
  border-radius: 50% 50% 43% 57% / 68% 65% 35% 32%;
  clip-path: polygon(
    50% 0,
    75% 10%,
    94% 45%,
    98% 69%,
    84% 91%,
    51% 100%,
    17% 91%,
    2% 68%,
    7% 43%,
    25% 10%
  );
}

.blob--bean {
  width: 235px;
  height: 125px;
  border-radius: 63% 37% 55% 45% / 53% 65% 35% 47%;
}

.blob--drop {
  width: 160px;
  height: 185px;
  border-radius: 68% 32% 54% 46% / 38% 52% 48% 62%;
}

.decor-dots {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 52px;
  color: var(--dot-color, var(--yellow));
  pointer-events: none;
}

.decor-dots i {
  position: absolute;
  width: var(--dot-size, 6px);
  height: var(--dot-size, 6px);
  border-radius: 50%;
  background: currentColor;
}

.dots--diamond i:nth-child(1) { top: 0; left: 23px; }
.dots--diamond i:nth-child(2) { top: 10px; left: 11px; }
.dots--diamond i:nth-child(3) { top: 10px; left: 35px; }
.dots--diamond i:nth-child(4) { top: 22px; left: 0; }
.dots--diamond i:nth-child(5) { top: 22px; left: 23px; }
.dots--diamond i:nth-child(6) { top: 22px; left: 46px; }
.dots--diamond i:nth-child(7) { top: 35px; left: 11px; }
.dots--diamond i:nth-child(8) { top: 35px; left: 35px; }
.dots--diamond i:nth-child(9) { top: 46px; left: 23px; }

.dots--wave i:nth-child(1) { top: 0; left: 19px; }
.dots--wave i:nth-child(2) { top: 6px; left: 35px; }
.dots--wave i:nth-child(3) { top: 12px; left: 7px; }
.dots--wave i:nth-child(4) { top: 19px; left: 25px; }
.dots--wave i:nth-child(5) { top: 24px; left: 43px; }
.dots--wave i:nth-child(6) { top: 31px; left: 4px; }
.dots--wave i:nth-child(7) { top: 36px; left: 21px; }
.dots--wave i:nth-child(8) { top: 44px; left: 37px; }

.dots--ring i:nth-child(1) { top: 0; left: 23px; }
.dots--ring i:nth-child(2) { top: 7px; left: 38px; }
.dots--ring i:nth-child(3) { top: 23px; left: 46px; }
.dots--ring i:nth-child(4) { top: 39px; left: 37px; }
.dots--ring i:nth-child(5) { top: 46px; left: 22px; }
.dots--ring i:nth-child(6) { top: 38px; left: 6px; }
.dots--ring i:nth-child(7) { top: 22px; left: 0; }
.dots--ring i:nth-child(8) { top: 7px; left: 7px; }
.dots--ring i:nth-child(9) { top: 23px; left: 23px; }

.dots--scatter i:nth-child(1) { top: 2px; left: 5px; }
.dots--scatter i:nth-child(2) { top: 0; left: 27px; }
.dots--scatter i:nth-child(3) { top: 10px; left: 44px; }
.dots--scatter i:nth-child(4) { top: 17px; left: 17px; }
.dots--scatter i:nth-child(5) { top: 23px; left: 34px; }
.dots--scatter i:nth-child(6) { top: 31px; left: 2px; }
.dots--scatter i:nth-child(7) { top: 37px; left: 23px; }
.dots--scatter i:nth-child(8) { top: 45px; left: 42px; }

/* FV */
.hero-blob-coral {
  top: 72px;
  left: -96px;
  width: 350px;
  height: 185px;
  --blob-color: linear-gradient(135deg, #ff9e92, #ff7772);
  border-radius: 38% 62% 55% 45% / 60% 44% 56% 40%;
  transform: rotate(-7deg);
}

.hero-blob-coral::before,
.hero-blob-coral::after,
.hero-blob-yellow::before,
.hero-blob-yellow::after,
.hero-blob-mint::before,
.hero-blob-mint::after {
  content: "";
  position: absolute;
  display: block;
  background: inherit;
}

.hero-blob-coral::before {
  left: -58px;
  bottom: -72px;
  width: 190px;
  height: 215px;
  border-radius: 58% 42% 49% 51% / 42% 61% 39% 58%;
}

.hero-blob-coral::after {
  right: -148px;
  top: -45px;
  width: 245px;
  height: 145px;
  border-radius: 43% 57% 63% 37% / 59% 46% 54% 41%;
}

.hero-blob-yellow {
  top: 56px;
  left: 52%;
  width: 330px;
  height: 142px;
  --blob-color: linear-gradient(145deg, #ffe38d, #ffc95e);
  border-radius: 42% 58% 47% 53% / 61% 42% 58% 39%;
  transform: rotate(5deg);
}

.hero-blob-yellow::before {
  left: -112px;
  top: -62px;
  width: 215px;
  height: 180px;
  border-radius: 56% 44% 60% 40% / 43% 60% 40% 57%;
}

.hero-blob-yellow::after {
  right: -126px;
  top: -48px;
  width: 230px;
  height: 150px;
  border-radius: 45% 55% 38% 62% / 54% 43% 57% 46%;
}

.hero-blob-mint {
  right: -104px;
  bottom: -76px;
  width: 235px;
  height: 225px;
  --blob-color: linear-gradient(145deg, #b6e7ca, #8ed5ae);
  border-radius: 53% 47% 36% 64% / 42% 60% 40% 58%;
  transform: rotate(-15deg);
}

.hero-blob-mint::before {
  left: -112px;
  bottom: -48px;
  width: 185px;
  height: 168px;
  border-radius: 48% 52% 58% 42% / 61% 43% 57% 39%;
}

.hero-blob-mint::after {
  right: -22px;
  top: -94px;
  width: 155px;
  height: 178px;
  border-radius: 57% 43% 48% 52% / 39% 57% 43% 61%;
}

.hero-blob-mint-left {
  left: -105px;
  bottom: -112px;
  width: 175px;
  height: 190px;
  --blob-color: linear-gradient(145deg, #c3edd5, #91d8b1);
  transform: rotate(17deg);
}

.hero-blob-mint-left::after {
  top: 74px;
  left: 78px;
  width: 210px;
  height: 155px;
}

.hero-dots-white {
  top: 178px;
  left: 2.2%;
  --dot-color: rgba(255, 255, 255, .96);
  transform: rotate(8deg) scale(.92);
}

.hero-dots-yellow {
  right: 51%;
  bottom: 42px;
  --dot-color: #f9cf59;
  transform: rotate(-8deg) scale(.9);
}

.hero-dots-coral {
  right: 3.5%;
  top: 315px;
  --dot-color: #ff978d;
  transform: rotate(15deg) scale(.72);
}

/* OUR POLICY */
.policy-blob-coral {
  left: -82px;
  bottom: -45px;
  width: 300px;
  height: 220px;
  --blob-color: linear-gradient(145deg, #ff9e92, #ff7772);
  transform: rotate(14deg);
}

.policy-blob-yellow {
  right: -75px;
  top: 42px;
  --blob-color: linear-gradient(145deg, #ffe28a, #ffc95e);
  transform: rotate(-25deg) scale(.72);
}

.policy-dots-yellow {
  left: 5%;
  top: 72px;
  --dot-color: var(--yellow);
  transform: rotate(-12deg) scale(.72);
}

.policy-dots-blue {
  right: 4%;
  bottom: 42px;
  --dot-color: var(--blue);
  transform: rotate(11deg) scale(.68);
}

/* SPECIALTY */
.specialty-blob-blue {
  top: -48px;
  left: -95px;
  --blob-color: linear-gradient(145deg, #a8ddf7, #83c8ee);
  transform: rotate(22deg) scale(.9);
}

.specialty-blob-mint {
  right: -125px;
  bottom: -50px;
  --blob-color: linear-gradient(145deg, #b6e7ca, #8ed5ae);
  transform: rotate(-18deg) scale(.95);
}

.specialty-dots-blue {
  top: 62px;
  right: 7%;
  --dot-color: #82c9f4;
  transform: rotate(16deg) scale(.75);
}

.specialty-dots-white {
  right: 2.5%;
  bottom: 38px;
  --dot-color: rgba(255, 255, 255, .96);
  transform: rotate(-6deg) scale(.8);
}

/* HOME CARE */
.care-blob-yellow {
  left: -105px;
  top: 58px;
  width: 245px;
  height: 175px;
  --blob-color: linear-gradient(145deg, #ffe28a, #ffc95e);
  transform: rotate(-17deg);
}

.care-blob-coral {
  right: -75px;
  bottom: -75px;
  --blob-color: linear-gradient(145deg, #ffa096, #ff7f78);
  transform: rotate(21deg) scale(.86);
}

.care-dots-coral {
  left: 3.5%;
  bottom: 65px;
  --dot-color: #ff9388;
  transform: rotate(-14deg) scale(.72);
}

.care-dots-yellow {
  right: 5%;
  top: 50px;
  --dot-color: var(--yellow);
  transform: rotate(12deg) scale(.7);
}

/* JOURNAL */
.journal-blob-coral {
  right: -112px;
  top: -52px;
  --blob-color: linear-gradient(145deg, #ffa096, #ff7f78);
  transform: rotate(-18deg) scale(1.12);
}

.journal-blob-blue {
  left: -105px;
  bottom: -54px;
  --blob-color: linear-gradient(145deg, #a8ddf7, #83c8ee);
  transform: rotate(18deg) scale(.86);
}

.journal-dots-coral {
  right: 5%;
  top: 115px;
  --dot-color: #ff978d;
  transform: rotate(-7deg) scale(.7);
}

.journal-dots-mint {
  left: 4%;
  bottom: 55px;
  --dot-color: var(--mint);
  transform: rotate(13deg) scale(.74);
}

/* ACCESS */
.access-blob-blue {
  top: -40px;
  left: -125px;
  --blob-color: linear-gradient(145deg, #a8ddf7, #83c8ee);
  transform: rotate(20deg) scale(.95);
}

.access-blob-mint {
  right: -65px;
  bottom: -85px;
  --blob-color: linear-gradient(145deg, #b6e7ca, #8ed5ae);
  transform: rotate(-16deg) scale(.78);
}

.access-dots-white {
  left: 4%;
  top: 58px;
  --dot-color: rgba(255,255,255,.96);
  transform: rotate(9deg) scale(.78);
}

.access-dots-mint {
  right: 4%;
  bottom: 42px;
  --dot-color: #83cfaa;
  transform: rotate(-12deg) scale(.7);
}

.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section h2 {
  font-size: clamp(35px, 4vw, 53px);
}

.section-heading > p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 14px;
}

.centered {
  margin-bottom: 54px;
  text-align: center;
}

/* 「4つの専門診療。」「ご来院について。」の見た目の中央を調整 */
#specialty .section-heading h2,
#access .section-heading h2 {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

#specialty .section-heading h2 > span,
#access .section-heading h2 > span {
  position: absolute;
  left: 100%;
  bottom: 0;
  margin-left: 0.06em;
}

/* 「ご来院について。」の下に余白を追加 */
#access .section-heading h2 {
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
}

.policy {
  min-height: 650px;
  background: #fffdf9;
}

.policy-copy {
  padding-right: 60px;
}

.policy-copy > p:last-child,
.home-care-copy > p {
  margin: 26px 0 0;
  color: #544b43;
  font-size: 14px;
  line-height: 2.2;
}

.policy-photo {
  height: 440px;
  overflow: hidden;

  border-radius:
    45% 55% 43% 57%
    / 37% 46% 54% 63%;
}

.policy-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.specialty {
  background: linear-gradient(135deg, #edf8ff, #f8fcff);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.specialty-card,
.journal-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.specialty-card:hover,
.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(91, 62, 36, .16);
}

.specialty-head {
  min-height: 96px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.specialty-head .number {
  font-family: Georgia, serif;
  font-size: 13px;
  opacity: .55;
}

.round-icon {
  width: 55px;
  height: 55px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  font-weight: 800;
}

.round-icon img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.specialty-title {
  flex: 1;
  min-width: 0;
}

.specialty-title p {
  margin: 4px 0 0;
  color: rgba(22, 18, 15, 0.7);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.specialty-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .04em;
}

.specialty-photo {
  height: 245px;
  overflow: hidden;
  border-radius: 0;
}

.specialty-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialty-photo.coral { color: #b15143; }
.specialty-photo.yellow { color: #9b761b; }
.specialty-photo.mint { color: #417a61; }
.specialty-photo.blue { color: #3e7899; }

.specialty-body {
  position: relative;
  min-height: 150px;
  padding: 25px 82px 28px 28px;
}

.specialty-body p {
  margin: 0;
  color: #544b43;
  font-size: 13px;
}

.circle-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 45px;
  height: 45px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.home-care {
  background: linear-gradient(110deg, #fff9e7, #fff3c9);
}

.home-care-grid {
  min-height: 490px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
}

.product-visual {
  position: relative;
  width: 90%;
  height: 430px;
  border-radius: 45% 55% 51% 49% / 48% 42% 58% 52%;
  background: rgba(255,255,255,.65);
}

.product {
  position: absolute;
  bottom: 55px;
  width: 90px;
  border: 2px solid rgba(99, 74, 41, .13);
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #fff, #f6eee3);
  box-shadow: 0 16px 25px rgba(90, 64, 34, .13);
  color: #a4937f;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.product-a { left: 55px; height: 240px; }
.product-b { left: 150px; height: 300px; width: 82px; }
.product-c { left: 242px; height: 220px; width: 130px; }
.product-d { left: 378px; height: 135px; width: 110px; border-radius: 50% 50% 12px 12px; }

.care-links {
  display: flex;
  gap: 12px;
  margin: 26px 0;
}

.care-links a {
  min-width: 0;
  flex: 1;
  border-radius: 16px;
}

.care-links b {
  margin-left: auto;
  color: var(--red);
}

.home-care-copy .primary-button {
  min-width: 260px;
}

.journal {
  background: #fffdf9;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.journal-card > img,
.journal-photo,
.closed-visual {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.journal-photo {
  border-radius: 0;
}

.journal-body {
  position: relative;
  min-height: 180px;
  padding: 24px 68px 26px 24px;
}

.tag {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 10px;
  font-weight: 800;
}

.tag.notice {
  background: var(--blue);
}

.journal-body time {
  color: #8a7c6f;
  font-size: 11px;
}

.journal-body h3 {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.closed-visual {
  background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,.75), transparent 20%),
    linear-gradient(135deg, #bfe6f7, #eef9fd);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.calendar-icon {
  width: 62px;
  height: 62px;
  border: 3px solid #fff;
  border-radius: 15px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.closed-visual p {
  font-weight: 800;
}

.outline-button {
  min-height: 48px;
  padding: 0 34px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-weight: 800;
}

.journal > .section-inner > .outline-button {
  margin: 42px auto 0;
  display: flex;
  width: fit-content;
}

.first-visit-notice {
  max-width: 920px;
  margin: 24px auto 40px;
  padding: 24px 30px;
  border: none;
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow);
}

.first-visit-notice h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.first-visit-notice p {
  margin: 8px 0 0;
  color: #544b43;
  font-size: 14px;
  line-height: 1.9;
}

.first-visit-notice strong {
  color: #e60012;
}

.access {
  background: linear-gradient(135deg, #dff2ff, #f5fbff);
}

.access-panel {
  padding: 20px;
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 37% 63%;
  gap: 28px;
}

.map-placeholder {
  min-height: 355px;
  border-radius: 18px;
  background:
    linear-gradient(35deg, transparent 47%, rgba(255,255,255,.9) 48% 52%, transparent 53%),
    linear-gradient(145deg, transparent 47%, rgba(255,255,255,.9) 48% 52%, transparent 53%),
    #e6eee5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #746c63;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 355px;
  border: 0;
}

.map-pin {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.map-placeholder small {
  margin-top: 5px;
}

.access-info {
  padding: 12px 10px 8px 0;
}

.hours {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hours-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(7, 1fr);
  min-height: 45px;
  align-items: center;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
}

.hours-row:first-child {
  border-top: 0;
}

.hours-head {
  font-weight: 800;
}

.hours-time {
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}

.hours-time small {
  margin-top: 2px;
  color: #e60012;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.access-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4px 24px;
  font-size: 12px;
}

.access-details p:last-child {
  grid-column: 1 / -1;
}

.access-details a {
  font-size: 18px;
  font-weight: 800;
}

.access-buttons {
  display: flex;
  gap: 14px;
}

.access-buttons > * {
  flex: 1;
}


.app-store-buttons {
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.app-store-buttons a {
  display: block;
  transition: transform 0.2s ease;
}

.app-store-buttons a:hover {
  transform: translateY(-3px);
}

.app-store-buttons img {
  display: block;
  width: auto;
  height: 52px;
}

.site-footer {
  padding: 55px 0 30px;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 38px 70px;
  align-items: center;
}

.footer-logo {
  width: min(100%, 330px);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 26px;
  font-size: 12px;
  font-weight: 700;
}

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #9a8e83;
  text-align: center;
  font-size: 10px;
}

@media (max-width: 1060px) {
  .site-header {
    height: 76px;
    padding: 0 22px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: clamp(210px, 34vw, 290px);
  }

  .brand-copy small {
    font-size: 8px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 28px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 25px rgba(45, 31, 20, .1);
    display: grid;
    gap: 0;
    transform: translateY(-140%);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .global-nav > a:not(.nav-contact) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    margin-top: 20px;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 76px;
  }

  .hero-inner {
    grid-template-columns: 44% 56%;
  }

  .hero h1 {
    font-size: clamp(42px, 5.2vw, 56px);
  }

  .hero-links {
    grid-template-columns: 1fr;
  }

  .speech {
    right: 0;
  }

  .product-d {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 36px, 540px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    position: relative;
    min-height: 0;
    padding: 68px 0 36px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.38;
  }

  .hero-lead {
    margin: 18px 0 25px;
    font-size: 14px;
    font-weight: 600;
  }

  /* FVの白い点を見出しの上へ移動 */
  .hero-dots-white {
    top: 80px;
    left: 10% !important;
    z-index: 3;
    transform: scale(.7);
  }


  /* FVの黄色い点を見出し横へ移動 */
  .hero-dots-yellow {
    top: 225px;
    right: 3%;
    bottom: auto;
    z-index: 3;
    transform: scale(.7);
  }  

  /* CTAを左側へ縦並び */
  .hero-links {
    position: relative;
    z-index: 4;
    width: 53%;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-links a {
    min-height: 54px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .mini-icon {
    width: 34px;
    height: 34px;
  }

  /* 犬をCTAの右側へ配置 */
  .hero-visual {
    position: absolute;
    z-index: 2;
    right: calc((100vw - 100%) / -2);
    bottom: 0;
    width: 50%;
    height: 330px;
    margin-top: 0;
    pointer-events: none;
  }

  .hero-visual::before {
    left: 5%;
    bottom: 3%;
    width: 78%;
    height: 64%;
  }

  .hero-dog {
    right: -4%;
    bottom: -1%;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .hero-dog img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
  }

  /* 吹き出しはスマホでは非表示 */
  .speech {
    display: none;
  }

  
  .line-illustration {
    top: 38px;
    right: -3%;
  }

  .hero-blob-coral {
    width: 170px;
    height: 105px;
    left: -112px;
  }

  .hero-blob-yellow {
    left: auto;
    right: -108px;
    width: 150px;
    height: 88px;
  }

  .hero-blob-coral::before {
    left: -30px;
    bottom: -38px;
    width: 96px;
    height: 118px;
  }

  .hero-blob-coral::after {
    right: -70px;
    top: -22px;
    width: 118px;
    height: 78px;
  }

  .hero-blob-yellow::before {
    left: -58px;
    top: -34px;
    width: 105px;
    height: 96px;
  }

  .hero-blob-yellow::after {
    right: -62px;
    top: -24px;
    width: 112px;
    height: 82px;
  }

  .hero-dots-white {
    left: 4px;
  }

  .hero-dots-coral {
    right: 2%;
    top: 360px;
  }

  .policy-blob-coral,
  .specialty-blob-blue,
  .journal-blob-blue {
    transform: rotate(15deg) scale(.68);
  }

  .policy-blob-yellow,
  .care-blob-coral,
  .access-blob-mint {
    transform: rotate(-20deg) scale(.58);
  }

  .decor-dots {
    --dot-size: 5px;
  }

  .section {
    padding: 82px 0;
  }

  .section h2 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  /* ほかの横並びセクションは縦並び */
  .split,
  .home-care-grid {
    grid-template-columns: 1fr;
  }

  /* OUR POLICY：スマホ版 */

  .policy {
    min-height: 0;
    padding: 70px 0 85px;
  }

  .policy .split {
    grid-template-columns: 43% 57%;
    align-items: center;
    gap: 0;
  }

  .policy-copy {
    position: relative;
    z-index: 2;
    padding: 0 8px 0 0;
  }

  .policy h2 {
    font-size: clamp(22px, 5.5vw, 25px);
    line-height: 1.65;
    white-space: nowrap;
  }

  .policy-copy > p:last-child {
    width: calc(100% + 12px);
    max-width: none;
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.9;
  }

  .policy-photo {
    position: relative;
    z-index: 1;
    width: calc(100% + 28px);
    height: 230px;
    margin: 0 -28px 0 0;
    overflow: hidden;

    border-radius:
      54% 46% 49% 51%
      / 43% 47% 53% 57%;
  }

  .policy-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    transform: none;
  }  
    
  /* HOME CARE用の文章設定は残す */
  .home-care-copy > p {
    font-size: 13px;
    line-height: 2;
  }


  /* 4つの専門診療：スマホ版 */
  #specialty h2 {
    font-size: clamp(26px, 6.5vw, 30px);
    line-height: 1.65;
  }  
    
  #specialty .section-heading > p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.9;
  }

  #specialty .section-heading > p:not(.eyebrow) + p {
    margin-top: 12px;
  }

  /* 専門診療セクションに丸模様を追加 */
  #specialty::after {
    content: "";
    position: absolute;
    top: 230px;
    right: -48px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: #b6e7ca;
    opacity: 0.75;
    z-index: 0;
    pointer-events: none;
  }

  /* 中身を装飾より手前に表示 */
  #specialty .section-inner {
    position: relative;
    z-index: 1;
  }


/* ===================================
   専門診療カード：SP版・縦並び
=================================== */

#specialty .specialty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 38px;
}

/* カード全体 */
#specialty .specialty-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;

  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(71, 81, 89, 0.1);
}

/* 写真と長い本文はSPでは非表示 */
#specialty .specialty-photo,
#specialty .specialty-body {
  display: none;
}

/* バナーの中身 */
#specialty .specialty-head {
  position: relative;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;

  width: 100%;
  min-height: 108px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

/* 左側の色面 */
#specialty .specialty-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 105px;
}

#specialty .specialty-head.coral::before {
  background: #ffb8b0;
}

#specialty .specialty-head.yellow::before {
  background: #ffe391;
}

#specialty .specialty-head.mint::before {
  background: #b8e8d5;
}

#specialty .specialty-head.blue::before {
  background: #bce4f7;
}

/* 番号は非表示 */
#specialty .number {
  display: none;
}

/* アイコン */
#specialty .round-icon {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 68px;
  height: 68px;
  margin: auto;

  background: rgba(255, 255, 255, 0.58);
  border: 2px solid #fff;
  border-radius: 50%;
}

#specialty .round-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* 診療科名と小見出し */
#specialty .specialty-title {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;

  min-width: 0;
  padding: 17px 42px 17px 20px;
}

#specialty .specialty-title h3,
#specialty .specialty-head > h3 {
  margin: 0;
  color: #17130f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

#specialty .specialty-title p {
  display: block;
  margin: 6px 0 0;
  color: #625850;
  font-size: 10px;
  line-height: 1.6;
}

/* 右端の矢印 */
#specialty .specialty-card::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 17px;
  z-index: 3;

  color: #f51d2b;
  font-size: 16px;
  line-height: 1;

  transform: translateY(-50%);
}


/* タップ時の沈み込み */
#specialty .specialty-card {
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#specialty .specialty-card:active {
  transform: translateY(4px) scale(0.985);
  box-shadow: 0 2px 7px rgba(71, 81, 89, 0.12);
  filter: brightness(0.98);
}

  .product-visual {
    width: 100%;
    height: 330px;
    margin-bottom: 42px;
  }

  .product-a { left: 7%; height: 190px; width: 20%; }
  .product-b { left: 28%; height: 235px; width: 19%; }
  .product-c { left: 49%; height: 170px; width: 28%; }
  .product-d { display: grid; left: 75%; width: 21%; height: 110px; }

  .care-links {
    display: grid;
  }



  /* JOURNAL & NEWS：SP版見出し */
  #journal .section-heading {
    width: 100%;
    text-align: center;
  }

  #journal .section-heading .eyebrow {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  #journal .section-heading h2 {
    position: relative;
    display: inline-block;
    width: auto;
    margin-right: auto;
    margin-left: auto;

    font-size: clamp(26px, 6.5vw, 30px);
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
  }

  /* 「。」を中央揃えの計算から外す */
  #journal .section-heading h2 > span {
    position: absolute;
    left: 100%;
    bottom: 0.08em;
    margin-left: 0.08em;
  }

  /* JOURNALセクション左上の黄色ドット */
  #journal::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 18px;
    width: 38px;
    height: 38px;
    z-index: 1;
    pointer-events: none;

    background-image: radial-gradient(
      circle,
      #ffd45f 1.5px,
      transparent 2px
    );
    background-size: 13px 13px;
    transform: rotate(12deg);
  }  
 
  /* 元の青い装飾は左下に残す */
  #journal .journal-blob-blue {
    left: -105px;
    right: auto;
    bottom: -54px;

    clip-path: none;
    border-radius: 58% 42% 50% 50% / 55% 48% 52% 45%;
    --blob-color: linear-gradient(145deg, #b9e5f7, #91cfea);
  }

  /* 先ほどの疑似要素は消す */
  #journal .journal-blob-blue::before {
    content: none;
  }

  /* ミントの大きい装飾だけ右下へ */
  #journal::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: 55px;
    width: 210px;
    height: 165px;
    border-radius: 56% 44% 48% 52% / 58% 46% 54% 42%;
    background: linear-gradient(145deg, #c9eed9, #a9dfc1);
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
  }

  /* お知らせ・読みもの：コンパクトな縦型カード */
  #journal .journal-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  #journal .journal-card {
    display: block;
    width: 82%;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 20px;

    box-shadow:
      0 -5px 14px rgba(72, 82, 90, 0.07),
      0 10px 24px rgba(72, 82, 90, 0.13);
  }

  #journal .journal-card > img,
  #journal .journal-photo {
    display: block;
    width: 100%;
    height: 175px;
    min-height: 0;
    object-fit: cover;
  }

  #journal .journal-card h3 {
    margin: 15px 0 7px;
    font-size: 15px;
    line-height: 1.8;
    color: #3F3F3F;
  }

  #journal .journal-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
  }

  /* カードの文章部分を短くする */
  #journal .journal-body {
    position: relative;
    min-height: 145px;
    padding: 16px 52px 16px 17px;
  }

  /* 赤丸矢印を少し上へ */
  #journal .journal-card .circle-arrow {
    right: 12px;
    bottom: 28px;
    width: 34px;
    height: 34px;
  }

  .closed-visual {
    height: 230px;
  }


  /* ご来院について：SP版見出し */
  #access .section-heading {
    width: 100%;
    text-align: center;
  }

  #access .section-heading .eyebrow {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  #access .section-heading h2 {
    position: relative;
    display: inline-block;
    width: auto;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(26px, 6.5vw, 30px);
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
  }

  /* 赤い「。」を中央揃えの計算から外す */
  #access .section-heading h2 > span {
    position: absolute;
    left: 100%;
    bottom: 0.08em;
    margin-left: 0.08em;
  } 

  /* 初めて来院される方への説明文 */
  #access .first-visit-notice p {
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
  }
  
  .access-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .map-placeholder,
  .map-embed {
    min-height: 260px;
  }

  .map-embed iframe {
    height: 260px;
  }   

  .access-info {
    padding: 4px;
    overflow: hidden;
  }

  .hours {
    overflow-x: auto;
  }

  .hours-row {
    min-width: 620px;
  }

  .access-details {
    grid-template-columns: 1fr;
  }

  .access-details p:last-child {
    grid-column: auto;
  }

  .access-buttons {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
  }

  .footer-inner > p {
    grid-column: auto;
  }


  /* OUR POLICY：赤い背景装飾 */
  .policy-blob-coral {
    top: auto;
    left: auto;
    right: -45px;
    bottom: 70px;

    width: 145px;
    height: 115px;

    /* 角ばった形を解除 */
    clip-path: none;
    border-radius: 50%;

    /* 既存の回転・縮小も解除 */
    transform: none;

    z-index: 0;
  }
}




@media (max-width: 410px) {
  .brand-logo {
    width: min(68vw, 240px);
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .hero-links {
    gap: 8px;
  }

  .hero-links a {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}


