.leak-page main { min-height: 0; }

/* Reference composition: 941 × 1672 */
.leak-hero {
  height: 327px;
  overflow: hidden;
  background: #effbff;
}
.leak-hero-inner {
  position: relative;
  width: min(941px, 100%);
  height: 327px;
  margin-inline: auto;
  overflow: hidden;
  background: url("assets/leak-service/hero.webp") center center / cover no-repeat;
}
.leak-hero-copy {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 64px;
  width: 330px;
}
.leak-kicker,
.leak-section-kicker {
  margin: 0;
  color: #05bca5;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .05em;
}
.leak-hero h1 {
  margin: 8px 0 4px;
  color: #07509a;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 41px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .02em;
}
.leak-hero h1 span { color: #11acd1; }
.leak-lead { margin: 0 0 5px; color: #07509a; font-size: 17px; font-weight: 800; line-height: 1.45; }
.leak-description { margin: 0 0 10px; color: #07509a; font-size: 12px; font-weight: 700; line-height: 1.55; }
.leak-primary-button {
  width: 255px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #ff6944, #ff7557);
  box-shadow: 0 7px 17px rgba(255, 96, 68, .24);
  font-size: 14px;
  font-weight: 800;
}
.leak-primary-button span { font-size: 21px; font-weight: 400; }
.leak-hand-copy {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 48%;
  margin: 0;
  color: #084b8c;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .07em;
  transform: rotate(-8deg);
}
.leak-hero-badges {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 39.2%;
  display: flex;
  gap: -1px;
}
.leak-badge {
  width: 112px;
  height: 112px;
  margin-left: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #13c2c6;
  border-radius: 50%;
  color: #07509a;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 12px rgba(19, 92, 126, .08);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}
.leak-badge img { width: 39px; height: 35px; margin-bottom: 4px; object-fit: contain; }

.leak-price-guide {
  padding: 14px 28px;
  background: linear-gradient(90deg, #effcff, #f8fffb 52%, #effcff);
  border-bottom: 1px solid #dceff2;
}
.leak-price-guide-inner {
  width: min(885px, 100%);
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1.35fr;
  align-items: center;
  gap: 26px;
  padding: 10px 28px;
  border: 1px solid #bfe8e7;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 16px rgba(19, 92, 126, .07);
}
.leak-price-guide-heading p { margin: 0 0 1px; color: #05a992; font-size: 11px; font-weight: 800; }
.leak-price-guide-heading h2 { margin: 0; color: #07509a; font-size: 18px; line-height: 1.4; }
.leak-price-guide-amount { margin: 0; color: #ff624c; white-space: nowrap; }
.leak-price-guide-amount strong { font-size: 34px; line-height: 1; letter-spacing: .01em; }
.leak-price-guide-amount span { margin-left: 3px; font-size: 17px; font-weight: 800; }
.leak-price-guide-note { margin: 0; color: #4a789f; font-size: 11px; font-weight: 700; line-height: 1.55; }

.leak-row { overflow: hidden; background: #fff; }
.leak-row-inner {
  width: min(885px, calc(100% - 56px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 18px;
}
.leak-section-intro { align-self: start; padding-top: 2px; }
.leak-section-intro h2 {
  margin: 7px 0 10px;
  color: #07509a;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}
.leak-section-intro > p:not(.leak-section-kicker) {
  margin: 0 0 11px;
  color: #3f77ab;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}
.leak-outline-button {
  width: 194px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1.5px solid #ff6a52;
  border-radius: 999px;
  color: #07509a;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.leak-outline-button span { color: #ff624c; font-size: 19px; font-weight: 400; }

.leak-services { height: 260px; padding: 15px 0 14px; }
.leak-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.leak-service-card {
  height: 229px;
  overflow: hidden;
  border: 1px solid #dfeaf1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(26, 72, 105, .04);
}
.leak-service-card img { width: 100%; height: 135px; object-fit: cover; background: #f2f8fa; }
.leak-service-card > div { padding: 8px 9px; }
.leak-service-card h3 { margin: 0 0 5px; color: #07509a; font-size: 13px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.leak-service-card p { margin: 0; color: #3d75a8; font-size: 10.5px; font-weight: 700; line-height: 1.55; }

.leak-features { height: 252px; padding: 15px 0 13px; background: linear-gradient(90deg, #fff, #fbfefe 58%, #fff); }
.leak-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.leak-feature-item { text-align: center; }
.leak-feature-icon {
  width: 105px;
  height: 105px;
  margin: 0 auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.leak-feature-icon.green { background: #e9f9f3; }
.leak-feature-icon.blue { background: #eaf8fd; }
.leak-feature-icon.orange { background: #fff6e9; }
.leak-feature-icon.coral { background: #fff1ef; }
.leak-feature-icon img { width: 65px; height: 65px; object-fit: contain; }
.leak-feature-item h3 { margin: 0 0 5px; color: #07509a; font-size: 12.5px; font-weight: 800; line-height: 1.4; }
.leak-feature-item p { margin: 0; color: #3f77ab; font-size: 10.5px; font-weight: 700; line-height: 1.55; }

.leak-cases { height: 200px; padding: 13px 0 12px; background: linear-gradient(180deg, #fff, #fbfdff); }
.leak-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.leak-case-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.leak-case-card img { width: 100%; height: 116px; border-radius: 5px; object-fit: cover; }
.leak-case-card h3 { margin: 7px 0 0; color: #07509a; font-size: 11.5px; font-weight: 800; line-height: 1.45; }
.leak-case-card h3 span { font-weight: 700; }

.leak-faq { height: auto; min-height: 175px; padding: 13px 0 28px; overflow: visible; background: linear-gradient(100deg, #fff, #f9fcff); }
.leak-faq-list { align-self: start; display: grid; gap: 5px; padding-top: 2px; }
.leak-faq-list details { overflow: hidden; border: 1px solid #e4edf3; border-radius: 6px; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(27, 76, 112, .05); }
.leak-faq-list summary {
  position: relative;
  height: 33px;
  display: flex;
  align-items: center;
  padding: 0 38px 0 49px;
  color: #07509a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.leak-faq-list summary::-webkit-details-marker { display: none; }
.leak-faq-list summary::before { content: "✥"; position: absolute; left: 19px; color: #18b8e4; font-size: 14px; }
.leak-faq-list summary::after { content: "+"; position: absolute; right: 19px; color: #8d959c; font-size: 19px; font-weight: 400; }
.leak-faq-list details[open] summary::after { content: "−"; }
.leak-faq-list details p { margin: 0; padding: 0 38px 9px 49px; color: #4a789f; font-size: 11px; font-weight: 600; line-height: 1.55; }

.leak-page .support { height: 206px; }
.leak-page .site-footer { height: 197px; }

@media (max-width: 860px) {
  .leak-hero { height: 610px; }
  .leak-hero-inner { height: 610px; background-position: 67% center; background-size: auto 100%; }
  .leak-hero-inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.96) 0 48%, rgba(255,255,255,.23) 72%, rgba(255,255,255,.8)); }
  .leak-hero-copy { top: 28px; left: 50%; width: min(520px, calc(100% - 36px)); text-align: center; transform: translateX(-50%); }
  .leak-hero h1 { font-size: clamp(38px, 9vw, 55px); }
  .leak-lead { font-size: 18px; }
  .leak-description { font-size: 14px; }
  .leak-hand-copy { display: none; }
  .leak-hero-badges { right: 16px; bottom: 24px; left: 16px; justify-content: center; gap: 8px; }
  .leak-badge { width: min(calc((100vw - 64px) / 3), 116px); height: min(calc((100vw - 64px) / 3), 116px); margin-left: 0; font-size: 13px; }
  .leak-price-guide { padding: 18px 16px; }
  .leak-price-guide-inner { grid-template-columns: 1fr auto; gap: 10px 18px; padding: 16px 20px; }
  .leak-price-guide-heading h2 { font-size: 17px; }
  .leak-price-guide-amount strong { font-size: 31px; }
  .leak-price-guide-note { grid-column: 1 / -1; text-align: center; }
  .leak-row { height: auto; padding: 36px 0; }
  .leak-row-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 22px; }
  .leak-section-intro { text-align: center; }
  .leak-section-intro h2 { font-size: 29px; }
  .leak-section-intro > p:not(.leak-section-kicker) { font-size: 14px; }
  .leak-service-grid, .leak-feature-grid, .leak-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .leak-service-card { height: auto; min-height: 300px; }
  .leak-service-card img { height: 190px; }
  .leak-service-card h3 { font-size: 16px; white-space: normal; }
  .leak-service-card p, .leak-feature-item p { font-size: 13px; }
  .leak-feature-icon { width: 128px; height: 128px; }
  .leak-feature-item h3 { font-size: 16px; }
  .leak-case-card img { height: 180px; }
  .leak-case-card h3 { font-size: 14px; }
  .leak-faq-list { gap: 8px; }
  .leak-faq-list summary { min-height: 52px; height: auto; padding-block: 10px; font-size: 14px; }
  .leak-faq-list details p { font-size: 13px; }
  .leak-page .support, .leak-page .site-footer { height: auto; }
}

@media (max-width: 560px) {
  .leak-hero { height: 650px; }
  .leak-hero-inner { height: 650px; background-position: 69% center; }
  .leak-hero h1 { font-size: 39px; }
  .leak-lead { font-size: 16px; }
  .leak-description br { display: none; }
  .leak-primary-button { width: min(100%, 285px); }
  .leak-badge { font-size: 12px; }
  .leak-badge img { width: 34px; height: 31px; }
  .leak-price-guide-inner { grid-template-columns: 1fr; gap: 5px; text-align: center; }
  .leak-price-guide-heading p { font-size: 10px; }
  .leak-price-guide-note { font-size: 10px; }
  .leak-service-grid, .leak-feature-grid, .leak-case-grid { grid-template-columns: 1fr; }
  .leak-service-card { display: grid; grid-template-columns: 44% 56%; min-height: 170px; }
  .leak-service-card img { height: 100%; min-height: 170px; }
  .leak-service-card > div { align-self: center; padding: 14px; }
  .leak-feature-item { padding: 16px 8px; border-bottom: 1px solid #e6eef3; }
  .leak-case-card img { height: 220px; }
  .leak-faq-list summary { padding-right: 34px; padding-left: 39px; }
  .leak-faq-list summary::before { left: 13px; }
  .leak-faq-list summary::after { right: 13px; }
  .leak-faq-list details p { padding-right: 18px; padding-left: 39px; }
}
