:root {
  --color-accent: #e8b4b8;
  --color-accent-dark: #b76e79;
  --color-sage: #9caf88;
  --color-heading: #2f2b29;
  --color-text: #4a4542;
  --color-bg-gray: #faf8f6;
  --max-width: 1080px;
  --font-heading: "Shippori Mincho", serif;
  --font-body: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
}

body,
h1,
h2,
h3,
h4,
p,
li,
span,
a {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

p {
  text-wrap: pretty;
}

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

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.1;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.05em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__tagline {
  font-size: 10px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-top: 2px;
  white-space: nowrap;
}

.nav {
  overflow-x: auto;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav__list a {
  position: relative;
  display: inline-block;
  font-weight: 500;
  font-size: 0.8rem;
  white-space: nowrap;
  padding-bottom: 4px;
  transition: color 0.25s;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-dark);
  transition: width 0.3s ease;
}

.nav__list a:hover {
  color: var(--color-accent-dark);
}

.nav__list a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background-image:
    linear-gradient(
      to right,
      rgba(250, 248, 246, 0.95) 0%,
      rgba(250, 248, 246, 0.88) 30%,
      rgba(250, 248, 246, 0.55) 55%,
      rgba(250, 248, 246, 0.15) 85%
    ),
    url("images/cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-heading);
  text-align: center;
  padding: 170px 20px;
}

/* ヒーロー背景の装飾円 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 130px at 12% 24%, rgba(156, 175, 136, 0.1) 99%, transparent 100%),
    radial-gradient(circle 90px at 22% 74%, rgba(232, 180, 184, 0.1) 99%, transparent 100%);
}

/* ヒーロー下端を生成り色のウェーブで次セクションへつなぐ */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 52px;
  pointer-events: none;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,8 480,52 720,38 C960,24 1200,12 1440,34 L1440,60 L0,60 Z' fill='%23FAF8F6'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ヒーロー要素の時間差フェードイン(fill: backwardsで遅延中は非表示、完了後は通常スタイルに戻る) */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hero__kicker {
  animation: heroFadeUp 0.7s ease 0.1s backwards;
}

.hero__title {
  animation: heroFadeUp 0.7s ease 0.28s backwards;
}

.hero__subtitle {
  animation: heroFadeUp 0.7s ease 0.46s backwards;
}

.hero__brand {
  animation: heroFadeUp 0.7s ease 0.64s backwards;
}

.hero__lead {
  animation: heroFadeUp 0.7s ease 0.82s backwards;
}

.hero .btn {
  animation: heroFadeUp 0.7s ease 1s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__kicker,
  .hero__title,
  .hero__subtitle,
  .hero__brand,
  .hero__lead,
  .hero .btn {
    animation: none;
  }
}

.hero__kicker {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  margin: 0 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.65;
  letter-spacing: 0.03em;
  margin: 0 0 20px;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.7);
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-heading);
  margin: 0 0 32px;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
}

.hero__brand {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.7);
}

.hero__lead {
  font-size: 1.05rem;
  color: #7a7570;
  margin: 0 0 44px;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-heading);
  border: 1.5px solid var(--color-accent);
}

.btn--primary:hover {
  opacity: 0.85;
}

.btn--secondary {
  padding: 11px 30px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--color-accent-dark);
  border: 1.5px solid var(--color-accent-dark);
}

.btn--secondary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Section ===== */
.section {
  padding: 140px 20px;
}

.section--gray {
  background: var(--color-bg-gray);
}

/* --- ゆるやかなウェーブ区切り --- */
.section--gray {
  position: relative;
}

.section--gray::before,
.section--gray::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 52px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.section--gray::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,52 480,8 720,22 C960,36 1200,48 1440,26 L1440,0 L0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.section--gray::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,8 480,52 720,38 C960,24 1200,12 1440,34 L1440,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* ヒーロー直下(できること)は上ウェーブ不要、料金→フッターは同色なので下ウェーブ不要 */
#capabilities::before {
  display: none;
}

#price::after {
  display: none;
}

/* --- 薄い装飾円(可読性を邪魔しない背景アクセント) --- */
#about,
#achievements {
  background-image:
    radial-gradient(circle 150px at 8% 22%, rgba(156, 175, 136, 0.08) 99%, transparent 100%),
    radial-gradient(circle 190px at 92% 76%, rgba(232, 180, 184, 0.09) 99%, transparent 100%);
}

#features,
#profile {
  background-image:
    radial-gradient(circle 170px at 90% 18%, rgba(232, 180, 184, 0.08) 99%, transparent 100%),
    radial-gradient(circle 140px at 10% 82%, rgba(156, 175, 136, 0.07) 99%, transparent 100%);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 64px;
  color: var(--color-heading);
}

.section__title::before {
  content: attr(data-kicker);
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
  font-family: "Montserrat", var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-sage);
}

.section__text {
  font-size: 1rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

/* ===== About text ===== */
.about-text {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.about-text__block {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  text-align: center;
}

/* ===== Capabilities ===== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.capability-item {
  text-align: center;
}

.capability-item__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

.capability-item.reveal {
  transition-delay: calc(var(--reveal-order, 0) * 0.12s);
}

.capability-item__label {
  margin: 0;
  font-weight: 700;
  color: var(--color-heading);
  font-size: 0.95rem;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.cards--single {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(156, 175, 136, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--color-heading);
}

.card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 0 0 14px;
}

.card__text {
  margin: 0;
  text-align: left;
  font-size: 0.95rem;
}

.card__name {
  margin: 12px 0 0;
  font-weight: 700;
  color: var(--color-heading);
}

/* ===== Worry list ===== */
.worry-list {
  list-style: none;
  margin: 0 auto 48px;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.worry-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.worry-list__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.worry-list__icon {
  flex-shrink: 0;
  color: var(--color-sage);
  font-weight: 700;
}

.worry-conclusion {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--color-accent-dark);
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Service groups ===== */
.service-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-group {
  background: #fff;
  border-radius: 14px;
  padding: 32px 32px 32px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.service-group__title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--color-accent-dark);
  color: var(--color-heading);
  font-size: 1.1rem;
}

.service-group__list {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-group__list li {
  font-size: 0.95rem;
}

/* ===== Achievements ===== */
.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.achievement-card {
  background: var(--color-bg-gray);
  border-radius: 14px;
  padding: 32px;
  border-left: 3px solid var(--color-accent-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.achievement-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--color-heading);
  font-size: 1.15rem;
}

.achievement-card__row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: baseline;
}

.achievement-card__row:last-child {
  margin-bottom: 0;
}

.achievement-card__label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent-dark);
  border-radius: 4px;
  padding: 3px 12px;
}

.achievement-card__text {
  margin: 0;
  font-size: 0.95rem;
}

.highlight {
  display: block;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0;
}

/* ===== Profile ===== */
.profile {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 840px;
  margin: 0 auto;
}

.profile__photo {
  flex-shrink: 0;
  width: 150px;
}

.profile__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.profile__body {
  flex: 1;
}

.profile__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 16px;
}

.profile__text {
  margin: 0 0 16px;
}

.profile__text:last-child {
  margin-bottom: 0;
}

/* ===== Pricing / Hours / Contact ===== */
.pricing-block {
  max-width: 760px;
  margin: 0 auto 64px;
}

.pricing-block:last-child {
  margin-bottom: 0;
}

.pricing-block__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-heading);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--color-accent-dark);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.price-list__item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-list__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.price-list__name {
  margin: 0 0 10px;
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 700;
}

.price-list__detail {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.price-list__detail:last-child {
  margin-bottom: 0;
}

.pricing-note {
  margin: 24px 0 0;
  font-size: 0.85rem;
  color: #999;
  text-align: center;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hours-list__label {
  display: inline-block;
  min-width: 110px;
  font-weight: 700;
  color: var(--color-heading);
}

.pricing-block__cta {
  text-align: center;
  margin-top: 28px;
}

.contact-form__intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
  margin: 0 0 20px;
}

.contact-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 12px;
  overflow: hidden;
}

.contact-form iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  border: none;
}

/* ===== Form ===== */
.form {
  max-width: 560px;
  margin: 0 auto;
}

.form__row {
  margin-bottom: 20px;
}

.form__row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.form__row input,
.form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form .btn {
  display: block;
  width: 100%;
  border: none;
  background: var(--color-accent);
  color: var(--color-heading);
  cursor: pointer;
}

.form .btn:hover {
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 56px 20px 40px;
  background: var(--color-bg-gray);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}

.footer__tagline {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0 28px;
}

.footer__copy {
  font-size: 0.78rem;
  color: #b5b0ab;
  margin: 0;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 110px 20px;
    background-image:
      linear-gradient(
        rgba(250, 248, 246, 0.9),
        rgba(250, 248, 246, 0.84)
      ),
      url("images/cover.jpg");
    background-position: 75% center;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__brand {
    font-size: 1.4rem;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .section {
    padding: 90px 20px;
  }

  .section__title {
    font-size: 1.6rem;
    margin-bottom: 48px;
  }

  .achievement-card__row {
    flex-direction: column;
    gap: 8px;
  }

  .achievement-card__label {
    align-self: flex-start;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 100px 20px 20px;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
  }

  .menu-btn.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

  .menu-btn.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
