@charset "utf-8";
/* ==================================================
   共通クラス・ベーススタイル (Common / Base)
   ================================================== */
.add {
  --primary-color: #1e8001;
  --primary-hover: #145600;
  --text-main: #222222;
  --text-sub: #444444;
  --text-light: #555555;
  --text-muted: #666666;
  --bg-white: #ffffff;
  --bg-green-light: #f2f8ef;
  --bg-gray: #f7f7f7;
  --bg-gray-light: #eeeeee;
  --border-light: #eaeaea;
  --border-gray: #dddddd;
  --border-dark: #bbbbbb;
  --accent-red: #c9432e;
  --border-green: #b1d4bc;
}
html {
  scroll-behavior: smooth;
}
.add {
  margin: 0;
  background: var(--bg-white);
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.04em;
}
@scope(.add) {
  a {
    color: var(--primary-color);
    text-decoration: none;
    &:hover {
      color: var(--primary-hover);
    }
  }
  p, h1, h2, h3, ul {
    margin: 0;
  }
  [id] {
    scroll-margin-top: 96px;
  }
}

/* 共通レイアウト */
/* hats:削除済み pfmc:未 ai:削除済み */
.container-1240 { max-width: 1240px; margin: 0 auto; }
.container-1120 { max-width: 1120px; margin: 0 auto; }
.container-1000 { max-width: 1000px; margin: 0 auto; }
.container-880 { max-width: 880px; margin: 0 auto; }

/* hats:削除済み pfmc:未 ai:削除済み */
.flex { display: flex; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }


/* 共通ユーティリティ */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary-color); }
.text-sub { color: var(--text-sub); }
.text-light { color: var(--text-light); }
.text-red { color: var(--accent-red); }
.text-md { font-size: 16px; }
.text-sm { font-size: 14px; }

.bg-light-green { background: var(--bg-green-light); }
.bg-gray { background: var(--bg-gray); }
.bg-white { background: var(--bg-white); }

.section-pad { padding: 72px 24px; }

.w-full { width: 100%; height: auto; display: block; }

/* CMSコンテナ */
#content .ast-container {
  display: block;
  max-width: 100%;
  padding: 0;
  letter-spacing: 0;
  line-height: normal;
}
:where(#content .ast-container) p {
  font-size: clamp(10px,1.29vw,16px);
}

/* ヒーローエリア */
.p-hero {
  padding: 64px 24px;
  background: var(--bg-green-light);
}
.p-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.p-hero__breadcrumb {
  font-size: 14px;
  color: var(--text-light);
}
.p-hero__title {
  font-weight: 700;
}
.p-hero__lead {
  font-weight: 700;
}
.p-hero__desc {
  font-size: 15px;
  color: var(--text-sub);
}
.p-hero__contact {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 36px;
  margin-top: 8px;
}
.p-hero__img-wrap {
  flex: 1 1 100%;
  min-width: 0;
}
.p-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* 共通コンポーネント */
.section-label {
  align-self: flex-start;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--text-muted);
  border: 1px solid var(--border-dark);
}
.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-color);
}
.section-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
.section-desc {
  font-size: 15px;
  color: var(--text-sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--bg-white);
  &:hover {
    background: var(--bg-white);
    color: var(--primary-color);
  }
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  &:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
  }
}

.p-note-box {
  background: var(--bg-white);
  border: 1px solid var(--border-green);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-sub);
}

.p-contact {
  padding: 72px 24px;
}
.p-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.p-contact-btn {
  min-height: 100px;
  padding: 0 56px;
  font-size: 20px;
}
.p-contact-txtsub {
  font-size: 14px;
  color: var(--text-sub);
}


/* ページ内ナビゲーション */
.p-page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: sticky;
  top: 76px;
  z-index: 35;
  background: var(--primary-color);
}
.p-page-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.p-page-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-white);
}
@media (max-width: 767px) {
  .p-page-nav a {
    min-height: 36px;
    font-size: 13px;
  }
}