@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 {
    scroll-behavior: smooth;
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    margin: 0;
    font-size: 17px;
    background-color: #f0f0f0;
}

a:hover,
a:active {
    text-decoration: none;
}

/*初期設定
----------------------------------------------------*/
#wrapper{
    width: 650px;
    /*padding: 0 0 20px 0;*/
    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;
    }
    #wrapper{
        width: 100%;
    }
}
/*layout
----------------------------------------------------*/

img{
    width: 100%;
    vertical-align: top;
}
.w60{
    display: block;
    width: 60%;
    margin: auto;
}
.w80{
    display: block;
    width: 80%;
    margin: auto;
}
.tac{
    text-align: center;
}
.tar{
    text-align: right;
}
.mt0{
    margin-top: 0;
}
.mb0{
    margin-bottom: 0;
}
.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mt20{
    margin-top: 20px;
}
.mb30{
    margin-bottom: 30px;
}
.mt30{
    margin-top: 30px;
}
.mb40{
    margin-bottom: 40px;
}
.mt40{
    margin-top: 40px;
}
.pink{
    color: rgb(255, 0, 120);
}
.red{
    color: rgb(255, 0, 0);
}
.gray{
    color: rgb(187, 187, 187);
}
.orange{
    color: rgb(255, 153, 0);
}
.blue{
    color: rgb(0, 0, 255);
}
.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;
}

.hea{
	display: flex;
    justify-content: space-between;
    padding: 2%;
    background-color: #fff;
    max-width: 650px;
    margin: 0 auto;
}
.hea div{
	width: 45%;
}
/*fv動き*/
.fv{
    position: relative;
    overflow: hidden;
}
.main01.zoom {
    animation: zoomInOut1 3s 
    ease-in-out infinite;
}
.main02.zoom {
    animation: zoomInOut2 3s 
    ease-in-out infinite;
}
.main-img {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(10px 10px 5px #aaaaaa36);
}
.main01 {
    width: 45%;
    top: 10%;
    left: 25%;
    transform: translate(-50%, -50%);
}
.main02 {
    width: 93%;
    top: 23%;
    left: 51%;
    transform: translate(-50%, -50%);
}
@keyframes zoomInOut1 {
    0%, 40%, 100% {
      transform: translate(-50%, -50%) scale(1);
    }
    20% {
      transform: translate(-50%, -50%) scale(1.05);
    }
  }
  
  @keyframes zoomInOut2 {
    0%, 50%, 100% {
      transform: translate(-50%, -50%) scale(1);
    }
    70% {
      transform: translate(-50%, -50%) scale(1.05);
    }
    90% {
      transform: translate(-50%, -50%) scale(1);
    }
  }
/*cta*/
.cta_btn{
    width: 96%;
    max-width: 590px;
    margin: 0 auto;
    padding: 8% 0;
}
.cta_btn img{
    margin-top: 5px;
    cursor: pointer;
    z-index: 10;
    position: relative;
}
.cta_btn a {
    display: block;
    border-radius: 32px;
    text-align: center;
    text-decoration: none;
}
.cta_btn .blinking{
    font-size: 20px;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
    z-index: 10;
    position: relative;
}
.tel_btn{
    z-index: 10;
}
/* ボタンアニメ */
@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: 5%;
		transition: .2s;
	}
	.btn_anm:before, .btn_anm:after {
		content: "";
		position: absolute;
		z-index: 0;
		width: 100%;
		height: 100%;
		top: -3px;
		left: 0;
		border-radius: 10px;
		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: 1px;
        left: 0;
        border-radius: 10px;
        background: #ffc3a2;
        border: 1px solid #ffae82;
        transform: translate3d(0, 0, 0);
    }
/*対応事例*/
.case{
    background-image: url(../img/case_bg.webp);
    background-position: top;
    background-size: cover;
    padding: 8% 0;
}
.case_inner{
    width: 96%;
    margin: 0 auto;
}
.case_inner .ttl{
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding-bottom: 30px;
}
.tab label{
    width: 100%;
    flex: 1;                    /* 均等幅にする（固定幅にしたくない場合） */
    text-align: center;
    padding: 12px 20px;         /* 内側の余白＝タブの高さ */
    font-size: 16px;            /* 文字サイズ */
    font-weight: bold;
    background: #dadada;
    color: #333;
    border-radius: 10px 10px 0 0; /* 上だけ角丸 */
    cursor: pointer;
    transition: all 0.3s ease;  /* ホバー時のアニメーション */
}
.panel_area{
    width: 100%;
    margin: 0 auto;    background-color: #ffff;
    padding: 20px 10px;
    margin-bottom: 30px;
}
.tab_panel{
    display: none;
}
.tab_panel.active {
    display: block;
}
.tab_label.active {
    opacity: 1;
}
.tab_panel img{
    width: 49%;
    padding-bottom: 5px;
}
.tab.wig_tab {
    display: flex;              /* 横並びにする */
    justify-content: center;    /* 中央寄せ */
    gap: 10px;                  /* タブ同士のすき間 */
}
.tab_label:hover {
    background: #eaeaea;
}
.tab_label.active {
    background-color: #fff;
}
/* ポップアップのベース */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* 表示状態 */
.popup.active {
    display: flex;
}
    /* ポップアップ内ラッパー */
.popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
/* 内容本体 */
.popup-content {
    background: #eff9ff;
    border-radius: 12px;
    padding: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
/* 閉じるボタン（外） */
.popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    background: none;
    border: none;
    color: #fff; /* 白色 */
    cursor: pointer;
    z-index: 1100;
}

    /* 背景スクロール停止用 */
body.no-scroll {
    overflow: hidden;
}
/*安心お見積り宣言！*/
.check{
    background-color: #fff8e1;
}
.check img{
    width: 90%;
    margin: 0 auto;
    display: block;
    padding: 8% 0;
}
/*お客様の声*/
.voice{
    background-image: url(../img/voice_bg.webp);
    background-position: top;
    background-size:contain;
    padding: 8% 0 20%;
    position: relative;
}
.voice .bottom{
    position: absolute;
    bottom: 0;
}
.voice_inner .ttl{
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding-bottom: 30px;
}
.voice_slider {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.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;     /* アスペクト比を維持 */
    display: block;   /* 下の余白を消す */
}
.slide_btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #0d90f4;
    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: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.slider_dots span.active {
    background: #0d90f4;
}

/*よくあるご質問*/
.qa{
    padding: 8% 0;
}
.qa .ttl{
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding-bottom: 30px;
}
.qa .accordion{
    width: 96%;
    margin: 0 auto;
}
.accordion-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    background-color: #48a7f0;
    color: #fff;
    padding: 15px 56px 15px 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
    font-weight: bold;
    border-radius: 10px;
}
.accordion-title::after {
    content: "＋"; /* 初期は＋ */
    font-size: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.accordion-item.active .accordion-title::after {
    content: "ー"; /* 開いたらー */
}
.accordion-content {
    display: none;
    padding: 10px 15px 15px;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.acc_fl {
    display: flex;
}
.QA_icon_Q, .QA_icon_A {
    margin-right: 10px;
}
.QA_icon_Q {
    margin: 5px 10px 5px 5px;
    flex-grow: 0;
    flex-shrink: 0;
    width: 17px;
}
.QA_icon_A {
    margin: 4px 10px 11px 5px;
    width: 17px;
    flex-grow: 0;
    flex-shrink: 0;
}
.accordion-item {
    margin-bottom: 10px;
}
/*お問い合わせ*/
form{
    background: #142570!important;
}
.contact{
    background-color: #142570;
    padding: 3% 3% 11%;
}
.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: #ff6000;
    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 tr .min {
    font-size: 0.7rem;
    margin-bottom: 5px;
    font-weight: normal;
}
.form_tbl {
    margin: 0 auto;
    padding: 7% 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%;
}
.form_tbl input#tel {
    text-indent: 1em;
    padding: 10px 0;
    width: 27%;
}
.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: 20px;
}
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;
}
.checkbox-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 横に2列 */
    gap: 10px; /* ボタン間の余白 */
    max-width: 400px; /* 必要に応じて幅を制限 */
  }
  
  .checkbox-buttons label {
    position: relative;
    cursor: pointer;
  }
  
  .checkbox-buttons input[type="checkbox"] {
    display: none; /* チェックボックス非表示 */
  }
  
  .checkbox-buttons span {
    display: block;
    text-align: center;
    padding: 10px 0;
    border-radius: 3px;
    background-color: #e7e7e7;
    color: #142570;
    transition: all 0.2s;
    font-size: 14px;
    user-select: none;
  }
  
  /* ホバー時 */
  .checkbox-buttons span:hover {
    color: #8fa4ff;
  }
  
  /* チェックされたときの見た目 */
  .checkbox-buttons input[type="checkbox"]:checked + span {
    background-color: #8fa4ff;
    color: #fff;
  }  

/*追従*/
.floating {
    display: none;
}
.floating.show {
    display: block;
}
.floating_inner {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 800;
    transition: 0.5s;
}
.floating_cta {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding-bottom: 0px;
    background-color: #70c8ff;
}
.floating_cta .cta{
    margin: 3%;
    margin-top: -13px;
}
.floating_cta img{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 50px 0;
    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: 50px;
}
.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;
}
