:root {
  --ink: #24302b;
  --muted: #647269;
  --paper: #fffdf8;
  --soft: #f1f5ea;
  --line: #dce4d3;
  --green: #315c48;
  --gold: #c98b35;
  --leaf: #6f8f3f;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(36, 47, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 222, 213, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(49, 92, 72, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 6px 0;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 48, 43, 0.84), rgba(49, 92, 72, 0.48), rgba(255, 253, 248, 0.02)),
    url("assets/hero-family.jpg") center 42%/cover;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(36, 48, 43, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.contact .button.primary {
  background: var(--gold);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.line-button {
  color: var(--white);
  background: #06c755;
  border-color: #06c755;
}

.button.line-button:hover {
  background: #05b64e;
  border-color: #05b64e;
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  margin-right: 8px;
  color: #06c755;
  background: var(--white);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-panel p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.hero-panel strong {
  font-size: 20px;
  line-height: 1.45;
}

.news-section {
  background: linear-gradient(180deg, #fffdf8, #f1f5ea);
}

.news-section .section-heading {
  max-width: 860px;
}

.news-section .section-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(300px, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(22px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-card[data-status="closed"] {
  opacity: 0.72;
}

.news-card[data-status="closed"]::after {
  content: "終了しました";
  align-self: start;
  justify-self: start;
  padding: 6px 10px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.news-badge,
.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.news-badge {
  color: var(--white);
  background: var(--gold);
}

.news-tag {
  color: var(--green);
  background: var(--soft);
  border: 1px solid var(--line);
}

.news-body h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.24;
}

.news-body p {
  max-width: 840px;
  margin: 18px 0 0;
  color: var(--muted);
}

.news-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 24px 0 0;
}

.news-details div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.news-details dt {
  color: var(--green);
  font-weight: 800;
}

.news-details dd {
  margin: 0;
  color: var(--ink);
}

.news-body .button {
  margin-top: 24px;
}

.section,
.band {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.band {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--paper);
}

.section-heading h2,
.contact h2,
.profile-section h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro p,
.profile-section p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.service-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 48, 43, 0.08), rgba(36, 48, 43, 0.86));
}

.service-card.family {
  background-image: url("assets/hero-family.jpg");
}

.service-card.event {
  background-image: url("assets/shichigosan-walk.jpg");
}

.service-card.profile {
  background-image: url("assets/seijin-red-umbrella.jpg");
}

.service-card.shop {
  background-image: url("assets/baby-soft.jpg");
}

.service-card.performance {
  background-image: url("assets/event-dance.jpg");
}

.service-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: var(--white);
}

.service-card span {
  color: #f2cf83;
  font-family: Georgia, serif;
}

.service-card h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.works {
  background: var(--paper);
}

.works-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.work-category {
  margin-top: clamp(34px, 6vw, 64px);
}

.category-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.category-heading h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.22;
}

.category-heading p {
  margin: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 18px;
}

.category-grid.compact {
  grid-template-columns: minmax(260px, 0.72fr) minmax(260px, 1fr);
}

.seijin-grid {
  grid-auto-rows: 260px;
}

.event-grid {
  grid-auto-rows: 250px;
}

.work-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.work-card.wide {
  grid-column: span 2;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-card.rotate-photo img {
  transform: rotate(90deg) scale(1.52);
}

.work-card.detail-card img {
  transform: scale(1.75);
  transform-origin: 50% 72%;
}

.work-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  color: var(--white);
  background: rgba(36, 48, 43, 0.72);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
}

.testimonials {
  background: var(--soft);
}

.testimonials-lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.review-stats article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-stats span,
.review-stats small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.review-stats strong {
  display: inline-block;
  margin-top: 6px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.review-stats small {
  margin-top: 4px;
}

.testimonials-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.testimonial-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-card .rating {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0;
}

.testimonial-card h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 18px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  background: var(--soft);
}

.strength-list {
  display: grid;
  gap: 14px;
}

.strength-list article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.strength-list h3,
.faq summary {
  margin: 0 0 8px;
  font-size: 20px;
}

.strength-list p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.flow-list li {
  min-height: 170px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list strong {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 20px;
}

.flow-list span {
  color: var(--muted);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  background: #f3f6ea;
  color: var(--white);
}

.profile-section p {
  color: var(--muted);
  margin-top: 18px;
}

.profile-section h2 {
  color: var(--ink);
}

.profile-photo {
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(49, 92, 72, 0.08), rgba(49, 92, 72, 0.02)),
    url("assets/hero-family.jpg") center/cover;
  box-shadow: 0 22px 70px rgba(49, 92, 72, 0.16);
}

.faq {
  background: var(--paper);
}

.faq details {
  max-width: 980px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin: clamp(18px, 5vw, 72px);
  padding: clamp(30px, 6vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(49, 92, 72, 0.94), rgba(111, 143, 63, 0.72)),
    url("assets/hero-family.jpg") center 42%/cover;
  border-radius: 8px;
}

.contact p {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .band,
  .split,
  .news-card,
  .profile-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .flow-list,
  .category-grid,
  .category-grid.compact,
  .review-stats,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-auto-rows: 240px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: center;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .service-grid,
  .flow-list,
  .category-grid,
  .category-grid.compact,
  .news-details,
  .category-heading,
  .review-stats,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.wide,
  .work-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .category-grid {
    grid-auto-rows: 300px;
  }

  .service-card {
    min-height: 340px;
  }

  .profile-photo {
    min-height: 360px;
  }

  .contact {
    margin: 18px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }
}
