/*
 * sgt.AI 共通LPスタイル
 * app1～app6などの広告用ランディングページで共通利用することを想定。
 * ページごとの色は .lp-theme-* または CSSカスタムプロパティで変更可能。
 */

:root {
  --lp-content-width: 940px;
}

.lp-page {
  --lp-primary: #4f8b86;
  --lp-primary-dark: #356f6b;
  --lp-accent: #c9584d;
  --lp-gold: #d5a24a;
  --lp-ink: #243847;
  --lp-line: #d9e6e2;
  --lp-cream: #fffaf0;
  --lp-peach: #fff2e8;
  --lp-mint: #eef9f5;
  --lp-sky: #f0f8fb;
  color: var(--lp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
               "Yu Gothic", Meiryo, sans-serif;
}
.lp-page * { box-sizing: border-box; }
.lp-page a { text-underline-offset: 3px; }
.lp-page #prev-page-button,
.lp-page #next-page-button { display: none !important; }

.lp-wrap,
.lp-hero,
.lp-anchor-menu,
.lp-bottom-cta {
  width: min(var(--lp-content-width), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.lp-hero {
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid #e3ded4;
  border-radius: 24px;
  background:
    radial-gradient(circle at 91% 8%, rgba(255,216,176,.55), transparent 30%),
    linear-gradient(145deg, #fffaf0 0%, #ffffff 58%, #eff9f5 100%);
  box-shadow: 0 10px 28px rgba(45,78,73,.09);
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(280px,.92fr);
  gap: 28px;
  align-items: center;
}
.lp-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e6f4ef;
  color: var(--lp-primary-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
}
.lp-hero h1 {
  margin: 0;
  color: #244a4e;
  font-size: clamp(30px,3.4vw,46px);
  line-height: 1.38;
}
.lp-hero-lead {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.9;
}
.lp-hero-lead strong { color: #9a483f; }
.lp-hero-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--lp-gold);
  border-radius: 0 10px 10px 0;
  background: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.75;
}
.lp-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.lp-hero .lp-visual img {
  max-width: 430px;
  margin: 0 auto;
}
.lp-panel .lp-visual img {
  max-width: 760px;
  margin: 0 auto;
}
.lp-visual--small img { max-width: 270px; }

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.lp-cta-row--center { justify-content: center; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  line-height: 1.35;
  transition: transform .15s ease, opacity .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); opacity: .92; }
.lp-btn--primary { background: var(--lp-accent); color: #fff !important; }
.lp-btn--secondary { background: var(--lp-primary); color: #fff !important; }
.lp-btn--light {
  border: 1px solid #a9cbc5;
  background: #fff;
  color: var(--lp-primary-dark) !important;
}

.lp-anchor-menu {
  margin-bottom: 18px;
  padding: 11px;
  border: 1px solid var(--lp-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(45,78,73,.05);
}
.lp-anchor-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-anchor-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f8f6;
  color: #355f5e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.lp-section {
  padding: 12px 0;
  scroll-margin-top: 190px;
}
.lp-panel {
  padding: 28px;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(45,78,73,.05);
}
.lp-panel--peach { background: linear-gradient(180deg,#fff7f1,#fff); }
.lp-panel--mint { background: linear-gradient(180deg,#eff9f5,#fff); }
.lp-panel--sky { background: linear-gradient(180deg,#f2f9fb,#fff); }
.lp-panel--cream { background: linear-gradient(180deg,#fffaf0,#fff); }

.lp-section-title {
  margin: 0 0 10px;
  color: #315d60;
  text-align: center;
  font-size: clamp(23px,2.6vw,32px);
  line-height: 1.45;
}
.lp-section-lead {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}

.lp-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.lp-card {
  padding: 18px;
  border: 1px solid #dce8e4;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
}
.lp-card h3 {
  margin: 0 0 7px;
  color: #315d60;
  font-size: 17px;
  line-height: 1.5;
}
.lp-card p,
.lp-card li {
  font-size: 14px;
  line-height: 1.8;
}
.lp-card p { margin: 0; }
.lp-card ul { margin: 0; padding-left: 1.35em; }
.lp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f5e9d2;
  font-size: 19px;
  vertical-align: middle;
}

.lp-conversation {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: center;
}
.lp-bubble-list {
  display: grid;
  gap: 10px;
}
.lp-bubble {
  padding: 13px 15px;
  border: 1px solid #eadfd3;
  border-radius: 15px;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
}
.lp-message {
  margin: 18px 0 0;
  padding: 15px 17px;
  border-left: 5px solid var(--lp-primary);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.85;
}

.lp-before-after {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 15px;
  align-items: center;
}
.lp-before-after-box {
  padding: 20px;
  border-radius: 18px;
}
.lp-before-after-box--before { background: #fff6f2; border: 1px solid #efd7cd; }
.lp-before-after-box--after { background: #eef9f5; border: 1px solid #cfe5dd; }
.lp-before-after-box h3 {
  margin: 0 0 12px;
  color: #315d60;
  text-align: center;
  font-size: 19px;
}
.lp-list-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-list-cards li {
  margin: 8px 0;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.6;
}
.lp-arrow {
  color: #b9854a;
  text-align: center;
  font-size: 38px;
  font-weight: 900;
}

.lp-example-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.lp-example {
  padding: 16px;
  border: 1px solid #dce8e4;
  border-radius: 16px;
  background: #fff;
}
.lp-example strong {
  display: block;
  margin-bottom: 6px;
  color: #315d60;
  font-size: 16px;
}
.lp-example span {
  font-size: 14px;
  line-height: 1.7;
}

.lp-flow-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}
.lp-step {
  position: relative;
  padding: 18px 14px;
  border: 1px solid #d8e7e2;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.lp-step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #fff;
  font-weight: 900;
}
.lp-step strong {
  display: block;
  margin-bottom: 6px;
  color: #315d60;
  font-size: 15px;
}
.lp-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.lp-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lp-fit-box {
  padding: 20px;
  border-radius: 17px;
}
.lp-fit-box h3 { margin: 0 0 10px; font-size: 18px; }
.lp-fit-box ul { margin: 0; padding-left: 1.3em; }
.lp-fit-box li { margin: 5px 0; font-size: 14px; line-height: 1.7; }
.lp-fit-box--good { background: #eff9f5; border: 1px solid #cde4dc; }
.lp-fit-box--bad { background: #fff7f1; border: 1px solid #eedbd0; }

.lp-product-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.lp-product-box,
.lp-price-box {
  padding: 22px;
  border: 1px solid #dce8e4;
  border-radius: 18px;
  background: #fff;
}
.lp-product-box h3,
.lp-price-box h3 {
  margin: 0 0 12px;
  color: #315d60;
  font-size: 19px;
}
.lp-product-box ul { margin: 0; padding-left: 1.3em; }
.lp-product-box li { margin: 6px 0; font-size: 14px; line-height: 1.7; }
.lp-price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg,#fff8f3,#fff);
}
.lp-price {
  color: #b34840;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.25;
}
.lp-price-sub {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.7;
}

.lp-faq-list {
  overflow: hidden;
  border: 1px solid #dce8e4;
  border-radius: 16px;
  background: #fff;
}
.lp-faq-item {
  padding: 16px 18px;
  border-bottom: 1px solid #e4ece9;
}
.lp-faq-item:last-child { border-bottom: 0; }
.lp-faq-q {
  display: block;
  margin-bottom: 6px;
  color: #315d60;
  font-size: 15px;
  font-weight: 800;
}
.lp-faq-a {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.lp-next-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.lp-next-card {
  padding: 20px;
  border: 1px solid #d9e7e3;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.lp-next-card h3 {
  margin: 0 0 7px;
  color: #315d60;
  font-size: 17px;
}
.lp-next-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
}

.lp-note {
  margin: 12px 0 0;
  padding: 16px 18px;
  border: 1px solid #e3ddd3;
  border-radius: 16px;
  background: #fffaf3;
}
.lp-note-title {
  margin-bottom: 5px;
  color: #7b5b36;
  font-size: 15px;
  font-weight: 800;
}
.lp-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.lp-bottom-cta {
  margin-top: 12px;
  margin-bottom: 34px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg,#2f6a67,#467f79);
  color: #fff;
  text-align: center;
  box-shadow: 0 9px 26px rgba(45,78,73,.12);
}
.lp-bottom-cta h2 {
  margin: 0 0 9px;
  font-size: 26px;
  line-height: 1.45;
}
.lp-bottom-cta p {
  max-width: 730px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
}
.lp-bottom-cta .lp-btn--light {
  border-color: #fff;
  background: #fff;
}

@media screen and (max-width: 767px) {
  html { scroll-padding-top: 28vw; }
  .ly-wrapper { padding-top: 10vw !important; }
  .ly-wrapper main { padding-top: 4vw; }

  .lp-wrap,
  .lp-hero,
  .lp-anchor-menu,
  .lp-bottom-cta {
    width: calc(100% - 24px);
  }

  .lp-hero {
    margin-top: 0;
    margin-bottom: 13px;
    padding: 22px 16px;
    border-radius: 19px;
  }
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-kicker { font-size: 13px; }
  .lp-hero h1 {
    font-size: 26px !important;
    line-height: 1.43 !important;
  }
  .lp-hero-lead { font-size: 15px; line-height: 1.8; }
  .lp-hero-note { font-size: 13px; }
  .lp-visual img { max-height: 270px; object-fit: contain; }

  .lp-cta-row { display: grid; grid-template-columns: 1fr; }
  .lp-btn { width: 100%; min-height: 49px; font-size: 15px; }

  .lp-anchor-menu ul { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-anchor-menu a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }

  .lp-section { padding: 10px 0; scroll-margin-top: 28vw; }
  .lp-panel { padding: 20px 14px; border-radius: 19px; }
  .lp-section-title { font-size: 22px; }
  .lp-section-lead { text-align: left; font-size: 14px; }

  .lp-card-grid,
  .lp-example-grid,
  .lp-flow-grid,
  .lp-fit-grid,
  .lp-product-grid,
  .lp-next-grid {
    grid-template-columns: 1fr;
  }

  .lp-conversation { grid-template-columns: 1fr; gap: 12px; }
  .lp-conversation .lp-visual { max-width: 220px; margin: 0 auto; }

  .lp-before-after { grid-template-columns: 1fr; }
  .lp-arrow { transform: rotate(90deg); font-size: 31px; line-height: 1; }

  .lp-step { text-align: left; padding-left: 60px; }
  .lp-step-no {
    position: absolute;
    left: 13px;
    top: 16px;
  }

  .lp-price { font-size: 29px; }

  .lp-bottom-cta {
    margin-bottom: 22px;
    padding: 22px 14px;
    border-radius: 19px;
  }
  .lp-bottom-cta h2 { font-size: 22px; }

  /* スマホ：小さめだった本文を少し拡大 */
  .lp-hero-note,
  .lp-section-lead,
  .lp-card p,
  .lp-card li,
  .lp-bubble,
  .lp-message,
  .lp-list-cards li,
  .lp-example span,
  .lp-step p,
  .lp-fit-box li,
  .lp-product-box li,
  .lp-price-sub,
  .lp-faq-a,
  .lp-next-card p,
  .lp-note p {
    font-size: clamp(14.5px, 3.9vw, 16px);
    line-height: 1.75;
  }
  .lp-example strong,
  .lp-step strong,
  .lp-faq-q {
    font-size: clamp(16px, 4.2vw, 17px);
  }
  .lp-hero .lp-visual img {
    max-width: 360px;
  }
}

/* =========================================================
 * index.html（トップページ）
 * app1～app6のLPデザインに合わせた専用スタイル
 * ========================================================= */
.lp-page--top {
  --lp-primary: #4f8b86;
  --lp-primary-dark: #356f6b;
  --lp-accent: #c9584d;
  --lp-gold: #d5a24a;
}

.lp-page--top .top-hero {
  padding: 30px 34px 24px;
  text-align: center;
}
.lp-page--top .top-hero .lp-kicker {
  margin-bottom: 10px;
}
.lp-page--top .top-hero h1 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(30px, 3.2vw, 43px);
}
.lp-page--top .top-hero .lp-hero-lead {
  max-width: 790px;
  margin: 17px auto 0;
  text-align: left;
}
.lp-page--top .top-hero-visual {
  max-width: 860px;
  margin: -8px auto -7px;
  text-align: center;
}
.lp-page--top .top-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.lp-page--top .top-browser-intro {
  width: min(var(--lp-content-width), calc(100% - 40px));
  margin: 0 auto 18px;
  padding: 20px 25px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f9fb, #fff);
  box-shadow: 0 6px 20px rgba(45, 78, 73, .05);
  color: var(--lp-ink);
}
.lp-page--top .top-browser-intro h2 {
  margin: 0 0 7px;
  color: #315d60;
  text-align: center;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.45;
}
.lp-page--top .top-browser-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.lp-page--top .lp-section {
  width: min(var(--lp-content-width), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}
.lp-page--top .lp-jump-anchor {
  display: block;
  height: 130px;
  margin-top: -130px;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.lp-page--top .top-section-body {
  min-width: 0;
}
.lp-page--top .lp-section-lead {
  margin-bottom: 18px;
}
.lp-page--top .lp-card--wide {
  grid-column: 1 / -1;
}
.lp-page--top .lp-card p {
  margin: 0;
}
.lp-page--top .lp-message {
  border-left-color: var(--lp-accent);
}

.lp-page--top .top-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lp-page--top .top-purpose-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 18px;
  border: 1px solid #dce8e4;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(45, 78, 73, .035);
  text-align: left;
}
.lp-page--top .top-purpose-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lp-page--top .top-purpose-head-text {
  flex: 1 1 auto;
  min-width: 0;
}
.lp-page--top .top-purpose-no {
  display: inline-block;
  margin-bottom: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f4f0;
  color: var(--lp-primary-dark);
  font-size: 13px;
  font-weight: 800;
}
.lp-page--top .top-purpose-card h3 {
  margin: 0;
  color: #315d60;
  font-size: 20px;
  line-height: 1.45;
}
@media screen and (min-width: 768px) {
  .lp-page--top .top-purpose-card h3 {
    white-space: nowrap;
  }
}
.lp-page--top .top-purpose-card p {
  margin: 12px 0 15px;
  font-size: 14px;
  line-height: 1.8;
}
.lp-page--top .top-purpose-man {
  flex: 0 0 auto;
  width: 70px;
  height: 84px;
  margin-top: -12px;
  object-fit: contain;
}
.lp-page--top .top-purpose-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lp-primary);
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .15s ease, opacity .15s ease;
}
.lp-page--top .top-purpose-card a:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.lp-page--top .top-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  align-items: stretch;
}
.lp-page--top .top-process-item {
  position: relative;
  padding: 17px 12px;
  border: 1px solid #dce8e4;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.lp-page--top .top-process-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -17px;
  transform: translateY(-50%);
  color: #b9854a;
  font-size: 22px;
  font-weight: 900;
}
.lp-page--top .top-process-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #fff;
  font-weight: 900;
}
.lp-page--top .top-process-item h3 {
  margin: 0 0 7px;
  color: #315d60;
  font-size: 16px;
  line-height: 1.45;
}
.lp-page--top .top-process-item p {
  margin: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}

.lp-page--top .top-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lp-page--top .top-role-card {
  padding: 18px;
  border: 1px solid #dce8e4;
  border-radius: 17px;
  background: #fff;
}
.lp-page--top .top-role-card h3 {
  margin: 0 0 9px;
  color: #315d60;
  text-align: center;
  font-size: 23px;
}
.lp-page--top .top-role-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.lp-page--top .top-philosophy {
  padding: 25px 30px;
  border: 1px solid #e3ded4;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 216, 176, .45), transparent 32%),
    linear-gradient(145deg, #fffaf0, #fff 58%, #eff9f5);
  box-shadow: 0 7px 22px rgba(45, 78, 73, .05);
}
.lp-page--top .top-philosophy h3 {
  margin: 0 0 10px;
  color: #315d60;
  text-align: center;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.45;
}
.lp-page--top .top-philosophy p {
  max-width: 810px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
}

.lp-page--top .top-possibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.lp-page--top .top-possibility-grid > a {
  text-decoration: none;
}
.lp-page--top .top-possibility {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border: 1px solid #dce8e4;
  border-radius: 15px;
  background: #fff;
  color: #315d60;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp-page--top .top-possibility:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 78, 73, .08);
}

.lp-page--top .notes-box {
  width: min(var(--lp-content-width), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}
.lp-page--top .sgt01 {
  text-align: center;
}

.lp-page--top .lp-section-title,
.lp-page--top .top-purpose-card h3,
.lp-page--top .top-process-item h3,
.lp-page--top .top-role-card h3,
.lp-page--top .top-philosophy h3,
.lp-page--top .top-browser-intro h2 {
  text-wrap: balance;
  line-break: strict;
}

@media screen and (max-width: 767px) {
  .lp-page--top .top-hero {
    margin-top: 0;
    padding: 22px 16px 18px;
  }
  .lp-page--top .top-hero h1 {
    font-size: 25px !important;
    line-height: 1.45 !important;
  }
  .lp-page--top .top-hero .lp-hero-lead {
    margin-top: 13px;
    font-size: 15px;
    line-height: 1.8;
  }
  .lp-page--top .top-hero-visual {
    margin: -3px auto -4px;
  }
  .lp-page--top .top-hero-visual img {
    border-radius: 13px;
  }
  .lp-page--top .top-browser-intro,
  .lp-page--top .lp-section,
  .lp-page--top .notes-box {
    width: calc(100% - 24px);
  }
  .lp-page--top .top-browser-intro {
    margin-bottom: 12px;
    padding: 17px 15px;
    border-radius: 17px;
  }
  .lp-page--top .top-browser-intro h2 {
    font-size: 21px;
  }
  .lp-page--top .top-browser-intro p {
    font-size: 15px;
    line-height: 1.8;
  }
  .lp-page--top .lp-jump-anchor {
    height: 12vw;
    margin-top: -12vw;
  }
  .lp-page--top .top-purpose-grid,
  .lp-page--top .top-role-grid,
  .lp-page--top .top-possibility-grid {
    grid-template-columns: 1fr;
  }
  .lp-page--top .top-purpose-card {
    min-height: 0;
    padding: 16px;
  }
  .lp-page--top .top-purpose-head {
    gap: 8px;
  }
  .lp-page--top .top-purpose-card h3 {
    font-size: 18px;
  }
  .lp-page--top .top-purpose-man {
    width: 50px;
    height: 60px;
    margin-top: -8px;
  }
  .lp-page--top .top-purpose-card p,
  .lp-page--top .top-process-item p,
  .lp-page--top .top-role-card p {
    font-size: 15px;
    line-height: 1.75;
  }
  .lp-page--top .top-purpose-card a {
    width: 100%;
    min-height: 47px;
    font-size: 15px;
  }
  .lp-page--top .top-process {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-page--top .top-process-item {
    padding: 16px 15px 16px 58px;
    text-align: left;
  }
  .lp-page--top .top-process-step {
    position: absolute;
    top: 16px;
    left: 14px;
  }
  .lp-page--top .top-process-item:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translateX(50%);
  }
  .lp-page--top .top-process-item h3 {
    font-size: 17px;
  }
  .lp-page--top .top-role-card h3 {
    font-size: 21px;
  }
  .lp-page--top .top-philosophy {
    padding: 21px 16px;
    border-radius: 18px;
  }
  .lp-page--top .top-philosophy h3 {
    font-size: 22px;
  }
  .lp-page--top .top-philosophy p {
    font-size: 15px;
    line-height: 1.8;
  }
  .lp-page--top .top-possibility {
    min-height: 54px;
    font-size: 16px;
  }
  .lp-page--top .lp-card--wide {
    grid-column: auto;
  }
}
/* =========================================================
 * sgt.AI 共通：box1 モダン枠
 *
 * 既存のHTML構造
 *   .box1
 *     .box1_headline
 *     .box1_body
 * を変更せず、親要素へ .box1-modern を追加して使用します。
 *
 * 使用例：
 * <div class="box1 box1-modern bk_eeffee bd_366">
 *   <h2 class="box1_headline bk_366">見出し</h2>
 *   <div class="box1_body">...</div>
 * </div>
 *
 * h11_outline.html専用ではなく、他ページでも共通利用できます。
 * ========================================================= */

:root {
  --site-content-width: 940px;
  --site-content-gap-pc: 40px;
  --site-content-gap-sp: 24px;
}

/* ---------------------------------------------------------
 * 共通モダン枠
 * 上辺だけを太くせず、四辺を同じ1pxで囲みます。
 * --------------------------------------------------------- */
.box1-modern {
  --box-accent: #456c69;
  --box-soft: #f2f7f6;
  --box-line: #d3e0de;

  width: min(var(--site-content-width), calc(100% - var(--site-content-gap-pc))) !important;
  max-width: var(--site-content-width) !important;
  margin: 30px auto !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: hidden;

  border: 1px solid var(--box-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 7px 22px rgba(45, 78, 73, .06);
}

.box1-modern > .box1_headline {
  width: auto !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  box-sizing: border-box;

  border: 0 !important;
  border-bottom: 1px solid var(--box-line) !important;
  border-radius: 0 !important;
  background: var(--box-soft) !important;
  box-shadow: none !important;

  color: var(--box-accent) !important;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}

.box1-modern > .box1_body {
  width: auto !important;
  margin: 0 !important;
  padding: 22px 18px 26px !important;
  box-sizing: border-box;

  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
 * 既存の色クラスをそのまま利用できる配色
 * [1]～[3]の文字はHTMLに残し、番号バッジへ変更しません。
 * --------------------------------------------------------- */
.box1-modern.bd_366,
.box1-modern.box1-theme-green {
  --box-accent: #356b64;
  --box-soft: #eef7f5;
  --box-line: #c9ddd8;
}

.box1-modern.bd_D02020,
.box1-modern.box1-theme-red {
  --box-accent: #ae4e4e;
  --box-soft: #fff3f3;
  --box-line: #ead0d0;
}

.box1-modern.bd_16A,
.box1-modern.box1-theme-blue {
  --box-accent: #356f9f;
  --box-soft: #f0f6fb;
  --box-line: #ccdeec;
}

/* 新規ページで使える汎用テーマ */
.box1-modern.box1-theme-neutral {
  --box-accent: #455a64;
  --box-soft: #f4f6f7;
  --box-line: #d8e0e3;
}

.box1-modern.box1-theme-warm {
  --box-accent: #9a6440;
  --box-soft: #fff7ef;
  --box-line: #ead9c9;
}

/* =========================================================
 * h11_outline.html
 * 大見出し・3枠・Notesを同一の940px基準へ統一
 * ========================================================= */
.outline-page .box8B,
.outline-page .notes-box {
  width: min(var(--site-content-width), calc(100% - var(--site-content-gap-pc))) !important;
  max-width: var(--site-content-width) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.outline-page .notes-box {
  margin-top: 30px !important;
}

/*
 * 最上部の4行：各行は左揃え、文章のまとまり全体はページ中央
 */
.outline-page .outline-main-title {
  display: flex !important;
  justify-content: center;
  text-align: left !important;
}

.outline-page .outline-main-title-text {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

/* 旧CSSの背景色・太枠が内側へ残らないように調整 */
.outline-page .box1-modern > .box1_body > .box2 {
  margin-top: 0;
}

/* =========================================================
 * スマートフォン
 * ========================================================= */
@media screen and (max-width: 767px) {
  .box1-modern,
  .outline-page .box8B,
  .outline-page .notes-box {
    width: calc(100% - var(--site-content-gap-sp)) !important;
    max-width: none !important;
  }

  .box1-modern {
    margin: 22px auto !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 15px rgba(45, 78, 73, .055);
  }

  .box1-modern > .box1_headline {
    padding: 10px 12px !important;
    font-size: clamp(19px, 5.1vw, 22px) !important;
    line-height: 1.35;
  }

  .box1-modern > .box1_body {
    padding: 14px 8px 18px !important;
  }

  .outline-page .box1-modern .box7 {
    width: 100% !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 2vw 2.5vw 3vw !important;
    box-sizing: border-box;
  }

  .outline-page .box1-modern .box7 p.st-text1 {
    margin: .28em 0 !important;
    padding-left: 1.1em;
    text-indent: -1.1em;
    font-size: clamp(14px, 3.7vw, 16px) !important;
    line-height: 1.65;
  }

  .outline-page .st-mleft1 {
    margin-left: 0 !important;
  }

  .outline-page .outline-main-title {
    padding-right: 2vw !important;
    padding-left: 2vw !important;
  }

  .outline-page .outline-main-title-text {
    width: auto;
  }

  .outline-page .notes-box {
    margin-top: 22px !important;
  }
}
/* =========================================================
 * h11_outline.html：比較画像・説明文を大きく表示
 *
 * PCは2列比較を維持し、各画像を列幅いっぱいに表示します。
 * スマホは1列表示にして、画像と説明文をカード内ほぼ全幅にします。
 * ========================================================= */
.outline-page .box1-modern > .box1_body {
  padding: 18px 12px 22px !important;
}

.outline-page .box1-modern .box2,
.outline-page .box1-modern .box2_body {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.outline-page .box1-modern .tate-menu {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start;
  gap: 22px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  list-style: none;
}

.outline-page .box1-modern .tate-list {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.outline-page .box1-modern .tate-list > span {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

.outline-page .box1-modern .tate-list > a.highslide {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.outline-page .box1-modern img.st-image1 {
  display: block !important;
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto 10px !important;
  object-fit: contain;
}

.outline-page .box1-modern .box7 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 10px 12px !important;
  box-sizing: border-box;
}

.outline-page .box1-modern .box7 p.st-text1 {
  width: 100% !important;
  max-width: none !important;
  margin: .25em 0 !important;
  padding-left: 1.05em !important;
  text-indent: -1.05em !important;
  box-sizing: border-box;
  font-size: 15px !important;
  line-height: 1.62;
}

@media screen and (max-width: 767px) {
  /* 外枠幅はNotesとそろえ、内側の余白だけを減らします */
  .outline-page .box1-modern > .box1_body {
    padding: 10px 4px 14px !important;
  }

  .outline-page .box1-modern .tate-menu {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }

  .outline-page .box1-modern .tate-list {
    width: 100% !important;
  }

  .outline-page .box1-modern .tate-list > span {
    margin-bottom: 6px;
    font-size: clamp(17px, 4.6vw, 19px) !important;
    line-height: 1.4;
  }

  .outline-page .box1-modern img.st-image1 {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 8px !important;
  }

  .outline-page .box1-modern .box7 {
    padding: 8px 5px 10px !important;
  }

  .outline-page .box1-modern .box7 p.st-text1 {
    margin: .22em 0 !important;
    font-size: clamp(14.5px, 3.85vw, 16px) !important;
    line-height: 1.58;
  }
}
/* =========================================================
 * 比較内容を上から下へつなぐ矢印
 * PCでは非表示、スマホだけ表示
 * 他ページでも再利用可能
 * ========================================================= */
.compare-flow-arrow {
  display: none;
  list-style: none;
}

@media screen and (max-width: 767px) {
  .compare-flow-arrow {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: 46px;
	margin-top: calc(3px - 8mm) !important;
	margin-bottom: calc(8px - 8mm) !important;
    padding: 0 !important;
    list-style: none;
  }

  /* 矢印の縦棒 */
  .compare-flow-arrow::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 10px;
    height: 22px;
    border-radius: 5px 5px 0 0;
    background: #3b82b8;
    transform: translateX(-50%);
  }

  /* 矢印の先端 */
  .compare-flow-arrow::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 17px solid #3b82b8;
    border-right: 16px solid transparent;
    border-left: 16px solid transparent;
    transform: translateX(-50%);
  }
}



/* =========================================================
 * index.html 差別化ブロック（コンパクト版）
 * ========================================================= */
.lp-page--top .top-difference-compact {
  width: min(var(--lp-content-width), calc(100% - 40px));
  margin: 0 auto 14px;
  padding: 16px 22px 14px;
  border: 1px solid #d8e6e2;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4faf8, #fff);
  box-shadow: 0 5px 16px rgba(45, 78, 73, .045);
}
.lp-page--top .top-difference-compact h2 {
  margin: 0 0 11px;
  color: #315d60;
  text-align: center;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.4;
  text-wrap: balance;
}
.lp-page--top .top-difference-lines {
  overflow: hidden;
  border: 1px solid #dce8e4;
  border-radius: 13px;
  background: #fff;
}
.lp-page--top .top-difference-line {
  display: grid;
  grid-template-columns: 205px 28px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 7px 16px;
  border-bottom: 1px solid #e3ece9;
  font-size: 18px;
  line-height: 1.45;
}
.lp-page--top .top-difference-line:last-child {
  border-bottom: 0;
}
.lp-page--top .top-difference-line strong {
  color: #415f60;
  font-size: 18px;
  font-weight: 900;
}
.lp-page--top .top-difference-arrow {
  color: #9a7851;
  text-align: center;
  font-size: 19px;
  font-weight: 900;
}
.lp-page--top .top-difference-line--sgt {
  background: linear-gradient(90deg, #eaf6f1, #f8fcfa);
  color: #204f50;
  font-weight: 800;
}
.lp-page--top .top-difference-line--sgt strong {
  color: #235e5d;
  font-size: 20px;
}
.lp-page--top .top-difference-line--sgt span:last-child {
  font-size: 20px;
  font-weight: 900;
}
.lp-page--top .top-difference-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
}
.lp-page--top .top-difference-bottom p {
  margin: 0;
  color: #40595a;
  font-size: 14px;
  line-height: 1.65;
}
.lp-page--top .top-difference-bottom a {
  flex: 0 0 auto;
  color: var(--lp-primary-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-page--top .top-difference-bottom a:hover {
  text-decoration-thickness: 2px;
}

@media screen and (max-width: 767px) {
  .lp-page--top .top-difference-compact {
    width: calc(100% - 24px);
    margin-bottom: 12px;
    padding: 15px 12px 13px;
    border-radius: 17px;
  }
  .lp-page--top .top-difference-compact h2 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.45;
  }
  .lp-page--top .top-difference-line {
    grid-template-columns: minmax(112px, 38%) 20px minmax(0, 1fr);
    min-height: 0;
    padding: 9px 10px;
    font-size: clamp(14px, 3.7vw, 16px);
    line-height: 1.45;
  }
  .lp-page--top .top-difference-line strong {
    font-size: clamp(14px, 3.8vw, 16px);
  }
  .lp-page--top .top-difference-arrow {
    font-size: 16px;
  }
  .lp-page--top .top-difference-line--sgt strong,
  .lp-page--top .top-difference-line--sgt span:last-child {
    font-size: clamp(15px, 4vw, 17px);
  }
  .lp-page--top .top-difference-bottom {
    display: block;
    margin-top: 9px;
  }
  .lp-page--top .top-difference-bottom p {
    font-size: 13.5px;
    line-height: 1.65;
  }
  .lp-page--top .top-difference-bottom a {
    display: inline-block;
    margin-top: 5px;
    font-size: 13.5px;
  }
}
