:root {
  color: #111;
  font-size: 18px;
  line-height: 1.3;
  --color-black: #333;
  --color-blue: #1567BF;
  --color-l-blue: #E9FAFF;
  --hover-blue: #378eec;
  --color-green: #6FB92C;
  --color-l-green: #F6FFEC;
  --color-salmon: #EA6061;
  --color-l-salmon: #FFF0F5;
  --color-red: #F11112;
  --color-purple: #8A38F5;
  --color-l-purple: #FAF5FB;
  --color-yellow: #FFE500;
  --color-orange: #FF9519;
  --color-gold: #ECC03D;
  --color-silver: #95A2A2;
  --color-bronze: #D29A51;
  --font-mplus: 'M PLUS 2', sans-serif;
  --font-awesome: 'FontAwesome';
  --header-height: 110px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.tab,
.tab2,
.br-sp {
  display: none;
}

.br-pc {
  display: block;
}

a {
  text-decoration: none;
  transition: 0.5s;
}

a:hover {
  opacity: 0.5;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  justify-content: center;
  align-items: center;
  justify-items: center;
}

.inner {
  width: 85%;
  margin: 0 auto;
}

.img {
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
  list-style-position: inside;
}

li {
  line-height: 1.5;
  text-indent: -1em;
  padding-left: 1em;
}

li::before {
  content: "・";
}

li+li {
  margin-top: 0.3rem;
}


/* ========== ヘッダー ========== */
.header {
  width: 100svw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  overflow: hidden;
}

.header-top {
  height: 70px;
  padding: 0.5rem 0;
}

.header-top .inner {
  height: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.logo-h {
  width: auto;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  width: auto;
  height: 100%;
}

.logo img {
  width: auto;
  height: 100%;
}

.header h1 {
  font-size: 0.9rem;
  font-weight: normal;
}

.cta {
  flex-direction: column;
  gap: 1rem;
}

.cta p {
  font-size: 1.3rem;
  font-family: var(--font-mplus);
  font-weight: bold;
  text-align: center;
}

.p-none p {
  display: none;
}

.cta-button-box {
  gap: 1rem;
}

.header .cta-button-box {
  gap: 0.5rem;
}

.cta-button {
  width: 250px;
  height: 55px;
  background-color: var(--color-green);
  flex-direction: column;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.cta-button:hover {
  opacity: 1;
  background-color: #8bdc42;
}

.cta-contact {
  background-color: var(--color-salmon);
}

.cta-contact:hover {
  background-color: #ff8888;
}

.cta-icon-text {
  align-items: baseline;
  gap: 0.3rem;
}

.cta i {
  color: white;
  font-size: 1.3rem;
}

.cta span {
  color: white;
  font-family: var(--font-mplus);
  font-weight: bold;
}

.cta-main-text {
  font-size: 1.3rem;
}

.cta-contact .cta-main-text {
  font-size: 1.2rem;
}

.cta-sub-text {
  font-size: 0.8rem;
}

/* ナビゲーションメニュー */
.header-nav {
  height: 40px;
  background-color: var(--color-blue);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.header-nav .inner {
  height: 100%;
  justify-content: space-between;
}

.nav-link {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  white-space: nowrap;
}

/* ========== セクション共通スタイル ========== */
section .inner {
  padding: 4rem 0;
}

.section-title {
  background-color: var(--color-blue);
  padding: 1.5rem 0;
}

.section-title h2 {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.content {
  margin-top: var(--header-height);
}

/* ========== ファーストビュー ========== */
#hero {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-title {
  width: 34%;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  top: 3rem;
  left: 5rem;
}

.hero-title .cta {
  width: 100%;
  gap: 0.5rem;
}

.hero-title .cta p {
  color: white;
}

.hero-title .cta .cta-button-box {
  width: 100%;
}

.hero-title .cta .cta-button-box .cta-button {
  width: 100%;
  padding: 0.5rem;
}

.hero-discount-tags {
  width: 28%;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 1rem;
  left: 58%;
  transform: translateX(-50%);
  z-index: 4;
}

.discount-tag {
  width: 280px;
  height: auto;
  aspect-ratio: 1/1;
  background: url(../img/sabon.png) no-repeat center;
  background-size: contain;
  color: white;
  text-align: center;
  flex-direction: column;
  padding: 1rem;
  transform: rotate(-10deg);
}

.discount-tag:last-child {
  margin: -1rem 0 0 auto;
  transform: rotate(10deg);
}

.discount-brand,
.discount-rate {
  font-weight: bold;
  -webkit-text-stroke: 4px var(--color-blue);
  paint-order: stroke;
}

.discount-brand {
  font-size: 1.3rem;
}

.discount-rate {
  font-size: 1.7rem;
}

span.big {
  font-size: 1.5em;
  padding-left: 0.2rem;
}

span.medium {
  font-size: 0.8em;
  padding-right: 0.1rem;
}

.hero-badge {
  width: 300px;
  height: auto;
  aspect-ratio: 1/1;
  color: white;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem;
  position: absolute;
  bottom: -3rem;
  right: -2rem;
}

.hero-badge::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #00299E;
  mix-blend-mode: darken;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.badge-text {
  flex-direction: column;
  position: absolute;
  top: 22%;
  left: 25%;
  z-index: 1;
}

.badge-text-top,
.badge-text-main {
  font-family: var(--font-mplus);
  font-weight: bold;
}

.badge-text-top {
  font-size: 2rem;
  line-height: 1.2;
}

.badge-text-main {
  font-size: 2.7rem;
  line-height: 1;
}

/* ========== お悩み ========== */
#trouble {
  background: url(../img/back_gray.png) no-repeat center;
  background-size: cover;
  background-color: rgb(233 250 255 / 50%);
  background-blend-mode: soft-light;
}

#trouble .section-title {
  background-color: var(--color-black);
}

#trouble .inner {
  padding-bottom: 0;
}

.trouble-cards {
  justify-content: space-between;
  align-items: stretch;
}

.trouble-card {
  width: 32%;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.trouble-card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.trouble-card p {
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.trouble-card-bg {
  width: 50px;
  height: auto;
  aspect-ratio: 379/500;
  background: url(../img/guruguru.png) no-repeat center;
  background-size: contain;
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.8;
  transform: rotate(25deg);
}

.trouble-thinking {
  width: 55%;
  gap: 2rem;
  margin: 0 auto 0;
  position: relative;
}

.trouble-balloon {
  width: 65%;
  height: auto;
  aspect-ratio: 500/277;
  position: relative;
}

.trouble-balloon>div,
.trouble-balloon>p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.trouble-balloon .img {
  width: 100%;
  height: 100%;
}

.trouble-balloon p {
  width: 100%;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  left: 45%;
  z-index: 1;
}

.trouble-couple {
  width: 35%;
  margin-top: 10rem;
}

/* ========== 修理と交換 ========== */
#repair {
  background-color: var(--color-l-blue);
  position: relative;
}

.repair-inner {
  align-items: flex-start;
  gap: 2rem;
}

.repair-inner-left {
  width: 35%;
  flex-direction: column;
}

.repair-card {
  width: 65%;
  background-color: white;
  border: 4px solid var(--color-blue);
  border-radius: 1rem;
  padding: 2rem;
}

.repair-card--gray {
  width: 100%;
  border: 3px solid var(--color-black);
}

.repair-card__title {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.repair-card__title--blue {
  color: var(--color-blue);
}

.repair-graph {
  position: relative;
}

.repair-graph p {
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.repair-card--blue .repair-box:first-of-type .repair-graph p {
  left: 48%;
}

.repair-note {
  max-width: 30%;
  width: max-content;
  font-size: 0.85rem;
  text-indent: -1rem;
  padding-left: 1rem;
  margin: 1rem auto 0;
}

.repair-inner-left .repair-note {
  max-width: 100%;
}

.repair-box {
  justify-content: space-between;
}

.repair-box:last-child {
  justify-content: center;
  gap: 1rem;
}

.repair-box .repair-graph {
  width: 70%;
}

.repair-interior {
  flex-direction: column;
}

.repair-interior__item {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  white-space: pre;
  flex-direction: column;
  gap: 0.3rem;
}

.repair-interior__item+.repair-interior__item {
  margin-top: 2rem;
}

span.repair-interior__label::before {
  content: "\f111";
  font-family: var(--font-awesome);
  padding-right: 0.2rem;
}

.repair-interior__price {
  font-size: 1.2em;
}

.repair-card--blue .repair-box:last-child .repair-graph {
  width: 55%;
}

.repair-comment {
  width: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  padding: 4rem 2rem;
  position: relative;
}

.repair-comment.flex.br-sp {
  display: none !important;
}

.repair-comment::before {
  content: "";
  width: 100%;
  height: 85%;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
}

.repair-comment__title {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  z-index: 1;
}

.repair-comment__text {
  font-size: 1rem;
  text-align: center;
  z-index: 1;
}

.repair-budget {
  min-width: 400px;
  width: 50%;
  background-color: var(--color-blue);
  padding: 1rem 1rem 0 1rem;
  margin: 3rem auto 0;
  position: relative;
}

.repair-budget::before {
  content: "";
  width: 100%;
  height: clamp(30px, 4vw, 60px);
  background-color: var(--color-blue);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  top: 100%;
  left: 0;
}

.repair-budget p {
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

.repair-conclusion {
  max-width: 100%;
  width: max-content;
  flex-direction: column;
  margin: 4rem auto 0;
}

.repair-conclusion__lead {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-blue);
}

.repair-conclusion>.flex {
  gap: 2rem;
  margin-top: -0.8rem;
}

.repair-conclusion>.flex>.img {
  width: 8%;
}

.repair-conclusion>.flex>.img:last-child {
  transform: scale(-1, 1);
}

.repair-conclusion__main {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-blue);
}

.underline {
  position: relative;
  z-index: 1;
}

.underline::before {
  content: "";
  width: 100%;
  height: 20px;
  background-color: var(--color-yellow);
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%) skew(-30deg);
}

.repair-couple {
  width: 13%;
  position: absolute;
  bottom: 0;
  right: 8rem;
}

/* ========== メリット ========== */
#merit {
  background: url(../img/back_stripe.png) no-repeat center;
  background-size: cover;
}

.merit-lead {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-blue);
}

.merit-cards {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 2rem;
  margin-top: 4rem;
}

.merit-card {
  background-color: white;
  border: 4px solid var(--color-blue);
  border-radius: 1.2rem;
  padding: 2rem;
}

.merit-cards>.merit-card {
  grid-area: 1 / 1 / 2 / 3;
}

.merit-group {
  grid-area: 2 / 1 / 3 / 2;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
}

.merit-group:last-child {
  grid-area: 2 / 2 / 3 / 3;
}

.merit-card__head {
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.merit-card__icon {
  width: 70px;
  height: auto;
  aspect-ratio: 1/1;
}

.merit-card__head h3 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-blue);
}

.merit-item {
  justify-content: space-between;
  align-items: flex-end;
}

.merit-item+.merit-item {
  margin-top: 3rem;
}

.merit-item-left,
.merit-item-right {
  width: 48%;
  flex-direction: column;
  align-items: flex-start;
}

.merit-item-right {
  align-items: flex-end;
}

.merit-sub {
  max-width: 100svw;
  width: max-content;
}

.merit-item__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.merit-item__title::before {
  content: "\f111";
  font-family: var(--font-awesome);
  color: var(--color-blue);
  padding-right: 0.3rem;
}

.merit-item__graph {
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.merit-item-right .merit-item__graph {
  align-items: center;
}

.merit-item__graph .img {
  height: 300px;
}

.merit-item__graph .img img {
  width: auto;
  height: 100%;
}

.merit-item__note {
  font-size: 0.7rem;
  line-height: 1.5;
}

.merit-item__note li+li,
.merit-item-right li+li,
.merit-subsidy li+li {
  margin: 0;
}

.merit-item-left .merit-item__note li::before {
  content: "●";
}

.merit-item__note li.note-first::before {
  content: "■";
}

.merit-item__note:last-child p {
  margin-top: 0.5rem;
}

.merit-item.elect .merit-item__graph {
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.merit-item.elect .merit-item__graph .img {
  width: 50%;
  height: auto;
}

.merit-item.elect .merit-item__graph .img img {
  width: 100%;
  height: auto;
}

.merit-subsidy {
  margin-top: 1rem;
}

.merit-subsidy__head {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.merit-subsidy a {
  color: var(--color-blue);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.merit-group .merit-item+.merit-item {
  margin-top: 1rem;
}

.merit-toilet {
  width: 30%;
  display: flex !important;
  margin: 0 auto;
}

.merit-toilet.img.br-sp {
  display: none !important;
}

/* ========== 寿命 ========== */
.lifetime-lead {
  text-align: center;
  line-height: 1.5;
}

.lifetime-items {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 2rem;
  margin-top: 4rem;
}

.lifetime-item {
  width: 100%;
  min-height: 280px;
  background-color: white;
  border: 3px solid var(--color-blue);
  position: relative;
}

.lifetime-item::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--color-l-blue);
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: -1;
}

.lifetime-item__img {
  width: 35%;
  height: 280px;
  overflow: hidden;
}

.lifetime-item__img img {
  width: auto;
  height: 100%;
}

.lifetime-item__body {
  width: 65%;
  height: 100%;
  flex-direction: column;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.lifetime-item__body p {
  text-align: center;
}

.lifetime-item__name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-blue);
  margin-bottom: 0.3rem;
}

.lifetime-item__years {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-blue);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.lifetime-bottom {
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
}

.lifetime-sign {
  width: 55%;
  background: linear-gradient(270deg, #E9FAFF 0%, #ffffff 80%);
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
  padding: 2rem;
}

.lifetime-sign__head {
  gap: 0.3rem;
}

.lifetime-sign__icon {
  width: 40px;
  flex-shrink: 0;
}

.lifetime-sign__head p {
  font-size: 1.3rem;
  font-weight: bold;
}

.lifetime-sign__list {
  margin-top: 1.5rem;
}

.lifetime-sign__list li+li {
  margin-top: 1rem;
}

.lifetime-sign__list li::before {
  content: none;
}

.lifetime-sign__item-title {
  font-weight: bold;
}

.lifetime-sign__item-title::before {
  content: "・";
}

.lifetime-summary {
  width: 45%;
  height: 500px;
  text-align: center;
  flex-direction: column;
  padding: 3rem;
  position: relative;
}

.lifetime-summary::before {
  content: "";
  width: 100%;
  height: 85%;
  background-color: var(--color-blue);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  z-index: -1;
}

.lifetime-summary p {
  color: white;
  font-weight: bold;
  position: relative;
  left: -0.5rem;
}

.lifetime-summary__lead {
  font-size: 1.3rem;
  line-height: 1.5;
}

.lifetime-summary__main {
  font-size: 2rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}

span.underline {
  -webkit-text-stroke: 4px var(--color-blue);
  paint-order: stroke;
}

/* ========== 選ばれる理由 ========== */
#reason {
  background: url(../img/reason_back.png) no-repeat center;
  background-size: cover;
}

.reason-feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.reason-video {
  width: 60%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.reason-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.reason-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 4rem 0;
}

.reason-card {
  background-color: white;
  border: 3px solid var(--color-blue);
  gap: 1rem;
  padding: 2rem;
  position: relative;
}

.reason-card__num {
  width: 30%;
  height: auto;
  background-color: var(--color-blue);
  clip-path: polygon(100% 0, 0% 100%, 0 0);
  color: white;
  aspect-ratio: 1/1;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1rem;
  position: absolute;
  top: -1px;
  left: -1px;
}

.reason-card__body {
  text-align: center;
}

.reason-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.reason-card__text a {
  color: var(--color-blue);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

section:not(#hero) .cta-button {
  width: 300px;
  height: 70px;
}

section:not(#hero) .cta i,
section:not(#hero) .cta-main-text {
  font-size: 1.4rem;
}

section:not(#hero) .cta-contact .cta-main-text {
  font-size: 1.3rem;
}

section:not(#hero) .cta-sub-text {
  font-size: 0.9rem;
}

/* ========== おすすめトイレ ========== */
.recommend-note {
  text-align: center;
  margin-bottom: 4rem;
}

.recommend-group+.recommend-group {
  margin-top: 4rem;
}

.recommend-group__title {
  color: var(--color-blue);
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  border-top: 4px solid var(--color-blue);
  border-bottom: 4px solid var(--color-blue);
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.recommend-desc {
  flex-direction: column;
  margin-bottom: 2rem;
}

.recommend-desc__head {
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.recommend-desc__q {
  width: 30px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--color-blue);
  color: white;
  font-weight: bold;
  border-radius: 50%;
}

.recommend-desc__title {
  font-size: 1.1rem;
  font-weight: bold;
}

.recommend-desc__text {
  text-align: center;
}

.recommend-cards {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.recommend-card {
  width: 33%;
  background-color: white;
  border: 4px solid var(--color-gold);
  flex-direction: column;
  position: relative;
}

.recommend-card.rank-2 {
  border-color: var(--color-silver);
}

.recommend-card.rank-3 {
  border-color: var(--color-bronze);
}

.recommend-card__rank {
  width: 100%;
  background-color: var(--color-gold);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
}

.recommend-card__rank .img {
  width: 10%;
}

.recommend-card__rank span.big {
  padding-left: 0.3rem;
}

.rank-silver {
  background-color: var(--color-silver);
}

.rank-bronze {
  background-color: var(--color-bronze);
}

.recommend-card__img {
  width: 100%;
}

.recommend-card__body {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.recommend-card__name {
  font-size: 1.3rem;
  font-weight: bold;
}

.recommend-card__name--sub {
  margin-top: 0.2rem;
}

.recommend-card__model {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 0.2rem;
}

.recommend-card__maker-price {
  font-size: 0.9rem;
  margin-top: 1rem;
}

span.price {
  margin-left: 1rem;
}

.recommend-card__maker-price span.price.maker-price {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: line-through;
}

.recommend-card__price-row {
  gap: 0.5rem;
}

.recommend-card__price {
  color: var(--color-red);
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1;
}

.recommend-card__price span.big {
  font-size: 1.2em;
}

.recommend-card__off {
  background: url(../img/hukidashi_giza.png) no-repeat center;
  background-size: contain;
  width: 120px;
  height: auto;
  aspect-ratio: 503/304;
}

.recommend-card__off p {
  font-size: 0.9rem;
  color: white;
  font-weight: bold;
}

.recommend-card__off span.big {
  font-size: 1.3em;
}

.recommend-card__fee {
  font-size: 0.9rem;
}

.recommend-card__fee li+li {
  margin: 0;
}

.recommend-card__campaign {
  align-items: baseline;
  gap: 1rem;
}

.recommend-card__campaign p {
  font-size: 0.9rem;
}

.orange {
  color: var(--color-orange);
}

.recommend-card__campaign p.orange {
  font-size: 1rem;
  font-weight: bold;
  white-space: pre;
}

.recommend-card__campaign p.orange::before {
  content: "\f005";
  font-family: var(--font-awesome);
  padding-right: 0.1rem;
}

.red {
  color: var(--color-red);
}

.recommend-card__campaign span.price.red {
  font-size: 1rem;
  font-weight: bold;
  margin-left: 0.5rem;
}

.recommend-card__campaign span.price.red span.big {
  padding-right: 0.2rem;
}

.recommend-card__hr {
  width: 100%;
  border: none;
  border-top: 2px solid var(--color-black);
  margin: 1rem 0;
}

.recommend-card__total {
  font-weight: bold;
  align-items: baseline;
  gap: 0.5rem;
}

.recommend-card__total-price {
  color: var(--color-red);
  font-size: 1.7rem;
  line-height: 1;
}

.recommend-card__total-price span.big {
  font-size: 1.2em;
}

.recommend-card__btns {
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.recommend-btn {
  width: 100%;
  background-color: white;
  color: var(--color-blue);
  font-weight: bold;
  text-align: center;
  border: 3px solid var(--color-blue);
  padding: 0.6rem 0.5rem;
  position: relative;
  transition: 0.5s;
  cursor: pointer;
}

.recommend-btn::before {
  content: "\f002";
  font-family: var(--font-awesome);
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
}

.recommend-btn:hover {
  opacity: 1;
  background-color: var(--color-l-blue);
}

.recommend-btn--fill {
  background-color: var(--color-blue);
  color: white;
}

.recommend-btn--fill::before {
  content: "\f061";
}

.recommend-btn--fill:hover {
  opacity: 1;
  background-color: var(--hover-blue);
  border-color: var(--hover-blue);
}

.recommend-other {
  font-size: 1.1rem;
  text-align: center;
  margin: 4rem 0;
}

/* ========== オーバーレイ ========== */
.overlay {
  position: fixed;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms ease-out, visibility 300ms ease-out;
  z-index: 9999;
}

.overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.overlay-bg {
  height: 100%;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.overlay-content {
  max-width: 100%;
  width: 90%;
  position: relative;
  transform: scale(0.98);
  transition: transform 300ms ease-out;
  z-index: 1;
}

.overlay.is-active .overlay-content {
  transform: scale(1);
}

.overlay-close {
  background: none;
  border: none;
  position: absolute;
  top: 0.3rem;
  right: 0.5rem;
  cursor: pointer;
  transition: 0.5s;
}

.overlay-close:hover {
  opacity: 0.5;
}

.overlay-close i {
  color: white;
  font-size: 2rem;
  line-height: 1;
}

#overlay-body {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
}

.modal {
  width: 100%;
  max-height: 90svh;
  background-color: white;
  flex-direction: column;
}

.modal__header {
  width: 100%;
  background-color: var(--color-blue);
  padding: 0.5rem 1rem;
}

h2.modal__title {
  color: white;
  font-size: 1.3rem;
  text-align: center;
}

.modal__body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.modal__body_inner {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.modal__item {
  width: 33%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

h3.modal__item-title {
  color: var(--color-blue);
  font-size: 1.1rem;
  text-indent: -1.2em;
  padding-left: 1.2em;
}

h3.modal__item-title::before {
  content: "\f111";
  font-family: var(--font-awesome);
  padding-right: 0.2rem;
}

.modal__image {
  width: 100%;
}

p.modal__text {
  margin-top: 1rem;
}

.washlet .modal__body_inner {
  flex-direction: column;
  gap: 0.7rem;
}

.modal-section {
  width: 100%;
  border: 2px solid;
  border-radius: 0.5rem;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.5rem;
}

.modal-section h3 {
  white-space: pre;
}

.modal-section--green {
  background: var(--color-l-green);
  border-color: var(--color-green);
  color: var(--color-green);
}

.modal-section--green h3.modal__item-title {
  color: var(--color-green);
}

.modal-section--blue {
  background: var(--color-l-blue);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.modal-section--blue h3.modal__item-title {
  color: var(--color-blue);
}

.modal-section--salmon {
  background: var(--color-l-salmon);
  border-color: var(--color-salmon);
  color: var(--color-salmon);
}

.modal-section--salmon h3.modal__item-title {
  color: var(--color-salmon);
}

.modal-section--purple {
  background: var(--color-l-purple);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.modal-section--purple h3.modal__item-title {
  color: var(--color-purple);
}

.modal-section__tags {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
}

.modal-tag {
  background-color: white;
  color: var(--color-black);
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 0.2rem 1rem;
}

.modal-section--green .modal-tag {
  border-color: var(--color-green);
}

.modal-section--blue .modal-tag {
  border-color: var(--color-blue);
}

.modal-section--salmon .modal-tag {
  border-color: var(--color-salmon);
}

.modal-section--purple .modal-tag {
  border-color: var(--color-purple);
}

span.small {
  font-size: 0.7em;
  padding-left: 0.2rem;
  vertical-align: text-top;
}

.modal-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.modal-note p+p {
  margin-top: 0.5rem;
}

/* ========== 工事費 ========== */
#price {
  background-color: var(--color-l-blue);
}

.price-lead {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5rem;
}

.price-lead span.small {
  font-size: 0.8em;
}

.price-box {
  width: 50%;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 auto;
}

.price-box__item {
  width: 100%;
  background: white;
  text-align: center;
  border: 3px solid var(--color-blue);
  border-radius: 0.5rem;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
}

.price-box__plus {
  color: var(--color-blue);
  font-size: 1.5rem;
}

.price-box__label {
  font-size: 1.1rem;
  font-weight: bold;
}

.price-box__item:first-child p.price-box__label {
  color: var(--color-blue);
  font-size: 1.3rem;
}

.price-box__item>.flex {
  width: 100%;
  justify-content: space-between;
}

.price-box__amount {
  color: var(--color-blue);
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
}

.price-box__line {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-black);
}

.price-box__note {
  text-align: left;
  text-indent: -1.3em;
  padding-left: 1.3em;
}

.price-box__item:last-child {
  flex-direction: row;
  justify-content: space-between;
}

.price-box__item:last-child p.price-box__amount {
  width: auto;
  justify-content: flex-end;
  gap: 1rem;
}

.price-box__amount span {
  color: var(--color-black);
  font-size: 1.1rem;
}

.price-guarantee {
  flex-direction: column;
  gap: 1rem;
  margin: 3rem 0;
}

.price-guarantee p {
  color: var(--color-blue);
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

.price-guarantee p::before {
  height: 15px;
}

.price-guarantee p.price-unified {
  color: var(--color-black);
  font-size: 1rem;
}

.price-caution {
  background: white;
  padding: 1.5rem 2rem;
}

.price-caution__title {
  color: var(--color-red);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.price-caution__list {
  list-style: decimal;
  list-style-position: outside;
  padding-left: 1.5rem;
}

.price-caution__list li {
  text-indent: 0;
  padding-left: 0;
  font-size: 0.9rem;
}

.price-caution__list li::before {
  content: none;
}

.price-interior {
  margin-top: 5rem;
}

.price-interior__heading {
  text-align: center;
  color: var(--color-blue);
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.price-interior__lead {
  font-weight: bold;
  text-align: center;
}

.price-interior__cards {
  gap: 2rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.price-interior__card {
  flex: 1;
  background: white;
  border: 3px solid var(--color-blue);
  border-radius: 0.5rem;
  padding: 1rem;
}

.price-interior__images {
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.price-interior__images>.flex {
  width: 40%;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.price-interior__img-wrap {
  flex: 1;
  width: 60%;
  position: relative;
}

.price-interior__images>.flex .price-interior__img-wrap {
  width: 100%;
}

.price-interior__badge {
  width: 70px;
  color: white;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.2rem 0.5rem;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
}

.price-interior__badge--before {
  background: rgba(0, 0, 0, 0.7);
}

.price-interior__badge--after {
  background: rgba(21, 103, 191, 0.8);
}

.price-interior__arrow {
  width: 20%;
}

.price-interior__sub {
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}

.price-interior__sub>.flex {
  flex-direction: column;
  align-items: flex-start;
}

.price-interior__card-title {
  color: var(--color-blue);
  font-size: 1.2rem;
  font-weight: bold;
}

.price-interior__size {
  font-size: 0.9rem;
}

.price-interior__price {
  color: var(--color-red);
  font-size: 1.7rem;
  font-weight: bold;
}

.price-interior__sub:last-child {
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.price-interior__option {
  font-size: 1.1rem;
  font-weight: bold;
}

/* ========== 工事エリア ========== */
.area-note {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
}

.area-prefs {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 4rem;
}

.area-prefs>.flex {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.area-prefs>.flex .area-pref {
  width: 65%;
}

.area-pref+.area-pref {
  margin-top: 2rem;
}

.area-pref__head {
  border: 2px solid var(--color-blue);
  padding: 0.3rem 0.5rem;
}

.area-pref__head.flex {
  justify-content: flex-start;
  gap: 0.5rem;
}

p.area-pref__caution {
  color: var(--color-red);
  font-size: 0.8rem;
  font-weight: bold;
  text-indent: -1em;
  padding-left: 1em;
}

.area-pref__title {
  color: var(--color-blue);
  font-size: 1.1rem;
  font-weight: bold;
}

.area-pref__title::before {
  content: "\f111";
  font-family: var(--font-awesome);
  padding-right: 0.3rem;
}

.area-pref__body,
.area-city-group+.area-city-group {
  margin-top: 1rem;
}

.area-city-group__label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.area-city-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.3rem 0;
}

.area-prefs>.area-pref .area-city-list {
  grid-template-columns: repeat(10, 1fr);
}

.area-city-list li {
  text-indent: 0;
  padding: 0;
}

.area-city-list li::before {
  content: none;
}

.area-city-list li:last-child {
  white-space: pre;
}

.area-city-list li+li {
  margin: 0;
}

.area-map {
  width: 35%;
  position: relative;
}

.area-map__note {
  font-size: 0.8rem;
  position: absolute;
  top: -1.5rem;
  right: 0;
}

.area-caution-note {
  color: var(--color-red);
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin-top: 3rem;
}

/* ========== 交換の流れ ========== */
#flow {
  background: url(../img/reason_back.png) no-repeat center;
  background-size: cover;
}

.flow-steps {
  margin: 0 auto;
  flex-direction: column;
}

.flow-step {
  width: 100%;
  background: white;
  padding: 3rem 8rem;
  position: relative;
}

.flow-step__num {
  width: 150px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--color-blue);
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  position: absolute;
  top: 0;
  left: 0;
}

.flow-step__num p {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}

.flow-step__title {
  color: var(--color-blue);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.flow-step__body {
  width: 100%;
}

.flow-step .cta {
  margin-top: 1.5rem;
}

.flow-arrow {
  color: var(--color-blue);
  font-size: 3rem;
  padding: 0.3rem 0;
}

#flow>.inner>.cta {
  margin-top: 3rem;
}

/* ========== フッター ========== */
.footer {
  background-color: #1E1E1E;
  padding: 1rem 0;
  text-align: center;
}

.footer-nav {
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: white;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-nav__sep {
  color: white;
  font-size: 0.85rem;
}

.footer-copy {
  color: white;
  font-size: 0.75rem;
}

/* ========== ページトップボタン ========== */
.pagetop {
  width: 50px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--color-blue);
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

.pagetop:hover {
  opacity: 0.8;
}





@media (max-width: 1500px) {

  /* 共通 */
  .inner {
    width: 90%;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  /* ヘッダー */
  .logo-h {
    gap: 1rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* ファーストビュー */
  .hero-title {
    width: 36%;
    left: 3.5rem;
  }

  .hero-discount-tags {
    top: 2rem;
  }

  .discount-tag {
    width: 250px;
  }

  .discount-tag:last-child {
    margin-top: 0;
  }

  .discount-brand {
    font-size: 1.2rem;
  }

  .discount-rate {
    font-size: 1.6rem;
  }

  .hero-badge {
    width: 280px;
  }

  /* お悩み */
  .trouble-thinking {
    width: 60%;
  }

  /* 修理と交換 */
  .repair-couple {
    right: 4rem;
  }

  /* メリット */
  .merit-item__graph .img {
    height: 260px;
  }

  /* 寿命 */
  .lifetime-summary {
    height: 460px;
    padding: 3rem 2.5rem;
  }

  .lifetime-summary__main {
    font-size: 1.8rem;
  }

  /* 選ばれる理由 */
  .reason-card {
    padding: 2rem 1.5rem;
  }

  /* おすすめトイレ */
  .recommend-card__campaign {
    align-items: center;
    margin-top: 0.5rem;
  }

  .recommend-card__campaign span.price.red {
    line-height: 1;
  }

  /* 工事費 */
  .price-box {
    width: 65%;
  }
}





@media (max-width: 1200px) {

  /* 共通 */
  :root {
    font-size: 16px;
  }

  .br-pc,
  .tab2,
  .br-sp {
    display: none;
  }

  .tab {
    display: block;
  }

  /* ヘッダー */
  .header-top {
    height: 60px;
  }

  .cta-button {
    width: 200px;
    height: 50px;
  }

  .cta i {
    font-size: 1.2rem;
  }

  .cta-main-text {
    font-size: 1.2rem;
  }

  .cta-contact .cta-main-text {
    font-size: 1.1rem;
  }

  /* セクション共通 */
  .section-title h2 {
    font-size: 1.5rem;
  }

  /* ファーストビュー */
  .hero-title {
    width: 38%;
    height: 100%;
    top: 0;
    left: 3rem;
    gap: 0.7rem;
  }

  .hero-discount-tags {
    width: 30%;
    left: 60%;
  }

  .discount-tag {
    width: 210px;
  }

  .discount-brand {
    font-size: 1.1rem;
  }

  .discount-rate {
    font-size: 1.4rem;
  }

  .hero-badge {
    width: 220px;
  }

  .badge-text-top {
    font-size: 1.5rem;
  }

  .badge-text-main {
    font-size: 2rem;
  }

  /* お悩み */
  .trouble-card-bg {
    width: 40px;
  }

  .trouble-balloon p {
    font-size: 1.2rem;
  }

  /* 修理と交換 */
  .repair-inner {
    gap: 1.5rem;
  }

  .repair-inner-left {
    width: 38%;
  }

  .repair-card {
    width: 100%;
  }

  /* メリット */
  .merit-item {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .merit-item-left,
  .merit-item-right {
    width: 100%;
  }

  .merit-item__graph {
    align-items: center;
    gap: 1.5rem;
  }

  .merit-item__graph .img {
    height: 350px;
  }

  .merit-item__note.tab.tab2.br-sp {
    margin-top: 2rem;
  }

  .merit-item.elect .merit-item__graph .img {
    width: 70%;
  }

  .merit-item.elect .merit-item__graph p.merit-item__note {
    width: 30%;
  }

  .merit-item__note {
    font-size: 0.8rem;
  }

  .merit-toilet {
    width: 35%;
  }

  /* 寿命 */
  .lifetime-items {
    gap: 1.5rem;
  }

  .lifetime-item__img {
    width: 40%;
  }

  .lifetime-item__years {
    font-size: 1.7rem;
  }

  .lifetime-bottom {
    gap: 1rem;
  }

  .lifetime-sign {
    padding-right: 4rem;
  }

  .lifetime-summary {
    height: 420px;
    padding: 2.5rem 2rem;
  }

  .lifetime-summary__lead {
    font-size: 1.2rem;
  }

  .lifetime-summary__main {
    font-size: 1.6rem;
  }

  /* 選ばれる理由 */
  .reason-cards {
    gap: 1rem;
  }

  .reason-card {
    padding: 1.5rem 1rem;
  }

  .reason-card__num {
    padding: 0.5rem 1rem;
  }

  /* おすすめトイレ */
  .recommend-card__body {
    padding: 1rem;
  }

  .recommend-card__name {
    font-size: 1.2rem;
  }

  .recommend-card__model,
  .recommend-card__maker-price,
  .recommend-card__fee {
    font-size: 1rem;
  }

  .recommend-card__price,
  .recommend-card__total-price {
    font-size: 1.5rem;
  }

  .recommend-card__off {
    width: 100px;
  }

  /* 工事費 */
  .price-box {
    width: 80%;
  }

  .price-interior__cards {
    gap: 1rem;
  }

  .price-interior__price {
    font-size: 1.5rem;
  }

  /* 工事エリア */
  .area-prefs>.flex .area-pref {
    width: 60%;
  }

  .area-map {
    width: 40%;
  }

  .area-map__note {
    font-size: 0.9rem;
  }

  .area-city-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .area-prefs>.area-pref .area-city-list {
    grid-template-columns: repeat(8, 1fr);
  }

  /* 交換の流れ */
  .flow-step {
    padding: 2.5rem 7rem;
  }

  .flow-step__num {
    width: 120px;
  }
}





@media (max-width: 1024px) {

  /* 共通 */
  :root {
    font-size: 15px;
  }

  .br-pc,
  .tab,
  .br-sp {
    display: none;
  }

  .tab2 {
    display: block;
  }

  /* ヘッダー */
  .header-top {
    height: 55px;
  }

  .cta-button {
    width: 180px;
    height: 45px;
  }

  .cta-main-text {
    font-size: 1.1rem;
  }

  .cta-contact .cta-main-text {
    font-size: 1rem;
  }

  .cta-sub-text {
    font-size: 0.7rem;
  }

  /* ナビゲーション */
  .header-nav {
    height: 35px;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* セクション共通 */
  section .inner {
    padding: 3rem 0;
  }

  /* ファーストビュー */
  .discount-tag {
    width: 200px;
  }

  .hero-badge {
    width: 200px;
  }

  /* お悩み */
  .trouble-cards {
    gap: 1rem;
  }

  .trouble-card {
    width: 100%;
  }

  .trouble-couple {
    width: 33%;
    margin-top: 7rem;
  }

  /* 修理と交換 */
  .repair-card {
    padding: 1.5rem;
  }

  .repair-budget {
    margin-top: 2rem;
  }

  .repair-budget::before {
    height: 40px;
  }

  /* メリット */
  .merit-cards {
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .merit-group {
    gap: 1.5rem;
  }

  .merit-item__graph .img {
    height: 300px;
  }

  .merit-item.elect .merit-item__graph .img {
    width: 65%;
  }

  /* 寿命 */
  .lifetime-sign__icon {
    width: 35px;
  }

  .lifetime-summary {
    height: 380px;
    padding: 2rem;
  }

  /* 選ばれる理由 */
  .reason-cards {
    grid-template-columns: 1fr 1fr;
  }

  .reason-card__num {
    width: 25%;
    padding: 1rem 1.5rem;
  }

  section:not(#hero) .cta-button {
    width: 280px;
    height: 65px;
  }

  /* おすすめトイレ */
  .recommend-note {
    margin-bottom: 3rem;
  }

  .recommend-cards {
    gap: 1rem;
  }

  /* 工事エリア */
  .area-prefs {
    margin-top: 3rem;
  }
}





@media (max-width: 767px) {

  /* 共通 */
  :root {
    font-size: 14px;
  }

  .br-pc,
  .tab,
  .tab2 {
    display: none;
  }

  .br-sp {
    display: block;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  /* ========== ヘッダー ========== */
  .header-top {
    height: 50px;
    padding: 0.4rem 0;
  }

  .cta-button-box {
    gap: 0.5rem;
  }

  .cta-button {
    width: 80px;
    height: 35px;
    padding: 0.3rem 0.5rem;
    border-radius: 0.2rem;
  }

  header .cta-main-text,
  header .cta-sub-text {
    display: none;
  }

  .cta i {
    font-size: 1.6rem;
  }

  .header h1 {
    width: 90%;
    padding-bottom: 0.3rem;
    margin: 0 auto;
  }

  /* ナビゲーション：スクロール横並び */
  .header-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav .inner {
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0 1rem;
  }

  .nav-link {
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 0 0.7rem;
  }

  /* ========== ファーストビュー ========== */
  .hero-title {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-title .img:first-child,
  .hero-title .img:nth-child(2) {
    width: 70%;
    margin-right: auto;
  }

  .hero-title .img:nth-child(4) {
    display: none;
  }

  .hero-title .cta {
    width: 65%;
    margin-right: auto;
  }

  .cta p {
    font-size: 1.2rem;
  }

  .hero-title .cta p {
    font-size: 1rem;
  }

  .hero-title .cta-button-box {
    flex-direction: column;
  }

  .hero-title .cta .cta-button-box .cta-button {
    height: 45px;
  }

  .hero-title .cta i {
    font-size: 1.3rem;
  }

  .cta-main-text {
    font-size: 1.3rem;
  }

  .cta-contact .cta-main-text {
    font-size: 1.2rem;
  }

  .cta-sub-text {
    font-size: 0.9rem;
  }

  .hero-discount-tags {
    width: 30%;
    top: 1rem;
    left: auto;
    right: 0.5rem;
    transform: none;
  }

  .discount-tag {
    width: 120px;
    margin-left: auto;
  }

  .discount-tag:last-child {
    margin: 0.5rem auto 0 0;
  }

  .discount-brand {
    font-size: 1rem;
    -webkit-text-stroke-width: 3px;
  }

  .discount-rate {
    font-size: 1.2rem;
    line-height: 1.1;
    -webkit-text-stroke-width: 3px;
    margin-top: 0.3rem;
  }

  .hero-badge {
    width: 160px;
  }

  .badge-text {
    top: 19%;
    left: 23%;
  }

  .badge-text-top {
    font-size: 1.4rem;
  }

  .badge-text-main {
    font-size: 1.8rem;
  }

  /* ========== お悩み ========== */
  .trouble-cards {
    flex-direction: column;
  }

  .trouble-card {
    width: 100%;
  }

  .trouble-thinking {
    width: 100%;
    gap: 1rem;
  }

  .trouble-balloon p {
    font-size: 1rem;
  }

  .trouble-couple {
    margin-top: 5rem;
  }

  /* ========== 修理と交換 ========== */
  .repair-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .repair-inner-left {
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
  }

  .repair-card {
    width: 100%;
  }

  .repair-box {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .repair-box:last-child {
    margin-top: 2rem;
  }

  .repair-box .repair-graph,
  .repair-card--blue .repair-box:last-child .repair-graph {
    width: 100%;
  }

  .repair-note {
    max-width: 100%;
  }

  .repair-interior__item+.repair-interior__item {
    margin-top: 1rem;
  }

  .repair-interior__item {
    gap: 0;
  }

  .repair-comment.flex.br-pc.tab.tab2 {
    display: none !important;
  }

  .repair-comment.flex.br-sp {
    display: flex !important;
  }

  .repair-budget {
    min-width: 0;
    width: 100%;
    margin-top: 1rem;
  }

  .repair-budget p {
    font-size: 1.2rem;
  }

  .repair-conclusion {
    margin: 3.5rem 0 7rem;
  }

  .repair-conclusion>.flex {
    justify-content: space-between;
    gap: 0;
  }

  .repair-conclusion__main {
    font-size: 1.5rem;
  }

  .repair-couple {
    width: 30%;
    right: 1rem;
  }

  /* ========== メリット ========== */
  .merit-lead {
    font-size: 1.2rem;
  }

  .merit-cards {
    grid-template-columns: 1fr;
  }

  .merit-cards>.merit-card,
  .merit-group,
  .merit-group:last-child {
    width: 100%;
    grid-area: auto;
  }

  .merit-card {
    width: 100%;
    padding: 2rem 1rem;
  }

  .merit-card__icon {
    width: 50px;
  }

  .merit-sub {
    max-width: 100%;
    width: 100%;
  }

  .merit-item {
    gap: 1rem;
  }

  .merit-item__graph,
  .merit-item.elect .merit-item__graph {
    flex-direction: column;
    gap: 1rem;
  }

  .merit-item__graph .img,
  .merit-item.elect .merit-item__graph .img {
    width: 100%;
    height: auto;
  }

  .merit-item__graph .img img {
    width: 100%;
    height: auto;
  }

  .merit-item__note.tab.tab2.br-sp {
    margin-top: 1rem;
  }

  .merit-item.elect .merit-item__graph p.merit-item__note {
    width: 100%;
  }

  .merit-toilet.img.br-pc.tab.tab2 {
    display: none !important;
  }

  .merit-toilet.img.br-sp {
    display: flex !important;
  }

  /* ========== 寿命 ========== */
  .lifetime-items {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .lifetime-item {
    min-height: 0;
    flex-direction: column;
  }

  .lifetime-item__img {
    width: 100%;
    height: 200px;
  }

  .lifetime-item:last-child .lifetime-item__img {
    align-items: flex-start;
  }

  .lifetime-item__img img {
    width: 100%;
    height: auto;
  }

  .lifetime-item__body {
    width: 100%;
    height: auto;
    padding: 1.5rem;
  }

  .lifetime-bottom {
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
  }

  .lifetime-sign {
    width: 100%;
    background: linear-gradient(0deg, #E9FAFF 0%, #ffffff 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    padding: 2rem 1.5rem 7rem;
  }

  .lifetime-summary {
    width: 100%;
    height: 320px;
    padding: 1.5rem;
  }

  span.underline {
    -webkit-text-stroke-width: 3px;
  }

  .underline::before {
    height: 13px;
  }

  /* ========== 選ばれる理由 ========== */
  .reason-feature-title {
    font-size: 1.2rem;
  }

  .reason-video {
    width: 100%;
  }

  .reason-cards {
    grid-template-columns: 1fr;
    margin: 3rem 0;
  }

  .reason-card__num {
    padding: 0.8rem 1rem;
  }

  section:not(#hero) .cta-button-box {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  section:not(#hero) .cta-button {
    width: 100%;
    max-width: 300px;
    height: 60px;
  }

  /* ========== おすすめトイレ ========== */
  .recommend-group__title {
    font-size: 1.3rem;
    border-width: 3px;
  }

  .recommend-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .recommend-card {
    width: 100%;
  }

  .recommend-card__name {
    font-size: 1.3rem;
  }

  .recommend-card__btns {
    gap: 0.8rem;
  }

  .recommend-btn {
    font-size: 1.1rem;
  }

  /* モーダル */
  .overlay-close {
    top: 0.2rem;
  }

  .modal__body_inner {
    flex-direction: column;
    gap: 2rem;
  }

  .modal__item {
    width: 100%;
  }

  h2.modal__title {
    font-size: 1.2rem;
  }

  .modal-section {
    flex-direction: column;
    gap: 0.5rem;
  }

  .recommend-other {
    margin: 3rem 0;
  }

  /* ========== 工事費 ========== */
  .price-box {
    width: 100%;
  }

  .price-box__item:last-child {
    flex-direction: column;
  }

  .price-box__amount {
    font-size: 1.6rem;
  }

  .price-guarantee p span.underline {
    max-width: 100%;
    width: max-content;
    display: block;
    -webkit-text-stroke: 0;
    margin: 0 auto;
  }

  .price-guarantee p span.underline::before {
    height: 10px;
  }

  .price-caution {
    padding: 1.5rem;
  }

  .price-interior {
    margin-top: 4rem;
  }

  .price-interior__heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .price-interior__cards {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .price-interior__badge {
    font-size: 0.9rem;
  }

  .price-interior__arrow {
    width: 25%;
  }

  /* ========== 工事エリア ========== */
  .area-prefs {
    margin-top: 4rem;
  }

  .area-prefs>.flex {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .area-prefs>.flex .area-pref {
    width: 100%;
  }

  .area-map {
    width: 100%;
  }

  .area-pref__head.flex {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
  }

  p.area-pref__caution {
    font-size: 0.9rem;
  }

  .area-city-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .area-prefs>.area-pref .area-city-list {
    grid-template-columns: repeat(4, 1fr);
  }

  /* ========== 交換の流れ ========== */
  .flow-step {
    padding: 3rem 4rem;
  }

  .flow-step__num {
    width: 90px;
  }

  .flow-step__num p {
    top: 0.3rem;
    left: 1rem;
  }

  /* ========== フッター ========== */
  .footer-nav {
    width: 80%;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 auto 1rem;
  }

  .footer-nav a,
  .footer-nav__sep {
    font-size: 0.8rem;
  }

  .footer-copy {
    font-size: 0.7rem;
  }

  .pagetop {
    bottom: 0.5rem;
    right: 0.5rem;
  }
}





@media (max-width: 400px) {

  /* ========== ヘッダー ========== */
  .cta-button {
    width: 70px;
  }

  /* ========== ファーストビュー ========== */
  .hero-title .img:first-child,
  .hero-title .img:nth-child(2) {
    width: 67%;
  }

  .hero-discount-tags {
    width: 32%;
  }

  .cta-main-text {
    font-size: 1.2rem;
  }

  /* ========== お悩み ========== */
  .trouble-balloon p {
    font-size: 0.9rem;
  }

  .repair-conclusion {
    margin-bottom: 6rem;
  }

  /* ========== フッター ========== */
  .footer-copy {
    font-size: 0.6rem;
  }
}

/* ========== クーポン発行 ========== */
#coupon {
  padding: 2em 15px;
  background: #1567bf;
  color: #fff;
}

.coupon-title {
  font-size: 1.35em;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
  word-wrap: break-word;
}

.coupon-title p + p {
  margin-top: 5px;
}

.d-in-block {
  display: inline-block;
}

.coupon-d-flex {
  font-size: .8em;
  display: flex;
  gap: 1em;
  justify-content: center;
  margin: 0 auto 1em;
  align-items: center;
}

.coupon-title__sub {
  font-size: .75em;
  width: fit-content;
  border-radius: .25em;
  padding: .25em 1em;
  background: #fff;
  color: #1567bf;
}

.coupon-title .period {
  display: inline-block;
  padding-bottom: .25em;
  position: relative;
  background-image: repeating-linear-gradient(-45deg,
    #ffd112 0, #ffd112 3px,
      transparent 3px, transparent 6px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 15%;
}

.coupon-title__em {
  font-size: 1.2em;
  letter-spacing: .04em;
}

.coupon-title__em .em {
  color: #ffd112;
  font-size: 1.15em;
}

.coupon-subtitle {
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  word-wrap: break-word;
  margin: 10px 0 0;
}
.coupon-code-container {
  text-align: center;
  margin: 20px auto 0;
  /* background: #d8eff8; */
  padding: 5px 15px 0;
  font-weight: bold;
}
.coupon-code {
  margin: 15px auto;
  width: 200px;
  border: 2px dashed #2146a3;
  background: #fff;
  color: #000;
  padding: 15px;
  font-size: 130%;
  font-weight: normal;
}

@media (max-width: 499px) {
  .coupon-d-flex {
    flex-direction: column;
    gap: .3em;
    font-size: 1em;
  }

  .coupon-title__sub {
    font-size: .8em;
  }

  .coupon-title__sub + p {
    margin-block: 1em 0;
  }
}
