@charset "UTF-8";
/* 2026-08-06 reference comp: 1672 x 941 hero */
:root {
  --hero-wide: 1470px;
}

.hero-botanical {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 151px;
  width: 120px;
  height: 300px;
  overflow: visible;
  color: #83c8bd;
  opacity: 0.3;
  pointer-events: none;
}
.hero-botanical path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.hero-botanical ellipse {
  fill: currentColor;
  opacity: 0.55;
}

@media (min-width: 1550px) {
  .hdr-inner,
  .hero-inner,
  .hero-facts {
    width: min(100% - 80px, var(--hero-wide));
  }
  .hdr-inner {
    height: 105px;
  }
  .hdr-logo {
    flex-basis: 360px;
  }
  .hdr .btn {
    width: 226px;
    min-height: 64px;
    padding: 0 28px;
    font-size: 1.08rem;
    letter-spacing: 0.12em;
    gap: 1.1em;
  }
  .hdr-logo {
    transform: translateX(10px);
  }
  .hdr-cta {
    transform: translateX(20px);
  }
  .hero {
    min-height: 836px;
    padding: 35px 0 60px;
    background: radial-gradient(ellipse at 71% 34%, rgba(255, 255, 255, 0.92) 0 21%, rgba(255, 255, 255, 0) 55%), linear-gradient(116deg, #fff 0%, #fff 43%, #f6fbfa 68%, #e6f5f2 100%);
  }
  .hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -118px;
    bottom: 114px;
    width: 470px;
    height: 540px;
    border-radius: 58% 0 0 56%;
    background: rgba(255, 255, 255, 0.62);
    pointer-events: none;
  }
  .hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto 0 0;
    height: 205px;
    background: linear-gradient(0deg, rgba(231, 247, 243, 0.72), rgba(244, 251, 249, 0));
    clip-path: none;
    pointer-events: none;
  }
  .hero-inner {
    height: 590px;
    min-height: 590px;
    display: grid;
    grid-template-columns: 670px minmax(0, 1fr);
    gap: 45px;
    align-items: stretch;
  }
  .hero-copy {
    position: relative;
    align-self: center;
    align-self: stretch;
    padding: 0;
  }
  .hero-open {
    position: absolute;
    top: 70px;
    left: 15px;
    width: 404px;
    height: 50px;
    min-height: 50px;
    justify-content: center;
    padding: 0 24px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.4;
    letter-spacing: 0.055em;
    box-shadow: 0 10px 24px rgba(224, 126, 62, 0.24);
  }
  .hero-title .t-lead {
    margin: 0 0 29px;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0.2em;
  }
  .hero-title .t-main {
    font-size: 5.25rem;
    line-height: 1.04;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }
  .hero-title {
    position: absolute;
    top: 154px;
    left: 15px;
    font-feature-settings: normal;
  }
  .hero-title .t-main em {
    padding: 0;
    background: none;
  }
  .hero-title .t-main::after {
    content: "";
    display: block;
    width: 620px;
    height: 9px;
    margin: 23px 0 15px;
    background: radial-gradient(circle, rgba(46, 158, 143, 0.55) 0 2.2px, transparent 2.5px) 0 50%/24px 9px repeat-x;
  }
  .hero-sub {
    position: absolute;
    top: 357px;
    left: 22px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #515c5a;
  }
  .hero-actions {
    position: absolute;
    top: 437px;
    left: 15px;
    margin: 0;
    gap: 20px;
    flex-wrap: nowrap;
  }
  .hero-actions .btn {
    min-height: 88px;
    padding: 0 36px;
    font-size: 1.18rem;
  }
  .hero-actions .btn:first-child {
    width: 338px;
  }
  .hero-actions .btn:nth-child(2) {
    width: 286px;
  }
  .hero-visual {
    position: relative;
    min-width: 0;
    height: 590px;
    overflow: visible;
    border-radius: 0;
  }
  .hero-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -148px;
    bottom: -20px;
    width: 438px;
    height: 520px;
    border-radius: 68% 0 0 58%;
    background: rgba(224, 245, 240, 0.52);
    clip-path: ellipse(66% 62% at 100% 50%);
  }
  .hero-visual::after {
    display: none;
  }
  .hero-photo-frame {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 14px;
    width: 654px;
    height: 590px;
    overflow: visible;
  }
  .hero-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 49%;
    border-radius: 58px 142px 78px 58px;
    box-shadow: none;
  }
  .hero-paw {
    position: absolute;
    z-index: 3;
    top: -5px;
    left: 17px;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #f18236;
    font-size: 2.25rem;
    box-shadow: 0 8px 24px rgba(34, 122, 110, 0.12);
  }
  .hero-message {
    position: absolute;
    z-index: 3;
    top: 24px;
    right: -32px;
    width: 70px;
    height: 438px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(46, 158, 143, 0.62);
    transform: none;
    writing-mode: horizontal-tb;
    color: var(--primary-dark);
    font-family: var(--font-family);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.14em;
  }
  .hero-message span {
    position: absolute;
    writing-mode: vertical-rl;
  }
  .hero-message span:first-child {
    top: 8px;
    right: 0;
  }
  .hero-message span:last-child {
    top: 82px;
    right: 55px;
  }
  .hero-facts {
    position: relative;
    z-index: 4;
    margin-top: -2px;
  }
  .hero-facts-inner {
    width: 100%;
    height: 153px;
    margin: 0;
    display: grid;
    grid-template-columns: 365fr 376fr 330fr 399fr;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 38px rgba(34, 122, 110, 0.12);
  }
  .fact {
    min-width: 0;
    height: 153px;
    padding: 0 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 42px;
    text-align: left;
    transform: translateY(-6px);
  }
  .fact > i {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.9rem;
    box-shadow: 0 6px 20px rgba(34, 122, 110, 0.13);
  }
  .fact .k {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .fact .v {
    font-size: 2rem;
    white-space: nowrap;
  }
  .fact .v small {
    margin-left: 4px;
    font-size: 0.54em;
  }
}
@media (min-width: 1101px) and (max-width: 1549px) {
  .hdr-inner,
  .hero-inner,
  .hero-facts {
    width: min(100% - 48px, 1200px);
  }
  .hdr-inner {
    height: 90px;
  }
  .hdr-logo {
    flex-basis: 320px;
  }
  .hdr .btn {
    width: 184px;
    min-height: 54px;
    padding: 0 22px;
    gap: 0.8em;
    font-size: 0.96rem;
    letter-spacing: 0.1em;
  }
  .hero {
    min-height: 0;
    padding: 42px 0 74px;
    background: radial-gradient(ellipse at 73% 34%, rgba(255, 255, 255, 0.9) 0 20%, rgba(255, 255, 255, 0) 57%), linear-gradient(116deg, #fff 0%, #fff 43%, #f5fbfa 68%, #e7f5f2 100%);
  }
  .hero::before {
    content: "";
    position: absolute;
    right: -150px;
    bottom: 100px;
    width: 450px;
    height: 500px;
    border-radius: 58% 0 0 52%;
    background: rgba(255, 255, 255, 0.55);
  }
  .hero::after {
    display: none;
  }
  .hero-inner {
    min-height: 520px;
    height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: stretch;
  }
  .hero-copy {
    align-self: center;
    min-width: 0;
    padding: 0;
  }
  .hero-open {
    min-height: 44px;
    margin-bottom: 25px;
    padding: 8px 18px;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .hero-title {
    position: static;
    margin: 0;
    font-feature-settings: normal;
  }
  .hero-title .t-lead {
    margin: 0 0 15px;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: 0.11em;
  }
  .hero-title .t-main {
    font-size: clamp(3.3rem, 5.5vw, 4.55rem);
    line-height: 1.04;
    letter-spacing: 0.045em;
    white-space: nowrap;
    font-feature-settings: normal;
  }
  .hero-title .t-main em {
    padding: 0;
    background: none;
  }
  .hero-title .t-main::after {
    content: "";
    display: block;
    width: 94%;
    height: 8px;
    margin: 14px 0 15px;
    background: radial-gradient(circle, rgba(46, 158, 143, 0.5) 0 2px, transparent 2.3px) 0 50%/22px 8px repeat-x;
  }
  .hero-sub {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .hero-actions {
    margin-top: 30px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .hero-actions .btn {
    min-height: 68px;
    padding: 0 22px;
    font-size: 0.96rem;
  }
  .hero-actions .btn:first-child {
    width: 250px;
  }
  .hero-actions .btn:nth-child(2) {
    width: 210px;
  }
  .hero-visual {
    position: relative;
    height: 520px;
    min-width: 0;
    overflow: visible;
    border-radius: 0;
  }
  .hero-visual::after {
    display: none;
  }
  .hero-photo-frame {
    position: relative;
    width: calc(100% - 60px);
    height: 520px;
    overflow: visible;
  }
  .hero-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 48%;
    border-radius: 46px 108px 62px 46px;
    box-shadow: none;
  }
  .hero-paw {
    position: absolute;
    z-index: 3;
    top: -14px;
    left: 16px;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #f18236;
    font-size: 1.9rem;
    box-shadow: var(--shadow-2);
  }
  .hero-message {
    display: none;
  }
  .hero-facts {
    position: relative;
    z-index: 4;
    margin-top: -36px;
  }
  .hero-facts-inner {
    width: 100%;
    height: 132px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-3);
  }
  .fact {
    min-width: 0;
    height: 132px;
    padding: 0 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
  }
  .fact > i {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.45rem;
    box-shadow: var(--shadow-2);
  }
  .fact .k {
    margin-bottom: 5px;
    font-size: 0.82rem;
  }
  .fact .v {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    white-space: nowrap;
  }
  .fact .v small {
    font-size: 0.56em;
  }
  .hero-botanical {
    bottom: 130px;
    width: 92px;
    opacity: 0.22;
  }
}
@media (max-width: 1100px) {
  .hdr-inner,
  .hero-inner,
  .hero-facts {
    width: min(100% - 32px, 760px);
  }
  .hero {
    min-height: 0;
    padding: 34px 0 86px;
    background: linear-gradient(180deg, #fff 0%, #f5fbfa 48%, #e8f6f3 100%);
  }
  .hero::before {
    content: "";
    position: absolute;
    right: -160px;
    bottom: 100px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
  }
  .hero::after {
    display: none;
  }
  .hero-inner {
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-open {
    margin-inline: auto;
  }
  .hero-title .t-main {
    white-space: nowrap;
  }
  .hero-title .t-main em {
    background: none;
  }
  .hero-title .t-main::after {
    content: "";
    display: block;
    width: min(92%, 610px);
    height: 8px;
    margin: 14px auto 17px;
    background: radial-gradient(circle, rgba(46, 158, 143, 0.5) 0 2px, transparent 2.3px) 0 50%/22px 8px repeat-x;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    width: min(100%, 720px);
    height: min(72vw, 530px);
    margin-inline: auto;
    overflow: visible;
    border-radius: 0;
  }
  .hero-visual::after {
    display: none;
  }
  .hero-photo-frame {
    position: relative;
    width: calc(100% - 68px);
    height: 100%;
    overflow: visible;
  }
  .hero-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 45%;
    border-radius: 40px 100px 58px 40px;
  }
  .hero-paw {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #f18236;
    font-size: 1.7rem;
    box-shadow: var(--shadow-2);
  }
  .hero-message {
    display: none;
  }
  .hero-facts {
    margin-top: -36px;
  }
  .hero-facts-inner {
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 24px;
  }
  .fact {
    min-width: 0;
    min-height: 126px;
    padding: 18px 10px;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .fact > i {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-2);
  }
  .hero-botanical {
    bottom: 200px;
    width: 90px;
    opacity: 0.25;
  }
}
@media (max-width: 720px) {
  .hdr-inner {
    height: 72px;
  }
  .hdr-logo {
    flex-basis: 240px;
  }
  .hdr .btn {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .hero {
    padding-top: 26px;
    padding-bottom: 74px;
  }
  .hero-open {
    min-height: 42px;
    margin-bottom: 24px;
    padding: 8px 16px;
    font-size: clamp(0.72rem, 3.4vw, 0.9rem);
  }
  .hero-title .t-lead {
    margin-bottom: 12px;
    font-size: clamp(1rem, 5vw, 1.3rem);
  }
  .hero-title .t-main {
    font-size: clamp(2.35rem, 10.3vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: 0;
  }
  .hero-sub {
    font-size: 0.86rem;
    line-height: 1.7;
  }
  .hero-actions {
    width: min(100%, 330px);
    margin: 28px auto 0;
    gap: 12px;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 60px;
    padding: 14px 24px;
  }
  .hero-visual {
    height: min(105vw, 430px);
  }
  .hero-photo-frame {
    width: calc(100% - 22px);
  }
  .hero-photo-frame img {
    border-radius: 28px 70px 42px 28px;
  }
  .hero-paw {
    top: -14px;
    left: 14px;
    width: 62px;
    height: 62px;
    font-size: 1.45rem;
  }
  .hero-facts {
    width: min(100% - 24px, 560px);
    margin-top: -28px;
  }
  .hero-facts-inner {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
  }
  .fact {
    min-height: 118px;
    padding: 14px 8px;
  }
  .fact:nth-child(2) {
    border-right: 0;
  }
  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .fact .k {
    margin-bottom: 3px;
    font-size: 0.74rem;
  }
  .fact .v {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }
  .hero-botanical {
    display: none;
  }
}
/* =========================================================
   院長メッセージ：写真カードを本文の下端に着地させる
   ========================================================= */
@media (min-width: 901px) {
  .message-inner {
    grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
    align-items: stretch;
  }
  .message-photo {
    align-self: end;
    overflow: hidden;
    padding: 14px 14px 0;
    border-radius: 28px;
  }
  .message-photo img {
    aspect-ratio: 4/5;
    object-position: center center;
    display: block;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 900px) {
  .message-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .message-photo {
    width: min(72vw, 300px);
    max-width: 300px;
    margin-inline: auto;
    overflow: hidden;
    padding: 12px 12px 0;
  }
  .message-photo img {
    aspect-ratio: 4/5;
    object-position: center center;
    display: block;
    border-radius: 14px 14px 0 0;
  }
}
@media (max-width: 600px) {
  .message-photo {
    width: min(72vw, 220px);
    max-width: 220px;
  }
}
