/* =========================================================
   BrightBranches PC top page
   Background colours and replaceable image frames are managed here.
========================================================= */
:root {
  --ink: #2d2a22;
  --olive: #8a7926;
  --olive-line: #a39968;
  --yellow: #f8ca3e;
  --bg-header: #fdfcf8;
  --bg-hero: #fefbf4;
  --bg-about: #faf9f5;
  --bg-feature: #f6f5e8;
  --bg-trial: #fbf7ec;
  --bg-footer: #fdfcf8;
  --container-width: 1400px;
  --container-gutter: 80px;
  --container-side-space: max(
    calc((100vw - var(--container-width)) / 2),
    calc(var(--container-gutter) / 2)
  );
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg-about);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-feature-settings: "palt";
  letter-spacing: .08em;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container-width), calc(100% - var(--container-gutter)));
  margin-inline: auto;
}

.image-frame {
  position: relative;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--image-position, 50% 50%);
}

.button {
  min-height: 52px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.button-primary {
  background: linear-gradient(100deg, #ffd85e, #f6c532);
  box-shadow: 0 7px 18px rgba(191, 155, 31, .12);
}

.button-outline {
  border: 1px solid var(--olive-line);
  background: rgba(255, 255, 255, .78);
}

/* Header */
.site-header {
  position: relative;
  height: 100px;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: var(--bg-hero);
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: min(100%, calc(var(--container-side-space) + 430px));
  background:
    radial-gradient(circle at 2% 78%, rgba(248, 202, 62, .16) 0 5px, transparent 18px),
    radial-gradient(circle at 7% 91%, rgba(248, 202, 62, .13) 0 8px, transparent 24px),
    radial-gradient(circle at 13% 72%, rgba(248, 202, 62, .11) 0 4px, transparent 16px),
    radial-gradient(circle at 19% 88%, rgba(248, 202, 62, .12) 0 7px, transparent 22px),
    radial-gradient(circle at 27% 76%, rgba(248, 202, 62, .09) 0 5px, transparent 19px),
    radial-gradient(ellipse at 8% 100%, rgba(248, 202, 62, .14) 0, transparent 52%),
    radial-gradient(circle at 70% 80%, rgba(248, 202, 62, .14) 0 4px, transparent 15px),
    radial-gradient(circle at 78% 66%, rgba(248, 202, 62, .10) 0 6px, transparent 20px),
    radial-gradient(circle at 87% 84%, rgba(248, 202, 62, .11) 0 3px, transparent 14px),
    radial-gradient(circle at 94% 72%, rgba(248, 202, 62, .08) 0 5px, transparent 19px),
    radial-gradient(ellipse at 76% 100%, rgba(248, 202, 62, .09) 0, transparent 48%),
    radial-gradient(ellipse at 22% 88%, rgba(248, 202, 62, .18) 0, rgba(248, 202, 62, .10) 38%, transparent 72%),
    linear-gradient(90deg, rgba(248, 202, 62, .10) 0, rgba(248, 202, 62, .06) 58%, transparent 100%);
  pointer-events: none;
}

.site-header,
.header-inner,
.hero {
  margin-top: 0;
  margin-bottom: 0;
}

main {
  display: block;
  margin: 0;
  padding: 0;
}

.site-header + main {
  margin-top: 0;
}

.header-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-toggle {
  display: none;
}

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

.site-header .brand {
  align-self: flex-end;
}

.site-header .brand img {
  mix-blend-mode: multiply;
}

.brand img {
  width: 280px;
  height: auto;
  display: block;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
}

.global-nav a {
  min-width: 96px;
  padding-inline: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #dedbd0;
  font-size: 12px;
}

.global-nav a:last-child {
  border-right: 0;
}

.global-nav small,
.footer-nav small {
  margin-top: 9px;
  font-size: 9px;
  letter-spacing: .08em;
}

.header-cta {
  flex: 0 0 auto;
  min-height: 48px;
  padding-inline: 23px;
  color: #fff;
  font-weight: 700;
}

/* Main visual */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(250, 211, 67, .13), transparent 25%),
    var(--bg-hero);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: calc(var(--container-side-space) + 540px);
  display: block;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(248, 202, 62, .17) 0, rgba(248, 202, 62, .09) 32%, transparent 66%),
    radial-gradient(ellipse at 12% 55%, rgba(248, 202, 62, .10) 0, rgba(248, 202, 62, .05) 42%, transparent 74%),
    linear-gradient(90deg, rgba(248, 202, 62, .07) 0, rgba(248, 202, 62, .035) 70%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: none;
  display: none;
}

.hero-inner {
  min-height: 460px;
  display: grid;
  grid-template-columns: 34% 66%;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding: 52px 30px 40px 0;
}

.hero-copy h1 {
  margin: 0 0 27px;
  font-size: clamp(31px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .13em;
}

.hero-copy h1 span {
  white-space: nowrap;
}

.hero-copy > p:not(.script-copy) {
  font-size: 15px;
  line-height: 2.1;
}

.script-copy {
  margin: 29px 0 27px;
  color: var(--olive);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 20px;
  transform: rotate(-3deg);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-actions .button {
  min-width: 210px;
}

.hero-image-frame {
  --image-position: 54% 48%;
  position: relative;
  z-index: 1;
  height: 440px;
  width: calc(100% + var(--container-side-space));
  margin-right: calc(var(--container-side-space) * -1);
  border-radius: 0 0 0 46% / 0 0 0 11%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, .22) 6%,
    rgba(0, 0, 0, .76) 15%,
    #000 25%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, .22) 6%,
    rgba(0, 0, 0, .76) 15%,
    #000 25%,
    #000 100%
  );
}

.hero-image-frame,
.hero-decoration {
  display: block;
  margin-top: 0;
  padding-top: 0;
  line-height: 0;
}

.hero-image-frame .hero-slide {
  position: absolute;
  inset: -2px 0 0;
  width: 100%;
  height: calc(100% + 2px);
  display: block;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: var(--image-position, 50% 50%);
  opacity: 0;
  transform: translateZ(0) scale(1);
  transition: opacity 1.4s ease-in-out;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.hero-image-frame .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  animation: hero-ken-burns-in 5.5s ease-out both;
}

.hero-image-frame .hero-slide.is-leaving {
  z-index: 0;
  opacity: 0;
  transform: translateZ(0) scale(1.06);
}

@keyframes hero-ken-burns-in {
  from { transform: translateZ(0) scale(1); }
  to { transform: translateZ(0) scale(1.06); }
}

/* Fallback soft edge for browsers without CSS masking. */
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: clamp(90px, 14vw, 230px);
  pointer-events: none;
  background: linear-gradient(to right, var(--bg-hero), rgba(254, 251, 244, .7) 28%, transparent 100%);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 74px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 80' preserveAspectRatio='none'%3E%3Cpath d='M0 5 C82 18 151 70 260 73 C364 76 422 56 525 52 C648 47 712 71 836 72 C914 73 965 70 1018 57 C1060 46 1096 38 1125 48 V80 H0 Z' fill='%23faf9f5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

@supports ((-webkit-mask-image: linear-gradient(#000, transparent)) or (mask-image: linear-gradient(#000, transparent))) {
  .hero-image-frame::before {
    opacity: .18;
  }
}

.hero-decoration {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: calc(clamp(330px, 31vw, 440px) + var(--container-side-space) - 7px);
  height: 146px;
  object-fit: fill;
  object-position: left top;
  opacity: .9;
  filter: saturate(.95) brightness(1.02);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .38) 13%, #000 36%, #000 58%, rgba(0, 0, 0, .34) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .38) 13%, #000 36%, #000 58%, rgba(0, 0, 0, .34) 82%, transparent 100%);
  pointer-events: none;
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  padding: 49px 0 38px;
  background: var(--bg-about);
}

.about-grid {
  display: grid;
  grid-template-columns: 37% 63%;
  gap: 40px;
}

.about-copy {
  padding-left: 46px;
}

.eyebrow {
  margin: 0 0 17px;
  font-size: 11px;
}

.about-copy h2 {
  margin: 0 0 20px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .16em;
}

.about-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 2.35;
}

.detail-button {
  min-width: 170px;
  margin-top: 25px;
}

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

.card-image-frame {
  --image-position: 50% 50%;
  aspect-ratio: .91;
  border-radius: 18px;
}

.classes-image-frame {
  --image-position: 50% 48%;
}

.recital-image-frame {
  --image-position: 50% 50%;
}

.teacher-image-frame {
  --image-position: 48% 50%;
}

.photo-card h3 {
  margin: 24px 0 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
}

.photo-card p {
  margin: 0;
  text-align: center;
  font-size: 10px;
}

.about-decoration {
  position: absolute;
  z-index: 1;
  top: 108px;
  width: 80px;
  height: 216px;
  object-fit: contain;
  pointer-events: none;
  opacity: .58;
}

.decoration-left {
  left: 0;
}

.decoration-right {
  right: 0;
}

/* Features */
.features {
  position: relative;
  overflow: hidden;
  padding: 22px 0 28px;
  background: #fff;
}

.features::before,
.features::after {
  content: none;
  display: none;
  background: transparent;
}

.section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .2em;
}

.features .section-title {
  margin-bottom: 0;
}

.features-title-decoration {
  width: 136px;
  height: 5px;
  margin: 12px auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.features-title-decoration::before,
.features-title-decoration::after,
.features-title-decoration i {
  content: "";
  height: 1px;
  display: block;
  flex: 1;
  background-color: var(--yellow);
}

.features-title-decoration i {
  font-style: normal;
}

.features-title-decoration span {
  width: 5px;
  height: 5px;
  display: block;
  flex: 0 0 5px;
  border-radius: 50%;
  background-color: var(--yellow);
}

.feature-grid {
  width: 79%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: 52px;
  row-gap: 32px;
}

.feature-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features .container,
.feature-grid,
.feature-item,
.feature-icon,
.feature-item h3,
.feature-item p,
.feature-content,
.feature-text {
  background: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

.features .container::before,
.features .container::after,
.feature-grid::before,
.feature-grid::after,
.feature-item::before,
.feature-item::after,
.feature-icon::before,
.feature-icon::after,
.feature-item h3::before,
.feature-item h3::after,
.feature-item p::before,
.feature-item p::after {
  content: none;
  display: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.feature-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  flex: 0 0 86px;
  background: transparent;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
  transform: none;
}

.feature-item h3 {
  min-height: 4.8em;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.feature-item p {
  margin: 0;
  font-size: 11px;
  line-height: 2;
}

@media (max-width: 900px) {
  .feature-grid {
    width: 84%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    width: 82%;
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .feature-item h3 {
    min-height: 0;
  }
}

.feature-flower {
  position: absolute;
  z-index: 1;
  top: 63px;
  width: 122px;
  height: 176px;
  object-fit: contain;
  pointer-events: none;
}

.flower-left {
  left: 28px;
}

.flower-right {
  right: 28px;
}

/* Trial */
.trial {
  position: relative;
  overflow: hidden;
  background: var(--bg-trial);
}

.trial-inner {
  min-height: 232px;
  display: grid;
  grid-template-columns: 34% 54% 12%;
  align-items: center;
}

.trial-image-frame {
  --image-position: 50% 32%;
  height: 232px;
  align-self: stretch;
}

.trial-image-frame--photo {
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 74%, rgba(0,0,0,.78) 86%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 74%, rgba(0,0,0,.78) 86%, transparent 100%);
}

.trial-image-frame--photo::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--bg-trial));
}

/* For a transparent cut-out, change only this modifier class in HTML. */
.trial-image-frame--transparent {
  overflow: visible;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.trial-image-frame--transparent img {
  object-fit: contain;
  object-position: left bottom;
}

.trial-copy {
  padding: 28px 60px;
}

.trial-copy h2 {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 400;
}

.trial-copy p {
  font-size: 12px;
  line-height: 2.2;
}

.trial-button {
  min-width: 320px;
  margin-top: 16px;
}

.trial-branch {
  width: 145px;
  height: 108px;
  display: block;
  object-fit: contain;
  opacity: .9;
}

/* Footer */
.site-footer {
  padding: 10px 0 12px;
  background: var(--bg-footer);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 38px;
}

.footer-brand img {
  width: 210px;
  height: 64px;
  object-fit: contain;
}

address {
  margin-top: 4px;
  font-style: normal;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: .02em;
}

.footer-nav {
  margin-left: auto;
  display: flex;
}

.footer-nav a {
  min-width: 75px;
  padding-inline: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 38px;
}

.social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.instagram-link img,
.line-icon img {
  transition: filter .25s ease, transform .25s ease;
}

.instagram-link:hover img,
.instagram-link:focus-visible img {
  filter: sepia(.35) saturate(2.2) brightness(1.2);
  transform: scale(1.07);
}

.line-icon:hover img,
.line-icon:focus-visible img {
  transform: scale(1.07);
}

/* PC shrink protection */
@media (max-width: 1200px) {
  :root {
    --container-gutter: 48px;
  }

  .header-inner {
    gap: 14px;
  }

  .brand img {
    width: 225px;
  }

  .global-nav a {
    min-width: 78px;
    padding-inline: 8px;
  }

  .header-cta {
    padding-inline: 15px;
  }

  .about-copy {
    padding-left: 24px;
  }

  .footer-nav a {
    min-width: 62px;
  }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  :root {
    --container-gutter: 32px;
  }

  .header-inner,
  .header-menu {
    gap: 10px;
  }

  .brand img {
    width: 168px;
  }

  .global-nav a {
    min-width: 56px;
    padding-inline: 5px;
    font-size: 10px;
  }

  .global-nav small {
    margin-top: 6px;
    font-size: 8px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .hero-inner {
    grid-template-columns: 42% 58%;
  }

  .hero-copy {
    padding-right: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(25px, 3.2vw, 31px);
    letter-spacing: .08em;
  }

  .hero-copy > p:not(.script-copy) {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 18px;
    font-size: 12px;
  }

  .about-grid {
    grid-template-columns: 35% 65%;
    gap: 24px;
  }

  .about-copy {
    padding-left: 16px;
  }

  .about-copy h2 {
    font-size: 20px;
  }

  .about-copy > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 2.1;
  }

  .about-cards {
    gap: 16px;
  }

  .trial-inner {
    grid-template-columns: 36% 52% 12%;
  }

  .trial-copy {
    padding-inline: 30px;
  }

  .trial-copy h2 {
    font-size: 21px;
  }

  .footer-inner {
    gap: 18px;
  }

  .footer-brand img {
    width: 165px;
  }

  .footer-nav a {
    min-width: 48px;
    padding-inline: 4px;
    font-size: 8px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* Smartphone */
@media screen and (max-width: 767px) {
  :root {
    --container-gutter: 32px;
    --container-side-space: 16px;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    min-width: 0;
  }

  .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .site-header {
    position: relative;
    z-index: 20;
    height: 76px;
  }

  .header-inner {
    position: relative;
    gap: 12px;
  }

  .site-header .brand {
    align-self: flex-end;
  }

  .brand img {
    width: 185px;
    max-width: 52vw;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    display: flex;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--olive-line);
    border-radius: 50%;
    background: var(--bg-header);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

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

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-menu {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: -16px;
    left: -16px;
    margin: 0;
    padding: 12px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid #dedbd0;
    background: var(--bg-header);
    box-shadow: 0 12px 24px rgba(45, 42, 34, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }

  .site-header.is-menu-open .header-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-nav a {
    min-width: 0;
    min-height: 56px;
    padding: 9px 6px;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid #dedbd0;
    font-size: 13px;
  }

  .global-nav a:nth-child(odd) {
    border-right: 1px solid #dedbd0;
  }

  .global-nav small {
    margin-top: 5px;
  }

  .header-cta {
    width: min(100%, 300px);
    min-height: 46px;
    font-size: 13px;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 42px 4px 32px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.65;
    letter-spacing: .06em;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy > p:not(.script-copy) {
    margin-block: 0;
    font-size: 14px;
    line-height: 2;
  }

  .hero-copy > p:not(.script-copy) br {
    display: none;
  }

  .script-copy {
    margin: 20px 0 22px;
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-image-frame {
    width: 100%;
    height: clamp(260px, 74vw, 340px);
    margin: 0;
    border-radius: 0 0 0 18% / 0 0 0 8%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-image-frame::before {
    width: 18%;
  }

  .hero-image-frame::after {
    height: 38px;
  }

  .hero-image-frame .hero-slide {
    width: 100%;
    max-width: none;
  }

  .hero::after {
    bottom: -24px;
    width: 72%;
    height: 48px;
  }

  .hero-decoration {
    left: 0;
    width: calc(min(78vw, 300px) + 16px);
    height: 112px;
    opacity: .62;
  }


  .about {
    padding: 46px 0 42px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }

  .about-copy {
    padding: 0;
  }

  .about-copy h2 {
    font-size: clamp(20px, 5.6vw, 24px);
    line-height: 1.65;
  }

  .about-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 2;
  }

  .about-copy > p:not(.eyebrow) br {
    display: none;
  }

  .detail-button {
    width: min(100%, 240px);
    margin-top: 18px;
  }

  .about-cards {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .photo-card {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
  }

  .card-image-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .photo-card h3 {
    margin-top: 16px;
  }

  .about-decoration {
    width: 58px;
    opacity: .35;
  }

  .features {
    padding: 34px 0 42px;
  }

  .section-title {
    padding-inline: 8px;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.6;
    letter-spacing: .1em;
  }

  .features-title-decoration {
    max-width: calc(100% - 32px);
  }

  .feature-grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .feature-item {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    padding-inline: 12px;
  }

  .feature-item h3 {
    min-height: 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .feature-flower {
    top: 86px;
    width: 72px;
    height: 128px;
    opacity: .42;
  }

  .flower-left {
    left: 0;
  }

  .flower-right {
    right: 0;
  }

  .trial-inner {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .trial-image-frame {
    width: 100%;
    height: clamp(250px, 74vw, 330px);
    align-self: auto;
  }

  .trial-image-frame--photo {
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trial-image-frame--photo::after {
    inset: auto 0 0;
    width: 100%;
    height: 18%;
    background: linear-gradient(to bottom, transparent, var(--bg-trial));
  }

  .trial-copy {
    width: calc(100% - 32px);
    padding: 28px 0 38px;
    text-align: center;
  }

  .trial-copy h2 {
    font-size: clamp(21px, 5.8vw, 25px);
    line-height: 1.5;
  }

  .trial-copy p {
    font-size: 14px;
    line-height: 2;
  }

  .trial-copy p br {
    display: none;
  }

  .trial-button {
    width: 100%;
    min-width: 0;
    margin-top: 12px;
    padding-inline: 18px;
    gap: 12px;
    font-size: 13px;
  }

  .trial-branch {
    position: absolute;
    right: 8px;
    bottom: 4px;
    width: 90px;
    height: 70px;
    opacity: .48;
  }

  .site-footer {
    padding: 24px 0 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer-brand-wrap {
    width: 100%;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-brand img {
    width: 190px;
    max-width: 72vw;
    height: auto;
  }

  address {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .footer-nav {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .footer-nav a {
    min-width: 0;
    padding-inline: 5px;
    font-size: 11px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }
.about-nowrap {
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .about-nowrap {
    font-size: 0.82em;
    letter-spacing: -0.04em;
  }

}
