:root {
  --color-primary: #88BE43;
  --color-black: #253A45;
  --color-dark-gray: #477386;
  --color-gray: #E0E4E6;
  --color-light-gray: #EEF2F4;
  --color-white: #fff;
  --color-accent: #EF8432;
  --color-highlight: #FFDB40;

  --header-height: 72px;

  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;

  --transition-fast: 0.3s ease;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-black);
  margin: 0; padding: 0;
  line-height: 1;
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; -webkit-appearance: none; appearance: none; }

.u-pc-only { display: inline; }
.u-sp-only { display: none; }
.u-text-center { text-align: center; }

.u-highlight {
  background: linear-gradient(transparent 65%, var(--color-highlight) 40%);
  display: inline;
  padding: 0 2px;
  font-weight: bold;
}

.c-heading-lg {
  font-size: 3.2rem; font-weight: bold; line-height: 1.5;
  margin-top: var(--spacing-sm); margin-bottom: var(--spacing-md);
  display: block; width: 100%;
}
.c-text {
  font-size: 1.6rem; font-weight: normal; line-height: 1.6;
  color: var(--color-black); display: block;
}
.c-caption-sm {
  font-size: 2.4rem; font-weight: normal; margin-bottom: var(--spacing-sm);
  color: var(--color-white); text-align: center; line-height: 2;
}
.c-heading-sm {
  font-size: 2.2rem; font-weight: bold; line-height: 1.5;
  margin-bottom: var(--spacing-xs); color: var(--color-black); display: block;
}

.c-btn {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: bold; gap: var(--spacing-md);
  height: var(--spacing-xxl); border-radius: var(--radius-md);
  padding: 0 var(--spacing-xl); text-decoration: none;
  border: 2px solid var(--color-accent); transition: var(--transition-fast);
  max-width: 560px; width: 100%; margin: 0 auto; position: relative;
}
.c-btn:hover { transform: translateY(-2px); }
.c-btn--fill { background: var(--color-accent); color: var(--color-white) !important; }
.c-btn--stroke { background: var(--color-white); color: var(--color-accent) !important; }
.c-btn--ec-fill { background: var(--color-accent); color: var(--color-white) !important; border-color: var(--color-accent); }

.c-icon-arrow {
  position: absolute; right: var(--spacing-sm); top: 50%;
  transform: translateY(-50%); flex-shrink: 0;
}

.js-fade-target {
  opacity: 0; transform: translateY(-24px); transition: .25s;
}
.is-fade-in {
  opacity: 1; /*transform: translateY(0);*/ transition: 1s;
}

.l-header {
  background: var(--color-white); padding: var(--spacing-sm) var(--spacing-md);
  height: var(--header-height); position: fixed; z-index: 100;
  width: 100%; top: 0; left: 0; border-bottom: 1px solid var(--color-light-gray);
  display: flex; justify-content: space-between; align-items: center;
}
.l-header__logo { display: flex; justify-content: flex-start; align-items: center; gap: var(--spacing-xs); }
.l-header__logo p { color: var(--color-primary); font-size: 1.2rem; }
.l-header__page-label {
  font-size: 1.2rem; font-weight: 500; color: var(--color-black) !important;
  border-radius: var(--radius-lg); border: 1px solid var(--color-gray);
  padding: 4px 8px; white-space: nowrap; margin-left: var(--spacing-xxs);
}

.l-main { width: 100%; margin: 0 auto; padding-top: var(--header-height); }

.l-section {
  width: 100%; margin: 0 auto;
  padding: var(--spacing-xxl) var(--spacing-sm);
  position: relative;
}
.l-section::before {
  content: ""; position: absolute; bottom: -12px; left: 50%;
  transform: translateX(-50%) rotate(45deg); background: inherit;
  width: var(--spacing-md); height: var(--spacing-md); z-index: 2;
  pointer-events: none;
}

.l-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}

.c-hamburger { display: none; width: 32px; height: var(--spacing-md); position: relative; z-index: 200; }
.c-hamburger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--color-black); transition: all var(--transition-fast); }
.c-hamburger span:nth-child(1) { top: 0; }
.c-hamburger span:nth-child(2) { top: 11px; }
.c-hamburger span:nth-child(3) { bottom: 0; }
.c-hamburger.is-active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.c-hamburger.is-active span:nth-child(2) { opacity: 0; }
.c-hamburger.is-active span:nth-child(3) { bottom: 11px; transform: rotate(-45deg); }

.l-nav__list { display: flex; justify-content: flex-end; align-items: center; gap: var(--spacing-md); }
.l-nav__link { color: var(--color-black) !important; font-size: 1.4rem; font-weight: bold; transition: var(--transition-fast); }
.l-nav__link:hover { opacity: 0.7; }
.l-nav__btn-group { display: flex; gap: var(--spacing-xs); }
.c-btn-nav {
  display: flex; font-size: 1.3rem; font-weight: bold;
  padding: 10px var(--spacing-sm); border-radius: 6px;
  justify-content: center; align-items: center;
  border: 2px solid var(--color-accent); transition: var(--transition-fast);
  text-align: center; line-height: 1.4;
}
.c-btn-nav:hover { transform: translateY(-2px); }
.c-btn-nav--fill { background: var(--color-accent); color: var(--color-white) !important; }
.c-btn-nav--stroke { background: var(--color-white); color: var(--color-accent) !important; }

.p-fv {
  background: var(--color-white);
  display: flex; padding: 0; min-height: 480px;
}
.p-fv::before { display: none !important; }
.p-fv__inner { width: 100%; display: flex; align-items: stretch; flex-direction: row-reverse; }
.p-fv__item--left {
  width: 50%; background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-xl);
}
.p-fv__item--right {
  width: 50%; overflow: hidden; position: relative;
}
.p-fv__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.p-fv__ai-note {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 1rem; line-height: 1.4; color: var(--color-white);
  pointer-events: none;
}
.p-fv__content { max-width: 560px; }
.p-fv__main-title {
  font-size: 3.2rem; font-weight: bold;
  margin-bottom: var(--spacing-md); line-height: 1.8;
  font-feature-settings: "palt";
  color: var(--color-primary);
  background: var(--color-white);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 2px 12px;
  display: inline;
}
.p-fv__title-wrap {
  margin-bottom: var(--spacing-sm);
}
.p-fv__desc {
  color: var(--color-white); margin-bottom: var(--spacing-lg);
  line-height: 1.8; font-size: 1.6rem;
}
.p-fv__cta .c-btn { max-width: 100%; font-size: 1.6rem; }

.p-issue { background: var(--color-white); position: relative; z-index: 1; }
.p-issue__inner { text-align: center; }
.p-issue__list { max-width: 880px; margin: 0 auto; text-align: left; width: 100%; }
.p-issue__item {
  display: flex; align-items: center; gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-top: 1px dotted var(--color-black);
}
.p-issue__item:last-child { margin-bottom: 0; border-bottom: 1px dotted var(--color-black); }
.p-issue__check {
  font-size: 2.4rem; font-weight: bold; color: var(--color-black);
  flex-shrink: 0; padding: var(--spacing-xxs) var(--spacing-xs); border: 2px solid var(--color-highlight); border-radius: var(--radius-sm);
}
.p-issue__item .c-text { font-size: 2.2rem; line-height: 1.6; }

.p-network { background: var(--color-light-gray); }
.p-network__diagram {
  margin: var(--spacing-xl) auto; max-width: 600px; width: 100%;
  text-align: center;
}
.p-network__desc { max-width: 800px; line-height: 1.8; }

.p-requirements { background: var(--color-white); position: relative; z-index: 1; }
.p-requirements__subtitle {
  font-size: 2.4rem; line-height: 1.8;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-weight: normal;
}
.p-requirements__table-wrap {
  width: 100%; max-width: 960px; overflow-x: auto;
  margin-bottom: var(--spacing-xl);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-light-gray);
}
.p-requirements__table {
  width: 100%; border-collapse: collapse; font-size: 1.6rem;
}
.p-requirements__table th {
  background: var(--color-primary); color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md); text-align: left;
  font-weight: bold; font-size: 1.6rem; white-space: nowrap;
}
.p-requirements__th--type { width: 120px; }
.p-requirements__th--category { width: 120px; }
.p-requirements__table td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--color-gray);
  line-height: 1.6; vertical-align: middle;
}
.p-requirements__table span { font-size: 1.2rem; }
.p-requirements__table tr:last-child td { border-bottom: none; }
.p-requirements__table tr:nth-child(even) td { background: var(--color-light-gray); }
.p-requirements__table td:first-child { white-space: nowrap; }
.p-requirements__table td:nth-child(2) { white-space: nowrap; color: var(--color-dark-gray); }
.p-requirements-cta {
  background: var(--color-primary);
  text-align: center;
}

.p-ec::before { background: var(--color-white); }
.p-ec__desc {
  font-size: 2.4rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-weight: normal;
}
.p-ec__merits {
  display: flex; gap: var(--spacing-md); max-width: 960px;
  width: 100%; margin-bottom: var(--spacing-xxl);
}
.p-ec__merit {
  flex: 1; 
  padding: var(--spacing-lg); text-align: center;
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-light-gray);
  background: var(--color-white);
}
.p-ec__merit-label {
  font-size: 1.8rem; font-weight: bold; color: var(--color-white);
  background: var(--color-primary); padding: var(--spacing-xs);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}
.p-ec__merit-title {
  font-size: 2rem; font-weight: bold; color: var(--color-primary); margin-bottom: var(--spacing-xs);
  line-height: 1.5; display: block;
}
.p-ec__merit-text { font-size: 1.6rem; line-height: 1.8; text-align: center; }
.p-ec__category-title {
  font-size: 2.4rem;
  font-weight: bold; margin-bottom: var(--spacing-lg); display: block;
}
.p-ec__categories {
  display: flex; gap: var(--spacing-md); max-width: 960px;
  width: 100%; margin-bottom: var(--spacing-xs);
}
.p-ec__category {
  flex: 1; ;
  padding: var(--spacing-md); text-align: center;
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-light-gray);
  background: var(--color-white);
}
.p-ec__category-img-wrap {
  width: 80px; height: 80px; margin: 0 auto var(--spacing-sm);
  display: flex; align-items: center; justify-content: center;
}
.p-ec__category-img { width: 100%; height: 100%; object-fit: contain; }
.p-ec__category-name {
  font-size: 1.8rem; font-weight: bold;
  margin-bottom: var(--spacing-xs); line-height: 1.4; display: block;
}
.p-ec__category-desc { font-size: 1.4rem; line-height: 1.6; color: var(--color-dark-gray) !important; }
.p-ec__note { font-size: 1.4rem; margin-top: var(--spacing-xs); }
.p-ec__merits-title {
  font-size: 2.4rem; font-weight: bold;
  margin-bottom: var(--spacing-lg); display: block; width: 100%;
}

.p-ec-cta {
  background: var(--color-primary);
  text-align: center;
}

.p-faq { background: var(--color-white); position: relative; z-index: 1; }
.p-faq__list { max-width: 960px; margin: 0 auto; width: 100%; }
.p-faq__item {
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl); border: 2px solid var(--color-light-gray);
  background: var(--color-white); margin-bottom: var(--spacing-sm); padding: var(--spacing-md);
}
.p-faq__q {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--color-light-gray);
  padding-bottom: var(--spacing-sm); margin: 0; font-size: 2.2rem;
}
.p-faq__a { display: flex; align-items: center; padding-top: var(--spacing-sm); }
.p-faq__a-text { flex: 1; line-height: 1.6; }
.p-faq__mark-q, .p-faq__mark-a {
  width: 48px; height: 48px; min-width: 48px; flex-shrink: 0;
  margin-right: 12px; font-size: 3.2rem; border-radius: var(--radius-xl);
  display: flex; justify-content: center; align-items: center; font-family: 'Roboto', sans-serif;
}
.p-faq__mark-q { color: var(--color-white); background: var(--color-primary); }
.p-faq__mark-a { color: var(--color-primary); background: var(--color-white); border: 2px solid var(--color-primary); }
.p-faq__category { font-size: 1.4rem; font-weight: 500; color: var(--color-primary); padding: var(--spacing-xxs) var(--spacing-xs); border: 2px solid var(--color-primary); border-radius: var(--radius-xl); margin-right: var(--spacing-xs);
}

.p-closing { background: var(--color-primary); }
.p-closing::before { display: none !important; }
.p-closing__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: var(--spacing-md);
}
.p-closing__col {
  flex: 1; background: var(--color-white); border-radius: var(--radius-xl); text-align: center;
}
.p-closing__col-visual {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.p-closing__col-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.p-closing__col-body {
  padding: var(--spacing-lg);
}
.p-closing__title {
  color: var(--color-black); font-size: 2rem; font-weight: 500;
  line-height: 1.6; margin-top: 0; margin-bottom: var(--spacing-lg);
}

.p-closing__btn { min-width: auto; width: 100%; max-width: 100%; margin: 0; font-size: 1.6rem; }

/* ============================================
   Tab (641px - 1024px)
============================================ */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .c-hamburger { display: block; }
  .l-nav {
    position: fixed; top: var(--header-height); left: 0; width: 100%;
    height: calc(100vh - var(--header-height)); background: var(--color-white);
    transform: translateX(100%); transition: transform var(--transition-fast);
    overflow-y: auto; border-top: 1px solid var(--color-light-gray); z-index: 50;
  }
  .l-nav.is-open { transform: translateX(0); }
  .l-nav__list { flex-direction: column; padding: var(--spacing-lg); gap: 0; }
  .l-nav__item { width: 100%; border-bottom: 1px solid var(--color-light-gray); }
  .l-nav__link { display: block; padding: var(--spacing-sm) 0; font-size: 1.8rem; }
  .l-nav__btn-group { flex-direction: column; width: 100%; margin-top: var(--spacing-md); gap: var(--spacing-sm); }
  .c-btn-nav { font-size: 1.8rem; height: 56px; }

  .p-fv__main-title { font-size: 3.2rem; }
  .p-fv__item--left { padding: var(--spacing-xl) var(--spacing-lg); }

  .p-ec__merits { flex-direction: column; }
  .p-ec__categories { flex-direction: column; }
  .p-closing__inner { flex-direction: column; }
  .p-closing__col { padding: var(--spacing-lg); }

  .u-sp-only { display: none; }
}

/* ============================================
   SP (640px以下)
============================================ */
@media screen and (max-width: 640px) {
  .c-hamburger { display: block; }
  .l-nav {
    position: fixed; top: var(--header-height); left: 0; width: 100%;
    height: calc(100vh - var(--header-height)); background: var(--color-white);
    transform: translateX(100%); transition: transform var(--transition-fast);
    overflow-y: auto; border-top: 1px solid var(--color-light-gray); z-index: 50;
  }
  .l-nav.is-open { transform: translateX(0); }
  .l-nav__list { flex-direction: column; padding: var(--spacing-md); gap: 0; }
  .l-nav__item { width: 100%; border-bottom: 1px solid var(--color-light-gray); }
  .l-nav__link { display: block; padding: var(--spacing-sm) 0; font-size: 1.6rem; }
  .l-nav__btn-group { flex-direction: column; width: 100%; margin-top: var(--spacing-md); gap: var(--spacing-sm); }
  .c-btn-nav { padding: var(--spacing-sm); font-size: 1.6rem; }

  .c-heading-lg { font-size: 2.2rem; margin-bottom: var(--spacing-sm); }
  .c-btn { width: 100%; line-height: 1.2; text-align: center; }
  .c-caption-sm { font-size: 1.8rem; line-height: 1.6; }
  .c-text { font-size: 1.8rem; line-height: 1.6; }

  .l-section { padding: var(--spacing-xl) var(--spacing-sm); }

  .p-fv { min-height: auto; }
  .p-fv__inner { flex-direction: column; }
  .p-fv__item--left { width: 100%; padding: var(--spacing-md); order: 2; }
  .p-fv__item--right { width: 100%; height: 240px; order: 1; }
  .p-fv__title-wrap { margin-bottom: var(--spacing-sm); }
  .p-fv__main-title { font-size: 2rem; padding: 2px 6px; }
  .p-fv__desc { font-size: 1.5rem; margin-bottom: var(--spacing-sm); }

  .p-network__diagram { margin: var(--spacing-sm) auto; padding: 0 var(--spacing-xxl); }
  .p-network__desc { font-size: 1.6rem; text-align: left; }

  .p-issue__item { padding: var(--spacing-xs); gap: var(--spacing-xs); }
  .p-issue__item .c-text { font-size: 1.4rem; }
  .p-issue__check { font-size: 1.6rem; padding: 4px 6px; }

  .p-requirements__subtitle { font-size: 1.8rem; line-height: 1.6; margin-bottom: var(--spacing-md); }
  .p-requirements__table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 0;
  }
  .p-requirements__table { font-size: 1.4rem; min-width: 560px; }
  .p-requirements__table th { padding: var(--spacing-xs) var(--spacing-sm); font-size: 1.4rem; }
  .p-requirements__table td { padding: var(--spacing-xs) var(--spacing-sm); }

  .p-ec__merits { flex-direction: column; gap: var(--spacing-sm); margin-bottom:var(--spacing-xl); }
  .p-ec__merits-title { font-size: 2rem; margin-bottom: var(--spacing-md); }
  .p-ec__merit { padding: var(--spacing-sm); }
  .p-ec__merit-text { font-size: 1.4rem; }
  .p-ec__merit-title { font-size: 1.8rem; }
  .p-ec__merit-label { font-size: 1.4rem; margin-bottom: var(--spacing-xs); }
  .p-ec__category-desc { font-size: 1.4rem; }
  .p-ec__category { padding: var(--spacing-sm); }
  .p-ec__categories { flex-direction: column; gap: var(--spacing-sm); }
  .p-ec__category-title { font-size: 2rem; margin-bottom: var(--spacing-md); }

  .p-faq__q {
    font-size: 1.6rem; padding-bottom: 0; margin-bottom: 0;
    padding-right: var(--spacing-lg); border: none; position: relative;
    cursor: pointer; flex-wrap: wrap; align-items: center;
  }
  .p-faq__category {
    order: 0;
    width: auto;
    margin-right: 0;
  }
  .p-faq__q-text {
    width: 100%;
    padding-left: 44px; 
    margin-top: 4px;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
  }
  .p-faq__q::after {
    content: ""; position: absolute; right: 0;
    width: var(--spacing-xs); height: var(--spacing-xs);
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg); transition: transform var(--transition-fast);
  }
  .p-faq__q.is-open::after { transform: rotate(-135deg); }
  .p-faq__a {
    max-height: 0; overflow: hidden; opacity: 0; padding-top: 0;
    transition: max-height var(--transition-fast), opacity var(--transition-fast), padding var(--transition-fast);
    display: block;
  }
  .p-faq__a.is-open {
    max-height: 500px; opacity: 1; margin-top: 12px; padding-top: 12px;
    font-size: 1.4rem; border-top: 1px solid var(--color-light-gray); display: flex;
  }
  .p-faq__item { padding: var(--spacing-sm); }
  .p-faq__item.is-active { border-color: var(--color-primary); }
  .p-faq__mark-q, .p-faq__mark-a { width: 32px; height: 32px; min-width: 32px; font-size: 1.8rem; }

  .p-closing__inner { flex-direction: column; gap: var(--spacing-md); }
  .p-closing__title { font-size: 1.6rem; margin-bottom: var(--spacing-md); }
  .p-closing__col-body { padding: var(--spacing-sm); }

  .u-sp-only { display: inline; }
  .u-pc-only { display: none; }
}
