/* ===== カラーテーマ ===== */
@property --theme-black {
  syntax: "<color>";
  inherits: false;
  initial-value: oklch(20.56% 0 0);
}

@property --theme-white {
  syntax: "<color>";
  inherits: false;
  initial-value: oklch(98.48% 0 0);
}

/* ===== リセットCSS ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--theme-black);
  background-color: var(--theme-white);
  overflow-x: hidden;
}

/* メニュー表示時の背景スクロール禁止 */
body.no-scroll {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

/* ===== 共通クラス ===== */
.sectionContainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sectionHeader {
  text-align: center;
  margin-bottom: 60px;

  .sectionTitle {
    font-family: "Klee One", "Zen Antique Soft", "Noto Serif JP", serif;
    font-size: clamp(1.75rem, 1.6rem + 0.75vw, 2.5rem);
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

    &::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, #4a7c59, #7fb069);
      border-radius: 2px;
    }
  }

  .sectionSubtitle {
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
    color: #666;
    font-weight: 300;
  }
}

/* ===== レスポンシブ用 ===== */
@media (max-width: 768px) {
  .sectionContainer {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0 16px;
  }

  .sectionHeader {
    margin-bottom: 40px;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 6px;
    padding: 6px;
    .sectionTitle {
      color: var(--theme-white);
      &::after {
        background: linear-gradient(90deg, #8bb498, #bce0ac);
      }
    }
    .sectionSubtitle {
      color: var(--theme-white);
    }
  }
}
