:root {
  --minaoshi-navy: #06244a;
  --minaoshi-navy-dark: #031832;
  --minaoshi-blue: #0b4f93;
  --minaoshi-orange: #f06423;
  --minaoshi-gold: #c9943f;
  --minaoshi-text: #1f2937;
  --minaoshi-muted: #64748b;
  --minaoshi-line: #d9e2ec;
  --minaoshi-bg: #f7f9fc;
  --minaoshi-panel: #ffffff;
  --minaoshi-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --minaoshi-soft-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
  --minaoshi-max: 1280px;
  --minaoshi-content-max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--minaoshi-text);
  background: var(--minaoshi-bg);
  font-size: 17px;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.85;
}

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

.minaoshi-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px 22px 0;
}

.minaoshi-hero,
.minaoshi-block,
.minaoshi-compare,
.minaoshi-support,
.minaoshi-cta {
  width: min(var(--minaoshi-max), 100%);
  margin: 0 auto 16px;
  background: var(--minaoshi-panel);
  border: 1px solid var(--minaoshi-line);
  border-radius: 12px;
  box-shadow: var(--minaoshi-shadow);
}

.minaoshi-block,
.minaoshi-support {
  width: min(var(--minaoshi-content-max), 100%);
}

.minaoshi-hero {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(470px, 0.95fr) minmax(620px, 1.25fr);
  overflow: hidden;
  background:
    url("images/minaoshi-hero-x.webp") right center / cover no-repeat,
    #ffffff;
}

.minaoshi-hero::before {
  content: none;
}

.minaoshi-hero-copy {
  max-width: 560px;
  padding: 48px 42px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.minaoshi-hero-badge {
  margin: 0 0 20px;
  color: #d8e6f6;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.minaoshi-hero h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.minaoshi-hero h1 span {
  color: var(--minaoshi-orange);
}

.minaoshi-hero-sublead {
  margin: 0 0 18px;
  color: #fff3c9;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 900;
}

.minaoshi-hero-lead {
  margin: 0 0 24px;
  color: #e9f1fb;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 800;
}

.minaoshi-hero-points {
  width: min(calc(var(--minaoshi-max) - 64px), calc(100% - 64px));
  margin: -34px auto 16px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  position: relative;
  z-index: 3;
  background: #ffffff;
  border: 1px solid var(--minaoshi-line);
  border-radius: 10px;
  box-shadow: var(--minaoshi-shadow);
}

.minaoshi-hero-points div {
  padding: 6px 34px;
  text-align: center;
}

.minaoshi-hero-points div + div {
  border-left: 1px solid var(--minaoshi-line);
}

.minaoshi-hero-points strong,
.minaoshi-hero-points span {
  display: block;
}

.minaoshi-hero-points strong {
  color: var(--minaoshi-navy);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
}

.minaoshi-hero-points span {
  color: var(--minaoshi-text);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 750;
}

.minaoshi-hero-actions,
.minaoshi-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.minaoshi-button {
  min-width: 220px;
  min-height: 54px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.minaoshi-button::after {
  content: "›";
  margin-left: 14px;
  font-size: 21px;
  line-height: 1;
}

.minaoshi-button:hover {
  transform: translateY(-2px);
}

.minaoshi-button-orange {
  color: #ffffff;
  background: var(--minaoshi-orange);
  border: 2px solid var(--minaoshi-orange);
}

.minaoshi-button-outline {
  color: #ffffff;
  background: rgba(6, 36, 74, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.minaoshi-hero-visual {
  min-height: 470px;
  position: relative;
}

.minaoshi-hero-note,
.minaoshi-hero-result {
  position: absolute;
  margin: 0;
  z-index: 2;
  font-weight: 900;
  text-align: center;
}

.minaoshi-hero-note {
  right: 206px;
  bottom: 50px;
  padding: 18px 16px;
  color: #2d2a19;
  background: #fff3c9;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  transform: rotate(-4deg);
}

.minaoshi-hero-result {
  right: 26px;
  bottom: 38px;
  width: 130px;
  height: 130px;
  padding-top: 24px;
  color: #3b2d18;
  background: #fff7dc;
  border: 2px solid rgba(201, 148, 63, 0.5);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: var(--minaoshi-soft-shadow);
}

.minaoshi-hero-result strong {
  display: inline-block;
  font-size: 22px;
  line-height: 1.1;
}

.minaoshi-block {
  padding: 32px;
}

.minaoshi-problem,
.minaoshi-check,
.minaoshi-flow,
.minaoshi-cost {
  width: min(var(--minaoshi-max), 100%);
}

.minaoshi-block h2,
.minaoshi-compare h2,
.minaoshi-support h2,
.minaoshi-cta h2 {
  margin: 0 0 26px;
  color: var(--minaoshi-navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.03em;
}

.minaoshi-problem h2 {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.minaoshi-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--minaoshi-line);
  border-bottom: 1px solid var(--minaoshi-line);
}

.minaoshi-problem-grid article {
  position: relative;
  min-height: 178px;
  padding: 16px 198px 16px 14px;
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--minaoshi-line);
}

.minaoshi-problem-grid article > div {
  position: relative;
  z-index: 2;
}

.minaoshi-problem-grid article:last-child {
  border-right: 0;
}

.minaoshi-problem-grid span,
.minaoshi-flow-grid span {
  display: block;
  color: var(--minaoshi-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.minaoshi-problem-grid h3,
.minaoshi-why h3,
.minaoshi-flow h3 {
  margin: 10px 0 8px;
  color: var(--minaoshi-navy-dark);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 900;
}

.minaoshi-problem-grid p,
.minaoshi-why p,
.minaoshi-flow p,
.minaoshi-support p,
.minaoshi-cta p {
  margin: 0;
  color: var(--minaoshi-text);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 750;
}

.minaoshi-problem-grid h3 {
  margin: 8px 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.minaoshi-problem-grid p {
  font-size: 12px;
  line-height: 1.65;
}

.minaoshi-problem-grid img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 190px;
  height: 170px;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.92;
  filter: brightness(1.04) saturate(0.88) contrast(0.96);
}

.minaoshi-why {
  width: min(var(--minaoshi-max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 18px 32px;
}

.minaoshi-why h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  text-align: left;
}

.minaoshi-why article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 0 12px 42px;
  border-bottom: 1px solid var(--minaoshi-line);
}

.minaoshi-why article::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  background: var(--minaoshi-blue);
  border-radius: 50%;
}

.minaoshi-why h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.minaoshi-why p {
  font-size: 12px;
  line-height: 1.7;
}
.minaoshi-why-photo {
  min-height: 320px;
  height: 100%;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background:
    linear-gradient(135deg, rgba(3, 24, 50, 0.94) 0%, rgba(6, 36, 74, 0.80) 34%, rgba(6, 36, 74, 0.42) 66%, rgba(6, 36, 74, 0.08) 100%),
    url("images/minaoshi-support-meeting.webp") center / cover no-repeat;
  border-radius: 4px;
}

.minaoshi-why-photo p {
  max-width: 330px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 900;
  background: none;
  border-radius: 0;
}

.minaoshi-compare {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  overflow: hidden;
  background: #ffffff;
}

.minaoshi-compare-before,
.minaoshi-compare-after {
  min-height: 170px;
  padding: 26px 38px;
  display: flex;
  align-items: center;
  position: relative;
}

.minaoshi-compare-before {
  margin-right: -76px;
  padding-right: 96px;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 76px) 100%, 0 100%);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(3, 24, 50, 0.98) 0%, rgba(6, 36, 74, 0.88) 36%, rgba(6, 36, 74, 0.32) 54%, rgba(6, 36, 74, 0) 72%),
    url("images/minaoshi-before.webp") right center / auto 108% no-repeat,
    var(--minaoshi-navy);
}

.minaoshi-compare-after {
  margin-left: -76px;
  padding-left: 114px;
  color: var(--minaoshi-navy);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.42) 58%, rgba(255, 255, 255, 0) 72%),
    url("images/minaoshi-after.webp") right center / auto 112% no-repeat,
    #ffffff;
}

.minaoshi-compare h2 {
  margin-bottom: 12px;
  color: inherit;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  text-align: left;
}

.minaoshi-compare-after h2 {
  color: var(--minaoshi-gold);
}

.minaoshi-compare ul,
.minaoshi-check ul,
.minaoshi-support ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.minaoshi-compare li,
.minaoshi-check li,
.minaoshi-support li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 850;
}

.minaoshi-compare li::before,
.minaoshi-support li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--minaoshi-gold);
  font-weight: 900;
}

.minaoshi-compare-before li::before {
  color: #ffffff;
}

.minaoshi-compare-arrow {
  position: relative;
  z-index: 3;
  background: transparent;
}

.minaoshi-compare-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-left: 26px solid var(--minaoshi-gold);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  transform: translate(-50%, -50%);
}

.minaoshi-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.minaoshi-check-grid article {
  position: relative;
  min-height: 176px;
  padding: 24px 26px 22px;
  background: #ffffff;
  border: 1px solid var(--minaoshi-line);
  box-shadow: var(--minaoshi-soft-shadow);
}

.minaoshi-check-grid article::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 24px solid #eef3f8;
  border-left: 24px solid transparent;
}

.minaoshi-check h3 {
  margin: 0 0 14px;
  color: var(--minaoshi-navy);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.minaoshi-check li {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--minaoshi-text);
}

.minaoshi-check li::before {
  content: "";
  position: static;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 2px solid #b9c3cf;
  background: #ffffff;
}

.minaoshi-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.minaoshi-flow-grid article {
  position: relative;
}

.minaoshi-flow-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -22px;
  width: 32px;
  height: 1px;
  background: var(--minaoshi-navy);
}

.minaoshi-flow-grid article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -24px;
  border-left: 8px solid var(--minaoshi-navy);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.minaoshi-cost-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: stretch;
}

.minaoshi-cost-table-wrap {
  overflow-x: auto;
}

.minaoshi-cost-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

.minaoshi-cost-table th,
.minaoshi-cost-table td {
  padding: 12px 14px;
  border: 1px solid var(--minaoshi-line);
  color: var(--minaoshi-navy);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 850;
  text-align: center;
}

.minaoshi-cost-table thead th {
  background: #eef3f8;
}

.minaoshi-cost-table thead th:last-child {
  color: #ffffff;
  background: var(--minaoshi-navy);
}

.minaoshi-cost-table tbody th {
  color: var(--minaoshi-text);
  background: #f8fafc;
  text-align: left;
}

.minaoshi-cost-table-wrap p {
  margin: 10px 0 0;
  color: var(--minaoshi-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.minaoshi-cost-result {
  min-height: 210px;
  padding: 30px 22px 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  text-align: center;
  color: var(--minaoshi-navy);
  background: #fffdf7;
  border: 1px solid rgba(201, 148, 63, 0.45);
  box-shadow: var(--minaoshi-soft-shadow);
}

.minaoshi-cost-result p,
.minaoshi-cost-result span {
  margin: 0;
  color: var(--minaoshi-navy);
  font-size: 13px;
  font-weight: 900;
}

.minaoshi-cost-result strong {
  display: block;
  margin: 4px 0;
  color: var(--minaoshi-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
}

.minaoshi-cost-result span {
  font-size: 28px;
}

.minaoshi-cost-graph {
  position: absolute;
  left: 46px;
  bottom: -18px;
  width: 132px;
  height: auto;
}

.minaoshi-cost-badge {
  position: absolute;
  right: -28px;
  bottom: -26px;
  width: 144px;
  height: auto;
}

.minaoshi-support {
  width: min(var(--minaoshi-max), 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.minaoshi-support-photo {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #ffffff;
}

.minaoshi-support-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/minaoshi-consult.webp") right center / cover no-repeat;
  opacity: 0.88;
  filter: brightness(1.10) saturate(0.78) contrast(0.94);
}

.minaoshi-support-copy {
  padding: 42px;
}

.minaoshi-support h2 {
  text-align: left;
}

.minaoshi-support p {
  margin-bottom: 18px;
}

.minaoshi-support li {
  color: var(--minaoshi-text);
}

@media (max-width: 1120px) {
  .minaoshi-hero,
  .minaoshi-why,
  .minaoshi-support,
  .minaoshi-cost-layout {
    grid-template-columns: 1fr;
  }

  .minaoshi-cost-result {
    width: min(520px, 100%);
    min-height: 220px;
    margin: 0 auto;
    padding: 28px 22px 72px;
  }

  .minaoshi-cost-graph {
    left: 50%;
    bottom: -16px;
    width: 124px;
    transform: translateX(-50%);
  }

  .minaoshi-cost-badge {
    right: -22px;
    bottom: -24px;
    width: 132px;
  }

  .minaoshi-why-photo {
    min-height: 260px;
  }

  .minaoshi-support-photo {
    min-height: 0;
    aspect-ratio: 1084 / 362;
    background-size: cover;
    background-position: right center;
  }

  .minaoshi-hero {
    min-height: 0;
    background:
      linear-gradient(90deg, rgba(3, 24, 50, 0.96) 0%, rgba(6, 36, 74, 0.88) 48%, rgba(6, 36, 74, 0.48) 72%, rgba(6, 36, 74, 0.12) 100%),
      url("images/minaoshi-hero-x.webp") right top / cover no-repeat,
      #ffffff;
  }

  .minaoshi-hero-copy {
    padding-bottom: 36px;
  }

  .minaoshi-hero-visual {
    display: none;
  }

  .minaoshi-problem-grid,
  .minaoshi-check-grid,
  .minaoshi-flow-grid {
    grid-template-columns: 1fr;
  }

  .minaoshi-problem-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--minaoshi-line);
  }

  .minaoshi-problem-grid article:last-child {
    border-bottom: 0;
  }

  .minaoshi-compare-arrow {
    min-height: 42px;
  }

  .minaoshi-compare-arrow::before {
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 28px solid var(--minaoshi-gold);
    border-bottom: 0;
  }

  .minaoshi-flow-grid article:not(:last-child)::before,
  .minaoshi-flow-grid article:not(:last-child)::after {
    content: none;
  }
}

@media (max-width: 640px) {
  .minaoshi-page {
    padding: 0 0 0;
  }

  .minaoshi-compare {
    grid-template-columns: 1fr;
  }

  .minaoshi-hero,
  .minaoshi-block,
  .minaoshi-compare,
  .minaoshi-support {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .minaoshi-hero-copy,
  .minaoshi-block,
  .minaoshi-support-copy {
    padding: 34px 22px;
  }

  .minaoshi-hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(3, 24, 50, 0.96) 0%, rgba(6, 36, 74, 0.88) 48%, rgba(6, 36, 74, 0.58) 72%, rgba(6, 36, 74, 0.22) 100%),
      url("images/minaoshi-hero-x.webp") right bottom / auto 100% no-repeat,
      #ffffff;
  }

  .minaoshi-hero-points {
    width: 100%;
    margin: 0;
    grid-template-columns: 1fr;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .minaoshi-hero-points div {
    padding: 10px 0;
  }

  .minaoshi-hero-points div + div {
    border-left: 0;
    border-top: 1px solid var(--minaoshi-line);
  }

  .minaoshi-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .minaoshi-hero-actions {
    display: grid;
  }

  .minaoshi-button {
    width: 100%;
  }

  .minaoshi-problem-grid article {
    grid-template-columns: 1fr 112px;
  }

  .minaoshi-problem-grid img {
    width: 112px;
    height: 120px;
    object-fit: cover;
    object-position: right bottom;
  }

  .minaoshi-why article {
    grid-template-columns: 1fr;
  }

  .minaoshi-cost-table {
    min-width: 560px;
  }

  .minaoshi-cost-result {
    width: 100%;
    min-height: 210px;
    padding: 26px 18px 66px;
    overflow: hidden;
  }

  .minaoshi-cost-result strong {
    font-size: 36px;
  }

  .minaoshi-cost-graph {
    left: 50%;
    bottom: -14px;
    width: 104px;
    transform: translateX(-50%);
  }

  .minaoshi-cost-badge {
    right: 0;
    bottom: 0;
    width: 130px !important;
    max-width: none;
    height: auto;
  }
}