@charset "UTF-8";

@import url('https://fonts.googleapis.com/css?family=Asap+Condensed:600');

/*additional reset
---------------------------------------------------*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.safari #content, body.safari #footer {/*サファリでリンク先から戻った時文字が拡大する対応*/
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    font-size: 17px;
    background-color: #f0f0f0;
    margin:0 auto;
}

a:hover,
a:active {
    text-decoration: none;
}

/*初期設定
----------------------------------------------------*/
#wrapper{
    width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
    background-color: #fff;
}
.content{
    display: block;
    margin: 0 auto;
    width: 100%;
}
@media screen and (min-width:640px) {
    .pc{
        display: block;
    }
    .sp{
        display: none;
    }
}

@media screen and (max-width:640px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
}
/*layout
----------------------------------------------------*/

img{
    width: 100%;
    vertical-align: bottom;
}
h1,h2{
    margin:0;
}
.marker{
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%,#fffca5 0%) repeat scroll 0 0;
}
.marker02{
    border-bottom-style: dotted;
    border-bottom-color: #dcdcdc;
    border-bottom-width: 3px;
    padding-bottom: 3px;
}
.fsLL{
    font-size: 26px;
}
.fsL{
    font-size: 22px;
}
.fsM{
    font-size: 20px;
}
.fsS{
    font-size: 10px;
}
/*追従*/
.follow{
    position: fixed;
    bottom: 0;
    background-color: #0d1b6279;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index:80;
    pointer-events: none;
}
.follow a{
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 90;
    width: 80%;
    max-width: 350px;
    color: #fff;
    font-size: 15px;
}
.follow p{
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 90;
    width: 80%;
    font-size: 14px;
    color: #fff;
}
.follow.show{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.follow.show {
    opacity: 1;
    visibility: visible;
}

.follow.show-none {
    opacity: 0;
    visibility: hidden;
}
.follow .bg{
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    margin-top: -40px;
}
.hea {
    display: flex;
    justify-content: space-between;
    padding: 4% 2%;
    background-color: #fff;
    margin: 0 auto;
    width: 96%;
    align-items: center;
}
.hea div {
    width: 48%;
}
.mv{
    background-image: url(../img/mv_pc_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media screen and (min-width:640px) {
    .follow{
        position: fixed;
        bottom: 0;
        background-color:transparent;
        width: 40%;
        max-width: 400px;
    }
    .hea {
        padding: 10px 0;
        max-width: 1100px;
    }
    .hea div {
        width: 250px;
    }
    .mv_inner {
        position: relative;
        max-width: 1200px;
        margin: auto;
        padding: 10px 0 0px 120px;
        width: 100%;
    }
    .follow a{
                bottom: 35%;
    }
    .follow p{
        text-align: center;font-size: clamp(0.2rem, 0.5rem + 0.39vw, 1rem);
    }
    .follow.show{
        bottom: 30px;
        right: 0px;
    }
}
.cta_area{
    position: relative;
    background-color: #e7f2ff;
    padding: 20px 0 50px;
}
.cta_area .cta_item{
    position: absolute;
    bottom: 16%;
    width: 92%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.cta_area_inner{
    width: 92%;
    max-width: 800px;
    margin: 0 auto;
    filter: drop-shadow(3px 3px 4px #9ab0ca);
}
.cta_area .cta_item a {
    display: inline-block;
    border-radius: 9999px; /* 超大きい値でカプセル化 */
    overflow: hidden;      /* ← これ重要 */
    margin-bottom: 3px;
}
/*.cta_area .cta_item a img {
    display: block;
}*/
.cta_area .blinking {
    font-size: 18px;
    color: #fff;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
    z-index: 10;
    position: absolute;
    bottom: 4%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.cta_item img {
    margin-top: 5px;
    cursor: pointer;
    z-index: 10;
    position: relative;
}
/* ボタンアニメ */
@keyframes anime{
	0%{transform:scale(.95); opacity:1}
	90%{opacity:.1}to{transform:scale(1.2,1.5); opacity:0}
	}
	.btn_anm {
		position: relative;
		margin-top: 3%;
		margin-bottom: -2%;
		transition: .2s;
	}
	.btn_anm:before, .btn_anm:after {
		content: "";
		position: absolute;
		z-index: 0;
		width: 100%;
		height: 100%;
		top: -4px;
		left: 0;
		border-radius: 100px;
		background: #ffc3a2;
		border: 1px solid #ffae82;
		transform: translate3d(0,0,0);
	}
	.btn_anm:before {
		animation: anime 2s ease-out infinite;
	}
	.btn_anm:after {
	 animation: anime 2s ease-out 1s infinite;
	}
    .btn_anm span:after {
		content: "";
		position: absolute;
		top: 50%;
		right: 30px;
		width: 8px;
		height: 8px;
		margin: -4px 0 0 0;
		border-right: 1px solid #fff;
		border-top: 1px solid #fff;
		transform: translateX(5px) rotate(45deg);
	}
    .btn_anm span {
		display: block;
		position: relative;
		font-family: sans-serif;
	}
    .btn_anm:before, .btn_anm:after {
        content: "";
        position: absolute;
        z-index: 0;
        width: 100%;
        height: 100%;
        top: -4px;
        left: 0;
        border-radius: 100px;
        background: #ffc3a2;
        border: 1px solid #ffae82;
        transform: translate3d(0, 0, 0);
    }
@media screen and (min-width:640px) {
    .cta_area .blinking {
        font-size: clamp(1.125rem, 0.969rem + 0.39vw, 1.438rem);
        bottom: 3.5%;
    }
    .cta_area .cta_item{
        display: flex;
        gap: 5px;
        width: 94%;
        bottom: 19%;
        align-items: center;
    }
    .cta_item .btn {
        width: 100%;
    }
    .btn_anm{
    margin-top: 0;
    margin-bottom: 0;
    }
}
/*悩みコンテンツ*/
.nayami .ttl{
    background-color: #0c1b61;  
}
.nayami .ttl img{
    width: 90%;
    max-width: 550px;
    margin: 0 auto;
    display: block;
    padding: 30px 0;
}
.nayami_item{
    background-color: #e2e0dd;
}
.nayami_item img{
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}
.nayami_bottom{
    background: #172772;
    clip-path: ellipse(120% 100% at 50% 0%);
    margin-bottom: -150px;
    position: relative;
    z-index:1;
    padding-top: 60px;   /* 上に出す分の余白を確保 */
}
.nayami_bottom img{
    width: 90%;
    max-width: 900px;
    margin: -100px auto 0;   /* 上に出す */
    display: block;
}
.curve-bg{
    position: relative;
    padding: 100px 0 0;
}
.curve-bg::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: linear-gradient(180deg,#ffa64d,#ff3b1f);
    z-index:0;
}
.curve-bg img{
    position:relative;
    z-index:2;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}
  /*事例*/
.case{
    background-color: #ffefe3;
    padding: 50px 0 15px;
}
.case_inner{
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
}
.case_item{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.case_item .trouble-item{
    width: 48%;
    filter: drop-shadow(3px 3px 4px #b4645067);
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}
.modal-content {
    background: white;
    margin: 30% auto;
    padding: 0.5rem;
    border-radius: 10px;
    width: 80%;
    max-width: 650px;
    position: relative;
}
.close {
    position: absolute;
    right: 10px;
    top: -50px;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 0px;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
}
.modal-content a{
    position: absolute;
    bottom: 3%;
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.check{
    background-image: url(../img/check_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 200px 0 30px;
}
.check_inner{
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
}
.check_inner img{
    margin-bottom: 20px;
}
@media screen and (min-width:640px) {
    .case_item .trouble-item{
        flex: 0 0 calc((100% - 36px) / 4);
    }
    .modal-content{
        max-width: 400px;
        margin: 9% auto;
    }
    .check_item01{
    width: 60%;
    position: relative;
    z-index: 2;
    bottom: 20px;
    }
    .check_item02{
        z-index: 3;
    }
    .check_item01_bg{
    width: 62%;
    position: absolute;
    bottom: 0;  /* ←重なり調整 */
    right: 2%;
    z-index: 1;
    }
    .check{
    background-color: #FFEFE5;
    background-image: none;
    padding: 50px 0 50px;
    }
    .check_item01_inner{
    position: relative;
    display: flex;
    }
    .check_inner img{
        object-fit: contain;
        margin-bottom: 0px;
    }

}
/*選ばれる理由*/
.reason{
    background-image: url(../img/reason_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 40px 0 0px;
}
.reason .ttl{
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}
.reason .reason_inner{
    width: 94%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
}
/*お客様の声*/
.voice{
    padding: 20px 0 50px;
    position: relative;
    background-image: linear-gradient(#61c9ff, #0188f2 99%);
}
.voice .bottom{
    position: absolute;
    bottom: 0;
}
.voice_inner .ttl{
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    padding-bottom: 30px;
}
.voice_slider {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.slider_view {
    overflow: hidden;
    width: 100%; /* 画面幅に合わせる */
    margin: 0 auto; /* 中央寄せ */
}
.slider_track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%; /* ←3枚スライドなら100% × 3 */
}
.slide {
    min-width: 100%; /* 1枚ずつ表示 */
    flex-shrink: 0;
}
.slide img {
    width: 33%;      /* 親幅に合わせる */
    height: auto;     /* アスペクト比を維持 */
}
.slide_btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    user-select: none;
}
.slider_dots {
    text-align: center;
    margin-top: 15px;
}
.slider_dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.slider_dots span.active {
    background: #0c1b61;
}
@media screen and (min-width:640px) {
    .reason{
        background-image: url(../img/reason_bg_pc.jpg);
    }
    .reason .reason_inner img{
        width: 32.5%;
        filter: drop-shadow(5px 5px 6px #8b8b8b7a);
        padding: 0 10px;
    }
    .reason .reason_inner{
        padding-bottom: 60px;
        text-align: center;
    }
    .slider_dots{
        margin-top: 30px;
    }
    
}
/*対応エリア*/
.area{
    background-image: url(../img/area_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 50px 0 30px;
}
.area .ttl{
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.area .item{
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}
.flow{
    background-color: #ffefe3;
    padding: 50px 0 40px;
}
.flow .ttl{
    width: 90%;
    max-width: 650px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.flow_inner{
    width: 96%;
    max-width: 800px;
    margin: 0 auto;
}
.flow_inner img{
    filter: drop-shadow(6px 6px 5px #b464502d);
}
@media screen and (min-width:640px) {
    .area{
        background-image: url(../img/area_bg_pc.jpg);
    }
    .area_inner{
        width: 92%;
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .area_inner h2{
        width: 50%;
        max-width: 450px;
    }
    .area_inner .item{
        width: 50%;
    }
    
}
.qa{
    background-color: #eeeeee;
    padding: 50px 0;
}
.qa .ttl{
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    margin-bottom: 40px;
}
.qa_item{
    background-color: #fff;
    width: 90%;
    max-width:800px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 5px 5px 6px #6c84a149;
}
.qa_item .q{
    border-bottom: solid 1px #9999995d;
    position: relative;
    font-weight: bold;
    color: #0c1b61;
    padding-bottom: 20px;
}
.qa_item .q,
.qa_item .a {
    position: relative;
    padding-left: 50px;
}
/* 共通 */
.qa_item .q::before,
.qa_item .a::before {
    content: "";
    position: absolute;
    left: 0.5em;
    top: 35%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.qa_item .q::before {
    background-image: url("../img/Q.png");
}
.qa_item .a::before {
    background-image: url("../img/A.png");
}

/*お問い合わせ*/
form{
    background: #142570!important;
    width: 100%;
    margin: 0 auto;
}
.contact{
    background-color: #142570;
    padding: 50px 0 30px;
}
.contact .ttl{
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.explanation .must {
    font-size: 70%;
    margin-right: 5px;
    color: #fff;
    background: #ff6000;
    padding: 4px 10px 5px;
    font-size: 13px;
    margin-bottom: 2px;
    border-radius: 3px;
    font-weight: bold;
}
label span.must {
    font-size: 70%;
    margin-left: 10px;
    margin-right: 0;
    color: #fff;
    background: #e70014;
    padding: 4px 10px 5px;
    font-size: 13px;
    margin-bottom: 2px;
    border-radius: 3px;
}
label span.any{
    font-size: 70%;
    margin-left: 10px;
    margin-right: 0;
    color: #fff;
    background: #a3a3a3;
    padding: 4px 10px 5px;
    font-size: 13px;
    margin-bottom: 2px;
    border-radius: 3px;
}
.explanation{
    background-color: #fff;
    padding: 13px 10px;
    text-align: center;
    width: 80%;
    margin: 30px auto 20px;
}
.form_tbl table{
    width: 100%;
}
.form_tbl tr .min {
    font-size: 0.7rem;
    margin-bottom: 5px;
    font-weight: normal;
}
.form_tbl {
    margin: 0 auto;
    padding: 4% 5%;
    background-color: #fff;
    border-radius: 10px;
}
.form_tbl tr{
    display: block;
    padding-bottom: 20px;
}
.form_tbl td {
    display: block;
    width: 100%;
    border: none !important;
    margin-bottom: 13px;
}
.form_tbl th {
    display: block;
    width: 100%;
    border: none !important;
    color: #142570;
    font-size: 16px;
    text-align: left;
    margin-bottom: 5px;
}
.form_tbl input, select, textarea {
    text-indent: 1em;
    padding: 10px 0;
    width: 100%;
}
.zip-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}
.zip-wrapper input {
    width: 27% !important;
}
.suc {
    height: 150px;
    overflow-y: scroll;
    border-color: #d6d6d6;
    border-style: solid;
    border-width: 1px;
    padding: 20px 13px 15px 20px;
    font-size: 12px;
    margin: 2% 0%;
    word-break: break-all;
}
.submitbtn {
    text-align: center;
    margin-top: 0px;
}
input[type=submit] {
    -webkit-appearance: none;
    width: auto !important;
    padding: 15px 30px 15px 12px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    background: linear-gradient(to bottom, #ff6000, #ff6000);
    border: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.h-adr input, .h-adr select {
    margin-bottom: 10px;
}
.yubin {
    display: inline-block;
    width: 40% !important;
    margin-left: 2%;
}
.checkbox-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  /* ラベル全体をボタン化 */
  .checkbox-buttons label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f7f7f7;
    cursor: pointer;
    transition: 0.2s;
  }
  
  /* チェックボックスを透明にして残す（重要） */
  .checkbox-buttons input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
  }
  
  /* 中の丸 */
  .checkbox-buttons input[type="radio"]::before {
    content: "";
    position: absolute;
    inset: 4px;
    background: #1bb3c1;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.2s;
  }
  
  /* チェック時 */
  .checkbox-buttons input[type="radio"]:checked::before {
    transform: scale(1);
  }
  
  /* チェック時の枠色 */
  .checkbox-buttons input[type="radio"]:checked {
    border-color: #1bb3c1;
  }
  
  /* テキスト */
  .checkbox-buttons span {
    font-size: 14px;
  }

  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 40px 10px;
    color: #ffffff;
    font-size: 15px;
    margin: 0 auto;
}
footer .footer_text a{
    text-decoration: none;
    color: #fff;
}
/*お問い合わせ完了*/
.form_ttl{
    width: 90%;
    max-width: 500px;
    padding: 40px 0;
    margin: 0 auto;
}
.form_tbl{
    width: 90%!important;
    margin-bottom: 30px;
    max-width: 800px;
}
.form_check{
    background-color: #f1f1f1!important;
}
.step01{
    background-color: #f1f1f1!important;
}
#form {
    scroll-margin-top: 0px; /* 固定ヘッダーの高さに合わせる */
  }
.trouble_inner img.lazyload.pc:nth-of-type(4) {
    width: 85% !important; /* 好きなサイズに調整してください */
    height: auto; /* アスペクト比を維持 */
    max-width: 1100px;
}