/* ==========================================================
   L-free 運用サポート LP
   Palette: バナーと同じ鮮やかなグリーンを主役に、
   明るいグリーンを面の色、イエローをアクセントに使用。
   ========================================================== */

:root {
  --green: #03bf50;        /* メイン（バナー背景） */
  --green-strong: #00a645; /* ホバー・線 */
  --green-deep: #0b4d22;   /* 濃いグリーン（文字・帯） */
  --green-light: #eaf9ef;  /* 明るいグリーン（面） */
  --green-line: #bfebcf;
  --yellow: #fcfb50;       /* アクセント */
  --yellow-soft: #fffdb0;
  --ink: #16261c;
  --ink-soft: #4a5c50;
  --white: #ffffff;
  --gray-line: #dbe6df;

  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --sec-pad: clamp(64px, 9vw, 112px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow { max-width: 760px; }

.sp { display: none; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--yellow);
  box-shadow: 0 6px 0 -1px rgba(11, 77, 34, .18);
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--yellow-soft); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 -1px rgba(11, 77, 34, .18); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 14px; box-shadow: none; white-space: nowrap; }
.btn-wide { width: 100%; max-width: 420px; }
.btn-white { background: var(--white); border-color: var(--white); }
.btn-white:hover { background: var(--green-light); }
.btn-green { background: var(--green); border-color: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-strong); border-color: var(--green-strong); }
.btn-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 白い面の上のボタンは緑の縁取りで輪郭を出す */
.price-card .btn,
.cta-inner .btn { border-color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--green-deep);
  color: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-logo {
  display: block;
  line-height: 0;
}
.brand-logo img { height: 42px; width: auto; }
.brand-site {
  font-size: 13px;
  color: var(--white);
  opacity: .9;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.brand-site:hover { opacity: 1; }
.global-nav { display: flex; gap: 22px; }
.global-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.global-nav a:hover { color: var(--yellow); }

/* ---------- Hero（バナーと同じ構成） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 46% 12%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 3px, transparent 9px),
    radial-gradient(circle at 51% 44%, rgba(255,255,255,.9) 0, rgba(255,255,255,.3) 3px, transparent 10px),
    radial-gradient(circle at 40% 52%, rgba(255,255,255,.7) 0, transparent 6px),
    radial-gradient(ellipse at 20% 30%, #0ccb5b 0, transparent 60%),
    var(--green);
  color: var(--white);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 48vw, 700px);
  display: flex;
  align-items: center;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-copy { max-width: 680px; }
.hero-tag {
  display: inline-block;
  background: var(--white);
  color: var(--green-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 24px);
  line-height: 1.3;
  padding: 10px 28px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 900;
  line-height: 1.18;
  white-space: nowrap;
  letter-spacing: .01em;
  margin-bottom: 24px;
  text-shadow: 0 4px 14px rgba(0, 90, 35, .35);
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  font-size: 1.1em;
}
.hero-sub {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.35;
  margin-bottom: 32px;
  text-shadow: 0 3px 10px rgba(0, 90, 35, .3);
}
.hero .btn-white { min-height: 64px; padding: 0 36px 0 44px; font-size: clamp(17px, 1.8vw, 22px); }
.hero-company {
  margin: 28px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
.hero-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(55%, 900px);
  margin: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%);
  mask-image: linear-gradient(to right, transparent 0, #000 10%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* ---------- Section common ---------- */
.section { padding: var(--sec-pad) 0; }
.sec-title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  text-align: center;
  color: var(--green-deep);
  margin-bottom: 20px;
}
.sec-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(to right, var(--green) 50%, var(--yellow) 50%);
}
.sec-title.left { text-align: left; }
.sec-title.left::after { margin-left: 0; }
.sec-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 auto 48px;
}
.note { font-size: 13px; color: var(--ink-soft); margin-top: 24px; }

/* ---------- Photos ---------- */
.photo {
  margin: 0;
  overflow: hidden;
  background: var(--green-light);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Worries ---------- */
.worries { background: var(--white); }
.worry-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.worry-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
}
.worry-photo img { object-position: 42% 0%; }
.worry-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.worry-list li {
  position: relative;
  padding: 16px 20px 16px 56px;
  background: var(--green-light);
  border-radius: 14px;
  font-weight: 500;
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid var(--green);
  border-radius: 5px;
  background: var(--white);
}
.worry-answer {
  text-align: center;
  margin: 48px auto 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--green-deep);
}
.worry-answer span {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

/* ---------- About ---------- */
.about { background: var(--green-light); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-inner p { max-width: 32em; }
.about-photo {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  margin-bottom: 32px;
}
.position { margin: 0; display: grid; gap: 10px; }
.position > div {
  border: 1px solid var(--green-line);
  border-radius: 14px;
  padding: 16px 20px;
  background: var(--white);
}
.position dt { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--green-deep); }
.position dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.position .is-us {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
  padding: 22px 24px;
  margin: 0 -10px;
  box-shadow: 0 14px 30px -16px rgba(11, 77, 34, .6);
}
.position .is-us dt { font-size: 19px; font-weight: 900; color: var(--yellow); }
.position .is-us dd { color: #d8eedf; }

/* ---------- Features ---------- */
.can-do { background: var(--white); }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--green-light);
  border-radius: 20px;
  padding: 32px 28px;
}
.feature svg {
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 50%;
  background: var(--green);
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; color: var(--green-deep); }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Compare ---------- */
.compare { background: var(--green-light); }
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--green-line);
  line-height: 1.5;
}
.compare-table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  vertical-align: bottom;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  width: 28%;
}
.compare-table .is-us {
  background: var(--white);
  border-left: 3px solid var(--green);
  border-right: 3px solid var(--green);
}
.compare-table thead .is-us {
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  border-radius: 16px 16px 0 0;
  padding-top: 20px;
}
.compare-table tbody tr:last-child .is-us { border-bottom: 3px solid var(--green); }
.compare-table td.y::before,
.compare-table td.n::before {
  display: block;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px;
}
.compare-table td.y { color: var(--green-deep); font-weight: 700; font-size: 12px; }
.compare-table td.y::before { content: "◯"; color: var(--green); }
.compare-table td.n { color: #93a399; font-size: 12px; }
.compare-table td.n::before { content: "−"; }
.compare-table td.strong { font-weight: 700; color: var(--green-deep); }
.compare-table td.strong b {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 6px;
  color: var(--green-deep);
}

/* ---------- Support ---------- */
.support { background: var(--white); }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.support-col {
  border: 2px solid var(--green-line);
  border-radius: 20px;
  padding: 28px 28px 20px;
}
.support-col h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.support-col h3 span {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: middle;
}
.support-col ul { list-style: none; }
.support-col li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--gray-line);
}
.support-col li:last-child { border-bottom: 0; }
.support-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 13px;
  height: 7px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Price ---------- */
.price { background: var(--green); }
.price .sec-title { color: var(--white); text-shadow: 0 3px 10px rgba(0, 90, 35, .3); }
.price .sec-title::after { background: var(--yellow); }
.price-card {
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 24px 48px -24px rgba(0, 70, 25, .45);
}
.price-name {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  color: var(--green-deep);
  background: var(--green-light);
  padding: 6px 22px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.price-rows { border-top: 1px solid var(--gray-line); }
.price-row {
  display: grid;
  grid-template-columns: 6em 1fr;
  align-items: baseline;
  column-gap: 12px;
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-line);
}
.pr-label { font-weight: 700; color: var(--ink-soft); }
.pr-num {
  justify-self: start;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1.1;
  color: var(--green-deep);
  letter-spacing: .01em;
  background: linear-gradient(transparent 64%, var(--yellow) 64%);
  padding: 0 4px;
}
.pr-num small { font-size: 18px; margin-left: 4px; }
.pr-tax { grid-column: 2; font-size: 13px; color: var(--ink-soft); }
.price-points {
  list-style: none;
  text-align: left;
  margin: 24px 0 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-points li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; }
.price-points li::before { content: "・"; }

/* ---------- Flow (a real sequence → numbered) ---------- */
.flow { background: var(--white); }
.flow-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.flow-list li {
  counter-increment: step;
  position: relative;
  padding-top: 60px;
}
.flow-list li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
}
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 56px;
  right: -8px;
  border-top: 3px dotted var(--green-line);
}
.flow-list h3 { font-size: 18px; font-weight: 900; color: var(--green-deep); margin-bottom: 8px; }
.flow-list p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--green-light); }
.faq details {
  background: var(--white);
  border-radius: 14px;
  margin-top: 12px;
  padding: 0 22px;
}
.faq details:first-of-type { margin-top: 32px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 40px 20px 36px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 19px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.3;
  color: var(--green);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p {
  color: var(--ink-soft);
  padding: 16px 0 20px 36px;
  margin: 0;
  border-top: 1px dashed var(--gray-line);
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse at 80% 10%, #0ccb5b 0, transparent 55%),
    var(--green);
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(var(--wrap) - var(--gutter) * 2);
  box-shadow: 0 24px 48px -24px rgba(0, 70, 25, .45);
}
.cta-photo {
  aspect-ratio: 3 / 2;
  border-radius: 20px;
}
.cta-photo img { object-position: 50% 30%; }
.cta h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.cta p { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: #cfe5d6;
  padding: 40px 0 32px;
  font-size: 13px;
}
.footer-company { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); text-decoration: underline; }
.copy { margin: 0; opacity: .7; }

/* L-track連携の注記 */
.req { display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .global-nav { display: none; }
  .hero-inner { min-height: 0; padding-bottom: 32px; }
  .hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 972 / 916;
    max-height: 560px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-photo img { object-position: 70% 50%; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .flow-list li:nth-child(2)::after { display: none; }
  .worry-body { grid-template-columns: 1fr; gap: 28px; }
  .worry-photo { aspect-ratio: 16 / 10; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .sp { display: inline; }
  .header-inner { gap: 10px; }
  .brand { gap: 6px; }
  .btn-small { padding: 0 14px; font-size: 13px; }
  .brand-logo img { height: 36px; }
  .brand-site { font-size: 12px; }
  .hero-tag { padding: 8px 20px; }
  .hero .btn-white { width: 100%; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 28px 22px; }
  .worry-list li { padding: 14px 16px 14px 50px; }
  .worry-list li::before { left: 16px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-col { padding: 24px 20px 16px; }
  .support-col h3 span { display: table; margin: 6px 0 0; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { padding: 0 0 0 60px; }
  .flow-list li::after { display: none; }
  .position .is-us { margin: 0; }
  .price-row { grid-template-columns: 1fr; }
  .compare-table { min-width: 520px; font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
  .compare-table thead th { font-size: 13px; }
  .compare-table thead .is-us { font-size: 15px; }
  .compare-table tbody th { width: 26%; }
  .pr-tax { grid-column: 1; }
  .faq details { padding: 0 16px; }
}
