@charset "utf-8";

* {
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', YuGothic, 'Yu Gothic', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', sans-serif;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

body {
	margin: 0;
	background-color: #f4f3f3;
}

#wrapper {
	margin: 0 auto;
    max-width: 650px;
    width: 650px;
    width: 100%;
}

.pc {
	display: block !important;
}

.sp {
	display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 767px) {
	.pc {
		display: none !important;
	}

	.sp {
		display: block !important;
	}
	.all_wrap {
		overflow: hidden;
	}
	#wrapper{
    overflow-x: hidden;
  }
}

/* MV */
.mv {
  position: relative;
  overflow: hidden;
}


/* main01の大きさと位置 */
.anim-box.poyoyon.is-animated {
  opacity: 0;
  /* animation: poyoyon 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; */
}

/* 各画像の配置とアニメーション開始タイミング */
.fv01 {
  position: absolute;
  top: 3.5%;
  left: 0%;
  animation: poyoyon 0.5s 
cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
  z-index: 10;
  width: 68%;
}

.fv02 {
  position: absolute;
  top: 8.8%;
  left: 2.2%;
  z-index: 20;
  opacity: 1;
  width: 73%;
}

.fv03 {
  position: absolute;
  top: 21.8%;
  left: 2%;
  animation: poyoyon 0.5s 
cubic-bezier(0.25, 0.1, 0.25, 1) 1.2s forwards;
  z-index: 10;
  width: 75.5%;
}

@keyframes poyoyon {
  0% {
    transform: translateX(120px);
    opacity: 0;
  }
  50% {
    transform: translateX(-10px);
    opacity: 1;
  }
  70% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


.mv-label {
  position: absolute;       /* MV画像に対して絶対位置 */
  color: #000;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  z-index: 3;               /* 他より前面に */
}

@media screen and (max-width: 767px){
	.mv-label{
  font-size: 4vw;
	top: 83.3%;     
  left: 80.5%;    
	}
}

@media screen and (min-width: 768px){
	.mv-label{
		font-size: 1.4vw;
		top: 85.6%;    
		left: 40.8%;    
		}
}

/* 共通ヘッダースタイル */
header {
  width: 100%;
  background-color: #fff;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1% 0;
	width: 90%;
}

.mf_log {
  width: 40%;
  margin: 1% 0;
}
.mf_log img {
  width: 100%;
  height: auto;
}

.header_cta {
  width: 42%;
}
.header_cta img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .header_inner {
    padding: 1% 5%;
  }
  .mf_log {
    width: 45%;
    margin: 3% 0;
  }
  .header_cta {
    width: 50%;
    margin-left: 5%;
  }
}


/* CTAエリア */
.current-time {
  text-align: center;
  font-size: 5.5vw;
	font-weight: bold;
  color: #000;
  animation: blink 1s linear infinite; /* 1秒かけて点滅 */
	margin-bottom: 1%;
}

.cta_area{
  background: url('../img/cta_bg.webp') no-repeat center center;
  background-size: cover;
  padding: 5% 0;

	padding: 0 0 5% 0;
	margin-top: -2%;
  padding-bottom: 7%;
}
.cta_flex{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 -10px 0;
	padding: 5% 0 0 0;
}
.btn, .mail {
  margin: 0 7%;
	margin-bottom: 3%;
}
.mail {
  display: block;
  width: 86%; /* ボタンと揃えるため任意で調整可能 */
  margin: 0 auto;
}

.mail img {
  width: 100%;
  height: auto;
  display: block;
}


@media screen and (min-width: 768px){
	.current-time {
		text-align: center;
		font-size: 2vw;
		margin-bottom: 1%;
	}
	.cta_area{
		padding: 0 0 5% 0;
	}
}


@media screen and (min-width: 768px) {
  .btn,
  .mail {
    width: 47%;
    margin: 0;
    flex-shrink: 0;
  }
	.mail{
		width: 94%;
	}

  /* <a>タグが小さくならないようにする */
  .cta_btn > a {
    display: block;
    width: 47%;
  }

  /* 各画像を幅いっぱいに広げる */
  .btn img,
  .mail img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* メール画像だけ少し上に */
  .mail img {
    margin-top: -15px;
  }

  .cta_btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0; /* 既存の左右パディングを打ち消し */
    margin-top: 3%;
    justify-content: center;
  }
  .cta_btn .btn,
  .cta_btn .mail{
    width: 80%;
    margin: 0 auto;
  }
  .cta_btn > a{
    width: 100%;
  }
  .cta_btn .mail img{
    margin-top: 0; /* 既存の-15pxを打ち消し */
  }
}



/* ボタンアニメ */
@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: 4%;
		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: #a8f6aa;
    border: 1px solid #6fef74;
		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 a {
		display: block;
		border-radius: 32px;
		text-align: center;
		text-decoration: none;
	}
	.btn_anm span {
		display: block;
		position: relative;
		font-family: sans-serif;
	}
	.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 img {
			z-index: 10;
			position: relative;
	}

/* アニメーション */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes zoomIn {
	to {
			transform: scale(1.5);
	}
}

@keyframes poyopoyo {
	0%, 40%, 60% {
			transform: scale(1.0);
	}
	50% {
			transform: scale(1.05);
	}
}

@keyframes poyopoyo2 {
	0%, 60%, 80% {
			transform: scale(1.0);
	}
	70% {
			transform: scale(1.05);
	}
}

/* フッター */
footer {
	background-color: #262626;
	color: white;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #ffffff;
	font-size: 1vw;
	margin: 0 auto;
}

.footer_text p {
  line-height: 1.1; /* デフォルトより狭め */
  margin: 0.3em 0;  /* 上下の余白も少し詰める場合 */
  font-size: 1rem;  /* 必要に応じて調整 */
	margin-top: 2%;
}

footer img {
	max-width: 60%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1%;
	margin-bottom: 5%;
}
.fixed-call-footer {
	display: none;
}
@media only screen and (max-width: 767px) {
	footer {
		font-size: 3vw;
	}
	.footer_text p {
		line-height: 1.5; /* デフォルトより狭め */
		margin: 0.3em 0;  /* 上下の余白も少し詰める場合 */
		font-size: 0.6rem;  /* 必要に応じて調整 */
		margin-top: 2%;
	}
}
@media only screen and (min-width: 768px) {
	footer img {
		max-width: 40%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1%;
		margin-bottom:1.2%;
	}
	.footer_text p {
		line-height: 1.4; 
		margin: 0.3em 0;  /* 上下の余白も少し詰める場合 */
		font-size: 0.7rem;  /* 必要に応じて調整 */
		margin-top: 1%;
	}
  footer {
    max-width: 650px;
    width: 650px;
}
}

/* price */
.price_bg {
  background: url('../img/price_bg.webp') no-repeat center center;
  background-size: cover;
  padding: 2% 0 5%;
}

.price_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vw;
	margin-top: 5%;
	margin-bottom: 5%;
}

.price_inner img {
  width: 85%;
  height: auto;
  display: block;
}

@media only screen and (min-width: 768px) {
.price_inner {
  gap: 2vw;
}
}

/* トラブル */
.trouble_bg {
  background-color: #ffe032;
  padding: 8% 0 5%;
}

.troubleshooting_bg {
  background-color: #ffe032;
  padding: 12% 0 5%;
}

.trouble_inner {
  position: relative;
}

.nayami_bg {
  background: url('../img/nayami_bg.webp') no-repeat center center;
  background-size: cover;
  padding: 14% 0 4%;
  margin-top: -11%;
}

.shadow{
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.3));
}

.coution_obi {
  position: absolute;
  bottom: -4.2%;
}


/* 見積もり */
.mitsumori_wrapper {
  background-color: #fff;
  padding: 10% 5%;
}


/* 選ばれる理由 */
.reason_bg {
  background-color: #ffe032;
  padding: 10% 0;
  display: flex;
  justify-content: center;
}
.reason_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vw; /* タイトルと画像の間隔 */
  width: 100%;
}

.reason_ttl {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.reason_ttl img {
  width: 85%;
  height: auto;
  display: inline-block;
}

.reason_img {
  width: 100%;
  height: auto;
  display: block;
}


/* お客様の声 */
.voice_ttl{
	width: 55%;
	margin: 5% auto 7%;
}

.voice_bg {
  background-color: #ededeb;
  	padding-top: 11%;
	padding-bottom: 6%;
}

/*------ スライダーの横幅 ------*/
.slider{
	width:90%;
	margin:0 auto;
  }
  
  /*------ スライダー画像 ------*/
  .slider img{
	  width:96%;
	  margin: 0 auto;
	 
  }
  
  /*-------- 高さ調整 ----------*/
  .slider .slick-slide{
	  height:auto!important;
  }
  
  /*---------- 矢印 ----------*/

  .slick-next{ right:29%!important;}
  .slick-prev{ left:29%!important; }
  .slick-next:before{
	background: url(../img/yajirushi2.webp)!important;
	background-size: contain!important;
  }
  .slick-prev:before{
	background: url(../img/yajirushi.webp)!important;
	  background-size: contain!important;

  }
  .slick-arrow{
	  z-index:2!important;
	  width:45px!important;
	  height:45px!important;
  }
  .slick-arrow:before{
	  content:""!important;
	  width: 100%!important;
	  height: 100%!important;
	  position: absolute;
	  top: 0;
	  left: 0;
	  opacity:1!important;
  }
  .slick-dotted.slick-slider {
    margin-top: 3%!important;
}
@media only screen and (max-width: 767px){
	.slick-arrow{
		z-index:2!important;
		width:30px!important;
		height:30px!important;
	}
	.slick-next{ right:-9px!important;}
	.slick-prev{ left:-9px!important; }
}

.slick-dotted.slick-slider {
	margin-bottom: 15%!important;
}

.slick-dots li button:before {
	font-family: 'slick';
	font-size: 6px;
	line-height: 20px;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	content: '•';
	text-align: center;
	opacity: .25;
	color: #ffae01!important;
	-webkit-font-smoothing: antialiased;
}

@media screen and (min-width: 768px) {
  .slider {
    max-width: 1400px;
    margin: 0 auto;
  }
  .voice_ttl{
    max-width: 350px;
    min-width: 320px;
    width: 20%; 
    margin: 0 auto;
    margin-top: 0;
    margin-bottom: 7%;
  }
	.slider-pc {
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
    overflow: hidden;
  }

  .slider-pc .slick-list {
    margin: 0;
    padding: 0 !important;
  }

  .slider-pc .slick-track {
    margin-left: 0 !important;
  }

  .slider-pc .slick-slide {
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.3s ease;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .slider-pc .slick-center {
    opacity: 1;
    transform: scale(1);
  }

  .slider-pc .slide_contents img {
    width: 100%;
    height: auto;
    display: block;
  }

  .slider-pc .slick-track {
    display: flex !important;
    align-items: center;
    margin-left: 0 !important;
  }

  /* 矢印調整 */
  .slider-pc .slick-prev,
  .slider-pc .slick-next {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .slider-pc .slick-prev {
    left: 29% !important;
  }

  .slider-pc .slick-next {
    right: 29% !important;
  }
	.slider-pc .slick-dots {
    position: absolute;
    bottom: -30px; /* 画像の下に配置。必要に応じて調整 */
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    z-index: 5;
  }
  
  .slider-pc .slick-dots li {
    display: inline-block;
    margin: 0 5px;
  }
  
  .slider-pc .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b0e2fc;
    border: none;
    text-indent: -9999px;
    cursor: pointer;
  }
  
  .slider-pc .slick-dots .slick-active button {
    background: #00aeff !important; 
  }
  .slick-dotted.slick-slider {
    margin-bottom: 3%!important;
    padding-bottom: 5% !important;
  }
  .slick-dots {
    position: absolute;
    bottom: 6% !important;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-prev, .slick-next {
  top: 41% !important;
}
	.slick-next{ right:20%!important;}
	.slick-prev{ left:20%!important; }
}

@media screen and (min-width: 768px) {
  .slider .slick-slide {
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.3s ease;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .slider .slick-center {
    opacity: 1;
    transform: scale(1);
  }
    .slick-dots {
    bottom: 0% !important;
}
}



/* 対応地域 */
.map_bg {
  background-color: #fdf8df;
  padding: 11% 5%;
  display: flex;
  justify-content: center;
}

.map_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.map_ttl {
  width: 70%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.map_ttl img {
  width: 70%;
  height: auto;
  display: inline-block;
}

.map_img {
  width: 90%;
  height: auto;
  display: block;
}



/* 施行完了までの流れ */
.flow_bg {
  background-color: #ededeb;
  padding: 14% 3%;
  display: flex;
  justify-content: center;
}

.flow_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vw;
  width: 100%;
}

.flow_ttl {
  text-align: center;
  margin: 0;
  padding: 0;
  margin-bottom: 7%;
}

.flow_ttl img {
  width: 90%;
  height: auto;
  display: inline-block;
}

.flow_img {
  width: 95%;
  height: auto;
  display: block;
}

@media screen and (min-width: 768px){
  .flow_img {
    width: 85%;
    min-width: 500px;
    height: auto;
    display: block;
  }
}


/*QA*/
.QA_ttl{
	width: 30%;
  min-width: 300px;
  max-width: 400px;
	margin: 0 auto;
	margin-bottom: 3%;
}
.qa-area{
    padding: 7% 0 10%;
    background-color: #fff;
}
.accordion-menu dt {
  background: #ffe032;
  padding: 0.8rem 1.2rem 0.8rem 3rem;  /* ← 左に余白追加してQのスペース確保 */
  border-radius: 10px 10px 0 0;
  margin-top: 1.5%;
  /* margin-bottom: 5px; */
  position: relative;
  font-weight: bold;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ← Qの装飾をAと揃えるためにabsoluteに変更 */
.accordion-menu dt::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-image: url('../img/Q_icon.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.accordion-menu dt::after {
  content: '+';
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 45%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.accordion-menu dt.open::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-menu dt:first-child {
border-top: none;
}
.accordion-menu dd {
display: none;
padding: 1rem 1.5rem;
border-radius: 0 0 10px 10px;
color: #000;
margin-inline-start: 0px;
border: 7px solid #ffe032;
margin-bottom: 20px;
position: relative;
font-weight: bold;
font-size: 1.2rem;
}

.qa-area dl{
width: 45%;
min-width: 620px;
min-width: 580px;
margin: 0 auto;
}

@media (max-width: 767px){
  .QA_ttl{
    width: 68%;
    min-width: 100px;
    margin: 0 auto;
    margin-bottom: 5%;
    margin-top: 6%;
  }
  .qa-area dl {
    width: 90%;
    min-width: 300px;
    margin: 0 auto;
}
.accordion-menu dt {
  background: #ffe032;
  padding: 0.8rem 1.2rem 0.8rem 3rem;  
  border-radius: 10px 10px 0 0;
  margin-top: 3%;
  /* margin-bottom: 5px; */
  position: relative;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}
.accordion-menu dd {
  font-size: 1rem;
  }
}


/* フォームタイトル */
	.form01_ttl {
		text-align: center;
		margin: 0;
		padding: 0;
	}
	
	.form01_ttl img {
		width: 60%;
		height: auto;
		display: inline-block;
		margin-bottom: 2%;
	}

@media screen and (min-width: 768px){
  .form01_ttl img {
		width: 22%;
    min-width: 310px;
    max-width: 500px;
		height: auto;
		display: inline-block;
		margin-bottom: 1%;
	}
}

/* 追従表示スタイル */
.floating {
  display: none; /* 初期は非表示、SPでのみJS制御で表示 */
}

.floating.show {
  display: block;
}

.floating_inner {
  position: fixed;
  bottom: 0;
  width: 100%;
  /* text-align: center; */
  z-index: 800;
  transition: 0.5s;
}

.following_bg {
  width: 100%;
  max-width: 700px;
  height: auto;
}

.floating_cta {
  position: absolute;
  bottom: 3px;
  width: 91%;
  margin: 0 auto;
  left: 0;
  right: 0;
  padding-bottom: 10px;
}

.floating_cta img {
  width: 100%;
  margin: 0 auto;
}

.floating_message {
  color: #fff;
  font-size: 4vw;
  text-align: center;
  margin-bottom: 10px;
}

.highlight-number {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffe032;
}

.highlight-text {
  font-size: 1em;
  font-weight: bold;
  color: #ffe032;
}

.white-text {
  color: #ffe032;
  font-weight: bolder;
}

#current-time {
  font-size: 0.8em;
  /* margin-left: 15%; */
  line-height: 1.2;
  color: #ffffff;
  margin-top: 10px;
  /* margin-bottom: 1%; */
	font-weight: bolder;
}
.smaller-text {
  font-size: 0.9em;
}
@media screen and (max-width: 374px) {
  #current-time {
    font-size: 0.7em;
  }
}

/* スマホのみ有効にする */
@media only screen and (max-width: 767px) {
  .floating {
    display: none; /* デフォルト非表示、.show で制御 */
  }

  .floating.show {
    display: block;
  }
}

.form_ttl{
	width: 100%;
	margin: 0 auto;
	margin-top: 3%;
	margin-bottom: -11%;
}

.form_ttl img {
	width: 70%;
	height: auto;
	display: inline-block;
	margin-bottom: 3%;
}

@media screen and (min-width: 981px){
	.form_ttl img{
		width: 22%;
    min-width: 350px;
    max-width: 500px;
		margin-bottom: 9%;
		margin-top: 3%;
	}
}

button, input, select, textarea {
	-webkit-appearance: none; /* iOSの独特なボタンスタイルを無効化 */
	appearance: none;
}
.form_tbl select,
.form_tbl input,
.form_tbl textarea {
  border: 1.5px solid #cacaca;
  border-radius: 5px;

  -webkit-appearance: none; /* iOS Safariのデフォルトスタイル解除 */
  -moz-appearance: none;    /* Firefox */
  appearance: none;         /* 標準仕様 */
  background-color: #fdf8df;  /* 背景色を白に固定 */
  color: #000;             /* 文字色も黒に */
}



/* 追従ボタン */
.shine {
  display: block;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
}

.shine::before {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
  width: 50px;
  height: 50px;
  top: -60px;
  left: -60px;
  animation-name: shine-run;
  animation-delay: 0s;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  z-index: 2;
}

@keyframes shine-run {
  0% {
      transform: scale(0) rotate(50deg);
      opacity: 0;
  }

  40% {
      transform: scale(1) rotate(50deg);
      opacity: 1;
  }

  100% {
      transform: scale(250) rotate(50deg);
      opacity: 0;
  }
}

@keyframes doubleBounce {
  0%   { transform: translateY(0); }
  12.5%  { transform: translateY(5px); }
  25%  { transform: translateY(0); }
  37.5%  { transform: translateY(5px); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.shine {
  position: relative;
  overflow: hidden;
  animation: doubleBounce 2s ease-in-out infinite;
}



