@charset "utf-8";


:root {
    --color-theme:       #ccffff;
    --color-light-theme: #f0ffff;
    --color-accent:      #0039a4;
    --fg-color:          #333;
    --color-white:       #fff;
    --color-lightgray:   #f0f0f0;
    --font-alphabet: 'Impact', 'Noto Sans JP', 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Arial', 'Yu Gothic', 'Meiryo', sans-serif;
    --font-gothic: 'Noto Sans JP', 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Arial', 'Yu Gothic', 'Meiryo', sans-serif;
    --font-mincho: 'Noto Serif JP', 'Times New Roman', 'YuMincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
}


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

img {
    display: block;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    max-width: 100%;
    height: auto;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
}

a {
    color: var(--fg-color);
    text-decoration: none;
    transition: opacity 0.5s ease-out;
}
button, input[type="submit"], input[type="button"] {
    cursor: pointer;
    transition: opacity 0.5s ease-out;
}

@media ( hover: hover ) {
    a:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
        opacity: 0.5;
    }
}

ul, p {
    line-height: 1.8;
}

section {
    position: relative;
}

em {
    color: var(--color-accent);
    font-style: normal;
}

u {
    font-weight: 700;
    text-decoration-color: #ffec5d;
    text-decoration-thickness: 4px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-offset: 0.3em;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}


@media ( width < 750px ) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

@media ( width >= 750px ) {
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
}


/* スクロールアニメーション */
.ws-scroll-fadeIn {
    opacity: 0.0;
    /*transform: scale( 0.5, 0.5 ); */
    transition: all 1.0s ease-out;
}
.ws-scroll-fadeIn.ws-scroll-show {
    opacity: 1.0;
    /* transform: scale( 1.0, 1.0 ); */
}

.ws-scroll-fadeIn-l {
    opacity: 0.0;
    transform: translateX( -200px );
    transition: all 1.0s ease-out;
}
.ws-scroll-fadeIn-r {
    opacity: 0.0;
    transform: translateX( 200px );
    transition: all 1.0s ease-out;
}
.ws-scroll-fadeIn-l.ws-scroll-show,
.ws-scroll-fadeIn-r.ws-scroll-show {
    opacity: 1.0;
    transform: translateX( 0 );
}

.ws-scroll-fadeIn-u {
    opacity: 0.0;
    transform: translateY( -200px ) scale( 0.8, 0.8 );
    transition: all 1.0s ease-out;
}
.ws-scroll-fadeIn-d {
    opacity: 0.0;
    transform: translateY( 200px ) scale( 0.8, 0.8 );
    transition: all 1.0s ease-out;
}
.ws-scroll-fadeIn-u.ws-scroll-show,
.ws-scroll-fadeIn-d.ws-scroll-show {
    opacity: 1.0;
    transform: translateY( 0 )  scale( 1.0, 1.0 );
}

.ws-goto-top {
    position: fixed;
    z-index: 20;
    margin: 0;
    padding: 0 0 2px;
    top: auto;
    bottom: 10px;
    left: auto;
    right: 10px;
    width: clamp( 30px, 5.0vw, 60px );
    height: clamp( 30px, 5.0vw, 60px );
    background: var(--color-theme);
    border: 2px solid #fff;
    border-radius: clamp( 15px, 2.5vw, 30px );
    opacity: 0.0;
    transform-origin: right bottom;
    transform: scale( 0.01, 0.01 );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1.0s;
}
.ws-goto-top::before {
    position: absolute;
    content: "";
    left: 40%;
    top: 42%;
    width: 20%;
    height: 20%;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    rotate: -45deg;
}
.ws-goto-top.ws-scroll-show {
    transform: scale( 1.0, 1.0 );
    opacity: 0.9;
}
@media ( hover: hover ) {
    .ws-goto-top:hover {
        opacity: 0.5;
    }
}

.ws-scroll-top-menu {
    opacity: 0.0;
    transform: translateY( -150px );
    transition: 0.5s;
}
.ws-scroll-top-menu.ws-scroll-show {
    opacity: 1.0;
    transform: translateY( 0 );
}



/* 以下サイトごと */

html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: min( 18px, 3.0vw );
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    color: var(--fg-color);
    font-family: var(--font-gothic);
    font-weight: 500;
    line-height: 1.5;
    accent-color: var(--color-accent);
    opacity: 0.0;
    animation: anim-fadein 1.0s ease-out 0s forwards;
}

@keyframes anim-fadein {
    0%   { opacity: 0.0; }
    100% { opacity: 1.0; }
}


header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 90;
    transition: background 0.5s ease-out;
}


/**
 * スマホ用設定
 */
@media ( width < 750px ) {

    header {
        height: 80px;
    }
    header .header-wrap {
        margin: 0 auto;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .header-logo {
        padding: 0 0 0 20px;
        height: 100%;
    }
    header .header-logo img {
        width: auto;
        height: 100%;
        aspect-ratio: 830 / 200;
        object-fit: contain;
    }
    header .header-menu {
        display: none;
    }
    header .header-sp-menu {
        position: relative;
        height: 100%;
        aspect-ratio: 1 / 1;
    }
    header .header-sp-menu #sp-menu-check {
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 1px;
        opacity: 0;
    }
    header .header-sp-menu #sp-menu-check ~ .header-sp-menu-back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        width: 60px;
        height: 60px;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon {
        position: absolute;
        top: 50%;
        left: 15%;
        width: 70%;
        height: 3px;
        background: var(--fg-color);
        border-radius: 2px;
        transition: background 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::before {
        position: absolute;
        content: "";
        top: -10px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--fg-color);
        border-radius: 2px;
        transition: transform 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::after {
        position: absolute;
        content: "";
        top: 10px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--fg-color);
        border-radius: 2px;
        transition: transform 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon {
        background: transparent;
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::before {
        transform: translateY( 10px ) rotate( 45deg );
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::after {
        transform: translateY( -10px ) rotate( -45deg );
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        padding: 2.0em 4.0em;
        background: #fffe;
        list-style: none;
        transform-origin: top center;
        transform: scaleY( 0.0 );
        transition: transform 0.5s ease-out;
        z-index: 99;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li {
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > a {
        display: block;
        margin: 0;
        padding: 0.2em 0;
        font-size: min( 16px, 3.6vw );
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu {
        padding: 0 0 0 1.0em;
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megabmenu > li {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li > a,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu > li > a {
        display: block;
        margin: 0;
        padding: 0.2em 0;
        font-size: min( 16px, 3.6vw );
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu {
        transform: scaleY( 1.0 );
    }
    header .header-sp-menu .sp-menu > li .header-txt {
        margin: 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 220 / 200;
    }
    header .header-sp-menu .sp-menu > li .header-email {
        margin: 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 546 / 200;
    }
    header .header-sp-menu .sp-menu > li .header-line {
        margin: 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 540 / 200;
    }
    header .header-sp-menu .sp-menu > li .header-tel {
        margin: 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 640 / 200;
    }

    main {
        margin: 0 auto;
        width: 100%;
    }

    #fv .btn-fv {
        position: absolute;
        top: 12%;
        left: 2%;
        width: 96%;
        height: auto;
    }

    .btn1-tel {
        position: absolute;
        top: 78.4%;
        left: 9.5%;
        width: calc( 100% * 608 / 750 );
        height: auto;
    }
    .btn1-email {
        position: absolute;
        top: 64.6%;
        left: 9.5%;
        width: calc( 100% * 608 / 750 );
        height: auto;
    }
    .btn1-line {
        position: absolute;
        top: 46.0%;
        left: 9.5%;
        width: calc( 100% * 634 / 750 );
        height: auto;
    }

    .btn2-line {
        position: absolute;
        top: 90.5%;
        left: 3.0%;
        width: 96.0%;
        height: auto;
    }

    .btn3-line {
        position: absolute;
        top: 9.9%;
        left: 8.0%;
        width: 87.0%;
        height: auto;
    }
    .btn3-email {
        position: absolute;
        top: 13.7%;
        left: 8.0%;
        width: 84.0%;
        height: auto;
    }
    .btn3-tel {
        position: absolute;
        top: 16.4%;
        left: 8.0%;
        width: 84.0%;
        height: auto;
    }

    .btn4-line {
        position: absolute;
        top: 92.0%;
        left: 3.0%;
        width: 96.0%;
        height: auto;
    }

    .btn5-line {
        position: absolute;
        top: 76.0%;
        left: 9.5%;
        width: calc( 100% * 634 / 750 );
        height: auto;
    }
    .btn5-email {
        position: absolute;
        top: 84.2%;
        left: 9.5%;
        width: calc( 100% * 608 / 750 );
        height: auto;
    }
    .btn5-tel {
        position: absolute;
        top: 90.4%;
        left: 9.5%;
        width: calc( 100% * 608 / 750 );
        height: auto;
    }

    #contact {
        margin: 0 auto;
        padding: 12.0vw 0;
        width: 100%;
        background: #0764a0;
        background: #0764a0;
    }
    #contact .ws-form {
        margin: 0 auto;
        padding: 4.0vw 6.0vw;
        width: 90%;
        background: #fff;
        border-radius: 4.0vw;
    }
    #contact p {
        margin: 0;
        font-size: 3.2vw;
        font-weight: 500;
        text-align: center;
    }
    #contact h2 {
        margin: 0.5em 0 0;
        font-size: 6.0vw;
        font-weight: 700;
        text-align: center;
    }
    #contact .ws-steps {
        position: relative;
        margin: 4.0vw auto 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 3;
    }
    #contact .ws-steps .ws-step {
        position: absolute;
        left: 0;
        margin: 0;
        padding: 4.0vw 0 0;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 1;
        color: #333;
        font-size: 4.0vw;
        font-weight: 700;
        text-align: center;
        background: #19a1dd;
    }
    #contact .ws-steps .ws-step.alive {
        color: #fff;
        background: #0764a0;
    }
    #contact .ws-steps .ws-step:nth-child(1) {
        top: 0;
        clip-path: polygon( 0 0, 100% 0, 100% calc( 100% - 2.0vw ), 50% 100%, 0 calc( 100% - 2.0vw ) );
    }
    #contact .ws-steps .ws-step:nth-child(2) {
        padding-top: 6.0vw;
        top: 30%;
        clip-path: polygon( 0 2px, 50% calc( 2.0vw + 2px ), 100% 2px, 100% calc( 100% - 2.0vw ), 50% 100%, 0 calc( 100% - 2.0vw ) );
    }
    #contact .ws-steps .ws-step:nth-child(3) {
        padding-top: 6.0vw;
        top: 60%;
        clip-path: polygon( 0 2px, 50% calc( 2.0vw + 2px ), 100% 2px, 100% calc( 100% - 2.0vw ), 50% 100%, 0 calc( 100% - 2.0vw ) );
    }
    #contact .ws-form-table {
        margin: 4.0vw auto 0;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.0vw 0;
    }
    #contact .ws-form-table > dt {
        position: relative;
        font-size: 4.0vw;
        font-weight: 700;
    }
    #contact .ws-form-table > dt.not-required::after {
        position: absolute;
        content: "任意";
        margin: 0.4em 0 0 1.0em;
        padding: 0.2em 0.5em;
        color: #0039a4;
        font-size: 3.2vw;
        font-weight: 700;
        line-height: 1.0;
        border: 1px solid #0039a4;
        border-radius: 4px;
    }
    #contact .ws-form-table > dt.required::after {
        position: absolute;
        content: "必須";
        margin: 0.4em 0 0 1.0em;
        padding: 0.2em 0.5em;
        color: #f00;
        font-size: 3.2vw;
        font-weight: 700;
        line-height: 1.0;
        border: 1px solid #f00;
        border-radius: 4px;
    }
    #contact .ws-form-table > dd {
        margin: 0 0 4.0vw;
        font-size: max( 16px, 3.6vw );
    }
    #contact .ws-form-table > dd div {
        display: flex;
        gap: 0 8px;
    }
    #contact .ws-form-table > dd div :has(input[type="radio"]) {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    #contact .ws-form-table > dd div span {
        width: 100%;
    }
    #contact .ws-form-table > dd div + div {
        margin-top: 8px;
    }
    #contact :is(input[type="radio"], input[type="checkbox"]) {
        translate: -20% -10%;
        scale: 1.5 1.5;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="tel"],input[type="number"],input[type="email"],select,textarea) {
        margin: 0;
        padding: 0.4em 0.5em;
        width: auto;
        font-size: max( 16px, 3.6vw );
        font-family: inherit;
        background: #f8f8f8;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="email"],textarea) {
        width: 100%;
    }
    #contact .ws-form-table > dd :is(input[type="text"][name="your-zipcode"], input[type="tel"]) {
        width: 16.0em;
        max-width: 100%;
    }
    #contact .ws-form-table > dd :is(textarea) {
        height: 8.0em;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="tel"],input[type="email"],select)::placeholder {
        color: #bbb;
    }
    #contact .ws-form-table > dd .red {
        color: #f00;
        font-size: 3.2vw;
    }
    #contact .ws-terms {
        margin: 4.0vw auto 0;
        padding: 4.0vw;
        width: 100%;
        height: 30.0vw;
        border: 1px solid #999;
        border-radius: 2.0vw;
        overflow-y: auto;
    }
    #contact .ws-terms h3 {
        font-size: 4.0vw;
        text-align: center;
    }
    #contact .ws-terms h4 {
        margin: 1.0em 0 0;
        font-size: 3.6vw;
        text-align: left;
    }
    #contact .ws-terms p {
        margin: 1.0em 0 0;
        font-size: 3.6vw;
        text-align: left;
    }
    #contact .ws-terms h4 + p {
        margin-top: 0.5em;
    }
    #contact .ws-agree {
        margin: 4.0vw auto 0;
        font-size: 3.6vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #contact .ws-submit {
        margin: 8.0vw auto 0;
        display: flex;
        justify-content: center;
        gap: 0 2.0vw;
    }
    #contact input[type="submit"] {
        display: block;
        margin: 0;
        padding: 1.0em 0;
        width: 50%;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 700;
        font-family: inherit;
        background: #f06e0a;
        border-radius: 1.0vw;
        border: 0;
    }
    #contact input[type="button"] {
        display: block;
        margin: 0;
        padding: 1.0em 0;
        width: 50%;
        color: #333;
        font-size: 4.0vw;
        font-family: inherit;
        background: #ccc;
        border-radius: 1.0vw;
        border: 0;
    }
    #contact .wpcf7-spinner {
        display: block;
        position: absolute;
        left: 50%;
        top: 105%;
        translate: -50% 0;
    }

    footer {
        position: relative;
        padding: 0 0 29.0vw;
        width: 100%;
    }
    footer .map {
        position: absolute;
        top: 55%;
        left: 4%;
        width: 92%;
        height: auto;
        aspect-ratio: 20 / 10;
    }
    footer .map iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .btn-float {
    position: fixed;
    bottom: 8px;
    left: 5%;
    width: 90%;
    height: auto;
    /* ここから追加 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* 少し下げておく */
    transition: all 0.6s ease;   /* ふわっと出す */
    z-index: 100;
}
.btn-float.ws-scroll-show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
    .btn-float > a,
    .btn-float > a figure,
    .btn-float > a figure img {
        display: block;
        width: 100%;
        height: auto;
    }

}


/**
 * PC用設定
 */
@media ( width >= 750px ) {

    header {
        height: 80px;
    }
    header .header-wrap {
        margin: 0 auto;
        padding: 0 20px;
        width: 100%;
        max-width: 1920px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .header-logo {
        padding: 12px.0.0.0;
        width: auto;
        height: 100%;
        aspect-ratio: 830 / 200;
    }
    header .header-menu {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        list-style: none;
    }
    header .header-menu > li {
        height: 100%;
        list-style: none;
    }
    header .header-menu > li .header-txt {
        width: auto;
        height: 100%;
        aspect-ratio: 220 / 200;
    }
    header .header-menu > li .header-email {
        width: auto;
        height: 100%;
        aspect-ratio: 546 / 200;
    }
    header .header-menu > li .header-line {
        width: auto;
        height: 100%;
        aspect-ratio: 540 / 200;
    }
    header .header-menu > li .header-tel {
        width: auto;
        height: 100%;
        aspect-ratio: 640 / 200;
    }
    header .header-sp-menu {
        display: none;
    }

    main {
        margin: 0 auto;
        width: 100%;
        max-width: 1920px;
    }

    #fv .btn-fv {
        position: absolute;
        top: 20%;
        left: 50%;
        width: 45%;
        height: auto;
    }

    .btn1-line {
        position: absolute;
        top: 52.7%;
        left: 31.3%;
        width: calc( 100% * 1480 / 3840 );
        height: auto;
    }
    .btn1-email {
        position: absolute;
        top: 72.9%;
        left: 31.3%;
        width: calc( 100% * 707 / 3840 );
        height: auto;
    }
    .btn1-tel {
        position: absolute;
        top: 72.9%;
        left: 50.5%;
        width: calc( 100% * 707 / 3840 );
        height: auto;
    }

    .btn2-line {
        position: absolute;
        top: 89.0%;
        left: 37.3%;
        width: calc( 100% * 1041 / 3840 );
        height: auto;
    }

    .btn3-line {
        position: absolute;
        top: 20%;
        left: 34.7%;
        width: 31.0%;
        height: auto;
    }
    .btn3-email {
        position: absolute;
        top: 25.5%;
        left: 34.7%;
        width: 14.8%;
        height: auto;
    }
    .btn3-tel {
        position: absolute;
        top: 25.5%;
        left: 50.0%;
        width: 14.8%;
        height: auto;
    }

    .btn4-line {
        position: absolute;
        top: 88.8%;
        left: 37.3%;
        width: calc( 100% * 1041 / 3840 );
        height: auto;
    }

    .btn5-line {
        position: absolute;
        top: 79.9%;
        left: 31.3%;
        width: calc( 100% * 1480 / 3840 );
        height: auto;
    }
    .btn5-email {
        position: absolute;
        top: 89.5%;
        left: 31.3%;
        width: calc( 100% * 707 / 3840 );
        height: auto;
    }
    .btn5-tel {
        position: absolute;
        top: 89.5%;
        left: 50.5%;
        width: calc( 100% * 707 / 3840 );
        height: auto;
    }

    #contact {
        margin: 0 auto;
        padding: 120px 0;
        width: 100%;
        background: #0039a4;
        background: #0764a0;
    }
    #contact .ws-form {
        margin: 0 auto;
        padding: 40px 80px;
        width: 90%;
        max-width: 1280px;
        background: #fff;
        border-radius: 20px;
    }
    #contact p {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
    }
    #contact h2 {
        margin: 0.5em 0 0;
        font-size: 32px;
        font-weight: 700;
        text-align: center;
    }
    #contact .ws-steps {
        position: relative;
        margin: 40px auto 0;
        padding: 0;
        width: 100%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 600 / 80;
    }
    #contact .ws-steps .ws-step {
        position: absolute;
        top: 0;
        margin: 0;
        padding: 0.2em 0;
        color: #333;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        background: #19a1dd;
    }
    #contact .ws-steps .ws-step.alive {
        color: #fff;
        background: #0764a0;
    }
    #contact .ws-steps .ws-step:nth-child(1) {
        padding-right: 20px;
        left: 0%;
        width: calc( 38.0% + 10px );
        clip-path: polygon( 0 0, calc( 100% - 20px ) 0, 100% 50%, calc( 100% - 20px ) 100%, 0 100% );
    }
    #contact .ws-steps .ws-step:nth-child(2) {
        left: calc( 38.0% - 10px );
        width: calc( 34.0% + 20px );
        clip-path: polygon( 2px 0, calc( 100% - 20px ) 0, 100% 50%, calc( 100% - 20px ) 100%, 2px 100%, 22px 50% );
    }
    #contact .ws-steps .ws-step:nth-child(3) {
        left: calc( 72.0% - 10px );
        width: calc( 28.0% + 10px );
        clip-path: polygon( 2px 0, calc( 100% - 20px ) 0, 100% 50%, calc( 100% - 20px ) 100%, 2px 100%, 22px 50% );
    }
    #contact .ws-form-table {
        margin: 40px auto 0;
        width: 100%;
        max-width: 960px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px 12px;
    }
    #contact .ws-form-table > dt {
        position: relative;
        font-size: 16px;
        font-weight: 700;
    }
    #contact .ws-form-table > dt.not-required::after {
        position: relative;
        content: "任意";
        top: 0.0em;
        margin: 0 0 0 0.5em;
        padding: 0.2em 0.5em;
        color: #0039a4;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.0;
        border: 1px solid #0039a4;
        border-radius: 4px;
    }
    #contact .ws-form-table > dt.required::after {
        position: relative;
        content: "必須";
        top: 0.0em;
        margin: 0 0 0 0.5em;
        padding: 0.2em 0.5em;
        color: #f00;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.0;
        border: 1px solid #f00;
        border-radius: 4px;
    }
    #contact .ws-form-table > dd {
        font-size: 16px;
    }
    #contact .ws-form-table > dd div {
        display: flex;
        gap: 0 8px;
    }
    #contact .ws-form-table > dd div :has(input[type="radio"]) {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    #contact .ws-form-table > dd div span {
        width: 100%;
    }
    #contact .ws-form-table > dd div + div {
        margin-top: 8px;
    }
    #contact :is(input[type="radio"], input[type="checkbox"]) {
        translate: -20% -10%;
        scale: 1.2 1.2;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="tel"],input[type="number"],input[type="email"],select,textarea) {
        margin: 0;
        padding: 0.4em 0.5em;
        width: auto;
        font-size: 16px;
        background: #f8f8f8;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="email"],textarea) {
        width: 100%;
    }
    #contact .ws-form-table > dd :is(input[type="text"][name="your-zipcode"], input[type="tel"]) {
        width: 100%;
        max-width: 100%;
    }
    #contact .ws-form-table > dd :is(textarea) {
        height: 8.0em;
    }
    #contact .ws-form-table > dd :is(input[type="text"],input[type="tel"],input[type="email"],select)::placeholder {
        color: #bbb;
    }
    #contact .ws-form-table > dd .red {
        color: #f00;
    }
    #contact .ws-terms {
        margin: 40px auto 0;
        padding: 16px;
        width: 100%;
        max-width: 640px;
        height: 200px;
        border: 1px solid #999;
        border-radius: 10px;
        overflow-y: auto;
    }
    #contact .ws-terms h3 {
        font-size: 18px;
        text-align: center;
    }
    #contact .ws-terms h4 {
        margin: 1.0em 0 0;
        font-size: 16px;
        text-align: left;
    }
    #contact .ws-terms p {
        margin: 1.0em 0 0;
        font-size: 16px;
        text-align: left;
    }
    #contact .ws-terms h4 + p {
        margin-top: 0.5em;
    }
    #contact .ws-agree {
        margin: 20px auto 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #contact .ws-submit {
        margin: 40px auto 0;
        display: flex;
        justify-content: center;
        gap: 0 20px;
    }
    #contact input[type="submit"] {
        display: block;
        margin: 0;
        padding: 1.0em 0;
        width: 90%;
        max-width: 240px;
        color: #fff;
        font-size: 20px;
        font-family: inherit;
        background: #f06e0a;
        border-radius: 5px;
        border: 0;
    }
    #contact input[type="button"] {
        display: block;
        margin: 0;
        padding: 1.0em 0;
        width: 90%;
        max-width: 240px;
        color: #333;
        font-size: 20px;
        font-family: inherit;
        background: #ccc;
        border-radius: 5px;
        border: 0;
    }
    #contact .wpcf7-spinner {
        display: block;
        position: absolute;
        left: 50%;
        top: 105%;
        translate: -50% 0;
    }

    footer {
        position: relative;
        width: 100%;
    }
    footer .map {
        position: absolute;
        top: 13%;
        left: 60%;
        width: 17%;
        height: auto;
        aspect-ratio: 20 / 11;
    }
    footer .map iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .btn-float {
        display: none;
    }

}


/* ===== SPだけのはみ出し防止パッチ ===== */
@media (max-width: 750px) {
  /* 0) ddのインデントを消してベースをまっさらに */
  #contact .ws-form-table > dd {
    margin-inline-start: 0;
    max-width: 100%;
    overflow: hidden;           /* 1pxガード */
  }

  /* 1) flex+gap が 100% を超えるのを防ぐ（どちらか好きな方） */

  /* A) 確実に止める：行ラッパを block に */
  #contact .ws-form-table > dd > div {
    display: block !important;
    gap: 0 !important;
    max-width: 100%;
  }
  /* B) flexを維持したい場合は下2行も追加（Aと併用可） */
  /* #contact .ws-form-table > dd > div { flex-wrap: wrap; }
     #contact .ws-form-table > dd > div > * { min-width: 0; } */

  /* 2) 「spanは常に100%」を解除（犯人の行を無効化） */
  #contact .ws-form-table > dd div span {
    width: auto !important;   /* ← ここが肝 */
    display: block;
    max-width: 100%;
  }

  /* 3) すべての入力系を100%＋border-boxに統一 */
  #contact .ws-form-table > dd :is(
    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="email"],
    select,
    textarea
  ){
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;  /* iOSで“縮められない”の対策 */
    box-sizing: border-box;
    margin: 0;
  }

  /* 4) ラジオ/チェックのtranslateが外に出す問題を無効化 */
  #contact :is(input[type="radio"], input[type="checkbox"]) {
    translate: 0 0 !important;
  }
}


/* ── ラジオ/チェックだけ横並び（SP用） ───────────────── */
@media (max-width: 750px) {
  /* ラジオ/チェックを含む行ラッパを横並びに（折り返し可） */
  #contact .ws-form-table > dd > div:has(input[type="radio"]),
  #contact .ws-form-table > dd > div:has(input[type="checkbox"]),
  #contact .ws-form-table :is(.wpcf7-radio, .wpcf7-checkbox) {
    display: flex !important;   /* 一般行はblockのまま、ここだけflex */
    flex-wrap: wrap;            /* 画面幅に合わせて折り返し */
    gap: 8px 16px;              /* 行間/列間の余白 */
    align-items: center;
    min-width: 0;               /* はみ出し防止 */
    max-width: 100%;
  }

  /* 各選択肢（Contact Form 7の .wpcf7-list-item）を横一列で */
  #contact .ws-form-table :is(.wpcf7-radio, .wpcf7-checkbox) .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;                   /* 丸とテキストの間隔 */
    margin: 0 14px 10px 0;      /* 右と下に少し余白 */
  }

  /* 以前の「縦並びにする」指定を無効化（column→row） */
  #contact .ws-form-table > dd div :has(input[type="radio"]),
  #contact .ws-form-table > dd div :has(input[type="checkbox"]) {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  /* 位置ずれ防止：translate/scale のリセット */
  #contact :is(input[type="radio"], input[type="checkbox"]) {
    translate: 0 0 !important;
    transform: none !important;   /* 大きさを残したいなら transform: scale(1.1); に変更 */
  }
}


/* ── SP：ラジオ/チェック項目だけ横並び ───────────────── */
@media (max-width: 750px) {
  /* グループ（CF7既定のラッパ）を横並び＋折り返し可に */
  #contact .ws-form-table .wpcf7-radio,
  #contact .ws-form-table .wpcf7-checkbox {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 10px;
    max-width: 100%;
  }

  /* 各選択肢：ラベルの中で丸と文字を横並びに */
  #contact .ws-form-table .wpcf7-list-item label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    margin: 0;
  }
  /* ラベル内のテキストが改行で下に落ちないように */
  #contact .ws-form-table .wpcf7-list-item .wpcf7-list-item-label {
    display: inline;
    line-height: 1.5;
  }

  /* 以前の“縦並び”指定や位置ずれを打ち消し */
  #contact .ws-form-table > dd div :has(input[type="radio"]),
  #contact .ws-form-table > dd div :has(input[type="checkbox"]) {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  #contact .ws-form-table :is(input[type="radio"], input[type="checkbox"]) {
    translate: 0 0 !important;
    transform: none !important;
    margin: 0;
  }
}


/* ── SP：ラジオ/チェックだけ横並びに戻す ───────────────── */
@media (max-width: 750px) {
  /* ラジオ/チェックのグループを横並び＋折返し可に */
  #contact .ws-form-table .wpcf7-radio,
  #contact .ws-form-table .wpcf7-checkbox {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 10px;
    max-width: 100%;
  }

  /* 各選択肢（CF7の .wpcf7-list-item 内の label）を横並び */
  #contact .ws-form-table .wpcf7-list-item label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 14px 10px 0;
  }

  /* 既存の “縦並びにする” 指定を打ち消す（:has 使わない版） */
  #contact .ws-form-table > dd div {
    /* ほかの行のために block 指定をしている場合もあるので変更しない */
  }
  #contact .ws-form-table .wpcf7-radio .wpcf7-list-item,
  #contact .ws-form-table .wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;     /* 行内で並べるため */
  }

  /* 位置ずれリセット（丸だけ左にずれてる対策） */
  #contact :is(input[type="radio"], input[type="checkbox"]) {
    translate: 0 0 !important;
    transform: none !important;   /* もし大きくしたいなら transform: scale(1.1); に */
    margin: 0;
  }
}
