:root {
    --color-main: #253177;
    --red: #FF3333;
    --mail: #FF4D2D;
    --line: #00B900;
    --yellow: #FFE138;
    --bg: #E9F1F6;
    --check-pattern: url(https://正直屋.com/fc-site/waterheater/img//cloth_bg.svg);
    --check-pattern-size: 1.25em;
}

a {
    text-decoration: none;
}

img {
    pointer-events: none;
}

.br-sp {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body * {
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-variation-settings:
        "wdth" 100;
    background: #287BDA;
    background: linear-gradient(180deg, rgba(40, 123, 218, 1) 35%, rgba(25, 46, 119, 1) 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100vh;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

header {
    background: #fff;
    padding: 10px 0;
    width: calc(100% - 2em);
    max-width: 73em;
    position: fixed;
    left: 50%;
    top: 0.5em;
    transform: translateX(-50%);
    border-radius: 10em;
    height: 5em;
    padding: 0.5em 3em;
    box-shadow: 0 0.3em 0 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

.header-L {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.header-logo {
    height: 100%;
}

.header-logo img {
    height: 100%;
    width: 100%;
}

#fixed-contact {
    display: none;
}

.shop-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2em;
    color: var(--color-main);
    font-size: 1em;
}

.shop-name__main {
    color: white;
    background-color: var(--color-main);
    border-radius: 10em;
    padding: 0.2em 0.75em;
    line-height: 1;
    font-weight: bold;
    font-size: 1.3em;
}

.shop-name__sub {
    font-weight: bold;
    font-size: 1.1em;
}

.header-line .header-R {
    font-size: 0.9em;
}

.header-R {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    line-height: 1;
}

.header-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 0.3em;
}

.header-tel .tell-num {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-tel .tell-num img {
    height: 2.5em;
    width: auto;
}

.header-tel .tell-num span {
    font-weight: bold;
    color: var(--red);
    font-size: 2.5em;
}

.header-tel_text {
    font-weight: bold;
    font-size: 1em;
}

.header-mail-btn,
.header-line-btn {
    height: 3em;
    transform: translateY(-0.15em);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5em;
    color: white;
    font-weight: bold;
    border-radius: 0.75em;
    transition: all 0.15s;
    gap: 0.3em;
}

.header-line .header-mail-btn,
.header-line .header-line-btn {
    height: 4em;
}

.header-mail-btn {
    background-color: var(--mail);
    box-shadow: 0 0.3em 0 0 rgb(190, 51, 0);
}

.header-line-btn {
    background-color: var(--line);
    box-shadow: 0 0.3em 0 0 #007400;
}

.header-mail-btn img,
.header-line-btn img {
    height: 2.5em;
}

.header-mail-btn span,
.header-line-btn span {
    font-size: 1.5em;
}

.header-mail-btn span span,
.header-line-btn span span {
    font-size: 0.8em;
}

.header-mail-btn:hover {
    box-shadow: 0 0.1em 0 0 rgb(190, 51, 0);
    transform: translateY(0);
}

.header-line-btn:hover {
    box-shadow: 0 0.1em 0 0 #007400;
    transform: translateY(0);
}


/* ====== ナビゲーション全体 ====== */
nav {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    width: 4.5em;
    height: 4.5em;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 0 0.3em rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.6s;
    z-index: 1000;
    padding: 0;
    cursor: pointer;
}

/* 展開時 */
nav.active {
    width: 15em;
    height: 26em;
    max-height: calc(100vh - 3em);
    max-width: calc(100% - 1em);
    border-radius: 1em;
    padding: 1.5em 1.5em 5em;
    cursor: auto;
}

/* ====== ハンバーガーボタン ====== */

.menu-btn {
    position: absolute;
    bottom: 1em;
    right: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

nav.active .menu-btn {
    bottom: 1em;
    right: 1em;
}

.hamburger {
    position: relative;
    bottom: 0;
    right: 0;
    width: 2.5em;
    height: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    /* ← ボタンを一番上 */
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.hamburger span {
    position: absolute;
    display: block;
    width: 100%;
    height: 0.3em;
    background: var(--color-main);
    border-radius: 2px;
    transition: all 0.4s ease;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav .hamburger span:nth-child(1) {
    top: 0;
}

nav .hamburger span:nth-child(2) {
    top: 50%;
}

nav .hamburger span:nth-child(3) {
    top: 100%;
}

/* ボタンがアクティブのとき（×マーク） */
nav.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(35deg);

}

nav.active .hamburger span:nth-child(2) {
    opacity: 0;
}

nav.active .hamburger span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);

}

.menu-btn_text {
    width: 100%;
    height: 1em;
    text-align: center;
    white-space: nowrap;
    position: relative;
}

.menu-btn_text span {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 0.8em;
    color: var(--color-main);
    transition: 0.2s all;
}

.menu-btn_text-open {
    opacity: 1;
}

.menu-btn_text-close {
    opacity: 0;
}

nav.active .menu-btn_text-open {
    opacity: 0;
}

nav.active .menu-btn_text-close {
    opacity: 1;
}

/* ====== メニュー一覧 ====== */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s;
    transition-delay: 0s;
    pointer-events: none;
    opacity: 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.5em;
}

nav.active ul {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.3s;
}

nav li {
    white-space: nowrap;
}

nav a {
    color: var(--color-main);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.3em;
    padding: 0.3em;
    position: relative;

}

nav a:hover {
    color: #ffffff;
    background-color: var(--color-main);
    border-radius: 0.3em;
}



main {
    background-color: var(--bg);
    width: 100%;
    max-width: 75em;
    margin: 0 auto;
}

#top {
    width: 100%;
    height: 43.8em;
    position: relative;
    background-color: var(--color-main);
}

#top .mainvisual {
    width: 100%;
    object-fit: cover;
    pointer-events: none;
}

h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    left: 3em;
    top: 45%;
    transform: translateY(-50%);
    margin: 0;
    color: var(--color-main);
    font-size: 2em;
    font-weight: bold;
}

h2,
h3,
h4 {
    font-weight: bold;
}

.h1-top {
    font-size: 1.7em;
    font-weight: 900;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: clipPath 0.7s 0.1s 1 forwards;
}

.h1-bottom {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: clipPath 0.7s 0.7s 1 forwards;
    margin-top: 0.3em;
}

.h1-main {
    font-size: 1.7em;
    font-weight: 900;
    color: var(--red);
    position: relative;
    z-index: 1;
    background-color: var(--yellow);
    padding: 0 1em;
    margin-left: -1em;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: clipPath-h1 0.7s 0.4s 1 forwards;
}

@keyframes clipPath-h1 {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(100% 0, 7% 0, 0 100%, 93% 100%);
    }
}

@keyframes clipPath {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%);
    }
}

.top-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    position: absolute;
    left: 5em;
    top: 70%;
    z-index: 10;
}

.top-points_item {
    height: 9em;
    width: 9em;
    border-radius: 10em;
    background-color: var(--red);
    border: 0.3em solid var(--yellow);
    box-shadow: 0 0.3em 0 0 rgba(0, 0, 0, 0.2), inset 0 0.5em 0 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    color: white;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.top-points_item span {
    font-size: 1.5em;
}

.top-points_item:nth-child(1) .top-points_item_bigtext {
    font-size: 3em;
}

.top-points_item:nth-child(2) .top-points_item_bigtext {
    font-size: 2em;
}

.top-points_item:nth-child(3) .top-points_item_bigtext {
    font-size: 4em;
    letter-spacing: -0.1em;
    margin-left: -0.2em;
    margin-bottom: -0.1em;
    line-height: 0.7;
}

.top-product {
    position: absolute;
    bottom: 8%;
    right: 10%;
    width: 28em;
    height: 24em;
    object-fit: contain;
    z-index: 5;
}

#products {
    background: var(--check-pattern);
    background-size: var(--check-pattern-size);
    width: 100%;
    height: auto;
}

.products-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
}

.products-title h2 {
    color: white;
    font-size: 3em;
    margin: 0;
    font-weight: 900;
}

.products-title h2 span {
    color: var(--yellow);
    font-size: 1.3em;
    text-shadow: 0.05em 0.05em rgba(0, 0, 0, 0.3);
}


.product-wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4em;
    gap: 3em;
}

.splide__slide {
    width: calc((100% / 3) - 2em);
    /* clip-path の初期値は JS で設定するので CSS では広げておく */
    opacity: 0;
    transition: 0.2s all;
}

.splide__slide.show {
    opacity: 1;
    animation: card-show 1s 0s 1 forwards;
}

@keyframes card-show {
    0% {
        -webkit-clip-path: polygon(0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0);
        -webkit-transform: translateX(-30px) scale(0.86) skew(8deg);
        transform: translateX(-30px) scale(0.86) skew(8deg);
    }

    100% {
        webkit-clip-path: polygon(0 0, 200% 0, 0 200%);
        clip-path: polygon(0 0, 210% 0, 0 210%);
        -webkit-transform: translateX(0) scale(1) skew(0);
        transform: translateX(0) scale(1) skew(0);
    }
}


.product-item {
    display: flex;
    align-items: center;
    justify-content: stretch;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 0.15em solid var(--color-main);
    box-shadow: 0.25em 0.25em 0 0 var(--color-main);
    font-weight: bold;
    color: var(--color-main);

}

.logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 1em;
    width: 100%;
}

.logos img {
    max-width: calc(50% - 1em);
    width: auto;
    height: 2.5em;
    object-fit: contain;
}

.logos span {
    font-size: 0.8em;
}


.tags {
    width: 100%;
    padding: 0.5em;
    background-color: var(--color-main);
    display: flex;
    justify-content: center;
}

.tags-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.tags span {
    background-color: white;
    line-height: 1;
    padding: 0.3em;
    border-radius: 0.3em;
    white-space: nowrap;
    display: inline-block;
}


.product-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    object-fit: cover;
}

.product-img img {
    width: calc(100% - 3em);
    height: calc(100% - 2em);
    object-fit: contain;
    aspect-ratio: 5 / 4;
}

.product-img .warranty-medal {
    position: absolute;
    bottom: .5em;
    right: .5em;
    height: 6em;
    width: 6em;
}

.product-code {
    width: 100%;
    background-color: var(--color-main);
    color: white;
    text-align: center;
    padding: 0 0.5em;
    font-size: 1.5em;
}

.price-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.5em;
    height: 100%;
    width: 100%;
    gap: 0.5em;
}

.main-unit-price {
    border: 0.15em solid var(--color-main);
    width: 100%;
}

.main-unit-price_title {
    background-color: var(--color-main);
    color: white;
    width: 100%;
    text-align: center;
    padding: 0.2em;
}

.comparison-price {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.list-syoujiki {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.list-price {
    background-color: #E0E0E0;
}

.list-price,
.syoujikiya-price {
    padding: 0.2em 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
}

.list-price span span,
.syoujikiya-price span span {
    font-size: 1.2em;
}

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

.percent-off {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    width: 4em;
    background-color: var(--red);
    font-size: 1.2em;
    line-height: 1;
}

.percent span:nth-child(1) {
    font-size: 1.5em;
}

.percent span:nth-child(2) {
    font-size: 1.2em;
}

.remocon-cost,
.construction-cost {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 0.15em solid var(--color-main);
    width: 100%;
    height: 100%;
}

.remocon-cost__title,
.remocon-cost__price,
.construction-cost__title,
.construction-cost__price {
    text-align: center;
    padding: 0 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remocon-cost__title,
.construction-cost__title {
    background-color: var(--color-main);
    color: white;
    width: 50%;
    padding: 0.2em;
}

.remocon-cost__price,
.construction-cost__price {
    width: 50%;
}

.remocon-cost__price span,
.construction-cost__price span {
    font-size: 1.2em;
}


.set-price {
    width: 100%;
}

.set-price__title {
    background-color: var(--red);
    color: white;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 10em;
    padding: 0.1em 0.5em;
    font-size: 1.1em;
    white-space: nowrap;
}

.set-price__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    line-height: 1;
    font-weight: 900;
    background-image: url(https://正直屋.com/fc-site/waterheater/img//set-price__marker.svg);
    background-size: 100% 60%;
    background-position: center bottom;
    background-repeat: no-repeat;
    text-shadow: 0.2em 0.2em 0 white;
}

.set-price__value {
    font-size: 3.5em;
    line-height: 1.3;
}

.set-price__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1em;

}

.set-price__tax {
    background-color: var(--red);
    width: 100%;
    color: white;
    padding: 0.2em;
    border-radius: 0.2em;
    text-shadow: none;
    box-shadow: 0.2em 0.2em 0 white;
    font-weight: bold;
}

.set-price__yen {
    font-size: 2em;
}

.set-price__tilde {
    font-size: 3em;
}

#maker {
    background-color: white;
}

#maker h2 {
    background-color: #263176;
    color: white;
    text-align: center;
    font-size: 2.5em;
    padding: 0.2em 0.5em;
    margin: 0;
}

#maker .maker-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    row-gap: 0.5em;
    padding: 2em 1em;
}

#maker .maker-wrap img {
    height: 3.5em;
    object-fit: contain;
}

#contact {
    background-color: #FFF2E4;
    border-top: 0.15em solid var(--color-main);
    border-bottom: 0.15em solid var(--color-main);
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.contact__img {
    position: relative;
    width: 40%;
    height: auto;
    pointer-events: none;
}

.contact__staff,
.contact__hukidasi {
    position: absolute;
}

.contact__staff {
    width: auto;
    height: 80%;
    object-fit: contain;
    bottom: 0;
    left: 3%;
    z-index: 2;
}

.contact__hukidasi {
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    z-index: 1;
    width: 13em;
}

.contact-line .contact__staff {
    width: auto;
    height: 80%;
    object-fit: contain;
    bottom: 0;
    left: -3%;
}

.contact-line .contact__hukidasi {
    top: 40%;
    right: 3%;
    transform: translateY(-50%);
    height: 70%;
}

.contact__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding: 3em 1em;
    width: 100%;
    max-width: 35em;
}

.contact__h2 {
    color: var(--red);
    font-weight: 900;
    font-size: 4em;
    background-image: url(https://正直屋.com/fc-site/waterheater/img//contact__marker.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    padding: 0 0.5em;
    line-height: 1.2;
    margin: 0 auto;
}

.contact__comment {
    color: var(--color-main);
    font-size: 1.2em;
    font-weight: bold;
}

.contact__points {
    display: flex;
    gap: 0.5em;
}

.contact__points span {
    background-color: var(--color-main);
    color: white;
    padding: 0.2em 0.5em;
}

.contact__tel-btn,
.contact__mail-btn,
.contact__line-btn {
    height: 5em;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    white-space: nowrap;
    color: white;
    padding: 0em 1.5em;
    font-weight: bold;
    gap: 0.5em;
}

.contact__tel-btn {
    background-color: var(--red);
    border-radius: 1em;
    justify-content: center;
}

.contact__tel-btn .contact__arrow {
    display: none;
}

.contact__arrow {
    height: 2em;
}

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

.contact__tel-btn_icon {
    height: 3.5em;
    width: 5em;
}

.contact__tel-btn_texts span:nth-child(1) {
    display: none;
}

.contact__tel-btn_texts {
    width: auto;
}

.contact__tel-btn span {
    font-size: 3.3em;
}

.contact__mail-btn {
    background-color: var(--mail);
    border-radius: 10em;
    box-shadow: 0 0.4em 0 rgb(192, 51, 0);
    transition: 0.2s all;
}

.contact__mail-btn span {
    font-size: 2.5em;
}

.contact__mail-btn:hover {
    box-shadow: 0 0em 0 rgb(192, 51, 0);
    transform: translateY(0.4em);
}

.contact__line-btn {
    background-color: var(--line);
    border-radius: 10em;
    box-shadow: 0 0.4em 0 #007400;
    transition: 0.2s all;
}

.contact__line-btn span {
    font-size: 2.5em;
}

.contact__line-btn:hover {
    box-shadow: 0 0em 0 #007400;
    transform: translateY(0.4em);
}

.contact__line-btn img:first-child,
.contact__mail-btn img:first-child {
    height: 90%;
}

#secret {
    background-color: #7CABD7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3em 1em 5em;
}

.secret__topimg {
    position: relative;
    width: 100%;
    height: 18em;
}

.secret__topimg img {
    position: absolute;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 1;
}

.secret__topimg .secret__top {
    left: 63%;
    transform: translateX(-100%) scale(0);
    transition: 0.5s all;
    width: 100%;
}

.secret__topimg .secret__top.show {
    animation: secret__top 0.6s 0.2s forwards;
}

@keyframes secret__top {
    0% {
        transform: translateX(-80%) scale(0);
    }

    50% {
        transform: translateX(-40%) scale(1.2);
    }

    70% {
        transform: translateX(-55%) scale(0.9);
    }

    85% {
        transform: translateX(-45%) scale(1.1);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

.secret__topimg .secret__top-customer {
    bottom: -1px;
    left: 26.5%;
    filter: drop-shadow(1em 0.5em 0 var(--color-main));
    width: 100%;
    object-fit: contain;
}

#secret h2 {
    background-color: var(--red);
    color: white;
    font-size: 8em;
    margin: 0 auto;
    padding: 0.1em 0.5em;
    line-height: 1;
    position: relative;
    z-index: 2;
    font-weight: 900;
}

#secret h2 span:nth-child(1) {
    font-size: 0.5em;
}

#secret h2 span:nth-child(2) {
    font-size: 0.7em;
}

.secret__text01,
.secret__text02 {
    color: white;
    text-align: center;
    margin: 0;
    font-weight: bold;
}

.secret__text01 {
    font-size: 3em;
    margin-top: 0.5em;
}

.secret__text02 {
    font-size: 3.5em;
    margin-bottom: 0.7em;
    background: url(https://正直屋.com/fc-site/waterheater/img//secret__marker.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    padding-bottom: 0.3em;
}

.secret__comparison {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3em;
}

.secret__comparison img {
    width: 25em;
}

#safety-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--check-pattern);
    background-size: var(--check-pattern-size);
    padding: 5em 0;
    gap: 5em;
}

#safety-trust h2 {
    text-align: center;
    color: var(--red);
    font-size: 7em;
    line-height: 1.2;
    font-weight: 900;
    background-image: url(https://正直屋.com/fc-site/waterheater/img//safety-trust__h2-marker.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    margin: 0 auto;
    display: inline-block;
    padding: 0 0.5em;
    position: relative;
    white-space: nowrap;
}

.safety-trust__h2_syoujiki {
    color: var(--color-main);
    font-size: 0.7em;
}

.safety-trust__h2_to {
    font-size: 0.7em;
}

#safety-trust h2::before,
#safety-trust h2::after {
    content: "";
    width: 1.2em;
    height: 1.2em;
    position: absolute;
}

#safety-trust h2::before {
    background: url(https://正直屋.com/fc-site/waterheater/img//safety-trust__h2-marker-circle.svg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    left: -0.8em;
    bottom: 0.5em;
}

#safety-trust h2::after {
    background: url(https://正直屋.com/fc-site/waterheater/img//safety-trust__h2-marker-check.svg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    right: -1em;
    bottom: 0.5em;
}

.safety-trust__point {
    width: 100%;
    height: auto;
    position: relative;
    opacity: 0;
}

.safety-trust__point:nth-child(even).show {
    animation: safety-trust-even 0.8s 0s 1 forwards;
}

.safety-trust__point.show:nth-child(odd) {
    animation: safety-trust-odd 0.8s 0s 1 forwards;
}

@keyframes safety-trust-even {
    0% {
        opacity: 1;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes safety-trust-odd {
    0% {
        opacity: 1;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.safety-trust__text-area {
    background-color: white;
    clip-path: polygon(0 0, 85% 0, 60% 100%, 0% 100%);
    width: 100%;
    padding: 3em 5em 5em;
    height: 100%;
    min-height: 25em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
}

.safety-trust__point-img {
    width: 50%;
    height: 28em;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 3em;
}

.safety-trust__text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    gap: 1em;
}

.safety-trust__point-num {
    font-size: 2em;
    font-weight: 900;
    color: var(--color-main);
    opacity: 0.3;
    display: block;
    line-height: 1;
}

.safety-trust__point-num span {
    font-size: 1.5em;
}

.safety-trust__point__title {
    text-align: left;
}

.safety-trust__point__title h3 {
    font-size: 2.5em;
    color: var(--color-main);
    margin: 0;
    display: inline;
    background: linear-gradient(transparent 83%, var(--yellow) 0%);
    padding-bottom: 0.25em;
    line-height: 1.7;
}

.safety-trust__text-wrap p {
    color: var(--color-main);
    font-size: 1.1em;
    margin: 0;
}

.safety-trust__point:nth-child(odd) .safety-trust__text-area {
    background-color: var(--color-main);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 40% 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
}

.safety-trust__point:nth-child(odd) .safety-trust__point-img {
    left: 0;
}


.safety-trust__point:nth-child(odd) .safety-trust__point-num,
.safety-trust__point:nth-child(odd) .safety-trust__text-wrap h3,
.safety-trust__point:nth-child(odd) .safety-trust__text-wrap p {
    color: white;
}

.safety-trust__point:nth-child(odd)::before {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 40% 100%);
}

#safety-trust .annotation {
    font-size: 0.9em;
}

#promise {
    background-color: #1D1D1D;
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-style: normal;
}

#promise h2 {
    background: linear-gradient(to right, #BF8B42, #E2B730, #FFDE73, #E2B730, #BF8B42);
    text-align: center;
    font-size: 4em;
    margin: 0;
    font-weight: normal;
    padding: 0.1em;
}

#promise hr {
    border-image: linear-gradient(to right, #ffffff00, #ffffff, #ffffff00);
    border-image-slice: 1;
    width: 70%;
}

.promise-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 2em;
    padding: 4em;
}

#promise p {
    font-size: 1.75em;
    line-height: 1.5;
    margin: 0;
    font-weight: normal;
    text-align: center;
    opacity: 0;
    transform: translateY(1em);
    transition: 0.3s all;
    transition-delay: 0.3s;
}

#promise p.show {
    opacity: 1;
    transform: translateY(0em);
}

#region {
    background: var(--check-pattern);
    background-size: var(--check-pattern-size);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 3em;
}

#region .region__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    width: 50%;
    opacity: 0;
}

#region .region__text.show {
    animation: region__text 1s 0s 1 forwards;
}

@keyframes region__text {
    0% {
        opacity: 1;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

#region .region__text p {
    margin: 0;
    font-size: 3.7em;
    font-weight: 900;
    white-space: nowrap;
}

#region .region__text p:nth-child(1) {
    font-size: 5em;
    color: var(--red);
    background-image: url(https://正直屋.com/fc-site/waterheater/img//region__marker.svg);
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 0 0.3em 0.2em;
}

.region__imgs {
    width: 50%;
    height: 100%;
    min-height: 40em;
    position: relative;
}

.region__map {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 35em;
    height: 35em;
    object-fit: contain;
}

.region__run {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(0%);
    width: 30em;
    opacity: 0;
    transition: 0.7s all;
}

.region__run.show {
    transform: translateX(-50%);
    opacity: 1;
}

#flow {
    background-image: var(--check-pattern);
    background-size: var(--check-pattern-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5em;
    padding: 5em 0;
}

#flow h2 {
    margin: 0 auto;
    font-size: 5em;
    color: var(--color-main);
    background-image: url(https://正直屋.com/fc-site/waterheater/img//flow__marker.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    line-height: 1.2;
    padding: 0 0.5em;
    font-weight: 900;
    position: relative;
}

#flow h2::after {
    content: "";
    top: -1.1em;
    right: -0.9em;
    background: url(https://正直屋.com/fc-site/waterheater/img//flow.svg);
    position: absolute;
    height: 2em;
    width: 2em;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.flow-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.flow__item {
    background-color: white;
    position: relative;
    border: 0.15em solid var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 36em;
    gap: 2em;
    padding: 2em;
    box-shadow: 0.3em 0.3em 0 var(--color-main);
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}

.flow__item.show {
    transform: scale(1);
}

.flow__step {
    position: absolute;
    color: white;
    font-weight: bold;
    left: 1.5em;
    top: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 2em;
}

.flow__step::before {
    content: "";
    height: 100%;
    width: 100%;
    background-color: var(--color-main);
    display: block;
    z-index: -1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scaleX(1.5) skewX(-15deg);
}

.flow__icon {
    height: 7em;
    width: 7em;
}

.flow__textarea {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.flow__textarea h3 {
    font-size: 2em;
    margin: 0;
    color: var(--color-main);
    line-height: 1;
}

.flow__textarea hr {
    border: 0.11em solid var(--color-main);
    width: 100%;
}

.flow__textarea p {
    margin: 0;
    color: var(--color-main);
}

.flow__next {
    width: 2em;
}

#form {
    background-color: #FFF2E4;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1em;
}

.form__title {
    width: 50%;
    position: relative;
}

.form__title__sticky {
    position: sticky;
    top: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.form__title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 11.5em;
    gap: 0.2em;
    background-color: var(--mail);
    color: white;
    padding: 0.1em 0em;
    margin: 2em 0 0.5em;
    font-size: 3em;
    clip-path: polygon(100% 0%, calc(100% - 1em) 50%, 100% 100%, 0 100%, 1em 50%, 0 0);
}

.form__title h2 img {
    height: 1.5em;
}

.form__title__imgs {
    position: relative;
    height: 65vh;
    width: 100%;
}

.form__title__imgs img {
    position: absolute;
    transform: translateX(-50%);
    object-fit: contain;
}

.form__title__imgs img:nth-child(1) {
    left: 50%;
    top: 0;
    width: 90%;
}

.form__title__imgs img:nth-child(2) {
    left: 50%;
    bottom: 0;
    width: 65%;
    height: 20em;
}

.form-wrap {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding: 5em 0;
}

.form-wrap__top-text {
    max-width: 30em;
    margin: 0;
}

#form form {
    width: 100%;
    max-width: 30em;
    background-color: white;
    padding: 2em 2em 4em;
}

#form fieldset,
#form table {
    border: none;
}


#form table {
    margin: 0 0 0.5em;
    width: 100%;
    font-size: 108%;
    table-layout: fixed;
}

#form table th {
    width: 25%;
    padding: 0.2em 0.5em;
    border: 0.15em solid #ccc;
    background: #FFFFCC;
    /* #eee; */
    text-align: left;
    vertical-align: middle;
}

#form table td {
    padding: 0.5em;
    border: 0.115em solid #ccc;
    display: flex;
    flex-wrap: wrap;
}

.inputText {
    width: 97%;
    padding: 0.3em;
    font-size: 130%;
}

.inputSelect {
    padding: 0.3em;
    font-size: 130%;
    max-width: 97%;
}

.inputText.inputTextMiddle {
    width: 50%;
}

.inputText.inputTextShort {
    width: 50%;
}

.inputText.inputTextShortest {
    width: 20%;
}

textarea {
    width: 70%;
    height: 10em;
    padding: 0.3em;
    font-family: inherit;
}

.formBtn {
    font-size: 140%;
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    width: 150px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 0 2px 2px #000000;
    border-radius: 6px;
    box-shadow: 0 2px 2px #000000;
}

.center-text {
    text-align: center;
    margin: 3em auto;
}

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

span.require {
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: var(--red);
    font-size: 0.8em;
    padding: 0.2em 0.2em;
    border: 0.5em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.2em;
}

.unsubscribe-message {
    text-align: center;
    font-size: 130%;
}

div#ssl-seal {
    margin-top: 1.5em;
}


input[type=button],
input[type=text],
input[type=submit],
input[type=image],
textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

input[type=button],
input[type=text],
input[type=submit],
input[type=image],
textarea {
    outline: none;
}

select {
    /* -webkit-appearance: none; */
    border-radius: 0;
    outline: none;
}

input {
    border: 1px solid black;
    border-radius: 5px;
}


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

form {
    background-color: white;
    padding: 2em 2em 3em;
    border-radius: 0.2em;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.082);
    max-width: 25em;
    width: 100%;
}

form form {
    padding: 0;
    box-shadow: none;
}

#rewriteBtn {
    margin-top: 0;
    margin-bottom: 3em;
    background-color: #b5b5b5;
    box-shadow: 0 0.2em 0em #7d7d7d;
}

tbody {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
}

th {
    font-size: 1em;
}

td {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
}

fieldset {
    border: none;
}

#formInputMsg,
#formClickMsg {
    margin-bottom: 2em;
}

.error,
#formInputMsg {
    text-align: left;
    margin: 0 0.5em 2em;
}

.inputText {
    font-size: 1em;
    width: 100%;
    padding: 0.5em 1em;
}

select,
textarea,
input,
input[type=text] {
    padding: 0.5em 1em;
    border-radius: 10em;
    border: none;
    background-color: rgb(235, 235, 235);
    outline: none;
    width: 100%;
    transition: 0.1s;
    box-shadow: 0 0 0 0em var(--color-main);
}

textarea {
    border-radius: 0.5em;
}

select:focus,
textarea:focus,
input:focus,
input[type=text]:focus {
    background-color: white;
    border: none;
    outline: none;
    box-shadow: 0 0 0 0.1em var(--color-main);
}

input[type=submit] {
    color: white;
    background: none;
    box-shadow: none;
    width: 100%;
    height: 100%;
    font-weight: bold;
    font-size: 1.6em;
    cursor: pointer;
    padding: 0.25em 0.5em 0.3em;
    margin: 0;
}

.form_btn-wrap {
    font-size: 1.3em;
    width: 100%;
    position: relative;
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 4.5em;
    border-radius: 10em;
    padding: 0;
    margin-top: 1em;
    background-color: var(--mail);
    cursor: pointer;
    box-shadow: 0 0.3em 0em rgb(190, 51, 0);
    transition: 0.2s all;
}

.form_btn-wrap::after {
    content: "";
    display: block;
    height: 0.75em;
    width: 0.75em;
    position: absolute;
    top: 50%;
    right: 1em;
    border-top: 0.3em solid white;
    border-right: 0.3em solid white;
    transform: translateY(-50%) rotate(45deg);
    z-index: 99999;
    cursor: pointer;
}

.form_btn-wrap:hover {
    transform: translateY(0.2em);
    box-shadow: 0 0em 0em rgb(190, 51, 0);
}

input[type=radio],
input[type=checkbox] {
    width: auto;
    cursor: pointer;
    transform: scale(1.75);
    margin: 0 0.5em 0.75em 0;
    box-shadow: none;
    padding: 0;
}

.input-label-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type=radio]~label,
input[type=checkbox]~label {
    width: calc(100% - 3em);
    margin-left: 0.3em;
    display: inline-block;
    margin-bottom: 0.6em;
    cursor: pointer;
}

label {
    word-break: break-all;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 0.3em;
    font-size: 1.2em;
}

#form td:has(input[type=radio]),
#form td:has(input[type=checkbox]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: black;
}

#ssl-seal {
    margin: 1em auto 0;
    text-align: center;
}

#form table th,
#form table th,
#form table td {
    border: none;
    width: 100%;
}

#form table td {
    padding: 0.3em 0 0;
}

#form table th {
    background-color: white;
    border-bottom: 0.1em solid black;
    text-align: left;
}

.inputText.inputTextShortest {
    width: 40%;
}

.inputText.inputTextShort {
    width: 100%;
}

input[type=radio]~label,
input[type=checkbox]~label {
    word-break: keep-all;
    padding: 0;
    padding: 0.5em;
    background-color: #f2f2f2;
    border-radius: 0.2em;
}

.form-annotation {
    margin-bottom: 1em;
}


/* ▼フッター▼ */
footer {
    background-color: var(--color-main);
    color: white;
    padding: 3em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.footer_logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.footer_logos img {
    width: 20em;
    height: auto;
}

.footer_shop-name {
    background-color: white;
    color: var(--color-main);
    width: 10em;
    text-align: center;
    border-radius: 10em;
    font-weight: bold;
    font-size: 2em;
}

.footer_address {
    font-size: max(0.9em, 14px);
}


footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
    list-style: none;
    padding: 0;
    font-size: max(0.9em, 14px);
}

footer ul li {
    padding-left: -1.5em;
}

footer a {
    color: white;
    transition: 0.2s all;
}

footer a:hover {
    opacity: 0.8;
}

small {
    font-size: max(0.8em, 12px);
}

.footer_img {
    background-image: url(https://正直屋.com/fc-site/waterheater/img//footer_img.webp);
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 38vw;
    width: 100%;
    background-attachment: fixed;
}





/* ▼スライド▼ */

.splide__list {
    justify-content: space-evenly;
    align-self: stretch;
}


.splide__pagination {
    display: flex;
    gap: 1em;
    padding: 0.5em 0 0;
    height: 5em;
    position: relative;
    z-index: 10;
    order: 2;
}

.splide__pagination__page {
    height: 1.5em;
    width: 1.5em;
    border-radius: 10em;
    background-color: white;
    border: 0.2em solid var(--color-main);
    transition: 0.2s all;
    cursor: pointer;
}

.splide__pagination__page.is-active {
    background: var(--color-main);
    transform: scale(1.3);
}

.splide__arrow {
    border-radius: 10em;
    height: 4em;
    width: 4em;
    border: 0.3em solid var(--color-main);
    background-color: var(--color-main);
    position: relative;
    background: url(https://正直屋.com/fc-site/waterheater/img//splide__arrow.svg) no-repeat center/contain;
    box-shadow: 0 0.3em 0 #26317680;
    cursor: pointer;
}

.splide__arrow svg {
    display: none;
}

.splide__arrow--next {}

.splide__arrow--prev {
    transform: scaleX(-1);
}

.splide {
    position: relative;
}

.splide__arrows {
    height: auto;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-self: center;
    align-items: center;
    padding: 0 2em 4.5em;
    z-index: 9;
}

.splide-progress-wrap {
    display: none;
}


/* thanksページ */
#thanks {
    width: 100%;
    padding: 30dvh 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1em;
}

#thanks h1 {
    text-align: center;
    position: static;
    transform: none;
}

@media screen and (max-width: 700px) {
    #thanks h1 {
        font-size: 2.5em;
    }
}

#thanks a {
    background-color: var(--color-main);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 0.3em 2em;
    border-radius: 10em;
    position: relative;
    box-shadow: 0 0.2em 0 #111a50;
    transition: 0.2s all;
}

#thanks a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.75em;
    height: 0.5em;
    width: 0.5em;
    border-top: 0.2em solid white;
    border-right: 0.2em solid white;
    transform: translateY(-50%) rotate(45deg);
}

#thanks a:hover {
    box-shadow: 0 0em 0 #111a50;
    transform: translateY(0.2em);
}