:root {
  color: #393837;
  background: #fffaf2;
  font: 400 16px/1.8 "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --cream: #fffaf2;
  --pink: #ffd9e6;
  --mint: #dcf5f5;
  --blue: #345eaa;
  --heading: clamp(1.55rem, 2.6vw, 2.15rem);
  --subheading: 1.125rem;
  --small: .875rem;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { line-height: 1.42; text-wrap: balance; }
h1, h2 { font-size: var(--heading); }
h2 { font-weight: 500; text-align: center; margin: 0 0 32px; }
h3 { font-size: var(--subheading); margin: 0 0 12px; }
p { margin: 0 0 16px; }
small { font-size: var(--small); }
.wrap { width: min(100% - 48px, 1000px); margin-inline: auto; }
.hero {
  background: radial-gradient(ellipse at 9% 24%, #fff8ed 0, transparent 51%),
              linear-gradient(162deg, #ffe7ef 0%, #ffdce8 42%, #dcecff 89%);
  padding: 48px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; column-gap: 48px; align-items: center; }
.salon-name { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px dashed #966079; border-radius: 12px; padding: 4px 12px; margin-bottom: 16px; }
.credentials { font-size: var(--small); max-width: 440px; }
.hero h1 { font-size: clamp(1.85rem, 3.55vw, 3.1rem); font-weight: 700; margin: 20px 0 16px; line-height: 1.24; }
.hero h1 span { display: block; }
.hero-art { position: relative; grid-column: 2; grid-row: 1 / span 2; padding: 38px 12px 34px; }
.hero-photo {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center;
  border: 9px solid var(--cream); border-radius: 32px; transform: rotate(3deg);
  box-shadow: 0 10px 25px #75436520;
}
.lipstick, .mirror, .kuma { position: absolute; pointer-events: none; }
.lipstick { width: 12%; right: 0; top: 0; mix-blend-mode: multiply; mask-image: radial-gradient(ellipse 66% 75%, #000 50%, transparent 92%); }
.mirror { width: 13%; left: -3%; bottom: 8%; mix-blend-mode: multiply; mask-image: radial-gradient(ellipse 66% 75%, #000 50%, transparent 92%); }
.kuma { width: 14%; bottom: 0; right: 2%; object-fit: contain; filter: drop-shadow(0 3px 3px #75436528); }
.hero-action { text-align: center; }
.hero-action > p:first-child { max-width: 25em; margin-inline: auto; text-wrap: balance; }
.schedule { font-size: var(--small); margin: 12px 0 0; }
.cta {
  width: min(100%, 440px); min-height: 56px; display: flex; padding: 12px 24px;
  align-items: center; justify-content: center; margin: 24px auto 0;
  border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  text-decoration: none; text-align: center;
}
.cta:hover:not(:disabled) { background: #274b8b; }
.cta:disabled { opacity: 1; background: #45689d; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.band { position: relative; padding: 88px 0; isolation: isolate; }
.cream { background: var(--cream); }
.wash { background: linear-gradient(145deg, #ffdeea, #f7eff8 50%, var(--mint)); }
.band::before {
  content: ""; position: absolute; z-index: -1; inset: -30px 0 auto; height: 48px;
  background: inherit; border-radius: 56% 46% 0 0 / 68% 42% 0 0;
}
.band + .band:nth-child(even)::before { border-radius: 40% 60% 0 0 / 55% 82% 0 0; }
h2::before, h2::after {
  content: ""; display: block; width: 15px; height: 9px; margin: 0 auto 12px;
  border: 1px solid #a65d7d; border-radius: 80% 12% 80% 12%; transform: rotate(24deg);
}
h2::after { margin: 12px auto 0; transform: rotate(204deg); }
.band > .wrap > p { max-width: 42em; margin-inline: auto; }
.card, .material, .results li, .flow li, .audience > div {
  background: #fff; border: 1px solid #f3bdcf; border-radius: 24px; padding: 24px;
  box-shadow: 0 5px 18px #8a41650d;
}
.material { border: 1px dashed #966079; box-shadow: none; padding: 12px 16px; margin: 12px 0; }
.center, .worries, .future { text-align: center; }
.grid, .plan-grid { display: grid; gap: 16px; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.worries, .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.worries { max-width: 760px; margin-inline: auto; }
.worries .material { margin: 0; padding: 20px 12px; }
.results, .flow, .themes, .dates { list-style: none; padding: 0; }
.results { margin: 0 0 32px; }
.results li, .flow li { align-content: center; text-align: center; }
.themes { max-width: 750px; margin: 40px auto 24px; display: grid; gap: 24px; }
.themes li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.themes li:nth-child(even) .theme-title { grid-column: 2; grid-row: 1; }
.themes li:nth-child(even) .theme-description { grid-column: 1; grid-row: 1; }
.theme-title {
  min-height: 115px; display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 16px; border: 1px solid #f3bdcf; border-radius: 49% 46% 47% 48%; background: #fff;
}
.theme-title h3, .theme-description p, .card p:last-child { margin: 0; }
.theme-title span { color: #995071; font-size: var(--heading); font-weight: 500; }
.table-card { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; overflow-wrap: anywhere; }
th, td { padding: 12px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid #f7d9e3; }
th { width: 29%; font-weight: 500; }
tr:last-child > * { border-bottom: 0; }
.dates { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.dates li { background: #ecf5ff; border-radius: 999px; padding: 2px 10px; }
.special { margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.special > * { display: grid; place-items: center; text-align: center; border-radius: 50%; aspect-ratio: 1; margin: 0; }
.special div { background: #ffd9e6; width: 108px; }
.special p { background: #dbe9ff; width: 156px; padding: 18px; text-wrap: balance; }
.flow { counter-reset: step; }
.flow li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; color: #995071; }
.audience p { margin: 0; }
.bio { max-width: 760px; margin: auto; padding: 32px; }
.portrait { width: 144px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 24px; }
.bio > p:first-of-type { text-align: center; font-size: var(--subheading); font-weight: 500; }
.application { max-width: 560px; margin: 24px auto 0; scroll-margin-top: 24px; }
.application:target { outline: 2px solid var(--blue); border-radius: 24px; outline-offset: 8px; }
footer { padding: 24px 0; text-align: center; background: #ebf4ff; position: relative; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer p { font-size: var(--small); margin: 4px 0 0; }
@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { column-gap: 24px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 24px 0 72px; }
  .hero-grid { display: block; }
  .hero-art { max-width: 375px; margin: 0 auto 12px; padding: 10px 16px 20px; }
  .hero-photo { border-width: 6px; border-radius: 24px; }
  .hero-action .cta { margin-top: 12px; }
  .hero h1 { margin: 12px 0 16px; }
  .band { padding: 56px 0; }
  .grid, .plan-grid { grid-template-columns: 1fr; }
  .themes { gap: 16px; }
  .themes li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .theme-title { padding: 8px; gap: 6px; min-height: 96px; }
  .theme-description { overflow-wrap: anywhere; }
  .table-card, .bio { padding: 16px; }
  th, td { display: block; width: 100%; padding: 4px 0; }
  th { border-bottom: 0; padding-top: 12px; }
  td { padding-bottom: 12px; }
}
