:root {
  --ink: #112235;
  --muted: #5d6f82;
  --blue: #0b74d1;
  --blue-dark: #07549d;
  --navy: #0c3761;
  --blue-soft: #eaf5ff;
  --cyan: #10b9d4;
  --gold: #f5b942;
  --green: #14a56f;
  --orange: #ef8f2f;
  --purple: #7a64d8;
  --line: #d7e6f3;
  --paper: #ffffff;
  --cloud: #f5f9fd;
  --shadow: 0 18px 42px rgba(13, 66, 112, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#top,
#ranking,
#compare,
#price,
#services,
#areas,
#guide,
#faq,
#site-policy {
  scroll-margin-top: 84px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 230, 243, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(11, 116, 209, 0.24);
}

.brand img.brand-mark {
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.brand strong,
.brand small { display: block; }
.brand strong { font-size: 1rem; line-height: 1.25; }
.brand small { color: var(--blue); font-weight: 900; }
.global-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.global-nav a {
  border-radius: 8px;
  color: #294056;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 9px 10px;
}
.global-nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
}
.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 251, 255, 0.46) 0%, rgba(245, 251, 255, 0) 10%, rgba(245, 251, 255, 0) 90%, rgba(245, 251, 255, 0.38) 100%),
    linear-gradient(180deg, rgba(245, 251, 255, 0.42) 0%, rgba(245, 251, 255, 0) 18%, rgba(255, 255, 255, 0) 72%, #fff 100%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: auto;
  max-height: min(56vw, 620px);
  object-fit: contain;
  object-position: center top;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--ink);
}
.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow {
  display: none;
  border: 1px solid rgba(11, 116, 209, 0.14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  padding: 5px 12px;
}
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  max-width: 710px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.85rem);
  line-height: 1.08;
}
.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #32516d;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  padding: 12px 18px;
}
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(16, 185, 212, 0.28);
}
.button.ghost {
  color: var(--blue-dark);
  border-color: rgba(11, 116, 209, 0.38);
  background: rgba(255, 255, 255, 0.82);
}
.button.outline {
  color: var(--blue-dark);
  border-color: var(--blue);
  background: #fff;
}
.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px auto 0;
}
.hero-stats div {
  border: 1px solid rgba(11, 116, 209, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(13, 66, 112, 0.08);
  padding: 14px 16px;
}
.hero-stats dt { color: var(--blue-dark); font-size: 0.82rem; font-weight: 900; }
.hero-stats dd { margin: 2px 0 0; color: var(--ink); font-size: 1.25rem; font-weight: 900; }

.summary-band {
  border-top: 1px solid rgba(215, 230, 243, 0.8);
  border-bottom: 1px solid rgba(215, 230, 243, 0.9);
  background: #fff;
  padding: 18px 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.summary-grid article,
.rank-card,
.service-cards article,
.criteria-grid article,
.price-grid article,
.flow-grid article,
.guide-list article,
details,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 34, 53, 0.07);
}
.summary-grid article {
  display: grid;
  gap: 5px;
  align-content: center;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 24px;
}
.summary-grid article:last-child { border-right: 0; }
.summary-grid img,
.service-cards img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.summary-grid h2,
.summary-grid p { margin: 0; }
.summary-grid h2 {
  width: fit-content;
  color: #fff;
  background: var(--blue-dark);
  font-size: 1.02rem;
  line-height: 1.3;
  padding: 6px 10px;
}
.summary-grid p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 2px;
}

.section { padding: 76px 0; }
.section-heading {
  max-width: 790px;
  margin-bottom: 28px;
}
.ranking-heading {
  max-width: 860px;
  border: 1px solid #c9e3f8;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
  box-shadow: 0 14px 30px rgba(13, 66, 112, 0.08);
  padding: 20px 22px;
}
.ranking-heading .section-kicker {
  color: var(--blue);
}
.ranking-heading p:last-child {
  border-radius: 8px;
  background: #ffffff;
  color: #31506c;
  line-height: 1.8;
  padding: 12px 14px;
}
.rich-heading {
  position: relative;
  max-width: 860px;
  border: 1px solid #d3e8fa;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 12px 26px rgba(13, 66, 112, 0.08);
  padding: 20px 22px;
}
.section-heading h2,
.service-layout h2,
.guide-grid h2,
.faq-grid h2,
.contact-panel h2 {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: var(--navy);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.25;
  padding: 8px 14px;
}
.section-heading p:last-child,
.service-layout p,
.contact-panel p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.ranking-section { background: var(--cloud); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #294056;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 14px;
}
.filter-button.is-active { border-color: var(--blue); color: #fff; background: var(--blue); }
.top-rank-slider {
  margin: 0 0 24px;
  border: 1px solid #c8e0f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(13, 66, 112, 0.09);
  overflow: visible;
}
.top-rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #d7e8f6;
  background: linear-gradient(180deg, #eef8ff, #ffffff);
  padding: 16px;
}
.top-rank-tab {
  display: inline-flex;
  min-height: 58px;
  flex: 1 1 180px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #c9e3f8;
  border-radius: 999px;
  color: #174160;
  background: #fff;
  box-shadow: 0 10px 20px rgba(13, 66, 112, 0.08);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  padding: 10px 12px;
}
.top-rank-tab img {
  width: 34px;
  height: 34px;
}
.top-rank-tab.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 14px 26px rgba(7, 84, 157, 0.22);
}
.top-rank-window {
  overflow: hidden;
}
.top-rank-track {
  display: flex;
  width: 300%;
  transition: transform 0.36s ease;
}
.top-rank-panel {
  display: grid;
  width: calc(100% / 3);
  flex: 0 0 calc(100% / 3);
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
}
.top-rank-photo {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}
.top-rank-content {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 28px;
}
.top-rank-content h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
}
.top-rank-content > p:not(.label) {
  margin: 0;
  color: #344b61;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.85;
}
.top-rank-detail-grid,
.criteria-grid,
.price-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.top-rank-detail-grid div,
.criteria-grid article,
.price-grid article,
.flow-grid article {
  border: 1px solid #d7e8f6;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}
.top-rank-detail-grid strong,
.criteria-grid h3,
.price-grid h3,
.flow-grid h3 {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 1.02rem;
  line-height: 1.4;
  padding: 7px 10px;
}
.top-rank-detail-grid p,
.criteria-grid p,
.price-grid p,
.flow-grid p {
  margin: 0;
  color: #405267;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.75;
}
.criteria-grid,
.price-grid,
.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}
.criteria-grid span,
.flow-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}
.price-grid span {
  display: block;
  margin-top: 12px;
  border-radius: 8px;
  color: #07549d;
  background: #edf7ff;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.55;
  padding: 9px 10px;
}
.top-rank-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
  gap: 12px;
  border: 1px solid #d4e8f8;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}
.top-rank-company > div {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
}
.top-rank-company strong {
  display: inline-block;
  width: fit-content;
  color: #fff;
  background: var(--navy);
  font-size: 0.96rem;
  line-height: 1.35;
  padding: 6px 10px;
}
.top-rank-company address,
.top-rank-company p {
  margin: 0;
  color: #3d5268;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.7;
}
.top-rank-company iframe {
  width: 100%;
  min-height: 170px;
  border: 0;
  border-left: 1px solid #d4e8f8;
  background: #eaf5ff;
}
.ranking-list { display: grid; gap: 22px; }
.rank-card {
  overflow: hidden;
  padding: 0;
}
.rank-card.is-hidden,
tr.is-hidden { display: none; }
.rank-card-top {
  border-color: rgba(245, 185, 66, 0.86);
  box-shadow: var(--shadow);
}
.rank-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f6fbff);
  padding: 16px 20px;
}
.rank-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
}
.rank-title-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.18;
}
.label {
  display: inline-flex;
  margin: 0 0 5px;
  border-radius: 2px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  padding: 5px 10px;
}
.rank-photo {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid var(--line);
  background: #f8fcff;
  padding: 12px 20px;
}
.cat {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 5px 11px;
}
.cat.aircon { color: #07549d; background: #dcefff; }
.cat.water { color: #08706c; background: #ddf7f4; }
.cat.kitchen { color: #8c4b00; background: #fff0d5; }
.cat.move { color: #4c3aa3; background: #ece8ff; }
.cat.fast { color: #9b3345; background: #ffe6eb; }
.rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 20px;
}
.rank-main p,
.rank-card.mini > p {
  margin: 0;
  color: #43566a;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.9;
}
.point-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.point-list li {
  border-left: 0;
  border-radius: 0;
  background: #0f4c7d;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.65;
  padding: 9px 12px;
}
.info-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 20px 20px;
}
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.info-panel h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
  background: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
  padding: 11px 13px;
}
.info-panel h4 img {
  width: 24px;
  height: 24px;
}
.info-panel p,
.info-panel address {
  margin: 0;
  color: #405267;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.8;
  padding: 12px;
}
.review-list {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}
.check-list article {
  border: 1px solid #cfe4f8;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}
.check-list strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 0.98rem;
  line-height: 1.4;
  padding: 7px 10px;
}
.check-list p {
  margin: 0;
  border-top: 1px solid #e2eef8;
  color: #34475b;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.8;
  padding: 10px 0 0;
}
.review-panel { background: #f7fbff; border-color: #cfe4f8; }
.review-panel h4 { color: #fff; background: #07549d; }
.tip-panel { background: #fffaf0; border-color: #f3dfb9; }
.tip-panel h4 { color: #fff; background: #9b5a08; }
.address-panel { background: #f8fffc; border-color: #ccebe2; }
.address-panel h4 { color: #fff; background: #087052; }
.service-panel { background: #faf8ff; border-color: #ddd6fb; }
.service-panel h4 { color: #fff; background: #4c3aa3; }
.address-panel iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  border-top: 1px solid #ccebe2;
  background: #eaf5ff;
}
.card-button {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}
.rank-card.mini > p {
  padding: 18px 20px 0;
}
.compact-panels {
  padding-top: 18px;
}

.compare-section,
.faq-section { background: #fff; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
table { width: 100%; min-width: 820px; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
th {
  color: #fff;
  background: var(--navy);
  font-size: 0.98rem;
  font-weight: 900;
}
td {
  color: #34475b;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.75;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f8fcff; }
.table-pill {
  display: inline-flex;
  margin: 0 5px 5px 0;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  padding: 5px 9px;
  white-space: nowrap;
}
.table-pill.blue { color: #07549d; background: #dcefff; }
.table-pill.green { color: #08706c; background: #ddf7f4; }
.table-pill.amber { color: #8c4b00; background: #fff0d5; }
.table-pill.violet { color: #4c3aa3; background: #ece8ff; }
.table-pill.red { color: #9b3345; background: #ffe6eb; }
.table-pill.gray { color: #405267; background: #edf3f8; }

.advice-section {
  background:
    linear-gradient(180deg, #fff 0%, #f5f9fd 100%);
}
.advice-title-image {
  margin-bottom: 22px;
}
.advice-title-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(13, 66, 112, 0.1);
}
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advice-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid #d3e8fa;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 34, 53, 0.08);
  padding: 18px;
}
.advice-card.featured {
  grid-column: span 3;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.96), #fff 72%);
  border-color: rgba(11, 116, 209, 0.28);
}
.advice-card img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: none;
}
.advice-card.featured img {
  width: 118px;
  height: 118px;
}
.advice-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 2px;
  color: #fff;
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  padding: 5px 10px;
}
.advice-card h3 {
  margin: 8px 0 0;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: var(--navy);
  font-size: 1.18rem;
  line-height: 1.38;
  padding: 7px 10px;
}
.advice-card.featured h3 {
  font-size: 1.54rem;
}
.advice-card p {
  margin: 8px 0 0;
  color: #405267;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.85;
}

.knowledge-section {
  background: #fff;
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.knowledge-grid article {
  border: 1px solid #dbe8f3;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 12px 28px rgba(17, 34, 53, 0.07);
  padding: 18px;
}
.knowledge-grid span {
  display: inline-flex;
  border-radius: 2px;
  color: #fff;
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
}
.knowledge-grid h3 {
  margin: 12px 0 0;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: var(--navy);
  font-size: 1.12rem;
  line-height: 1.45;
  padding: 7px 10px;
}
.knowledge-grid p {
  margin: 10px 0 0;
  border-radius: 0;
  color: #405267;
  background: #fff;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.8;
  padding: 11px 12px;
}

.services-section { background: linear-gradient(180deg, var(--cloud), #fff); }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 30px;
  align-items: center;
}
.service-layout img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.service-cards article { padding: 18px; }
.service-cards h3,
.service-cards p { margin: 0; }
.service-cards h3 {
  width: fit-content;
  border-radius: 0;
  color: #fff;
  background: var(--navy);
  font-size: 1.14rem;
  line-height: 1.35;
  padding: 7px 10px;
}
.service-cards p {
  border-radius: 0;
  color: #405267;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 10px;
  padding: 10px;
}
.service-aircon { background: #f3f9ff !important; }
.service-water { background: #f2fffc !important; }
.service-kitchen { background: #fffaf0 !important; }
.service-move { background: #f7f4ff !important; }

.area-section { background: var(--blue-soft); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.area-grid span {
  border: 1px solid #c5def3;
  border-radius: 2px;
  background: #fff;
  color: #16466f;
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  padding: 12px;
}
.local-search-section {
  background: #fff;
}
.local-search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.local-search-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid #d3e8fa;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 12px 28px rgba(17, 34, 53, 0.07);
  padding: 18px;
}
.local-search-grid h3 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #fff;
  background: var(--navy);
  font-size: 1.08rem;
  line-height: 1.4;
  padding: 7px 10px;
}
.local-search-grid p {
  margin: 0;
  color: #405267;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.85;
}
.local-search-grid a,
.keyword-link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #b9d8f2;
  border-radius: 2px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  padding: 9px 12px;
}
.local-search-grid a:hover,
.keyword-link-grid a:hover {
  color: #fff;
  background: var(--blue);
}
.related-keyword-section {
  background: #f5f9fd;
}
.keyword-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.guide-section { background: #fff; }
.guide-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.guide-list,
.faq-list { display: grid; gap: 12px; }
.guide-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  border-left: 5px solid var(--blue);
  background: linear-gradient(135deg, #fff, #f7fbff);
  padding: 18px;
}
.guide-list span {
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}
.guide-list h3,
.guide-list p { margin: 0; }
.guide-list h3 {
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: var(--navy);
  font-size: 1.13rem;
  line-height: 1.4;
  padding: 7px 10px;
}
.guide-list p {
  border-radius: 0;
  color: #405267;
  background: #fff;
  font-size: 0.96rem;
  font-weight: 750;
  margin-top: 8px;
  padding: 10px 12px;
}
.contact-section {
  background: linear-gradient(135deg, #082b4e, #0b74d1);
  padding: 54px 0;
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: end;
  padding: 24px;
}
.contact-panel form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.contact-panel label {
  display: grid;
  gap: 5px;
  color: #294056;
  font-size: 0.88rem;
  font-weight: 900;
}
.contact-panel select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}
details { overflow: hidden; }
summary {
  position: relative;
  cursor: pointer;
  color: #fff;
  background: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
  list-style: none;
  padding: 16px 54px 16px 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-50%);
}
details[open] summary { color: var(--blue-dark); background: #f4faff; }
details[open] summary::after { content: "-"; background: var(--gold); }
details p {
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.8;
  padding: 15px 18px 18px;
}
.disclaimer-section {
  background: #f5f9fd;
  padding: 44px 0 54px;
}
.disclaimer-section.is-collapsed {
  display: none;
}
.disclaimer-panel {
  border: 1px solid #c9dceb;
  border-left: 6px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 34, 53, 0.07);
  padding: 22px;
}
.disclaimer-panel h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #fff;
  background: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  padding: 8px 12px;
}
.site-policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 0;
}
.site-policy-list div {
  border: 1px solid #d5e5f1;
  border-radius: 8px;
  background: #f8fcff;
  overflow: hidden;
}
.site-policy-list dt {
  color: #fff;
  background: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
  padding: 7px 10px;
}
.site-policy-list dd {
  margin: 0;
  color: #405267;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.75;
  padding: 10px;
}
.disclaimer-panel p:not(.section-kicker) {
  margin: 14px 0 0;
  color: #405267;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.9;
}
.site-footer {
  color: #dcecff;
  background: #071b31;
  padding: 30px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer-links a {
  border: 1px solid rgba(220, 236, 255, 0.26);
  border-radius: 2px;
  color: #f4fbff;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 6px 9px;
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.footer-notice p {
  margin: 0;
  color: #a9c2dc;
}
.policy-toggle {
  min-height: 36px;
  border: 1px solid rgba(220, 236, 255, 0.38);
  border-radius: 2px;
  color: #071b31;
  background: #dcecff;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 7px 11px;
}
.policy-toggle:hover {
  background: #fff;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 8px;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 12px; }
  .summary-grid,
  .advice-grid,
  .knowledge-grid,
  .top-rank-detail-grid,
  .criteria-grid,
  .price-grid,
  .flow-grid,
  .service-cards,
  .local-search-grid,
  .keyword-link-grid,
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .summary-grid article:last-child { border-bottom: 0; }
  .rank-grid,
  .top-rank-panel,
  .top-rank-company,
  .check-list,
  .info-panels,
  .compact-panels,
  .advice-card.featured,
  .service-layout,
  .guide-grid,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .site-policy-list {
    grid-template-columns: 1fr;
  }
  .contact-panel form { grid-template-columns: 1fr; }
  .top-rank-photo { min-height: 220px; }
  .top-rank-content { padding: 22px; }
  .top-rank-company iframe {
    min-height: 210px;
    border-top: 1px solid #d4e8f8;
    border-left: 0;
  }
  .rank-photo { aspect-ratio: 16 / 8; }
  .advice-card.featured { grid-column: span 2; }
  .hero {
    min-height: 0;
  }
  .hero-media img {
    object-position: center top;
    max-height: none;
  }
  .hero-inner {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .hero-inner { width: min(100% - 24px, 1120px); }
  .brand small { display: none; }
  .brand strong { font-size: 0.9rem; }
  .hero { min-height: 0; }
  .hero-media img {
    object-position: center top;
  }
  .hero-inner { padding-top: 0; }
  .hero-stats,
  .summary-grid,
  .advice-grid,
  .knowledge-grid,
  .top-rank-detail-grid,
  .criteria-grid,
  .price-grid,
  .flow-grid,
  .service-cards,
  .local-search-grid,
  .keyword-link-grid,
  .area-grid { grid-template-columns: 1fr; }
  .advice-card.featured {
    grid-column: auto;
  }
  .section { padding: 56px 0; }
  .top-rank-tab {
    min-height: 52px;
    flex-basis: 0;
    gap: 5px;
    font-size: 0.88rem;
    padding: 8px 6px;
  }
  .top-rank-tab img {
    width: 28px;
    height: 28px;
  }
  .top-rank-photo { min-height: 190px; }
  .top-rank-content { padding: 18px; }
  .rank-title-row { align-items: flex-start; padding: 14px; }
  .rank-icon { width: 56px; height: 56px; }
  .rank-grid,
  .info-panels,
  .category-row,
  .rank-card.mini > p { padding-right: 14px; padding-left: 14px; }
  .card-button { width: calc(100% - 28px); margin-right: 14px; margin-left: 14px; }
}

/* 2026 professional visual refresh */
:root {
  --ink: #10283f;
  --muted: #52697e;
  --blue: #0877c9;
  --blue-dark: #075d9b;
  --navy: #0a3558;
  --blue-soft: #edf7fd;
  --cyan: #1ca7c9;
  --gold: #d7a331;
  --green: #16745e;
  --line: #d8e4ec;
  --cloud: #f4f8fb;
  --shadow: 0 16px 40px rgba(16, 40, 63, 0.09);
}

body {
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.82;
  background: #fff;
}

.site-header {
  border-bottom-color: #dfe8ef;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 68px;
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--blue);
  box-shadow: none;
  font-size: 0.95rem;
}

.brand strong {
  color: var(--navy);
  font-size: 0.96rem;
  letter-spacing: 0;
}

.brand small {
  color: #5c7f9d;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.global-nav {
  gap: 2px;
}

.global-nav a {
  border-radius: 4px;
  color: #304b62;
  font-size: 0.84rem;
  padding: 9px 9px;
}

.global-nav a:hover {
  color: var(--blue-dark);
  background: #eef7fc;
}

.hero {
  border-bottom: 1px solid #e1ebf2;
  background: #f3f9fd;
}

.hero-media {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.hero-media::after {
  background:
    linear-gradient(90deg, #f3f9fd 0%, rgba(243, 249, 253, 0) 6%, rgba(243, 249, 253, 0) 94%, #f3f9fd 100%),
    linear-gradient(180deg, rgba(243, 249, 253, 0) 76%, #f3f9fd 100%);
}

.hero-media img {
  max-height: 560px;
}

.hero-inner {
  padding-bottom: 32px;
}

.hero-copy {
  max-width: 680px;
  color: #35556f;
  font-size: 0.98rem;
  font-weight: 600;
  text-shadow: none;
}

.hero-actions {
  margin-top: 18px;
}

.button {
  min-height: 48px;
  border-radius: 5px;
  font-size: 0.94rem;
  letter-spacing: 0;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

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

.button.primary {
  background: var(--blue);
  box-shadow: 0 9px 20px rgba(8, 119, 201, 0.22);
}

.button.ghost,
.button.outline {
  border-color: #a8cbe3;
  color: var(--blue-dark);
  background: #fff;
}

.hero-stats {
  gap: 0;
  border-top: 1px solid #d7e5ee;
  border-bottom: 1px solid #d7e5ee;
  margin-top: 24px;
}

.hero-stats div {
  border: 0;
  border-right: 1px solid #d7e5ee;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 11px 18px;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: #6a8092;
  font-size: 0.72rem;
}

.hero-stats dd {
  color: var(--navy);
  font-size: 1.08rem;
}

.summary-band {
  border: 0;
  background: #fff;
  padding: 20px 0;
}

.summary-grid {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-grid article {
  padding: 16px 26px;
}

.summary-grid h2 {
  color: var(--navy);
  background: transparent;
  font-size: 0.98rem;
  padding: 0;
}

.summary-grid p {
  color: #687c8e;
  font-weight: 600;
}

.section {
  padding: 84px 0;
}

.section-heading,
.ranking-heading,
.rich-heading {
  max-width: 880px;
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 34px;
  padding: 2px 0 2px 20px;
}

.section-kicker,
.eyebrow {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.section-heading h2,
.service-layout h2,
.guide-grid h2,
.faq-grid h2,
.contact-panel h2 {
  width: auto;
  color: var(--navy);
  background: transparent;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.35;
  padding: 0;
}

.section-heading p:last-child,
.ranking-heading p:last-child,
.service-layout p,
.contact-panel p {
  color: var(--muted);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0;
}

.ranking-section {
  background: #f4f8fb;
}

.filter-bar {
  gap: 9px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 42px;
  border-color: #cbdce8;
  border-radius: 5px;
  color: #35536b;
  font-size: 0.88rem;
  padding: 8px 16px;
}

.filter-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
}

.top-rank-slider {
  border-color: #ccdde9;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(16, 40, 63, 0.1);
}

.top-rank-tabs {
  gap: 10px;
  border-bottom-color: #d8e5ee;
  background: #f7fafc;
  padding: 14px;
}

.top-rank-tab {
  min-height: 54px;
  border-color: #ccdde9;
  border-radius: 6px;
  color: #264b67;
  box-shadow: none;
  font-size: 0.94rem;
}

.top-rank-tab.is-active {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: none;
}

.top-rank-panel {
  grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
  background: #fff;
}

.top-rank-photo {
  min-height: 320px;
  border-right: 1px solid #dce6ed;
  object-fit: contain;
  object-position: center 18%;
  background: #f3f9fd;
  padding: 16px;
}

.top-rank-content {
  gap: 15px;
  padding: 34px;
}

.top-rank-content h3 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.top-rank-content > p:not(.label) {
  color: #3f566a;
  font-size: 0.98rem;
  font-weight: 600;
}

.label {
  width: fit-content;
  justify-self: start;
  border-radius: 3px;
  background: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0;
  padding: 5px 9px;
}

.top-rank-detail-grid {
  gap: 0;
  border: 1px solid #d8e5ee;
  border-radius: 5px;
  overflow: hidden;
}

.top-rank-detail-grid div {
  border: 0;
  border-right: 1px solid #d8e5ee;
  border-radius: 0;
  padding: 14px 16px;
}

.top-rank-detail-grid div:last-child {
  border-right: 0;
}

.top-rank-detail-grid strong {
  color: var(--navy);
  background: transparent;
  font-size: 0.85rem;
  padding: 0;
}

.top-rank-company {
  border-color: #d8e5ee;
  border-radius: 5px;
  background: #f7fafc;
}

.top-rank-company strong {
  color: var(--navy);
  background: transparent;
  font-size: 0.86rem;
  padding: 0;
}

.top-rank-company a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ranking-list {
  gap: 28px;
}

.rank-card {
  display: grid;
  grid-template-areas:
    "title title"
    "photo main"
    "cats main"
    "info info"
    "cta cta";
  grid-template-columns: minmax(310px, 38%) minmax(0, 1fr);
  border-color: #cedde7;
  border-radius: 6px;
  box-shadow: 0 14px 38px rgba(16, 40, 63, 0.08);
}

.rank-card-top {
  border-color: #d9bd73;
  box-shadow: 0 18px 44px rgba(16, 40, 63, 0.11);
}

.rank-title-row {
  grid-area: title;
  border-bottom-color: #d8e5ee;
  background: #fff;
  padding: 18px 22px;
}

.rank-title-row h3 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.rank-icon {
  width: 58px;
  height: 58px;
}

.rank-card > a:not(.card-button) {
  grid-area: photo;
  min-width: 0;
  border-right: 1px solid #d8e5ee;
  overflow: hidden;
}

.rank-photo {
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f3f9fd;
  padding: 10px;
}

.category-row {
  grid-area: cats;
  align-content: start;
  border: 0;
  border-top: 1px solid #d8e5ee;
  border-right: 1px solid #d8e5ee;
  background: #f7fafc;
  padding: 14px 18px 18px;
}

.cat {
  min-height: 28px;
  border: 1px solid #d5e2eb;
  border-radius: 3px;
  color: #355268 !important;
  background: #fff !important;
  font-size: 0.76rem;
  padding: 4px 9px;
}

.rank-grid {
  grid-area: main;
  align-content: center;
  gap: 20px;
  padding: 28px 30px;
}

.rank-main p,
.rank-card.mini > p {
  color: #3d5366;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.95;
}

.point-list {
  gap: 0;
  border-top: 1px solid #d9e5ed;
  margin-top: 18px;
}

.point-list li {
  position: relative;
  border-bottom: 1px solid #d9e5ed;
  color: #294a62;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 10px 10px 28px;
}

.point-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 7px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.info-panels {
  grid-area: info;
  gap: 16px;
  border-top: 1px solid #d8e5ee;
  background: #f7fafc;
  padding: 20px 22px;
}

.info-panel {
  border-color: #d3e1ea;
  border-radius: 5px;
  background: #fff;
}

.info-panel h4,
.review-panel h4,
.tip-panel h4,
.address-panel h4,
.service-panel h4 {
  color: #fff;
  background: var(--navy);
  font-size: 0.98rem;
  padding: 10px 13px;
}

.review-panel,
.tip-panel,
.address-panel,
.service-panel {
  border-color: #d3e1ea;
  background: #fff;
}

.check-list {
  gap: 0;
  padding: 0;
}

.check-list article {
  border: 0;
  border-bottom: 1px solid #e0e9ef;
  border-radius: 0;
  padding: 15px 16px;
}

.check-list article:last-child {
  border-bottom: 0;
}

.check-list strong {
  color: var(--navy);
  background: transparent;
  font-size: 0.9rem;
  padding: 0;
}

.check-list p {
  color: #455b6d;
  font-weight: 600;
}

.address-panel iframe {
  height: 260px;
  border-top-color: #d3e1ea;
}

.card-button {
  grid-area: cta;
  width: auto;
  margin: 0 22px 22px;
}

.criteria-grid,
.price-grid,
.flow-grid {
  gap: 14px;
}

.criteria-grid article,
.price-grid article,
.flow-grid article,
.knowledge-grid article,
.advice-card,
.local-search-grid article,
.guide-list article,
details {
  border-color: #d5e2eb;
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(16, 40, 63, 0.06);
}

.criteria-grid article,
.price-grid article,
.flow-grid article {
  padding: 20px;
}

.criteria-grid span,
.flow-grid span {
  border-radius: 3px;
  background: var(--blue);
}

.criteria-grid h3,
.price-grid h3,
.flow-grid h3,
.advice-card h3,
.knowledge-grid h3,
.local-search-grid h3,
.guide-list h3 {
  width: auto;
  color: var(--navy);
  background: transparent;
  font-size: 1.06rem;
  padding: 0;
}

.criteria-grid p,
.price-grid p,
.flow-grid p,
.advice-card p,
.knowledge-grid p,
.local-search-grid p,
.guide-list p {
  color: #465c6e;
  background: transparent;
  font-weight: 600;
}

.table-wrap {
  border-color: #cadbe7;
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(16, 40, 63, 0.08);
}

th {
  background: var(--navy);
}

tbody tr:nth-child(even) {
  background: #f5f9fc;
}

.advice-title-image img,
.service-layout img {
  border-radius: 5px;
  box-shadow: 0 14px 34px rgba(16, 40, 63, 0.1);
}

.advice-card.featured {
  background: #f3f8fb;
}

summary {
  color: var(--navy);
  background: #fff;
}

summary::after {
  background: var(--blue);
}

details[open] summary {
  color: var(--navy);
  background: #f3f8fb;
}

.contact-section {
  background: var(--navy);
}

.contact-panel {
  border: 0;
  border-radius: 5px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.site-footer {
  background: #071e32;
}

@media (max-width: 980px) {
  .rank-card {
    grid-template-areas:
      "title"
      "photo"
      "cats"
      "main"
      "info"
      "cta";
    grid-template-columns: 1fr;
  }

  .rank-card > a:not(.card-button) {
    border-right: 0;
  }

  .rank-photo {
    height: auto;
    aspect-ratio: 16 / 7;
    padding: 8px;
  }

  .category-row {
    border-right: 0;
  }

  .top-rank-panel {
    grid-template-columns: 1fr;
  }

  .top-rank-photo {
    border-right: 0;
    border-bottom: 1px solid #dce6ed;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 62px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-media img {
    width: 100%;
    max-height: none;
  }

  .hero-inner {
    padding-bottom: 26px;
  }

  .hero-copy {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid #d7e5ee;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading,
  .ranking-heading,
  .rich-heading {
    margin-bottom: 26px;
    padding-left: 14px;
  }

  .section-heading h2,
  .service-layout h2,
  .guide-grid h2,
  .faq-grid h2,
  .contact-panel h2 {
    font-size: 1.6rem;
  }

  .top-rank-tabs {
    gap: 6px;
    padding: 10px;
  }

  .top-rank-tab {
    min-height: 48px;
    border-radius: 5px;
  }

  .top-rank-content {
    padding: 20px 16px;
  }

  .top-rank-detail-grid {
    display: grid;
    border: 0;
    gap: 8px;
  }

  .top-rank-detail-grid div {
    border: 1px solid #d8e5ee;
    border-radius: 4px;
  }

  .rank-title-row {
    align-items: center;
    padding: 14px;
  }

  .rank-title-row h3 {
    font-size: 1.42rem;
  }

  .rank-photo {
    aspect-ratio: 16 / 9;
  }

  .rank-grid {
    padding: 20px 14px;
  }

  .info-panels {
    padding: 14px;
  }

  .card-button {
    margin: 0 14px 14px;
  }
}

/* 2026 structural impact refresh */
:root {
  --ink: #102844;
  --muted: #536b82;
  --blue: #087bd3;
  --blue-dark: #075aa7;
  --navy: #073b69;
  --blue-soft: #e9f6ff;
  --cyan: #12b8d2;
  --gold: #e8b43b;
  --green: #0e9870;
  --line: #cfe2f1;
  --cloud: #eef7fd;
  --shadow: 0 20px 46px rgba(7, 59, 105, 0.15);
}

.site-header {
  border-bottom: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.97);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan));
  box-shadow: 0 9px 20px rgba(8, 123, 211, 0.23);
}

.global-nav a {
  border-radius: 6px;
  font-weight: 900;
}

.global-nav a:hover {
  color: #fff;
  background: var(--blue);
}

.hero {
  border-bottom: 0;
  background: #eaf7ff;
}

.hero-media {
  width: min(1480px, 100%);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(234, 247, 255, 0.88) 0%, rgba(234, 247, 255, 0) 5%, rgba(234, 247, 255, 0) 95%, rgba(234, 247, 255, 0.88) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 82%, rgba(7, 59, 105, 0.13) 100%);
}

.hero-media img {
  max-height: 580px;
}

.hero-inner {
  width: 100%;
  max-width: none;
  border-top: 4px solid var(--cyan);
  color: #fff;
  background:
    linear-gradient(110deg, #06345f 0%, #075aa7 58%, #087bd3 100%);
  padding: 27px max(16px, calc((100% - 1120px) / 2)) 30px;
}

.hero-copy {
  max-width: 780px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-actions {
  margin-top: 19px;
}

.button {
  min-height: 50px;
  border-radius: 7px;
  font-weight: 900;
}

.button.primary {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.17);
}

.button.primary:hover {
  color: #fff;
  background: var(--cyan);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats {
  max-width: 760px;
  border-top-color: rgba(255, 255, 255, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.hero-stats div {
  border-right-color: rgba(255, 255, 255, 0.28);
}

.hero-stats dt {
  color: #aeeaff;
}

.hero-stats dd {
  color: #fff;
}

.summary-band {
  position: relative;
  background: #fff;
  padding: 0;
}

.summary-grid {
  width: min(1120px, calc(100% - 32px));
  border: 0;
  transform: translateY(0);
}

.summary-grid article {
  position: relative;
  min-height: 110px;
  border-right: 1px solid #bcdcf1;
  border-bottom: 4px solid var(--blue);
  background: linear-gradient(180deg, #fff, #f3faff);
  padding: 23px 28px;
}

.summary-grid article:nth-child(2) {
  border-bottom-color: var(--cyan);
}

.summary-grid article:nth-child(3) {
  border-bottom-color: var(--gold);
}

.summary-grid h2 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.summary-grid p {
  color: #526b81;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-heading,
.ranking-heading,
.rich-heading {
  max-width: 920px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.section-heading h2,
.service-layout h2,
.guide-grid h2,
.faq-grid h2,
.contact-panel h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.3;
  padding: 10px 17px;
}

.section-heading p:last-child,
.ranking-heading p:last-child,
.service-layout p,
.contact-panel p {
  color: var(--muted);
  font-weight: 700;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.criteria-section {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, #062f56 0%, #074a80 70%, #086aa8 100%);
}

.criteria-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan) 0 33%, var(--blue) 33% 66%, var(--gold) 66%);
}

.criteria-section .section-heading h2 {
  color: #fff;
  background: transparent;
  padding: 0;
}

.criteria-section .section-heading p:last-child {
  max-width: 800px;
  color: #d7ebfa;
}

.criteria-grid {
  gap: 16px;
}

.criteria-grid article {
  position: relative;
  min-height: 245px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  padding: 26px 22px 23px;
}

.criteria-grid article:nth-child(even) {
  transform: translateY(18px);
}

.criteria-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 0.92rem;
}

.criteria-grid article:nth-child(2) span {
  background: var(--cyan);
}

.criteria-grid article:nth-child(3) span {
  color: var(--navy);
  background: var(--gold);
}

.criteria-grid article:nth-child(4) span {
  background: var(--green);
}

.criteria-grid h3 {
  color: var(--navy);
  background: transparent;
  font-size: 1.12rem;
  padding: 0;
}

.criteria-grid p {
  color: #465d72;
  font-weight: 700;
}

.ranking-section {
  position: relative;
  background:
    linear-gradient(180deg, #edf8ff 0%, #f8fbfd 16%, #eef6fb 100%);
}

.ranking-heading {
  position: relative;
  max-width: 940px;
  border-left: 8px solid var(--cyan);
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 59, 105, 0.12);
  padding: 25px 28px;
}

.ranking-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 210px;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.ranking-heading h2 {
  color: var(--navy);
  background: transparent;
  padding: 0;
}

.ranking-heading p:last-child {
  color: #405b72;
  background: #eef8ff;
  padding: 12px 14px;
}

.filter-bar {
  gap: 10px;
  margin-bottom: 27px;
}

.filter-button {
  min-height: 46px;
  border: 2px solid #b9d9ef;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 7px 16px rgba(7, 59, 105, 0.07);
}

.filter-button.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(8, 123, 211, 0.22);
}

.top-rank-slider {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(7, 59, 105, 0.17);
}

.top-rank-tabs {
  gap: 14px;
  border-bottom: 0;
  background: #dff1fc;
  padding: 18px;
}

.top-rank-tab {
  min-height: 62px;
  border: 2px solid #bdd9ed;
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 9px 20px rgba(7, 59, 105, 0.09);
  font-size: 1rem;
}

.top-rank-tab.is-active {
  border-color: var(--navy);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 13px 26px rgba(7, 59, 105, 0.24);
}

.top-rank-panel {
  grid-template-columns: minmax(380px, 44%) minmax(0, 1fr);
  background: #fff;
}

.top-rank-photo {
  height: 100%;
  min-height: 520px;
  border-right: 1px solid #cbe2f1;
  object-fit: contain;
  object-position: center 24%;
  background:
    linear-gradient(155deg, #e6f7ff 0%, #f8fcff 62%, #dff2ff 100%);
  padding: 24px;
}

.top-rank-content {
  gap: 17px;
  padding: 36px;
}

.top-rank-content h3 {
  color: var(--navy);
  font-size: clamp(2.05rem, 3.2vw, 2.85rem);
}

.top-rank-content > p:not(.label) {
  color: #3d566c;
  font-size: 1rem;
  font-weight: 700;
}

.label {
  border-radius: 3px;
  color: #fff;
  background: var(--blue);
  font-size: 0.8rem;
  padding: 6px 11px;
}

.top-rank-detail-grid {
  gap: 10px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.top-rank-detail-grid div {
  border: 1px solid #cce2f1;
  border-top: 5px solid var(--blue);
  border-radius: 5px;
  background: #f8fcff;
  padding: 15px;
}

.top-rank-detail-grid div:nth-child(2) {
  border-top-color: var(--cyan);
}

.top-rank-detail-grid div:nth-child(3) {
  border-top-color: var(--gold);
}

.top-rank-detail-grid strong {
  color: var(--navy);
  background: transparent;
  font-size: 0.88rem;
  padding: 0;
}

.top-rank-company {
  border: 1px solid #c6ddea;
  border-radius: 6px;
  background: #f1f8fc;
}

.top-rank-company strong {
  color: #fff;
  background: var(--navy);
  padding: 6px 10px;
}

.ranking-list {
  gap: 34px;
  margin-top: 34px;
}

.rank-card {
  position: relative;
  border: 1px solid #bdd7e9;
  border-top: 8px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(7, 59, 105, 0.13);
}

.rank-card:nth-child(2) {
  border-top-color: #7189a2;
}

.rank-card:nth-child(3) {
  border-top-color: #b86d33;
}

.rank-card:nth-child(n+4) {
  border-top-color: var(--cyan);
}

.rank-card-top {
  border-right-color: #ddbd6e;
  border-bottom-color: #ddbd6e;
  border-left-color: #ddbd6e;
  box-shadow: 0 24px 54px rgba(7, 59, 105, 0.18);
}

.rank-title-row {
  border-bottom: 1px solid #c9dfed;
  background:
    linear-gradient(90deg, #fff 0%, #fff 70%, #eaf7ff 100%);
  padding: 19px 23px;
}

.rank-icon {
  width: 68px;
  height: 68px;
}

.rank-title-row h3 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.rank-card > a:not(.card-button) {
  border-right: 1px solid #c9dfed;
  background: #eaf7ff;
}

.rank-photo {
  object-fit: contain;
  background:
    linear-gradient(145deg, #e4f6ff 0%, #f9fdff 68%, #dff2ff 100%);
  padding: 14px;
}

.category-row {
  border-top: 1px solid #c9dfed;
  border-right: 1px solid #c9dfed;
  background: #f2f9fd;
  padding: 14px 18px 18px;
}

.cat {
  min-height: 31px;
  border: 0;
  border-radius: 999px;
  font-size: 0.79rem;
  padding: 5px 11px;
}

.cat.aircon {
  color: #07549d !important;
  background: #dcefff !important;
}

.cat.water {
  color: #08706c !important;
  background: #ddf7f4 !important;
}

.cat.kitchen {
  color: #8c4b00 !important;
  background: #fff0d5 !important;
}

.cat.move {
  color: #4c3aa3 !important;
  background: #ece8ff !important;
}

.cat.fast {
  color: #9b3345 !important;
  background: #ffe6eb !important;
}

.rank-grid {
  padding: 30px 32px;
}

.rank-main p,
.rank-card.mini > p {
  color: #40576d;
  font-size: 1rem;
  font-weight: 700;
}

.point-list {
  gap: 8px;
  border-top: 0;
}

.point-list li {
  border: 0;
  border-left: 5px solid var(--cyan);
  border-radius: 3px;
  color: #fff;
  background: var(--navy);
  font-size: 0.92rem;
  padding: 10px 12px 10px 16px;
}

.point-list li::before {
  display: none;
}

.info-panels {
  gap: 18px;
  border-top: 1px solid #c9dfed;
  background: #eff7fc;
  padding: 22px;
}

.info-panel {
  border: 1px solid #c8ddea;
  border-radius: 6px;
  background: #fff;
}

.info-panel h4,
.review-panel h4,
.tip-panel h4,
.address-panel h4,
.service-panel h4 {
  color: #fff;
  background: var(--navy);
  font-size: 1.04rem;
  padding: 11px 14px;
}

.review-panel h4 {
  background: var(--blue-dark);
}

.service-panel h4 {
  background: #4d3da2;
}

.address-panel h4 {
  background: #087052;
}

.check-list {
  gap: 12px;
  padding: 13px;
}

.check-list article {
  border: 1px solid #cfe3f1;
  border-radius: 5px;
  background: #f9fcff;
  padding: 15px;
}

.check-list strong {
  color: #fff;
  background: var(--blue-dark);
  padding: 7px 10px;
}

.check-list p {
  font-weight: 700;
}

.address-panel iframe {
  height: 270px;
}

.card-button {
  min-height: 53px;
  border: 2px solid var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 123, 211, 0.2);
}

.card-button:hover {
  color: #fff;
  background: var(--blue-dark);
}

.compare-section,
.faq-section {
  background: #fff;
}

.table-wrap {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(7, 59, 105, 0.15);
}

th {
  background: var(--navy);
}

.advice-section {
  background: linear-gradient(180deg, #eef8ff, #fff);
}

.advice-card,
.knowledge-grid article,
.local-search-grid article,
.guide-list article {
  border: 1px solid #c8dfef;
  border-radius: 7px;
  box-shadow: 0 14px 32px rgba(7, 59, 105, 0.09);
}

.advice-card h3,
.knowledge-grid h3,
.local-search-grid h3,
.guide-list h3 {
  width: fit-content;
  color: #fff;
  background: var(--navy);
  padding: 7px 10px;
}

.advice-card.featured {
  border: 2px solid #99ccec;
  background: linear-gradient(135deg, #dff3ff, #fff 70%);
}

.services-section,
.related-keyword-section {
  background: #eef7fd;
}

details {
  border-color: #c6ddea;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(7, 59, 105, 0.08);
}

summary {
  color: #fff;
  background: var(--navy);
}

details[open] summary {
  color: var(--navy);
  background: #e9f6ff;
}

.contact-section {
  background:
    linear-gradient(115deg, #052d52, #075aa7 66%, #087bd3);
}

@media (max-width: 980px) {
  .criteria-grid article:nth-child(even) {
    transform: none;
  }

  .top-rank-panel {
    grid-template-columns: 1fr;
  }

  .top-rank-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 1200 / 520;
    border-right: 0;
    border-bottom: 1px solid #cbe2f1;
    padding: 14px;
  }

  .rank-card > a:not(.card-button) {
    border-right: 0;
  }

  .category-row {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 23px 12px 26px;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom-color: rgba(255, 255, 255, 0.28);
  }

  .summary-grid {
    width: 100%;
  }

  .summary-grid article {
    min-height: 0;
    border-right: 0;
    padding: 18px 20px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .service-layout h2,
  .guide-grid h2,
  .faq-grid h2,
  .contact-panel h2 {
    font-size: 1.62rem;
    padding: 8px 11px;
  }

  .criteria-section .section-heading h2,
  .ranking-heading h2 {
    padding: 0;
  }

  .criteria-grid article {
    min-height: 0;
  }

  .ranking-heading {
    border-left-width: 6px;
    padding: 19px 16px;
  }

  .top-rank-tabs {
    gap: 7px;
    padding: 11px;
  }

  .top-rank-tab {
    min-height: 50px;
    border-radius: 10px;
  }

  .top-rank-content {
    padding: 22px 16px;
  }

  .rank-card {
    border-top-width: 6px;
  }

  .rank-icon {
    width: 58px;
    height: 58px;
  }

  .rank-grid {
    padding: 22px 14px;
  }

  .info-panels {
    padding: 14px;
  }

  .check-list {
    padding: 10px;
  }
}

/* 2026 editorial edge */
.site-header {
  box-shadow: 0 8px 24px rgba(5, 45, 82, 0.08);
}

.header-inner {
  position: relative;
}

.header-inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: min(340px, 32vw);
  height: 3px;
  background: var(--gold);
}

.global-nav a {
  position: relative;
}

.global-nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
}

.hero-media {
  position: relative;
  border-right: 6px solid var(--navy);
  border-left: 6px solid var(--navy);
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 22%;
  height: 8px;
  background: var(--gold);
}

.hero-inner {
  position: relative;
  overflow: hidden;
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-inner::before {
  top: 0;
  left: 0;
  width: 34%;
  height: 5px;
  background: var(--gold);
}

.hero-inner::after {
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-18deg);
}

.hero-copy,
.hero-actions,
.hero-stats {
  position: relative;
  z-index: 1;
}

.summary-grid article {
  overflow: hidden;
}

.summary-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border-top: 1px solid #b9dbef;
  border-right: 1px solid #b9dbef;
  background: linear-gradient(135deg, transparent 48%, #e3f4ff 49%);
}

.criteria-section {
  overflow: hidden;
}

.criteria-section::after {
  content: "OSAKA CLEANING GUIDE";
  position: absolute;
  top: 74px;
  right: -34px;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(90deg);
  transform-origin: right top;
}

.criteria-section .section-inner {
  position: relative;
  z-index: 1;
}

.criteria-grid article {
  overflow: hidden;
}

.criteria-grid article::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 76px;
  height: 76px;
  border: 12px solid #e5f4fd;
  transform: rotate(45deg);
}

.ranking-section {
  background:
    linear-gradient(rgba(8, 123, 211, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 123, 211, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #edf8ff 0%, #f8fbfd 16%, #eef6fb 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.ranking-heading {
  overflow: hidden;
}

.ranking-heading::before {
  content: "RANKING";
  position: absolute;
  right: 24px;
  top: 12px;
  color: #e6f4fd;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.ranking-heading > * {
  position: relative;
  z-index: 1;
}

.top-rank-tabs {
  position: relative;
}

.top-rank-tabs::before {
  content: "TOP 3";
  position: absolute;
  top: -13px;
  left: 22px;
  color: #fff;
  background: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.top-rank-tab {
  justify-content: flex-start;
  text-align: left;
  padding: 9px 20px;
}

.top-rank-tab > span {
  display: grid;
  gap: 1px;
}

.top-rank-tab strong,
.top-rank-tab small {
  display: block;
  line-height: 1.25;
}

.top-rank-tab strong {
  font-size: 0.82rem;
}

.top-rank-tab small {
  color: #47657c;
  font-size: 0.92rem;
  font-weight: 900;
}

.top-rank-tab.is-active small {
  color: #fff;
}

.top-rank-panel {
  position: relative;
}

.top-rank-panel::after {
  content: "EDITOR'S PICK";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 6px 12px;
}

.rank-card {
  isolation: isolate;
}

.rank-title-row {
  position: relative;
  overflow: hidden;
  min-height: 108px;
}

.rank-title-row > * {
  position: relative;
  z-index: 2;
}

.rank-title-row::before {
  position: absolute;
  z-index: 1;
  right: 22px;
  top: 50%;
  color: #e4f3fc;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.rank-card:nth-child(1) .rank-title-row::before { content: "#01"; color: #fff2c9; }
.rank-card:nth-child(2) .rank-title-row::before { content: "#02"; color: #e8eef4; }
.rank-card:nth-child(3) .rank-title-row::before { content: "#03"; color: #f5e4d7; }
.rank-card:nth-child(4) .rank-title-row::before { content: "#04"; }
.rank-card:nth-child(5) .rank-title-row::before { content: "#05"; }
.rank-card:nth-child(6) .rank-title-row::before { content: "#06"; }
.rank-card:nth-child(7) .rank-title-row::before { content: "#07"; }
.rank-card:nth-child(8) .rank-title-row::before { content: "#08"; }
.rank-card:nth-child(9) .rank-title-row::before { content: "#09"; }
.rank-card:nth-child(10) .rank-title-row::before { content: "#10"; }

.rank-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -8px;
  right: 0;
  width: 140px;
  height: 8px;
  background: var(--gold);
}

.rank-card:nth-child(2)::before {
  background: #9eb0c1;
}

.rank-card:nth-child(3)::before {
  background: #ce8955;
}

.rank-card:nth-child(n+4)::before {
  background: var(--navy);
}

.rank-grid {
  position: relative;
}

.rank-grid::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.info-panel h4 {
  position: relative;
}

.info-panel h4::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transform: skewX(-18deg) translateX(14px);
}

.table-wrap {
  position: relative;
}

.table-wrap::before {
  content: "COMPARE";
  position: absolute;
  z-index: 2;
  top: -27px;
  right: 0;
  color: #fff;
  background: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 12px;
}

.site-footer {
  position: relative;
  border-top: 6px solid var(--cyan);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 0;
  width: 32%;
  height: 6px;
  background: var(--gold);
}

@media (max-width: 980px) {
  .top-rank-tab {
    justify-content: center;
  }

  .criteria-section::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner::after {
    width: 92px;
  }

  .hero-media {
    border-right-width: 3px;
    border-left-width: 3px;
  }

  .top-rank-tabs::before {
    top: -11px;
    left: 12px;
  }

  .top-rank-tab {
    justify-content: center;
    padding: 7px 5px;
  }

  .top-rank-tab img {
    width: 26px;
    height: 26px;
  }

  .top-rank-tab small {
    font-size: 0.72rem;
  }

  .rank-title-row {
    min-height: 92px;
  }

  .rank-title-row::before {
    right: 10px;
    font-size: 3.3rem;
  }

  .rank-title-row h3 {
    max-width: 72%;
  }

  .ranking-heading::before {
    right: 10px;
    top: 10px;
    font-size: 2.5rem;
  }
}

/* Official website screenshots */
.top-rank-photo,
.rank-photo {
  object-fit: cover;
  object-position: center top;
  background: #dff1fc;
  padding: 0;
}

.rank-card > a:not(.card-button) {
  position: relative;
}

.rank-card > a:not(.card-button)::after {
  content: "公式サイト画像";
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  color: #fff;
  background: rgba(5, 45, 82, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  backdrop-filter: blur(5px);
}

@media (max-width: 980px) {
  .top-rank-photo {
    object-fit: cover;
  }

  .rank-photo {
    object-fit: cover;
  }
}

/* Mobile Japanese typography and wrapping */
@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
  }

  h1,
  h2,
  h3,
  h4,
  summary,
  .label,
  .button,
  .filter-button,
  .top-rank-tab {
    line-break: strict;
    word-break: normal;
    word-break: auto-phrase;
    text-wrap: balance;
  }

  p,
  li,
  dd,
  address {
    line-break: strict;
    word-break: normal;
    word-break: auto-phrase;
    text-wrap: pretty;
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
  }

  .brand > span:last-child,
  .rank-title-row > div,
  .top-rank-tab > span {
    min-width: 0;
  }

  .brand-mark,
  .nav-toggle {
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 0.82rem;
    line-height: 1.35;
    text-wrap: balance;
  }

  .section-heading h2,
  .service-layout h2,
  .guide-grid h2,
  .faq-grid h2,
  .contact-panel h2 {
    font-size: 1.45rem;
    line-height: 1.42;
  }

  .section-heading p:last-child,
  .ranking-heading p:last-child,
  .hero-copy,
  .rank-main p,
  .rank-card.mini > p,
  .info-panel p,
  .info-panel address,
  .check-list p,
  details p {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .ranking-heading {
    padding-right: 14px;
  }

  .rank-title-row {
    gap: 10px;
  }

  .rank-title-row > div {
    flex: 1 1 auto;
    padding-right: 34px;
  }

  .rank-title-row h3 {
    max-width: none;
    font-size: 1.28rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .rank-title-row .label {
    max-width: 100%;
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .top-rank-tab {
    min-width: 0;
    line-height: 1.25;
  }

  .top-rank-tab strong,
  .top-rank-tab small {
    white-space: normal;
  }

  .top-rank-content h3 {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .cat,
  .filter-button,
  .table-pill {
    white-space: nowrap;
  }

  .button,
  .card-button {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .info-panel address {
    overflow-wrap: anywhere;
  }

  summary {
    padding-right: 54px;
    line-height: 1.55;
  }

  .point-list li {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .service-layout {
    gap: 18px;
  }

  .service-layout > img {
    width: 100%;
    height: 142px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .service-cards {
    gap: 10px;
    margin-top: 14px;
  }

  .service-cards article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    gap: 5px 10px;
    align-items: start;
    padding: 13px;
  }

  .service-cards img {
    grid-area: icon;
    width: 34px;
    height: 34px;
    margin: 2px 0 0;
  }

  .service-cards h3 {
    grid-area: title;
    font-size: 0.98rem;
    padding: 5px 8px;
  }

  .service-cards p {
    grid-area: copy;
    margin-top: 0;
    background: transparent;
    font-size: 0.86rem;
    line-height: 1.7;
    padding: 0;
  }

  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }
}
