*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
}

section {
        height: auto;      /* コンテンツに応じて高さを自動調整 */
        min-height: 0;     /* 高さの最小値をリセット（フレームワークで指定されていることがある） */
        padding: 0;        /* 上下余白も減らす場合 */
        margin: 0;         /* 上下の余白もリセット */
}


html {
    background-color: azure;
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: auto;
}

body{
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
}

img{
    width: 100%;
    vertical-align: bottom;
}

p {
    color: #000000;
    line-height: 1.3;
}

a {
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.red {
    color:rgb(219, 0, 0);
}

.min {
    font-size: 13px;
}

.header {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 10%;
    padding: 10px;
    position: relative;
}

.logo {
    width: 30%;
    padding: 1% 0;
}

.header_right {
    display: flex;
    text-align: right;
    width: 65%;
    gap: 2%;
}

@media screen and (min-width: 767px){
    .header {
        padding: 1% 20%;
    }
    .logo {
        width: 25%;
        margin-left: 2%;
        padding: 0;
    }
    .header_right{
        width: 40%;;
    }
}


/*FV*/
.fv_bottom {
    background-color: #dc192a;
}

.maker_slider {
    width: 90%;
    margin: 0 auto 5%;
    padding: 2% 5%;
    background-color: #fff;
}

.maker_slider .ttl {
    width: 96%;
    margin: 0 2%;
}

.maker_slider .maker {
    display: flex;
}

.maker_slider .slick-slider {
    margin-bottom: 0!important;
}

.maker_slider .slick-arrow::before,
.maker_slider .slick-dots{
    display: none!important;
}

.maker_slider .slick-slide {
    width: 100px;
}

.credit {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 12%;
}


@media screen and (min-width: 767px){
    .fv_bottom .pc {
        width: 60%;
        margin: 0 auto;
        padding-bottom: 2%;
    }
    
    .credit {
        width: 33%;
        padding-bottom: 5%;
    }
}

/*CTA*/
.cta_bg {
    background-image: url(../img/cta_bg.jpg);
    background-size: cover;
    background-position: bottom;
}

.cta_area {
   width: 90%;
    margin: 0 auto;
    padding: 13% 0;
    position: relative;
}

.cta_area p {
    position: absolute;
    text-align: center;
    width: 80%;
    top: 34%;
    left: 10%;
    font-size: 15px;
}

.cta_btn {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
}

.cta_btn img {
    padding-bottom: 2%;
}

/*背景ナシバージョン*/
.cta_inner {
    padding: 0 0 20%;
}

.cta_inner p {
    top: 26%;
}

.cta_inner .cta_btn {
    top: 37%;
}

/*フッター上cta*/
.cta02 {
    width: 90%;
    margin: 10% 5%;
}

.cta02 img {
    margin-bottom: 2%;
}

@media screen and (min-width: 767px){
    .cta_area p {
        font-size: 18px;
        top: 48%;
    }
    .cta_bg {
        background-image: url(../img/cta_pc_bg.jpg);    
    }
    .cta_area {
        max-width: 670px;
        padding: 5% 0;
    }

    .cta_btn {
        max-width: 600px;
        display: flex;
        flex-wrap: nowrap;
        gap: 2%;
        top: 57%;
    }
    .cta02 {
        display: flex;
        flex-wrap: nowrap;
        gap: 2%;
        max-width: 800px;
        margin: 2% auto;
    }
}

@media screen and (max-width: 767px){
    .cta_area.mt10 {
        margin: -10% auto 10%;
    }
}

/*実績*/
#achieve img{
    margin-top: -12%;
}

@media screen and (min-width: 767px){
    #achieve img {
        margin-top: 0;
        margin: 0 auto;
    }
    #achieve .pc {
        position: relative;
    }
    #achieve .pc .ab {
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
    }
}

/*お困り*/
@media screen and (min-width: 767px){
    #problem .problem_top {
        background-image: url(../img/problem_pc_bg.jpg);
        background-size: cover;
        background-position: bottom;
        text-align: center;
    }
    .problem_top h2{
        padding-top: 5%;
    }
    #problem .pc img {
        max-width: 650px;
        margin: 0 auto;
    }
    #problem .problem_bottom {
        background-image: url(../img/problem_bottom_pc_bg.jpg);
        background-size: cover;
        text-align: center;
        background-position: top;
    }
    #problem .problem_bottom img {
        max-width: 820px;
    }
}

/*トラブル一覧*/
@media screen and (min-width: 767px){
    #trouble {
        background-color:#dc192a;
        text-align: center;
    }
    #trouble .ttl {
        max-width: 760px;
        padding-bottom: 2%;
    }
    #trouble .contents {
        max-width: 1000px;
        padding-bottom: 5%;
    }
}

/*今がおすすめ*/
@media screen and (min-width: 767px){
    #now .pc {
        max-width: 750px;
        margin: 0 auto;
        padding: 5% 0;
    }
}


/*4つの理由*/
#reasons_wrapper {
    background-image: url(../img/reason_bg.jpg);
    background-size: cover;
}

#reasons_wrapper .ttl {
    width: 80%;
    margin: 15% 10% 5%;
}

.reasons {
    padding-bottom: 15%;
}

@media screen and (min-width: 767px){
    #reasons_wrapper {
        background-image: url(../img/reason_pc_bg.jpg);
        background-size: cover;
        text-align: center;
    }
    #reasons_wrapper .ttl {
        max-width: 550px;
        margin: 0 auto;
        padding: 5% 0 1%;
    }
    .reasons {
        max-width: 1020px;
        display: flex;
        margin: 0 auto;
        padding-bottom: 5%;
    }
    .reasons img {
        width: 45%;
    }
}


/*比較*/
@media screen and (min-width: 767px){
    #comparison .pc{
        background-image: url(../img/comparison_pc_bg.jpg);
        background-size: cover;
        text-align: center;
        padding-bottom: 10%;
    }
    #comparison .pc img {
        max-width: 550px;
        margin: 0 auto;
    }
    #comparison .pc .ttl {
        padding: 4% 0 2%;
    }
}

/*悪徳業者にご注意ください*/
#attention_wrapper {
    margin-top: -6%;
    position: relative;
}

#attention_wrapper .ab{
    position: absolute;
    width: 90%;
    left: 5%;
    bottom: 6%;
}

@media screen and (min-width: 767px){
    .attention_ttl {
        background-image: url(../img/attention_ttl_pc_bg.png);
        background-size: cover;
        text-align: center;
        background-position: top;
    }
    .attention_ttl img{
        max-width: 500px;
        margin: 0 auto;
        padding: 9% 0 3%;
    }

    .attention_top {
        background-image: url(../img/attention_pc_bg.png);
        background-size: cover;
        text-align: center;
        background-position: bottom;
    }
    .attention_top img {
        max-width: 650px;
        margin-top: -2%;
        padding-top: 5%;
    }

    .attention_bottom {
        background-image: url(../img/attention_bottom_pc_bg.jpg);
        background-size: cover;
        text-align: center;
        background-position: top;
    }
    .attention_bottom img {
        max-width: 650px;
        padding: 2% 0 5%;
    }
}

/*流れ*/
@media screen and (min-width: 767px){
    #flow {
        background-color: #dc192a;
    }
    #flow .pc {
        text-align: center;
    }
    .flow_ttl {
        background-image: url(../img/flow_ttl_pc_bg.jpg);
        background-size: cover;
        background-position: bottom;
        padding: 4% 0 5%;
    }
    .flow_ttl img{
        max-width: 550px;
        margin: 0 auto;
    }
    #flow .contents {
        max-width: 950px;
        margin: 0 auto;
        padding-bottom: 5%;
        margin-top: -3%;
    }
}

/*対応エリア*/
@media screen and (min-width: 767px){
    #area {
        text-align: center;
    }
    .area_ttl {
        background-image: url(../img/area_ttl_pc_bg.jpg);
        background-size: cover;
        text-align: center;
    }
    .area_ttl img {
        max-width: 250px;
        padding: 5% 0;
    }
    #area .contents {
        max-width: 650px;
        padding-top: 3%;
    }
}

/*こんなエラーが出たら*/
#error_wrapper {
    background-color: #ffe700;
}

.error{
    width: 90%;
    margin: 5%;
}

.error img {
    padding-bottom: 2%;
}

@media screen and (min-width: 767px){
    .error_ttl {
        background-image: url(../img/error_ttl_pc_bg.png);
        background-size: cover;
        text-align: center;
        background-position: bottom;
        padding: 5% 0;
    }
    .error_ttl img{
        max-width: 480px;
        margin:  0 auto;
    }
    .error {
        margin: 2% auto;
    }
    .error img {
        max-width: 700px;
        display: block;
        margin: 0 auto;
        padding-bottom: 1%;
    }
    .error_bottom {
        background-image: url(../img/error_bottom_pc_bg.png);
        background-size: cover;
        text-align: center;
    }
    .error_bottom img {
        max-width: 500px;
        padding: 5% 0;
    }
}

/*スライダー*/
.slick-arrow:before{
    content:""!important;
    width: 100%!important;
    height: 100%!important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1 !important;
}

.slick-next {
    right: -5% !important;
    width: 25px !important;
    height: 25px !important;
}

.slick-next:before {
    background-image: url(../img/next_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.slick-prev {
    left: -3% !important;
    width: 25px !important;
    height: 25px !important;
    z-index: 100;
}

.slick-prev:before {
    background-image: url(../img/prev_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/*お客様の声*/
#voice_wrapper {
    background-image: url(../img/voice_bg.jpg);
    background-size: cover;
}

#voice_wrapper .ttl {
    width: 90%;
    margin: 8% 5% 5%;
}

.voice {
    width: 90%;
    margin: 0 5%;
    padding-bottom: 20%;
}

.voice img {
    width: 90%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    margin: 0 auto;
    padding: 0 19px;
}

@media screen and (min-width: 767px){
    #voice_wrapper {
        background-image: none;
        background-color: #ffe700;
        text-align: center;
    }
    #voice_wrapper .ttl{
        max-width: 750px;
        margin: 0 0 2%;
    }
    .voice {
        padding-bottom: 5%;
        max-width: 750px;
        margin: 0 auto;
    }
    .slick-prev {
        left: -1% !important;
    }
    .slick-next {
        right: -2% !important;
    }
}

/*よくあるご質問*/
#qa_wrapper {
    background-color: #ffffe0;
}

#qa_wrapper .ttl {
    width: 88%;
    margin: 15% 6% 2%;
}

.cp_qa {
    width: 90%;
    margin: 0 5%;
    padding-bottom: 10%;
} 

.cp_qa img {
    width: 13%;
}

.cp_actab {
    position: relative;
    overflow: hidden;
    width: 100%;
    color: #1b2538;
}

.cp_actab input {
    position: absolute;
    opacity: 0;
}

.cp_actab label {
    padding-left: 3%;
    text-indent: 0em;
    gap: 10px;
}

.question {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    background: linear-gradient(140deg,rgba(0, 0, 0, 1) 0%, rgba(82, 82, 82, 1) 0%, rgba(28, 28, 28, 1) 100%);
    padding: 5%;
    position: relative;
}

.question p {
    color: #fff;
}

.question::after,
.question::before {
    content: "";
    position: absolute;
    right: 1.3em;
    top: 45%;
    width: 2px;
    height: 0.75em;
    transition: all 0.3s;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.question::after {
    transform: rotate(90deg);
}

.cp_actab label {
    border-radius: 0 0 10px 10px;
}

.answer {
    display: flex;
    align-items:flex-start;
    gap: 10px;
    background-color: #fff;
    padding: 5%;
    position: relative;
    overflow: hidden;
    height: 0;
    padding: 0 0 0 2.5em;
    -webkit-transition: max-height 0.2s;
    transition: max-height 0.2s;
}

.answer p{
    font-family:Arial, Helvetica, sans-serif;
}

.cp_qa .cp_actab input:checked ~ .answer {
    height: auto;
    background: #fff;
    border-top: none;
    border: solid 2px #000;
    padding: 5%;
}
.cp_qa .cp_actab input:checked + label .question::before {
	transform: rotate(90deg);
}

@media screen and (min-width: 767px){
    #qa_wrapper {
        text-align: center;
    }
    #qa_wrapper .ttl {
        max-width: 350px;
        margin: 5% 0 1%;
    }
    .cp_qa {
        max-width: 550px;
        margin: 0 auto;
        padding-bottom: 5%;
    }
    .cp_qa img{
        width: 8%;
    }
    .answer p {
        text-align: left;
    }
    .question {
        padding: 3%
    }
}
    
/*お問い合わせフォーム*/
#form {
    background-image: url(../img/contact_bg.jpg);
    background-size: cover;
    padding-bottom: 15%;
}

#form .ttl {
    width: 90%;
    margin: 10% 5% 5%;
}

.explanation {
    text-align: center;
    font-size: 15px;
}

.form_content {
    width: 90%;
    margin: 0 5%;
    background-color: #fff;
    border-radius: 10px;
    margin-top: 5%;
    padding: 5%;
}

.Q_section img {
    margin: 2% 0 5%;
}

.q_text {
    margin-bottom: 5%;
}

.Q_section label b {
    border-left: 10px solid #000;
    padding: 3px 0 3px 5px;
}

.Q_section input,
.Q_section select,
.Q_section textarea {
    margin: 3% 0 8%;
    width: 100%;
    padding: 1%;
    font-size: 18px;
}

/* placeholderの文字サイズを小さくする */
.Q_section input::placeholder,
.Q_section textarea::placeholder {
    font-size: 14px;
    color: #999;
}

/* Webkit系ブラウザ（Chrome、Safari等）用 */
.Q_section input::-webkit-input-placeholder,
.Q_section textarea::-webkit-input-placeholder {
    font-size: 14px;
    color: #999;
}

/* Firefox用 */
.Q_section input::-moz-placeholder,
.Q_section textarea::-moz-placeholder {
    font-size: 14px;
    color: #999;
}

/* IE用 */
.Q_section input:-ms-input-placeholder,
.Q_section textarea:-ms-input-placeholder {
    font-size: 14px;
    color: #999;
}

.date {
    padding-top: 5%;
}

.date input,
.date select {
    margin: 0 0 3%;
}

.Q_section label span.must {
    margin-left: 10px;
    color: #fff;
    background: #ff0018;
    padding: 4px 4px 4px;
    font-size: 11px;
    margin-bottom: 3px;
    margin-right: 2px;
    border-radius: 3px;
}

.num input {
    width: 28%;
}

button.slide-prev,
button.slide-next.question_btn_next  {
    display: block;
    text-align: center;
    margin: auto;
    background: linear-gradient(to bottom, #5d97ec, #1e68d6);
    box-shadow: 0px 9px 0px 0px #003078;
    font-weight: bold;
    width: 220px;
    height: 60px;
    color: #fff;
    font-size: 20px;
    border-radius: 10px;
    border: none;
    margin: 5% auto;
}

button.slide-prev{
    background: #797979;
    box-shadow: 0px 9px 0px 0px rgb(105 105 105);
}

.slide-next.question_btn_next:disabled {
    background: #ccc;
    box-shadow: 0px 9px 0px 0px rgba(185, 185, 185, 1);
}

input[type=submit] {
    width: auto !important;
    padding: 12px 30px 12px 30px;
    position: relative;
    text-decoration: none;
}

input.submitBtn.question_btn_next {
    display: block;
    text-align: center;
    margin: auto;
    background: linear-gradient(to bottom, #5d97ec, #1e68d6);
    box-shadow: 0px 9px 0px 0px #003078;
    font-weight: bold;
    max-width: 500px;
    width: 100%;
    height: 70px;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    margin-bottom: 25px;
    line-height: 1.3;
}

input.submitBtn.question_btn_next:disabled {
    background: #ccc;
    box-shadow: 0px 9px 0px 0px rgba(185, 185, 185, 1);
}

.slick-disabled {
    opacity: 0;
}

/* Q_section03表示時のslide-prevボタンのスタイル */
.slide-prev.step3-active {
    margin-top: -30% !important;
}
.form_content.step1-active {
    padding-bottom: 0;
}

.suc {
    height: 150px;
    overflow-y: scroll;
    border-color: #d6d6d6;
    color:#303030;
    border-style: solid;
    border-width: 1px;
    padding: 20px 13px 15px 20px;
    font-size: 12px;
    margin: 2% 0%;
    font-family:Arial, Helvetica, sans-serif;
}

.err {
    color: #e80000;
    background: rgb(255, 237, 237);
    font-weight: bold;
    margin: 0 0 10px;
    padding: 0 10px;
    font-size: 12px;
}


@media screen and (min-width: 767px){
    .slide-prev.step3-active {
        margin-top: -20% !important;
    }
    #form {
        padding-bottom: 4%;
        background-image: url(../img/contact_pc_bg.jpg);
        background-size: cover;
    }
    #form .ttl {
        max-width: 500px;
        padding: 5% 0 2%;
        margin: 0 auto;
    }
    .form_content {
        max-width: 650px;
        margin: 2% auto;
        padding: 2% 2% 5%;
        border-radius: 25px;
    }
    .Q_section input, .Q_section select, .Q_section textarea {
        margin: 1% 0 5%;
    }
    .q_text01 {
        padding: 1%;
    }
}

/*フッター*/
footer {
    background-color: #9f9f9f;
    text-align: center;
    padding: 5% 0 10%;
}

footer p {
    font-family:Arial, Helvetica, sans-serif;
    color: #fff;
    font-weight: lighter;
    font-size: 13px;
    line-height: 1.5;
}

footer a {
    color: #fff;
}

@media screen and (min-width: 767px){
    footer {
        padding: 2% 0;
    }
}

/*確認ページ*/
#confirmation,
#finish {
    background-color: #f1f1f1;
}

#confirmation h2,
#finish h2 {
    background: #1e68d6;
    padding: 40px 0 40px;
    margin-top: 0;
    color: #fff;
    margin-bottom: 32px;
    text-align: center;
    font-size: 24px;
    line-height: 1.2;
}

#confirmation #content,
#finish #content {
    background-color: #f1f1f1;
    width: 100%;
    padding: 15px 15px 40px 15px;
    margin: 0 auto;
    max-width: 750px;
    text-align: left;
}

.form_tbl {
    width: 100%;
    margin: 0 auto;
}

.form_tbl table{
    width: 100%;
    border: none;
}

.form_tbl input,
.form_tbl select,
.form_tbl textarea {
    border: 1.5px solid #cacaca;
    border-radius: 5px;
    text-indent: 1em;
    padding: 10px 0;
    width: 100%;
    font-size: 12px;
}

.form_tbl th {
    background: #ececec;
    display: block;
    width: 100%;
    border: none !important;
    color: #313131;
    font-size: 16px;
    text-align: left;
    margin-bottom: 5px;
    padding: 10px;
}

#confirmation .submitbtn {
    text-align: center;
}

#confirmation .submitbtn input{
    display: block;
    text-align: center;
    margin: auto;
    background: linear-gradient(to bottom, #5d97ec, #1e68d6);
    box-shadow: 0px 9px 0px 0px #003078;
    font-weight: bold;
    max-width: 500px;
    height: 70px;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    margin-bottom: 5%;
    line-height: 1.3;
    padding: 5% 10% 5% 4%;
}

#confirmation .submitbtn .back{
    background: #ccc;
    box-shadow: 0px 9px 0px 0px rgba(185, 185, 185, 1);
}

#finish .backbtn {
    width: 290px;
    font-size: 20px;
    margin: 0 auto;
    margin-top: 40px;
    font-weight: bold;
    padding: 16px 5px 15px 5px;
    text-decoration: none;
    color: #FFF;
    background: linear-gradient(to bottom, #5d97ec, #1e68d6);
    border: solid 1px #1e68d6;
    border-radius: 5px;
    text-align: center;
}

#finish .backbtn a {
    color: #fff;
    text-decoration: none;
}

/* confirmation.htmlのテーブルを縦並びにする */
.form_tbl table {
    width: 100%;
    border: none;
}

.form_tbl th {
    background: #ececec;
    display: block;
    width: 100%;
    border: none !important;
    color: #313131;
    font-size: 16px;
    text-align: left;
    margin-bottom: 5px;
    padding: 10px;
}

.form_tbl td {
    display: block;
    width: 100%;
    border: none !important;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff;
}

.form_tbl tr {
    display: block;
    margin-bottom: 20px;
    border: none;
}

@media screen and (min-width: 767px){
    #confirmation .submitbtn input {
        padding: 3% 7% 3% 4%;
    }
}

/*追従*/
#floating {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    opacity: 0;
}
#floating img {
    padding: 3% 5%;
}
#floating a::before {
    width: 40px;
    height: 40px;
    left: -0.5%;
    content: "";
    display: inline-block;
    position: absolute;
    background: url(../img/hand.png) no-repeat;
    background-size: contain;
    animation: fuwafuwa 1.5s infinite ease-in-out .8s alternate;
    z-index: 2;
    top: 26%;
}
#floating.active {
    opacity: 1;
    transition: 0.3s;
}

#floating.stop{
    opacity: 0;
    transition: 0.3s;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0) rotate(-3deg);
    }
    50% {
        transform: translate(0, -3px) rotate(0deg);
    }
    
    100% {
        transform: translate(0, 0) rotate(3deg);
    }
}

@media screen and (min-width: 767px){
    #floating {
        background: none;
        right: 2%;
        bottom: 5%;
        width: 25%;
        height: auto;
    }
    #floating img {
        padding: 1%;
    }
    #floating a::before {
        left: -5%;
    }
}

/*メディアクエリ*/
.pc {
    display: none;
}

@media screen and (min-width:767px){
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
}