:root {
  --rose: #A46572;
  --rose-soft: #F9ECED;
  --bg: #FBF8F5;
  --ink: #575554;
  --muted: #80696E;
  --line: #E7D9D8;
  --num: #D8C6C8;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

h1 {
  font-family: "Shippori Mincho",serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.8;
  letter-spacing: .2em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

body {
  background: #E9E5E3;
  color: var(--ink);
  font-family: "Noto Sans JP",sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: 0.15rem;
  margin: 0;
  text-align: justify;
}

h2 {
  font-family: "Shippori Mincho",serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.5rem;
  letter-spacing: 0.2rem;
  margin: 0.75rem 0 1.875rem;
}

h3 {
  font-family: "Shippori Mincho",serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2rem;
  letter-spacing: 0.2rem;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(13.6533px,4.266667vw,29.0133px);
}

html.js .scroll-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Page layout */

.pink {
  background: var(--rose-soft);
}

.white {
  background: #fff;
}

section {
  padding: 4rem 1.5rem;
}

.eyebrow {
  font-size: 0.625rem;
  color: var(--rose);
  letter-spacing: 0.09375rem;
  font-family: AppleGothic,Arial,sans-serif;
  line-height: 1.5rem;
  display: block;
}

.site {
  max-width: 680px;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 6.25rem;
  width: 100%;
  margin: auto;
}


/* Header */

header {
  height: 4.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--rose);
  gap: 0.25rem;
  padding: 0 1.5rem;
}

.logo {
  color: white;
  letter-spacing: 0.1875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font: 1.25rem/2rem "Shippori Mincho",serif;
}

.logo img {
  flex: none;
  width: clamp(30px,calc(5.9016vw + 7.868px),48px);
  height: auto;
}

.instagram {
  font-size: 0.6875rem;
  color: var(--rose);
  text-decoration: none;
  flex: none;
}

.instagram img {
  width: clamp(30px,calc(5.9016vw + 7.868px),48px);
  height: auto;
}


/* Photography */

.photo {
  background: #EEE5E1;
  overflow: hidden;
}

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

.campaign-photo {
  margin-bottom: 1.625rem;
}

.feature-photo {
  height: auto;
  position: relative;
  aspect-ratio: 1;
}

.group-photo {
  height: auto;
  aspect-ratio: 1;
  position: relative;
}

.feature-photo img {
  position: absolute;
  width: 146.98%;
  height: 160.83%;
  left: -36.31%;
  top: -26.47%;
  max-width: none;
  object-fit: fill;
}

.vertical-copy {
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  writing-mode: horizontal-tb;
  background: rgba(255,255,255,.7);
  overflow-wrap: anywhere;
  width: 2.5rem;
  letter-spacing: 0.1rem;
  color: #000;
  padding: 0.625rem;
  font: 1rem/1.5rem "Shippori Mincho",serif;
}

.vertical-copy.first {
  right: 1.625rem;
  top: 0.75rem;
}

.vertical-copy.second {
  right: 4.4375rem;
  top: 2.9375rem;
}

.group-photo img {
  position: absolute;
  width: 125.97%;
  height: 137.84%;
  left: -8.53%;
  top: -26.1%;
  max-width: none;
  object-fit: fill;
}

.photo-gallery {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.photo-gallery img {
  width: calc((100% - 1.5rem)/3);
  height: 8.75rem;
  object-fit: cover;
}


/* About */

.profile p:last-child,
.about p:last-child {
  margin-bottom: 0;
}

.profile {
  text-align: left;
  background: rgba(249,236,237,.4);
  color: #000;
  padding-left: 1.90625rem;
  padding-right: 1.90625rem;
}

.profile .eyebrow {
  margin-bottom: 1.5rem;
}

.profile h2 {
  font-family: "Noto Sans JP",sans-serif;
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: 0.1rem;
  margin: 0;
}

.profile p {
  margin: 0;
}

.profile p:nth-of-type(1) {
  margin-bottom: 1.5rem;
}

.about {
  background: rgba(249,236,237,.4);
  text-align: left;
  color: #000;
  padding-left: 1.90625rem;
  padding-right: 1.90625rem;
}

.about h2 {
  margin: 1.5rem 0;
}

.about p {
  margin-bottom: 2rem;
}


/* First view */

.hero-copy {
  padding: 2.125rem 1.5rem;
}

.hero-copy h1 {
  font-size: 1.75rem;
  line-height: 2.45rem;
  letter-spacing: 0.175rem;
  color: #000;
  margin: 0 0 1.5rem;
}

.hero-copy p {
  line-height: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.13125rem;
  color: var(--rose);
  margin: 0;
}

.hero-photo {
  height: auto;
  margin-left: 24px;
  border-radius: 18.75rem 18.75rem 0 0;
  margin-top: 1.5rem;
  position: relative;
  margin-right: 24px;
  width: calc(100% - 48px);
  aspect-ratio: 327 / 430;
}

.hero-photo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: none;
  min-height: 100%;
}


/* Section headings and scenes */

.section-head {
  position: relative;
  min-height: 8.5rem;
  margin: 0 0 1.5rem;
}

.section-head h2 {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  margin: 0;
}

.section-num {
  position: absolute;
  right: 0.5rem;
  top: 0;
  color: #d6d6d6;
  font: 5rem/3.5rem Garamond,"EB Garamond",serif;
}

.scene-item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0,1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0 none currentColor;
}

.scene-item:last-child {
  margin-bottom: 0;
}

.item-num {
  display: block;
  margin-top: 0.25rem;
  color: #585152;
  font: 1.5rem/1.5rem Garamond,"EB Garamond",serif;
}

.scene-item h3 {
  color: var(--rose);
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.scene-item p {
  line-height: 2rem;
  margin: 0;
}


/* Care menu and facility plans */

.plan:last-of-type {
  border-bottom: 1px solid var(--rose);
}

.note {
  font-size: 0.75rem;
  color: var(--muted);
}

.price-box {
  background: #fff;
  margin-top: 1.25rem;
  padding: 1.625rem 1.375rem;
  border: 1px solid var(--line);
}

.price-box h3 {
  margin: 0 0 1rem;
}

.price-box strong {
  display: block;
  color: var(--rose);
  font: 1.5625rem/1.6 "Shippori Mincho",serif;
}

.price-box p {
  margin: 0.75rem 0 0;
}

#care {
  background: var(--bg);
}

.care-intro {
  margin-bottom: 1.5rem;
}

.plan {
  border-color: var(--rose);
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--rose);
}

.plan h3 {
  color: var(--rose);
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 700;
  margin: 1rem 0 0;
}

.plan-label {
  display: block;
  color: var(--rose);
  letter-spacing: 0.09375rem;
  font: 0.625rem/1.5rem AppleGothic,Arial,sans-serif;
}

.plan-meta {
  color: var(--rose);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.13125rem;
}

.price {
  font-family: "Shippori Mincho",serif;
  font-size: 1.25rem;
  color: var(--rose);
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.plan ul {
  line-height: 2rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.plan li {
  margin-bottom: 0.5rem;
}

.plan li::before {
  content: "・";
}

.conditions {
  margin-top: 1.5rem;
  background: var(--rose-soft);
  color: #000;
  padding: 2rem 1.5rem;
}

.conditions h3 {
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--rose);
  margin: 0 0 1.5rem;
}

.conditions p {
  font-size: 0.875rem;
  line-height: 1.5rem;
  letter-spacing: 0.13125rem;
}

.conditions >p:first-of-type {
  display: none;
}

.conditions .price-box {
  background: var(--bg);
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  border: 0 none currentColor;
}

.conditions .price-box h3 {
  font-weight: 400;
}

.conditions .price-box strong {
  font-size: 1.25rem;
  line-height: 2rem;
  color: var(--rose);
  margin: 0 0 1.5rem;
}

.conditions .price-box p {
  margin: 0 0 1.5rem;
}


/* Our promise */

.promise-item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0,1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0 none currentColor;
}

.promise-item:last-child {
  margin-bottom: 0;
  border: 0 none currentColor;
}

.promise-item h3 {
  color: var(--rose);
  font-size: 1.25rem;
  line-height: 2rem;
  margin: 0 0 0.5rem;
}

.promise-item p {
  line-height: 2rem;
  margin: 0;
}


/* Flow */

.step {
  position: relative;
  padding: 0 0 2rem 1.5625rem;
  border-left: 1px solid var(--rose);
}

.step:before {
  content: "";
  position: absolute;
  top: 0.4375rem;
  left: -0.25rem;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--rose);
}

.step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step-label {
  color: var(--rose);
  font-size: 0.6875rem;
  letter-spacing: .12em;
}

.step h3 {
  margin: 0.5rem 0 0.625rem;
}

.step p {
  margin: 0;
}


/* FAQ */

details {
  padding: 1.1875rem 0;
  border-bottom: 1px solid var(--line);
}

details:first-of-type {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary:before {
  content: "Q.";
  color: var(--rose);
  font-family: "Shippori Mincho",serif;
}

details p {
  margin: 1rem 0 0 1.625rem;
}


/* Campaign */

.campaign {
  background: var(--rose-soft);
}

.campaign h2 {
  margin-bottom: 1.375rem;
}


/* Contact */

.contact {
  text-align: center;
}

.contact h2 {
  font-size: 1.25rem;
  line-height: 2rem;
  color: #000;
}

.contact p {
  color: #000;
}

.contact-link {
  display: block;
  background: transparent;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #000;
  margin-top: 4rem;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  line-height: 1.5rem;
  padding: 0;
}


/* Footer */

footer {
  text-align: center;
  font-size: 0.6875rem;
  padding: 1.875rem 1.5rem 2.8125rem;
}


/* Floating action */

.floating-cta strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
}

.floating-cta small {
  display: block;
  font-size: 0.6875rem;
}

.arrow {
  font-size: 1.5rem;
}

.floating-cta span {
  padding-left: 1.5rem;
  white-space: nowrap;
  letter-spacing: 1px;
}

.floating-cta img {
  flex: none;
}

.floating-cta {
  position: fixed;
  z-index: 10;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(39.5rem,calc(100% - 48px),632px);
  min-height: 2.5rem;
  background: var(--rose);
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: none;
  letter-spacing: 0.15rem;
  gap: 0.4375rem;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.5rem 1.5rem;
}


@media (max-width:374px) {
  .logo {
    font-size: 1.0625rem;
    letter-spacing: 0.125rem;
  }

  .floating-cta {
    padding: 0.5rem 1rem;
  }

  .floating-cta span {
    padding-left: 0;
    font-size: 0.875rem;
  }

  .conditions {
    padding: 1.5rem 1rem;
  }

  .conditions .price-box {
    padding: 1.5rem 1rem;
  }
}

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

}
