:root {
  --color-base: #d6e1a3;
  --color-sub-light: #eff4dc;
  --color-blue-light: #a3d6e1;
  --color-blue: #69bcce;
  --color-pink: #e1a3d6;
  --color-heading: #010101;
  --color-body: #333333;
  --color-link: #69bcce;
  --color-white: #ffffff;
  --color-line: rgba(1, 1, 1, 0.1);
  --color-warm: #fff9e8;
  --shadow: 0 16px 38px rgba(75, 95, 65, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-body);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
  background: var(--color-white);
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--color-white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--color-heading);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--color-blue);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(35deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-35deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  color: var(--color-white);
}

.hero-media,
.hero-media img,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 50, 40, 0.68), rgba(23, 50, 40, 0.36) 48%, rgba(23, 50, 40, 0.1)),
    linear-gradient(0deg, rgba(23, 50, 40, 0.32), rgba(23, 50, 40, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  overflow-wrap: anywhere;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--color-base);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-heading);
  line-height: 1.35;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(34px, 5.2vw, 58px);
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 12px 26px rgba(105, 188, 206, 0.32);
}

.button-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-soft {
  background: var(--color-sub-light);
}

.section:nth-of-type(4n) {
  background: var(--color-warm);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.section-copy p,
.section-head p {
  margin: 20px 0 0;
}

.section h2,
.cta-section h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.image-panel img,
.service-card img,
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-list span,
.tag-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-heading);
  background: var(--color-white);
  font-size: 14px;
  font-weight: 700;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.service-grid-detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.local-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(30, 55, 45, 0.08);
}

.local-card {
  display: flex;
  flex-direction: column;
}

.service-card img {
  aspect-ratio: 16 / 8.8;
}

.service-card div,
.local-card div {
  padding: 24px;
}

.service-kicker {
  margin: 0 0 8px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3,
.local-card h3 {
  font-size: 21px;
}

.service-card p {
  margin: 14px 0 0;
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-heading);
  font-size: 15px;
  line-height: 1.7;
}

.service-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--color-base);
  box-shadow: 0 0 0 3px rgba(214, 225, 163, 0.38);
}

.service-list.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.service-photo {
  position: sticky;
  top: 96px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

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

.service-menu {
  display: grid;
  gap: 14px;
}

.service-menu-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(105, 188, 206, 0.24);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 10px 26px rgba(30, 55, 45, 0.07);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(214, 225, 163, 0.5);
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-menu-item:nth-child(2n) .service-icon {
  color: #5d8f48;
  background: rgba(163, 214, 225, 0.32);
}

.service-menu-item:nth-child(3n) .service-icon {
  color: #8a6fa1;
  background: rgba(225, 163, 214, 0.18);
}

.service-menu-item h3 {
  font-size: 21px;
}

.service-menu-item p {
  margin: 8px 0 0;
}

.service-card p:last-child,
.local-card p:last-child {
  margin-bottom: 0;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.local-card-media {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
}

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

.local-card div {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  color: var(--color-body);
  background: var(--color-white);
}

.local-card h3 {
  color: var(--color-heading);
}

.local-card p {
  margin-top: 12px;
}

.profile-section {
  background:
    linear-gradient(180deg, rgba(239, 244, 220, 0.55), rgba(255, 255, 255, 0)),
    var(--color-white);
}

.profile-box {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(105, 188, 206, 0.22);
  border-radius: 8px;
  background: var(--color-warm);
  box-shadow: var(--shadow);
}

.profile-illust {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.profile-illust img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  filter: drop-shadow(0 16px 24px rgba(75, 95, 65, 0.16));
}

.profile-illust::before,
.profile-illust::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
  opacity: 0;
}

.profile-illust::before {
  top: 36%;
  left: 55%;
  width: 82px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 92, 0.96), #ffffff, rgba(255, 185, 35, 0.94), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 196, 38, 0.95));
  transform: translate(-38px, 18px) rotate(-13deg) scaleX(0.2);
}

.profile-illust::after {
  top: 36%;
  left: 58%;
  width: 34px;
  height: 34px;
  background:
    linear-gradient(90deg, transparent 44%, #ffe95c 48%, #ffffff 50%, #ffb923 52%, transparent 56%),
    linear-gradient(0deg, transparent 44%, #ffe95c 48%, #ffffff 50%, #ffb923 52%, transparent 56%);
  filter: drop-shadow(0 0 10px rgba(255, 196, 38, 0.95));
  transform: translate(-50%, -50%) rotate(45deg) scale(0.2);
}

.profile-section.is-sparkle .profile-illust::before {
  animation: glasses-shine 0.85s ease-out 0.08s 1 both;
}

.profile-section.is-sparkle .profile-illust::after {
  animation: glasses-star 0.85s ease-out 0.18s 1 both;
}

@keyframes glasses-shine {
  0% {
    opacity: 0;
    transform: translate(-44px, 20px) rotate(-13deg) scaleX(0.12);
  }

  34% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(30px, 3px) rotate(-13deg) scaleX(1);
  }
}

@keyframes glasses-star {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.2);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.3);
  }
}

.profile-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border-left: 5px solid var(--color-blue);
  border-radius: 8px;
  background: var(--color-white);
}

.profile-note strong {
  color: var(--color-heading);
}

.cta-section {
  padding: 80px 0;
  background: var(--color-base);
}

.cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-inner .eyebrow {
  color: #3f7f8d;
}

.cta-inner p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 42px 0;
  color: var(--color-white);
  background: #1f2925;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p,
.footer-inner small {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

.has-js .hero-content.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    color: var(--color-heading);
    background: var(--color-white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .menu-toggle {
    display: block;
    color: inherit;
  }

  .split,
  .service-grid,
  .service-overview,
  .local-grid,
  .cta-inner,
  .profile-box {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 18px;
  }

  .service-photo {
    position: static;
    aspect-ratio: 16 / 9;
  }

  .service-list.columns {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 15px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 108px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 auto;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .service-menu-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .service-icon img {
    width: 25px;
    height: 25px;
  }

  .service-menu-item h3 {
    font-size: 18px;
  }

  .feature-list span,
  .tag-grid span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
