/* =======================================
  基本設定
======================================= */
:root {
  --bg-top: #f8fffb;
  --bg-mid: #e3f5e9;
  --bg-bottom: #ffffff;
  --accent-green: #8cc9a0;
  --accent-deep-green: #4d9a6d;
  --accent-soft-green: #cfeee0;
  --text-main: #263238;
  --text-soft: #607d8b;
  --card-bg: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(140, 201, 160, 0.35);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.25s ease-out;
  --transition-normal: 0.45s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  color: var(--text-main);
  background: linear-gradient(
    180deg,
    var(--bg-top) 0%,
    var(--bg-mid) 45%,
    var(--bg-bottom) 100%
  );
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

/* =======================================
  パララックス背景
======================================= */
.parallax-layer {
  position: fixed;
  inset: -10vh -20vw 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.7;
}

.layer-back {
  background: radial-gradient(
      circle at 10% 20%,
      rgba(209, 246, 224, 0.9),
      transparent 55%
    ),
    radial-gradient(circle at 80% 0%, rgba(200, 230, 201, 0.6), transparent 60%);
}

.layer-mid {
  background: radial-gradient(
      circle at 0% 80%,
      rgba(230, 244, 234, 0.9),
      transparent 55%
    ),
    radial-gradient(circle at 90% 60%, rgba(197, 225, 208, 0.8), transparent 60%);
}

.layer-front {
  background-image: radial-gradient(
    circle at 50% 100%,
    rgba(255, 255, 255, 0.9),
    transparent 55%
  );
}

/* =======================================
  ヘッダー
======================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    90deg,
    rgba(248, 255, 251, 0.9),
    rgba(227, 245, 233, 0.8)
  );
  border-bottom: 1px solid rgba(140, 201, 160, 0.18);
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #8cc9a0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 25px rgba(77, 154, 109, 0.4);
  font-size: 18px;
}

.logo-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(140, 201, 160, 0.18);
  color: var(--accent-deep-green);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(140, 201, 160, 0.4);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-soft);
}

/* =======================================
  セクション共通
======================================= */
.section {
  min-height: auto;
  padding: 96px 16px 72px;
  display: block;
}

.section-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.section-observe {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.section-observe.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: 0.08em;
}

.section-subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.card {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  padding: 22px 20px;
}

.card-soft {
  background: rgba(255, 255, 255, 0.94);
}

/* =======================================
  HERO
======================================= */
.hero {
  padding-top: 120px;
}

.hero-inner {
  text-align: left;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.hero-label::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  border-radius: 999px;
  background: rgba(140, 201, 160, 0.7);
}

.hero-title {
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.35;
  margin: 0 0 16px;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(96, 125, 139, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 4px;
  height: 6px;
  border-radius: 999px;
  background: rgba(96, 125, 139, 0.9);
  animation: wheel 1.4s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  60% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* =======================================
  ABOUT
======================================= */
.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(0, 110px) 1fr;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(140, 201, 160, 0.35);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-size: 13px;
  color: var(--text-soft);
}

.info-row dd {
  margin: 0;
  font-size: 14px;
}

.about-message {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
  text-align: left;
}

/* =======================================
  SERVICES
======================================= */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(140, 201, 160, 0.16),
    rgba(255, 255, 255, 0.8)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-title {
  margin: 0 0 10px;
  font-size: 16px;
}

.service-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
}

/* =======================================
  NEWS
======================================= */
.timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 6px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(140, 201, 160, 0.3),
    rgba(140, 201, 160, 0.05)
  );
}

.timeline-item {
  position: relative;
  margin-left: 20px;
  margin-bottom: 18px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: -18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(77, 154, 109, 0.7);
  box-shadow: 0 0 0 6px rgba(176, 214, 190, 0.45);
}

.timeline-body {
  padding-left: 4px;
  width: 100%;
  overflow: hidden;
}

.news-tag {
  margin: 0 0 6px;
  font-size: 11px;
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(140, 201, 160, 0.16);
  color: var(--accent-deep-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.news-text {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 14px 0 6px;
  border-radius: 16px;
  border: 1px solid rgba(140, 201, 160, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* =======================================
  CONTACT
======================================= */
.contact-text {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.contact-note {
  font-size: 12px;
  opacity: 0.9;
}

.footer-note {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
}

/* =======================================
  ボタン
======================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #8cc9a0, #4d9a6d);
  color: #ffffff;
  box-shadow: 0 14px 25px rgba(77, 154, 109, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(77, 154, 109, 0.4);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.4);
  color: var(--accent-deep-green);
  border: 1px solid rgba(140, 201, 160, 0.6);
  box-shadow: 0 12px 20px rgba(140, 201, 160, 0.18);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn.text-link {
  padding: 0;
  background: none;
  border-radius: 0;
  color: var(--accent-deep-green);
  box-shadow: none;
  border-bottom: 1px solid rgba(77, 154, 109, 0.35);
}

.btn.text-link:hover {
  border-bottom-color: rgba(77, 154, 109, 0.7);
}

/* =======================================
  レスポンシブ
======================================= */
@media (max-width: 768px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    inset: 64px 10px auto 10px;
    flex-direction: column;
    padding: 12px;
    border-radius: 18px;
    background: rgba(248, 255, 251, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

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

  .section {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 2px;
  }

  .timeline-item {
    margin-left: 16px;
  }

  .timeline-dot {
    left: -14px;
  }

  .card,
  .card-soft {
    padding: 18px 14px;
  }

  .timeline-body {
    padding-left: 0;
  }

  .news-text {
    font-size: 13px;
    line-height: 1.85;
  }

  .news-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 12px 0 4px;
    border-radius: 12px;
  }
}

html,
body,
main,
.section,
section {
  scroll-snap-type: none !important;
  scroll-behavior: auto;
}

.section,
section {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}