

:root {
  --ink: #102a43;
  --navy: #173f5f;
  --muted: #657084;
  --paper: #e9eff6;
  --cream: #f4f7fb;
  --orange: #e66e3d;
  --orange-soft: #fff0e8;
  --blue: #2563a8;
  --blue-strong: #174f86;
  --blue-soft: #e9f2fb;
  --line: #d5dfe9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

main {
  overflow: hidden;
}

.siteHeader {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(16, 42, 67, .04);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 max(5vw, 28px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.brand,
.footerBrand {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brandMark,
.footerBrand span {
  align-items: center;
  background: var(--ink);
  border-radius: 9px;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-right: 12px;
  width: 34px;
}

.brandText {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brandText strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.brandText small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.promo-banner {
  display: block;
  width: min(1200px, calc(100% - max(10vw, 56px)));
  margin: 26px auto 0;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(37, 99, 168, .18);
  box-shadow: 0 20px 55px rgba(16, 42, 67, .16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(16, 42, 67, .22);
}
.promo-banner img { width: 100%; height: auto; display: block; }

nav {
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 30px;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  background:
    linear-gradient(90deg, rgba(22, 36, 58, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(22, 36, 58, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
  padding: 94px max(5vw, 28px) 110px;
}

.heroGrid {
  align-items: center;
  display: grid;
  gap: 9vw;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  margin: 0 auto;
  max-width: 1200px;
}

.eyebrow,
.sectionKicker {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(52px, 6.4vw, 88px);
  letter-spacing: -0.07em;
  line-height: 1.08;
  margin: 0;
}

h1 span {
  color: var(--blue);
  display: block;
  font-size: 0.62em;
  letter-spacing: -0.04em;
  margin-top: 14px;
}

.lead {
  color: #455166;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 2;
  margin: 34px 0;
  max-width: 680px;
}

.heroActions {
  align-items: center;
  display: flex;
  gap: 22px;
}

.primaryButton {
  background: var(--ink);
  color: white;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 30px;
  padding: 16px 21px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primaryButton:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.readingTime {
  color: var(--muted);
  font-size: 12px;
}

.priceVisual {
  background: white;
  border: 1px solid #dbe4ee;
  box-shadow: 22px 22px 0 var(--paper);
  min-height: 500px;
  padding: 30px 34px;
  position: relative;
}

.priceVisual::before {
  background: var(--ink);
  content: "";
  height: calc(100% - 60px);
  left: 34px;
  position: absolute;
  top: 30px;
  width: 2px;
}

.priceTop,
.limitLine {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px 1fr auto;
  position: relative;
}

.priceTop::before,
.limitLine::before {
  background: var(--ink);
  content: "";
  height: 12px;
  left: -5px;
  position: absolute;
  transform: rotate(45deg);
  width: 12px;
}

.priceTop span,
.priceBottom {
  color: var(--muted);
  font-size: 11px;
}

.priceTop strong,
.limitLine span {
  font-size: 13px;
}

.priceTop b,
.limitLine b {
  font-size: 20px;
}

.priceRange {
  border-left: 12px solid #dce9e6;
  height: 245px;
  margin: 20px 0 0 39px;
  padding: 24px 0 0 28px;
  position: relative;
}

.rangeLabel {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.bid {
  background: var(--blue);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 14px;
  position: absolute;
}

.bid::before {
  border-bottom: 6px solid transparent;
  border-right: 7px solid var(--blue);
  border-top: 6px solid transparent;
  content: "";
  left: -7px;
  position: absolute;
  top: 13px;
}

.bidOne {
  right: 7%;
  top: 72px;
}

.bidTwo {
  left: 25%;
  top: 152px;
}

.limitLine {
  background: var(--orange-soft);
  border-bottom: 2px solid var(--orange);
  border-top: 2px solid var(--orange);
  margin-left: 0;
  padding: 12px 0 12px 48px;
}

.limitLine::before {
  background: var(--orange);
}

.limitLine b {
  color: var(--orange);
  margin-right: 8px;
}

.invalidRange {
  height: 105px;
  margin-left: 39px;
  padding: 18px 0 0 28px;
  position: relative;
}

.invalidRange > span {
  color: #9a6f5e;
  font-size: 11px;
  font-weight: 800;
}

.invalidBid {
  background: #afa8a0;
  left: 34%;
  top: 45px;
  text-decoration: line-through;
}

.invalidBid::before {
  border-right-color: #afa8a0;
}

.priceBottom {
  bottom: 27px;
  left: 40px;
  position: absolute;
}

.answerSection {
  display: grid;
  gap: 42px;
  grid-template-columns: 90px 1fr;
  margin: 0 auto;
  max-width: 1200px;
  padding: 110px max(5vw, 28px);
}

.sectionNumber {
  color: #c7c2b8;
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.35;
  margin: 0;
}

.answerCard {
  align-items: flex-start;
  background: white;
  border-left: 5px solid var(--orange);
  box-shadow: 0 12px 35px rgba(22, 36, 58, 0.07);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  margin: 42px 0 32px;
  padding: 32px 36px;
}

.answerIcon {
  align-items: center;
  background: var(--orange);
  border-radius: 50%;
  color: white;
  display: flex;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.answerCard p {
  margin: 0 0 12px;
}

.answerCard p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.termStrip {
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  padding: 24px 0;
}

.termStrip div {
  padding: 0 18px;
}

.termStrip div:first-child {
  padding-left: 0;
}

.termStrip span {
  font-size: 14px;
  font-weight: 800;
}

.termStrip p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 5px 0 0;
}

.stripArrow {
  align-self: center;
  color: var(--orange);
}

.purposeSection,
.differenceSection {
  padding: 110px max(5vw, 28px);
}

.purposeSection {
  background: var(--ink);
  color: white;
}

.sectionHeading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto 62px;
  max-width: 1200px;
}

.sectionHeading > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.purposeSection .sectionHeading > p {
  color: #aeb7c5;
}

.purposeGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1200px;
}

.purposeGrid article {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 315px;
  padding: 28px 30px;
  position: relative;
}

.purposeGrid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.purposeNo {
  color: #6f7a8c;
  font-family: Arial, sans-serif;
  font-size: 11px;
  position: absolute;
  right: 24px;
  top: 22px;
}

.simpleIcon {
  align-items: center;
  border: 1px solid #7a8494;
  display: flex;
  font-family: serif;
  font-size: 25px;
  height: 54px;
  justify-content: center;
  margin-bottom: 48px;
  width: 54px;
}

.purposeGrid h3 {
  font-size: 22px;
  margin: 0 0 16px;
}

.purposeGrid p {
  color: #b6bfcb;
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.purposeConclusion {
  align-items: center;
  background: white;
  color: var(--ink);
  display: grid;
  gap: 30px;
  grid-template-columns: auto 1fr;
  margin: 50px auto 0;
  max-width: 1200px;
  padding: 26px 32px;
}

.purposeConclusion span {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
}

.purposeConclusion p {
  font-size: 19px;
  margin: 0;
}

.differenceSection {
  background: var(--paper);
}

.systemCards {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 40px;
  max-width: 1200px;
}

.systemCard {
  background: white;
  border-top: 6px solid;
  padding: 38px 42px;
}

.orangeCard {
  border-color: var(--orange);
}

.blueCard {
  border-color: var(--blue);
}

.systemLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.systemCard h3 {
  font-size: 28px;
  margin: 8px 0;
}

.systemSummary {
  color: var(--muted);
  font-size: 14px;
}

.miniFlow {
  align-items: center;
  background: #f6f5f2;
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
  padding: 19px 12px;
}

.miniFlow i {
  color: #9ca3ad;
  font-style: normal;
}

.orangeCard .miniFlow strong {
  background: var(--orange);
}

.blueCard .miniFlow strong {
  background: var(--blue);
}

.miniFlow strong {
  color: white;
  padding: 5px 12px;
}

.systemCard ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.systemCard li {
  border-top: 1px solid #ece9e2;
  font-size: 13px;
  padding: 10px 0 10px 24px;
  position: relative;
}

.systemCard li::before {
  color: var(--orange);
  content: "✓";
  left: 2px;
  position: absolute;
}

.blueCard li::before {
  color: var(--blue);
}

.comparisonTable {
  background: white;
  border: 1px solid #dedbd4;
  margin: 0 auto;
  max-width: 1200px;
}

.comparisonRow {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
}

.comparisonRow > * {
  border-right: 1px solid #e5e2dc;
  border-top: 1px solid #e5e2dc;
  font-size: 13px;
  padding: 18px 22px;
}

.comparisonRow > *:last-child {
  border-right: 0;
}

.tableHead {
  background: var(--ink);
  color: white;
}

.tableHead > * {
  border-top: 0;
  font-size: 12px;
  font-weight: 800;
}

.comparisonRow strong {
  background: #f4f8fc;
}

.exampleSection {
  background: #1b2b43;
  color: white;
  padding: 110px max(5vw, 28px);
}

.lightHeading > p {
  color: #aeb7c5;
}

.bidBoard {
  background: white;
  color: var(--ink);
  margin: 0 auto;
  max-width: 780px;
  padding: 28px 42px 34px;
}

.bidBoardHeader,
.companyBid {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 90px 1fr 170px;
}

.bidBoardHeader {
  color: var(--muted);
  font-size: 11px;
  padding-bottom: 12px;
}

.bidBoardHeader b {
  grid-column: 3;
  text-align: right;
}

.companyBid {
  border-top: 1px solid #e6e2db;
  min-height: 78px;
}

.companyBid .company {
  font-size: 15px;
  font-weight: 800;
}

.companyBid strong {
  font-family: Arial, sans-serif;
  font-size: 30px;
}

.companyBid small {
  font-family: inherit;
  font-size: 12px;
  margin-left: 4px;
}

.companyBid > span:last-child {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.companyBid.lowest {
  background: var(--orange-soft);
  margin: 0 -18px;
  padding: 0 18px;
}

.underBadge {
  color: var(--orange) !important;
  font-weight: 800;
}

.threshold {
  align-items: center;
  display: flex;
  margin: 0 -18px;
}

.threshold::before,
.threshold::after {
  border-top: 2px dashed var(--orange);
  content: "";
  flex: 1;
}

.threshold span {
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
}

.resultSplit {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin: 28px auto 0;
  max-width: 980px;
}

.resultSplit article {
  background: white;
  color: var(--ink);
  padding: 30px 34px;
}

.resultTag {
  color: white;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
}

.orangeTag {
  background: var(--orange);
}

.blueTag {
  background: var(--blue);
}

.resultSplit h3 {
  font-size: 19px;
  margin: 16px 0 8px;
}

.resultSplit p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.calculationSection {
  background: var(--cream);
  padding: 110px max(5vw, 28px);
}

.calculationSection > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.calcHero {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 54px;
}

.calcHero > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.formulaPanel {
  background: var(--ink);
  color: white;
  padding: 42px;
}

.formulaPanelHead {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
}

.formulaPanelHead span {
  color: #aeb8c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.formulaPanelHead h3 {
  font-size: 26px;
  margin: 3px 0 0;
}

.formulaPanelHead b {
  background: var(--orange);
  font-size: 10px;
  padding: 6px 10px;
}

.formulaBlocks {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  padding: 32px 0;
}

.formulaBlocks > div {
  background: white;
  border-top: 4px solid var(--blue);
  color: var(--ink);
  min-height: 142px;
  padding: 20px 16px;
}

.formulaBlocks > i {
  color: #92a0b3;
  font-size: 22px;
  font-style: normal;
}

.formulaBlocks span,
.formulaBlocks strong,
.formulaBlocks small {
  display: block;
}

.formulaBlocks span {
  font-size: 12px;
  font-weight: 800;
}

.formulaBlocks strong {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 30px;
  margin: 8px 0;
}

.formulaBlocks small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.formulaBlocks .accentBlock {
  border-top-color: var(--orange);
}

.formulaBlocks .accentBlock strong {
  color: var(--orange);
}

.formulaResult {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  font-size: 12px;
  gap: 18px;
  justify-content: center;
  padding: 17px;
}

.formulaResult i {
  color: #9eabba;
  font-style: normal;
}

.formulaResult b {
  background: white;
  color: var(--ink);
  padding: 7px 12px;
}

.formulaNote {
  color: #aeb8c8;
  font-size: 12px;
  margin: 22px 0 0;
}

.formulaNote strong {
  color: white;
}

.calculationSteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.calculationSteps article {
  border: 1px solid var(--line);
  border-right: 0;
  min-height: 220px;
  padding: 28px;
}

.calculationSteps article:last-child {
  border-right: 1px solid var(--line);
}

.stepNo {
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.calculationSteps h3 {
  font-size: 18px;
  margin: 32px 0 12px;
}

.calculationSteps p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.workedExample {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  margin-top: 70px;
}

.workedCopy {
  padding: 42px;
}

.workedCopy h3,
.localVariation h3,
.serviceIntro h3,
.checklistPanel h3 {
  font-size: 28px;
  margin: 0 0 14px;
}

.workedCopy > p:not(.sectionKicker) {
  color: var(--muted);
  font-size: 13px;
}

.workedEquation {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  gap: 12px;
  margin-top: 28px;
}

.workedEquation i {
  color: var(--orange);
  font-style: normal;
}

.workedResult {
  align-items: center;
  background: var(--orange);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.workedResult > span {
  font-size: 11px;
  font-weight: 800;
}

.workedResult > strong {
  font-family: Arial, sans-serif;
  font-size: 52px;
  line-height: 1.2;
  margin: 10px 0;
}

.workedResult small {
  font-size: 14px;
}

.workedResult p {
  font-size: 11px;
  margin: 0;
}

.rulesSplit {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin-top: 70px;
}

.ruleArticle {
  background: white;
  border-top: 6px solid;
  padding: 38px;
}

.minimumRule {
  border-color: var(--orange);
}

.surveyRule {
  border-color: var(--blue);
}

.ruleHeading > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.ruleHeading h3 {
  font-size: 24px;
  margin: 4px 0 20px;
}

.ruleArticle ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ruleArticle li {
  align-items: start;
  border-top: 1px solid #e4ebf3;
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  padding: 17px 0;
}

.ruleArticle li > b {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 11px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.ruleArticle strong {
  font-size: 13px;
}

.ruleArticle li p {
  color: var(--muted);
  font-size: 11px;
  margin: 3px 0 0;
}

.localVariation {
  background: var(--ink);
  color: white;
  margin-top: 70px;
  padding: 44px;
}

.variationGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 30px;
}

.variationGrid > div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px;
}

.variationGrid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.variationGrid span,
.variationGrid strong {
  display: block;
}

.variationGrid span {
  color: #748198;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.variationGrid strong {
  font-size: 16px;
  margin: 22px 0 9px;
}

.variationGrid p {
  color: #aeb8c8;
  font-size: 10px;
  margin: 0;
}

.yokohamaExample {
  background: white;
  color: var(--ink);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  margin-top: 30px;
  padding: 25px 28px;
}

.yokohamaExample > span {
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 800;
  height: fit-content;
  padding: 6px 10px;
}

.yokohamaExample p {
  font-size: 12px;
  margin: 0;
}

.serviceRules {
  margin-top: 70px;
}

.serviceIntro {
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr 1fr;
}

.serviceIntro .sectionKicker {
  grid-column: 1 / -1;
  margin-bottom: -25px;
}

.serviceIntro p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.serviceTable {
  border: 1px solid var(--line);
  margin-top: 28px;
}

.serviceRow {
  display: grid;
  grid-template-columns: 0.65fr 0.8fr 1.55fr;
}

.serviceRow > * {
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  font-size: 12px;
  margin: 0;
  padding: 15px 18px;
}

.serviceRow > *:last-child {
  border-right: 0;
}

.serviceHead {
  background: var(--ink);
  color: white;
}

.serviceHead > * {
  border-top: 0;
  font-size: 10px;
  font-weight: 800;
}

.serviceRow strong {
  background: var(--paper);
}

.serviceNote,
.calculationDisclaimer {
  color: var(--muted);
  font-size: 10px;
}

.serviceNote {
  margin: 12px 0 0;
}

.checklistPanel {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: 36px;
  grid-template-columns: 0.65fr 1.35fr;
  margin-top: 70px;
  padding: 38px;
}

.checklistPanel ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklistPanel li {
  border-left: 1px solid var(--line);
  padding: 0 14px;
}

.checklistPanel li > span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 22px;
}

.checklistPanel strong {
  display: block;
  font-size: 12px;
  margin-top: 8px;
}

.checklistPanel li p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  margin: 2px 0 0;
}

.calculationDisclaimer {
  margin-top: 22px;
}

.takeawaySection {
  background: var(--orange);
  color: white;
  padding: 80px max(5vw, 28px);
  text-align: center;
}

.takeawaySection .sectionKicker {
  color: #ffe2d5;
}

.takeawayGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px auto 0;
  max-width: 1100px;
}

.takeawayGrid div {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 36px;
}

.takeawayGrid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.takeawayGrid span {
  font-family: Georgia, serif;
  font-size: 32px;
}

.takeawayGrid p {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 0;
}

footer {
  background: #111d2f;
  color: white;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
  padding: 62px max(5vw, 28px);
}

footer > div:first-child > p:last-child {
  color: #9fa9b7;
  font-size: 11px;
  max-width: 520px;
}

.sources {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sources strong {
  color: #d0d6de;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}

.sources a {
  color: #aab4c2;
  font-size: 11px;
}

.sources a:hover {
  color: white;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .heroGrid,
  .sectionHeading,
  .calcHero,
  .workedExample,
  .serviceIntro,
  .checklistPanel {
    grid-template-columns: 1fr;
  }

  .formulaBlocks {
    grid-template-columns: 1fr 1fr;
  }

  .formulaBlocks > i {
    display: none;
  }

  .calculationSteps,
  .variationGrid {
    grid-template-columns: 1fr 1fr;
  }

  .calculationSteps article:nth-child(2),
  .calculationSteps article:nth-child(4) {
    border-right: 1px solid var(--line);
  }

  .calculationSteps article:nth-child(n + 3) {
    border-top: 0;
  }

  .rulesSplit {
    grid-template-columns: 1fr;
  }

  .variationGrid > div:nth-child(2),
  .variationGrid > div:nth-child(4),
  .variationGrid > div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .checklistPanel ol {
    grid-template-columns: repeat(5, 1fr);
  }

  .heroGrid {
    gap: 60px;
  }

  .priceVisual {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
  }

  .answerSection {
    grid-template-columns: 1fr;
  }

  .sectionNumber {
    display: none;
  }

  .purposeGrid {
    grid-template-columns: 1fr 1fr;
  }

  .purposeGrid article:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .purposeGrid article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .systemCards,
  .resultSplit {
    grid-template-columns: 1fr;
  }

  .takeawayGrid {
    grid-template-columns: 1fr;
  }

  .takeawayGrid div,
  .takeawayGrid div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
    border-right: 0;
    padding: 26px;
  }
}

@media (max-width: 620px) {
  .siteHeader {
    height: 62px;
  }

  .promo-banner {
    border-radius: 14px;
    margin-top: 16px;
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 50px;
  }

  .heroActions {
    align-items: flex-start;
    flex-direction: column;
  }

  .priceVisual {
    box-shadow: 10px 10px 0 var(--paper);
    min-height: 475px;
    padding: 24px 18px;
  }

  .priceVisual::before {
    left: 18px;
    top: 24px;
  }

  .priceRange,
  .invalidRange {
    margin-left: 23px;
  }

  .priceTop,
  .limitLine {
    grid-template-columns: 36px 1fr auto;
  }

  .limitLine {
    padding-left: 32px;
  }

  .priceTop b,
  .limitLine b {
    font-size: 16px;
  }

  .answerSection,
  .purposeSection,
  .differenceSection,
  .exampleSection,
  .calculationSection {
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .formulaPanel,
  .localVariation {
    padding: 28px 22px;
  }

  .formulaPanelHead {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .formulaBlocks,
  .calculationSteps,
  .variationGrid,
  .serviceIntro,
  .rulesSplit {
    grid-template-columns: 1fr;
  }

  .formulaBlocks > div {
    min-height: 0;
  }

  .formulaResult {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .calculationSteps article,
  .calculationSteps article:nth-child(2),
  .calculationSteps article:nth-child(3),
  .calculationSteps article:nth-child(4) {
    border: 1px solid var(--line);
    border-bottom: 0;
    min-height: 0;
  }

  .calculationSteps article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .workedCopy,
  .workedResult,
  .ruleArticle {
    padding: 28px 22px;
  }

  .workedEquation {
    align-items: flex-start;
    flex-direction: column;
  }

  .variationGrid > div,
  .variationGrid > div:nth-child(2),
  .variationGrid > div:nth-child(4),
  .variationGrid > div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
    border-right: 0;
  }

  .yokohamaExample {
    grid-template-columns: 1fr;
  }

  .serviceTable {
    border: 0;
  }

  .serviceRow {
    background: white;
    border: 1px solid var(--line);
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }

  .serviceRow > * {
    border-right: 0;
    padding: 11px 15px;
  }

  .serviceHead {
    display: none;
  }

  .checklistPanel ol {
    grid-template-columns: 1fr;
  }

  .checklistPanel li {
    border-bottom: 1px solid var(--line);
    border-left: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr;
    padding: 14px 0;
  }

  .checklistPanel li > span {
    grid-row: 1 / 3;
  }

  .checklistPanel strong {
    margin-top: 0;
  }

  .answerCard {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }

  .termStrip {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .termStrip div,
  .termStrip div:first-child {
    padding: 0;
  }

  .stripArrow {
    transform: rotate(90deg);
  }

  .purposeGrid {
    grid-template-columns: 1fr;
  }

  .purposeGrid article,
  .purposeGrid article:nth-child(2),
  .purposeGrid article:nth-child(3),
  .purposeGrid article:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 0;
    min-height: 250px;
  }

  .purposeConclusion {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .systemCard {
    padding: 30px 24px;
  }

  .comparisonTable {
    background: transparent;
    border: 0;
  }

  .comparisonRow {
    background: white;
    border: 1px solid var(--line);
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }

  .comparisonRow > * {
    border-right: 0;
    padding: 12px 16px;
  }

  .tableHead {
    display: none;
  }

  .comparisonRow span:nth-child(2)::before,
  .comparisonRow span:nth-child(3)::before {
    display: block;
    font-size: 10px;
    font-weight: 800;
  }

  .comparisonRow span:nth-child(2)::before {
    color: var(--orange);
    content: "最低制限価格制度";
  }

  .comparisonRow span:nth-child(3)::before {
    color: var(--blue);
    content: "低入札価格調査制度";
  }

  .bidBoard {
    padding: 22px 18px;
  }

  .bidBoardHeader,
  .companyBid {
    grid-template-columns: 50px 1fr 92px;
  }

  .companyBid strong {
    font-size: 22px;
  }

  .companyBid > span:last-child {
    font-size: 9px;
  }

  .companyBid.lowest,
  .threshold {
    margin-left: -8px;
    margin-right: -8px;
  }

  .companyBid.lowest {
    padding: 0 8px;
  }

  footer {
    gap: 35px;
    grid-template-columns: 1fr;
  }
}


.aiNavButton {
  background: var(--blue);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  padding: 11px 20px;
  box-shadow: 0 10px 24px rgba(37, 99, 168, .32);
  transition: background 0.2s ease, transform 0.2s ease;
}

.aiNavButton:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-1px);
}

/* ===== 判定AI CTA（大きいボタン・繰り返し設置） ===== */
.aiCtaButton {
  align-items: center;
  background: linear-gradient(135deg, #2f74c4, #174f86);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(23, 79, 134, .35);
  color: #fff;
  display: inline-flex;
  gap: 18px;
  max-width: 100%;
  padding: 22px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.aiCtaButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 55px rgba(23, 79, 134, .45);
  filter: brightness(1.05);
}
.aiCtaButton-ic {
  align-items: center;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 13px;
  display: inline-flex;
  flex: none;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  letter-spacing: .04em;
  width: 52px;
}
.aiCtaButton-tx {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.35;
}
.aiCtaButton-tx small {
  color: rgba(255, 255, 255, .85);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.aiCtaButton b {
  font-size: 26px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.aiCtaButton:hover b { transform: translateX(5px); }
.aiCtaButton.large {
  font-size: 24px;
  padding: 30px 50px;
}
.aiCtaButton.large .aiCtaButton-ic { height: 64px; width: 64px; font-size: 24px; border-radius: 15px; }
.aiCtaButton.large .aiCtaButton-tx { font-size: 25px; }
.aiCtaButton.large .aiCtaButton-tx small { font-size: 14px; }
.aiCtaButton.large b { font-size: 30px; }

/* ヒーローのボタン列：AI CTAを主役に */
.heroActions .primaryButton.ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.heroActions .primaryButton.ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* 全幅CTAバンド */
.aiBand {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 168, .10), transparent 22rem),
    var(--blue-soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 64px max(5vw, 28px);
}
.aiBand-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
}
.aiBand-copy { flex: 1 1 380px; }
.aiBand-kicker {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  margin: 0 0 12px;
}
.aiBand-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.3;
}
.aiBand-copy p {
  color: #45526a;
  font-size: 15px;
  margin: 14px 0 0;
  max-width: 560px;
}
.aiBandFinal {
  background:
    radial-gradient(circle at 15% 0%, rgba(47, 116, 196, .35), transparent 24rem),
    var(--ink);
  border-color: rgba(255, 255, 255, .08);
}
.aiBandFinal .aiBand-kicker { color: #7fb2e6; }
.aiBandFinal .aiBand-copy h2 { color: #fff; }
.aiBandFinal .aiBand-copy p { color: rgba(255, 255, 255, .78); }

/* バナー上のクリック誘導 */
.promo-banner { position: relative; }
.promo-banner-cta {
  align-items: center;
  background: rgba(16, 42, 67, .82);
  border-radius: 999px;
  bottom: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  left: 50%;
  line-height: 1;
  opacity: 0;
  padding: 10px 18px;
  position: absolute;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.promo-banner:hover .promo-banner-cta { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .aiCtaButton, .aiCtaButton.large { width: 100%; justify-content: center; padding: 18px 20px; }
  .aiCtaButton-tx, .aiCtaButton.large .aiCtaButton-tx { font-size: 17px; }
  .aiBand { padding: 48px max(5vw, 20px); }
  .promo-banner-cta { opacity: 1; transform: translate(-50%, 0); font-size: 11px; padding: 8px 14px; bottom: 10px; }
}
