/* Toilet LP preview. Matches the 2026-10-18 design image. */
:root {
  --ink: #243140;
  --navy: #08306e;
  --sky: #12bfff;
  --sky-deep: #0678c8;
  --red: #e10600;
  --red-2: #c40500;
  --yellow: #ffe600;
  --paper: #fff;
  --line: #d5e0ea;
  --muted: #5c6773;
  --green: #3aaa35;
  --area-orange: #f08a1a;
  --area-blue: #3aa0e8;
  --font: "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --shell: min(100% - 1.5rem, 52.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); font-style: normal; overflow-wrap: anywhere; min-width: 0; margin: 0; }
p { margin: 0; }

.skip {
  position: fixed;
  z-index: 20;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  background: var(--navy);
  color: #fff;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.shell { width: var(--shell); margin-inline: auto; }
.masthead .shell,
.footer .shell,
.crumb .shell { width: min(100% - 2rem, 72rem); }
.footer p { margin: 0 0 .6rem; }
.footer p:last-child { margin-bottom: 0; }

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.35rem;
  padding: .35rem .95rem;
  border: 0;
  border-radius: .4rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 0 #9d0400;
}
.btn-red:hover { background: var(--red-2); }
.btn-red:active { transform: translateY(1px); box-shadow: none; }
.env { width: 1.15rem; height: 1.15rem; flex: none; }

.crumb {
  background: #e7f7ff;
  color: #6a7786;
  font-size: .75rem;
}
.crumb ol {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
}
.crumb li { display: flex; align-items: center; min-width: 0; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.crumb li + li::before { content: "/"; margin-right: .5rem; }

.hero {
  background: linear-gradient(180deg, #3ad4ff 0%, #14c4fe 46%, #00aaef 100%);
  color: #fff;
  padding: .85rem 0 .7rem;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 .35rem;
  padding: .22rem .75rem;
  border-radius: .35rem;
  background: var(--navy);
  font-weight: 800;
  font-size: .92rem;
}
.hero-copy {
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left center;
  margin: .15rem 0 .45rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
  -webkit-text-stroke: 6px #084a9e;
  paint-order: stroke fill;
}
.hero h1 .yel { color: var(--yellow); }
.hero-sub {
  display: inline-block;
  margin-top: .28rem;
  padding: .08rem .55rem .12rem;
  background: var(--navy);
  font-size: clamp(.95rem, 2.1vw, 1.2rem);
  font-weight: 900;
}
.badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 6.7rem;
  height: 6.7rem;
  margin-right: .2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  font-weight: 900;
  font-size: .78rem;
  line-height: 1.35;
  transform: rotate(8deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .15rem;
}
.hero-card { text-align: center; color: #fff; }
.hero-card img {
  width: 100%;
  height: 8.4rem;
  object-fit: contain;
  margin-inline: auto;
}
.hero-card .maker { font-weight: 900; font-size: 1.02rem; line-height: 1.2; }
.hero-card .maker.is-lixil { color: #ff8a00; }
.hero-card .name { font-weight: 800; font-size: .84rem; line-height: 1.3; }
.hero-card .name small { display: block; font-size: .74rem; font-weight: 700; }
.price-box {
  margin-top: .35rem;
  padding: .4rem .35rem .45rem;
  border: 0;
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
}
.price-box .cap { color: #7b8794; font-size: .64rem; font-weight: 700; }
.price-box strong {
  display: block;
  color: var(--red);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.price-box strong span { font-size: .62em; margin-left: .05em; }
.price-box .btn-red { width: 100%; margin-top: .3rem; min-height: 2.15rem; font-size: .88rem; }
.hero-note {
  margin: .35rem 0 0;
  text-align: right;
  color: #f3fbff;
  font-size: .68rem;
}

.jump {
  display: flex;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.jump ul {
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: .55rem 0;
  list-style: none;
}
.jump li { display: flex; align-items: center; }
.jump li + li::before {
  content: "";
  width: 1px;
  height: .9rem;
  margin-inline: .85rem;
  background: #c5d0dc;
}
.jump a {
  color: #1a7ec4;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
}
.jump a:hover { text-decoration: underline; }

.block { padding: 1.15rem 0 .4rem; }
.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-bottom: .75rem;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 900;
  text-align: center;
}
.sec-title::before, .sec-title::after {
  content: "";
  width: 2.6rem;
  height: 3px;
  border-radius: 99px;
  background: #2eb4ef;
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.set-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: .25rem .35rem;
  align-items: center;
  padding: .7rem .6rem .55rem;
  border: 1px solid #e3ebf3;
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 6px 16px rgb(16 60 110 / 6%);
}
.set-card .maker { color: var(--navy); font-weight: 900; font-size: 1.05rem; line-height: 1.1; }
.set-card .maker.is-lixil { color: #f47b00; }
.set-card h3 { color: #1d2a3a; font-size: .86rem; font-weight: 800; line-height: 1.35; }
.tags { margin: .3rem 0; color: #1a8fd4; font-size: .74rem; font-weight: 800; line-height: 1.35; }
.tags span { display: block; }
.set-card p { color: #3e4a58; font-size: .72rem; line-height: 1.5; }
.set-card img { width: 100%; height: 8.2rem; object-fit: contain; object-position: center bottom; }
.set-card .price-box { grid-column: 1 / -1; }

.pick-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: .75rem;
}
.pick-grid > .pick { width: 100%; }
.pick {
  overflow: clip;
  border: 1px solid #d5e3f0;
  border-radius: .5rem;
  background: #f7fbfe;
}
.pick h3 {
  padding: .38rem .75rem;
  background: #1f8fd6;
  color: #fff;
  font-size: .9rem;
}
.pick-row { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .25rem .7rem;
  border: 1px solid #d5e0ea;
  border-radius: .35rem;
  background: #fff;
  color: #3a4a5c;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}
.chip:hover { border-color: var(--sky-deep); color: var(--navy); }

.consult {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  margin-top: .75rem;
  padding: .7rem .9rem;
  border-radius: .55rem;
  background: #fff4c8;
}
.toilet-icon { width: 3.4rem; color: #1a8fd4; }
.consult p { color: var(--navy); font-size: clamp(.95rem, 1.8vw, 1.12rem); font-weight: 900; line-height: 1.4; }
.consult .btn-red, .close-cta .btn-red { min-height: 2.7rem; padding-inline: 1rem; font-size: .95rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
.work-card {
  position: relative;
  border: 1px solid #d7e6f2;
  border-radius: .45rem;
  background: #fff;
}
.work-card h3 {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.15rem;
  padding: .28rem .4rem;
  border-radius: .4rem .4rem 0 0;
  background: #1f8fd6;
  color: #fff;
  font-size: .78rem;
}
.num {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  color: #1f8fd6;
  font-size: .75rem;
  font-weight: 900;
  flex: none;
}
.work-card img { width: 100%; height: 5.4rem; object-fit: cover; border-radius: 0 0 .4rem .4rem; }
.work-card + .work-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 46%;
  left: -.62rem;
  border: .42rem solid transparent;
  border-left-color: #3ec0f5;
}
.note { margin-top: .4rem; color: var(--muted); font-size: .72rem; text-align: center; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.flow-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .4rem;
  align-items: center;
  padding: .55rem .45rem .55rem .4rem;
  border: 1px solid #e4edf5;
  border-radius: .55rem;
  background: #fff;
}
.flow-card + .flow-card::before {
  content: "";
  position: absolute;
  top: 42%;
  left: -.52rem;
  border: .36rem solid transparent;
  border-left-color: #7ecff3;
}
.flow-card .bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: #e7f5ff;
  color: #1a8fd4;
}
.flow-card .bubble svg { width: 1.7rem; height: 1.7rem; }
.flow-card .num {
  position: absolute;
  top: -.1rem;
  left: -.1rem;
  width: 1.15rem;
  height: 1.15rem;
  background: #1f8fd6;
  color: #fff;
  font-size: .68rem;
}
.flow-card h3 { color: var(--navy); font-size: .82rem; }
.flow-card p { margin-top: .15rem; color: #556; font-size: .68rem; line-height: 1.45; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}
.area-card {
  padding: .65rem .7rem .75rem;
  border: 1px solid #e5eef5;
  border-radius: .55rem;
  background: #fff;
}
.area-card header {
  display: inline-block;
  padding: .18rem .7rem;
  border-radius: .3rem;
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
}
.area-card.is-tokai header { background: var(--green); }
.area-card.is-chugoku header { background: var(--area-orange); }
.area-card.is-shikoku header { background: var(--area-blue); }
.area-body {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .45rem;
}
.area-card img { width: 4.4rem; height: 2.8rem; object-fit: contain; flex: none; }
.area-card p { font-size: .78rem; font-weight: 800; line-height: 1.45; }
.area-card.is-tokai p { color: #2f9a38; }
.area-card.is-chugoku p { color: #e07a12; }
.area-card.is-shikoku p { color: #2b8fd4; }

.faq { max-width: 40rem; }
.faq h2 { margin-bottom: .35rem; }
.faq details { border-top: 0; border-bottom: 1px solid #e6ebf0; }
.faq summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.9rem;
  padding: .35rem 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: .5rem;
  height: .5rem;
  border-right: 2px solid #9aa8b5;
  border-bottom: 2px solid #9aa8b5;
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: .25rem; }
.q {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  flex: none;
}
.faq details p { padding: 0 0 .75rem 2rem; color: #344; font-size: .88rem; }

.close-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  margin: .8rem auto 1.1rem;
  padding: .75rem .9rem;
  border-radius: .55rem;
  background: #fdecec;
}
.close-cta h2 { color: var(--navy); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.close-cta p { font-size: .78rem; color: #445; }

@media (max-width: 860px) {
  .badge { width: 5.2rem; height: 5.2rem; font-size: .64rem; }
  .hero-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-grid, .area-grid, .pick-grid, .flow-grid { grid-template-columns: 1fr; }
  .work-card + .work-card::before, .flow-card + .flow-card::before { display: none; }
  .consult, .close-cta { grid-template-columns: auto minmax(0, 1fr); }
  .consult .btn-red, .close-cta .btn-red { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .hero h1 { -webkit-text-stroke-width: .05em; }
  .jump ul { flex-wrap: wrap; justify-content: center; gap: .3rem .15rem; }
  .jump li + li::before { display: none; }
  .hero-card img { height: 6.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-red:active { transform: none; }
}
