:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3fb;
  --text: #1f2937;
  --text-sub: #4b5563;
  --primary: #0f4fa8;
  --primary-dark: #0b3d83;
  --line: #d3deef;
  --success: #15803d;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --max-width: 750px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.65;
}

body {
  padding-bottom: calc(110px + var(--safe-bottom));
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
}

.container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: 16px;
}

.section {
  padding-block: 28px;
}

main > .section {
  background: var(--surface);
}

main > .section:nth-of-type(even) {
  background: var(--surface-muted);
}

.section-alt {
  background: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin: 0;
}

h1 {
  font-size: clamp(1.4rem, 3.8vw, 1.95rem);
  line-height: 1.45;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  line-height: 1.45;
  margin-bottom: 16px;
  text-align: center;
}

.h2-icon {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.38em;
  color: var(--primary);
  font-size: 0.92em;
}

.h2-label {
  position: relative;
  display: inline-block;
}

.sp-break {
  display: block;
}

h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.header-mini {
  background: #0d2f63;
  color: #fff;
  padding-block: 8px;
}

.header-mini-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand {
  font-weight: 700;
}

.brand-sub {
  font-size: 0.68rem;
  opacity: 0.92;
  line-height: 1.35;
}

.hero {
  padding-top: 18px;
}

.hero-visual-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-visual {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 47, 99, 0.36), rgba(13, 47, 99, 0.15));
}

.hero-headline-on-image {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-headline-on-image h1 {
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  line-height: 1.35;
  margin-bottom: 8px;
}

.hero-content {
  background: var(--surface);
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-sub {
  color: var(--text-sub);
  margin-bottom: 12px;
}

.hero-lead {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.hero-support {
  font-size: 0.92rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.trust-badges {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.trust-badges li {
  background: #f4f8ff;
  border: 1px solid #cfe0fb;
  color: var(--primary-dark);
  border-radius: 999px;
  text-align: center;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 7px 8px;
}

.trust-badges-on-image {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin-bottom: 0;
  z-index: 3;
}

.trust-badges-on-image li {
  background: rgba(255, 255, 255, 0.94);
}

.hero-lead-on-image {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 58px;
  z-index: 3;
  text-align: center;
  color: #f5faff;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.inline-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 10px;
  min-height: 46px;
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid transparent;
}

.btn-call {
  background: var(--primary);
  color: #fff;
}

.btn-call:hover {
  background: var(--primary-dark);
}

.btn-line {
  background: #13b94a;
  color: #fff;
}

.btn-line:hover {
  background: #119b3f;
}

.trouble-list {
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.situation-heading {
  text-align: center;
  margin: 12px 0 10px;
}

.situation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.situation-image img {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.situation-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 8px;
}

.situation-single {
  max-width: 560px;
  margin: 0 auto 8px;
}

.area-illustration {
  margin: 10px 0 14px;
}

.area-illustration img {
  width: 100%;
  height: 220px;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f1f3f6;
  object-fit: cover;
  filter: grayscale(100%);
}

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

.reason-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-sub);
  position: relative;
  padding-left: 1.35em;
}

.note::before {
  content: "💡";
  position: absolute;
  left: 0;
  top: 0.05em;
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.price-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: none;
}

.placeholder {
  color: #8a5a00;
  background: #fff7e0;
  border: 1px solid #fde2a2;
  border-radius: 6px;
  padding: 2px 6px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--surface);
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
}

.faq-list details p {
  margin-top: 8px;
  color: var(--text-sub);
}

.i3-page .faq-list.i3-faq-line {
  gap: 14px;
  background: #c8ebff;
  border: 1px solid #d0e7cd;
  border-radius: 12px;
  padding: 12px;
}

.i3-page .faq-list.i3-faq-line details {
  border: none;
  background: transparent;
  padding: 0;
}

.i3-page .faq-list.i3-faq-line summary {
  list-style: none;
  display: inline-block;
  position: relative;
  margin-left: 26px;
  margin-right: auto;
  background: #7edd63;
  color: #17380f;
  border-radius: 14px 14px 4px 14px;
  padding: 8px 10px;
  max-width: 88%;
  text-align: left;
  font-weight: 700;
}

.i3-page .faq-list.i3-faq-line summary::-webkit-details-marker {
  display: none;
}

.i3-page .faq-list.i3-faq-line summary::before {
  content: "Q";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #2c7f1f;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.i3-page .faq-list.i3-faq-line details p {
  margin-top: 8px;
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
  align-self: flex-end;
  margin-left: 250px;
  margin-right: 30px;
  max-width: calc(100% - 280px);
  background: #fff;
  border: 1px solid #d7e3f4;
  border-radius: 14px 14px 14px 4px;
  padding: 9px 10px;
}

.i3-page .faq-list.i3-faq-line details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.i3-page .faq-list.i3-faq-line details p::before {
  content: "A";
  position: absolute;
  right: -26px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0f4fa8;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .i3-page .faq-list.i3-faq-line details p {
    margin-left: 44px;
    margin-right: 30px;
    max-width: calc(100% - 74px);
  }
}

@media (max-width: 699px) {
  .i3-page {
    font-size: 15px;
  }

  .i3-page h1 {
    font-size: 1.14rem;
    line-height: 1.4;
  }

  .i3-page h2 {
    font-size: 1.04rem;
    line-height: 1.4;
  }

  .i3-page h3 {
    font-size: 0.96rem;
  }

  .i3-page p,
  .i3-page li {
    font-size: 0.93rem;
  }

  .i3-page .btn {
    font-size: 0.9rem;
  }

  .i3-page .i3-phone-number {
    font-size: 1.1rem;
  }

  .i3-page .i3-phone-top,
  .i3-page .i3-phone-meta,
  .i3-page .i3-cta-notes,
  .i3-page .i3-under-highlight-note,
  .i3-page .i3-voice-meta {
    font-size: 0.75rem;
  }

  .i3-page .i3-cost-grid p strong {
    display: inline;
    margin-top: 0;
  }
}

.company-info {
  display: grid;
  gap: 8px;
}

.company-info div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.company-info dt {
  font-weight: 700;
}

.company-subnote-inline {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.section-cta-final {
  padding-bottom: 36px;
}

.footer-links {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-links .container {
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fixed-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + var(--safe-bottom));
  backdrop-filter: blur(8px);
}

.fixed-cta-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.fixed-cta-buttons {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.i3-catch {
  display: inline-block;
  background: #ffd974;
  color: #3c2d00;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.i3-strong {
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.i3-cost-grid {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 6px;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.i3-cost-grid::before,
.i3-cost-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.i3-cost-grid::before {
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 5px),
    rgba(255, 0, 0, 0.3) calc(50% - 5px),
    rgba(255, 0, 0, 0.3) calc(50% + 5px),
    transparent calc(50% + 5px)
  );
}

.i3-cost-grid::after {
  background: linear-gradient(
    to bottom left,
    transparent calc(50% - 5px),
    rgba(255, 0, 0, 0.3) calc(50% - 5px),
    rgba(255, 0, 0, 0.3) calc(50% + 5px),
    transparent calc(50% + 5px)
  );
}

.i3-arrow {
  margin-top: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.i3-highlight {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-align: center;
}

.i3-highlight-center {
  text-align: center;
}

.i3-under-highlight-note {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.i3-primary-text {
  color: var(--primary-dark);
  font-weight: 700;
}

.i3-warning-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.i3-warning-section h2 {
  margin-bottom: 18px;
}

.i3-warning-section .situation-list {
  margin-bottom: 12px;
}

.i3-warning-section .i3-trouble-grid {
  margin-bottom: 14px;
}

.i3-brand-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.i3-brand-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.i3-brand-item i {
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.i3-brand-item span {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.i3-voice-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-right: 12px;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.i3-voice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  min-width: 86%;
  scroll-snap-align: start;
}

.i3-voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #d7dce5;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.i3-voice-meta {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.i3-voice-rate {
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.i3-voice-comment {
  background: #f8fbff;
  border: 1px solid #d7e3f4;
  border-radius: 12px 12px 12px 4px;
  padding: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.i3-trouble-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.i3-trouble-grid p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.i3-trouble-grid p::before {
  content: "";
  display: block;
  width: 100%;
  height: 168px;
  border-radius: 8px;
  background: #d7dce5;
}

.i3-cost-section h2 {
  margin-bottom: 20px;
}

.i3-cost-section .i3-cost-grid {
  margin-bottom: 14px;
}

.i3-cost-section .i3-highlight {
  margin-bottom: 14px;
}

.i3-cost-section .i3-arrow {
  margin-top: 14px;
  margin-bottom: 12px;
}

.i3-cost-section .container > p {
  margin-bottom: 10px;
}

.i3-cost-section .container > p:last-child {
  margin-bottom: 0;
}

@media (min-width: 700px) {
  .i3-cost-section .container > * {
    text-align: center;
  }

}

.i3-hero-note {
  text-align: center;
}

.i3-hero-visual-text {
  background: #f0f4fb;
  margin-bottom: 12px;
}

.i3-hero-visual-text p {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.5;
}

.i3-hero-cards {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.i3-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.i3-hero-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 90px;
  background: #d7dce5;
}

.i3-hero-card img {
  display: none;
}

.i3-hero-card p {
  margin: 0;
  padding: 8px 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.i3-situation-icons {
  list-style: none;
  padding-left: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.i3-situation-icons li {
  background: #f5f8ff;
  border: 1px solid #d5e3f9;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  gap: 3px;
}

.i3-situation-main {
  display: block;
  margin-bottom: 1px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.i3-situation-sub {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.3;
}

.i3-situation-icons li::before {
  content: "✔";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 0;
  margin-bottom: 2px;
  border-radius: 999px;
  background: #2f6fc4;
  color: #fff;
  font-size: 0.7rem;
}

.i3-page .inline-cta {
  grid-template-columns: 1fr;
}

.i3-page .fixed-cta-buttons {
  grid-template-columns: 1fr;
}

.i3-cta-notes {
  font-size: 0.78rem;
  color: var(--text-sub);
  gap: 4px;
}

.i3-note-small {
  font-size: 0.72rem;
}

.i3-phone-cta {
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
  line-height: 1.35;
  padding-block: 12px;
}

.i3-phone-top {
  font-size: 0.78rem;
  font-weight: 700;
}

.i3-phone-number {
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}

.i3-phone-meta {
  font-size: 0.7rem;
  opacity: 0.95;
}

.i3-step-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.i3-step-icon {
  color: var(--primary);
  font-size: 0.95em;
  flex: 0 0 auto;
}

.i3-page .reason-grid .reason-card {
  position: relative;
}

.i3-page .reason-grid .reason-card:nth-child(1)::after,
.i3-page .reason-grid .reason-card:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 11px solid var(--primary);
}

.i3-big-word {
  font-size: 1.12em;
  font-weight: 800;
  color: var(--primary-dark);
}

.i3-line-cta {
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

.section-guide {
  display: none;
}

@media (min-width: 700px) {
  .section {
    padding-block: 36px;
  }

  .hero-content {
    padding: 20px;
  }

  .sp-break {
    display: none;
  }

  .hero-headline-on-image {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .trust-badges-on-image {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-lead-on-image {
    left: 16px;
    right: 16px;
    bottom: 64px;
  }

  .trouble-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .i3-trouble-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .i3-voice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .i3-voice-card {
    min-width: 0;
    scroll-snap-align: none;
  }
}

.i3-page .i3-trouble-grid {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 1280px) {
  .section-guide {
    display: block;
    position: fixed;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: min(360px, calc((100vw - var(--max-width)) / 2 - 28px));
    min-width: 280px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    z-index: 180;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(16, 42, 88, 0.12);
    padding: 14px;
  }

  .section-guide-step {
    font-size: 0.86rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 8px;
  }

  .section-guide-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .section-guide-points {
    margin: 0 0 10px;
    padding-left: 1.1rem;
    display: grid;
    gap: 6px;
    color: var(--text-sub);
    font-size: 0.92rem;
  }

  .section-guide-note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.6;
    white-space: pre-line;
  }
}
