@charset "utf-8";

body{
  font-family:'Noto Sans JP',"Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif !important;
  font-weight:normal;
}

/*-----------------------------------------------------
大見出し
-------------------------------------------------------*/
h2{
  font-weight: bold;
}

/* スマホ */
@media only screen and (max-width: 767px) {
  h2{
  font-size: 24px;
}

}

h3{
  font-size: 1.5rem;
  color: #342217;
  font-weight: bold;
}
/* 1400px以下 */
@media only screen and (max-width: 1399px) {
  h3{
  font-size: 1.25rem;
}
}

h4{
  font-size: 1.25rem;
  color: #342217;
  font-weight: bold;
}
/* 1400px以下 */
@media only screen and (max-width: 991px) {
  h4{
  font-size: 1rem;
}
}

p{
  margin: 0;
  color: #342217;
  font-size: 16px;
  font-weight: bold;
}

/* 1400px以下 */
@media only screen and (max-width: 1399px) {
  p{
  font-size: 14px;
}
}
/* 1400px以下 */
@media only screen and (max-width: 767px) {
  p{
  font-size: 12px;
}
}

/* 中見出し
------------------------------------------------*/

/* 小見出し/コメント */

/* 1400px以下 */
@media only screen and (max-width: 1399px) {
}

/* 1200px以下 */
@media only screen and (max-width: 1199px) {
}

/* タブレット以下 */
@media only screen and (max-width: 991px) {
}

/* スマホ */
@media only screen and (max-width: 767px) {
}


.decorate02{
  position: relative;
  top: -20px;
}

@media only screen and (min-width: 1920px) {
  .decorate02{
    width: 120%;
  }
}


.TAB{
  background-color: #f89826;
}
/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  border: 2px solid #342217;
  max-width: 1013px;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid #342217;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
/* スマホ */
@media only screen and (max-width: 767px) {
  .tab_item {
    font-size: 14px;
  }
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .tab_content {
    padding: 20px 12px 0;
  }
}
/*選択されているタブのコンテンツのみを表示*/
#Tab01:checked ~ #Tab01_content,
#Tab02:checked ~ #Tab02_content,
#Tab03:checked ~ #Tab03_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #342217;
  color: #fff;
}

.tab_content_description{
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 767px) {
  .tab_content_description{
    flex-direction: column
  }
}
@media only screen and (max-width: 767px) {
  .tab_img{
    padding-top: 20px;
  }
}
.tab_content_description_text{
  max-width: 500px;
}
.tab_or{
  background: linear-gradient(transparent 70%, #f89826 50%);
}

/*-----------------------------------------------------
口コミ
-------------------------------------------------------*/
.Reviews{
  background-color: #f89826;
}
/* スマホ */
@media only screen and (max-width: 767px) {
  .Reviews{
    padding-bottom: 3rem;
  }
}

.Reviews_text {
  color: #fff;
}
.slide-items{
  width: 80%;
  margin: auto;
  }
.slick-prev:before, .slick-next:before {
    color: #342217 !important;/*ボタンの色*/
    opacity: 1 !important;/*ボタンの不透明度*/
    font-size: 20px !important;/*ボタンのサイズ*/
    background: #fff;
    border-radius: 50%;
    font-weight: bold;
    padding: 0.5em 0.5em;
    border: 1px solid #342217;
    margin-left: -15px;
    display: block;
    width: 2.2em;
    height: 2.2em;
}

/* 1200px以下 */
@media only screen and (max-width: 1199px) {
  .slick-prev:before{
    margin-left: -30px;
  }
}
/* 1200px以下 */
@media only screen and (max-width: 1199px) {
  .slick-next:before{
    margin-left: 0;
  }
}

/* 991px以下 */
@media only screen and (max-width: 991px) {
  .slick-prev:before, .slick-next:before{
    margin-left: -15px;
  }
}

.slick-dots li button:before{
  font-size:25px!important;/*ドットのサイズ*/
  padding-top: 15px;
}

/*-----------------------------------------------------
ファーストビュー
-------------------------------------------------------*/
Header{
  position: relative;
  overflow: hidden;
}
.fv-pc{
  width: 100%;
}

.fixed_btn{
  position: fixed;
  top: 10px; 
  right: 10px;
  padding: 6px 40px;
  z-index: 999;
}
/* スマホ */
@media only screen and (max-width: 991px) {
  .fixed_btn{
    width: 20%;
  }
}
/* スマホ */
@media only screen and (max-width: 767px) {
  .fixed_btn{
    width: 30%;
    right: -30px;
  }
}
/* スマホ */
@media only screen and (max-width: 575px) {
  .fixed_btn{
    width: 42%;
    right: -30px;
  }
}
.fv{
  position: relative;
  z-index: 0;
}
.h_navbar{
  display: flex;
  align-items: flex-end;
  margin-left: 1rem;
  position: absolute;
  z-index: 1;
}

@media only screen and (min-width: 1920px) {
  .h_navbar{
    margin-left: 12rem;
    margin-top: 2rem;
  }
}

@media only screen and (max-width: 1440px) {
  .h_navbar{
    margin-left: 0;
  }
}
@media only screen and (max-width: 1399px) {
  .h_navbar{
    padding-top: 15px;
  }
}
@media only screen and (max-width: 1199px) {
  .h_navbar{
    padding-top: 10px;
  }
}
@media only screen and (max-width: 767px) {
  .h_navbar{
    padding-top: 0;
  }
}
.h_slogan{
  font-size: 13px;
  padding: 0;
}
@media only screen and (max-width: 1399px) {
  .h_slogan{
    font-size: 12px;
    line-height: 1.2;
  }
}
@media only screen and (max-width: 1199px) {
  .h_slogan{
    font-size: 9px;
  }
}
@media only screen and (max-width: 991px) {
  .h_slogan{
    font-size: 7px;
  }
}
.h_logo{
  margin-bottom: 3px;
}
@media only screen and (max-width: 767px) {
  .h_logo{
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 575px) {
  .h_logo{
    margin-top: 0;
    padding-top: 3px;
  }
}
.cta01{
  background-color: #81c5ed;
}

.container-cta01{
  background-color: #fff;
  border: 2px solid #342217;
  border-radius: 20px;
  width: 56%;
}
@media only screen and (max-width: 1440px) {
  .container-cta01{
    width: 75%;
  }
}
@media only screen and (max-width: 767px) {
  .container-cta01{
    width: 95%;
  }
}
.cta01_text{
  font-size: 20px;
}
@media only screen and (max-width: 991px) {
  .cta01_text{
    font-size: 16px;
  }
}
.c-button._shiny {
  display: block;
  position: relative;
  box-shadow: 5PX 5px 0 0 #342217;
  max-width:415px;
  text-decoration: none;
  overflow: hidden;
  transition: 300ms;
  margin: auto;
}
.c-button._shiny::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #b5e7ff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}

.c-button._shiny:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: none;
  -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}


/*-----------------------------------------------------
このようなお悩みがある人へ
-------------------------------------------------------*/
.fannao{
  background-color: #e2f4ff;
  }
.triangle{
  position: relative;
  padding-bottom: 5vw!important;
  padding-top: 5vw!important;
}
.triangle::after{
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  width: 50vw;
  height: 12vw;
  background-color: #e2f4ff;
  }

@media only screen and (min-width: 1920px) {
  .triangle::after{
    width: 40vw;
    height: 7vw;
  }
}

/* 吹き出し本体 */
.balloon{
  position: relative;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #342217;
  border-radius: 20px;
  width: 242px;
  height: 184px;
  font-weight: bold;
  margin: auto;
  display:flex;
  align-items: center;
  justify-content: center;
}

/* スマホ */
@media only screen and (max-width: 1199px) {
  .balloon{
    font-size: 14px;
    width: 210px;
    height: 180px;
  }
}
/* スマホ */
@media only screen and (max-width: 991px) {
  .balloon{
    width: 170px;
    height: 160px;
    padding: 0;
  }
}
/* スマホ */
@media only screen and (max-width: 767px) {
  .balloon{
    width: 140px;
    height: 120px;
    padding: 0;
  }
}
/* スマホ */
@media only screen and (max-width: 330px) {
  .balloon{
    width: 140px;
    font-size: 11px;
  }
}

/* 1199 */
@media only screen and (max-width: 1199px) {
  .img_w{
    width: 40%;
    margin: auto;
  }
}
/* 1199 */
@media only screen and (max-width: 991px) {
  .img_w{
    width: 25%;
  }
}
/* スマホ */
@media only screen and (max-width: 767px) {
  .img_w{
    width: 40%;
  }
}
/* beforeで枠線の三角を表現 */
.balloon::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  bottom: -15px;
  margin: 0 auto;
  border-top: 15px solid #342217;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

.center-sample{
  position: relative;
  width: 100%;
  height: 50vw;
}
.center-sample__inner{
  position: absolute;
  width: 25vw;
  height: 25vw;
}
@media only screen and (max-width: 767px) {
.icon_p{
  width: 70%;
  }
}
/* エイトリフォームが選ばれる理由
------------------------------------------------*/
.decorate{
  position: relative;
  top: 21px;
}


.reason{
  background-color: #81c5ed;
}
/* スマホ */
/*@media only screen and (max-width: 767px) {
  .reason{
  background: url(../images/reason_bg_sp.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
}*/
.reason_item{
  background-color: #fff;
  padding: 30px 0;  
}
/* 1400px以下 */
@media only screen and (max-width: 1399px) {
  .reason_item{
  background-color: #fff;
  padding: 30px 10px;  
  }
}
/* 1199px以下 */
@media only screen and (max-width: 1199px) {
  .reason_item{
    height: 25rem;
  }
  .reason_item h3{
    font-size: 21px;
  }
  .reason_item p{
    font-size: 14px;
  }
}
/* 991px以下 */
@media only screen and (max-width: 991px) {
  .reason_item{
    height: 20rem;
  }
  .reason_item h3{
    font-size: 16px;
  }
  .reason_item p{
    font-size: 12px;
  }
}
/* 991px以下 */
@media only screen and (max-width: 767px) {
  .reason_item{
    height: 26rem;
  }
  .reason_item h3{
    font-size: 21px;
  }
  .reason_item p{
    font-size: 14px;
  }
}

.reason_num{
  position: relative;
  top: 20px;
}
.or_ttl{
  font-weight: bold;
  color: #f89826;
}

/* オススメする屋根工事は2タイプ
------------------------------------------------*/
.type{
  background: url(../images/type_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* cta
------------------------------------------------*/
@media only screen and (min-width: 1199px) {
.cta_text{
  font-size: 21px;
}
}
.cta-t{
  color: #fff;
  line-height: 1.5;
}
/* 1400px以下 */
@media only screen and (max-width: 991px) {
  .cta-t{
  font-size: 14px;
  }
}
.cta_bg{
  position: relative;
}
.background-image{
  width: 100%;
}
.cta_btn{
  position: absolute;
  top: 0; /* 顶部对齐 */
  left: 0; /* 左侧对齐 */
  width: 100%; /* 覆盖整个容器 */
  height: 100%;
  display: flex; /* 使用flexbox来居中对齐 */
  align-items: center;
  justify-content: center;
  flex-direction: column; /* 将图像和文字垂直排列 */
}
/* 1400px以下 */
@media only screen and (max-width: 991px) {
  .btn01{
  width: 65%;
  }
}
/* 1400px以下 */
@media only screen and (max-width: 767px) {
  .btn01{
  margin: auto;
  width: 70%;
  }
}
/* 施工事例
------------------------------------------------*/
.decorate03{
  margin-bottom: 0;
  position: relative;
  top: -115px;
}

@media only screen and (min-width: 1920px) {
.decorate03{
  display: block;
  margin: auto;
}
}

@media only screen and (max-width: 1399px) {
.decorate03{
  margin-bottom: 0;
  position: relative;
  top: -75px;
}
}
@media only screen and (max-width: 1199px) {
  .decorate03{
    margin-bottom: 0;
    top: -60px;
  }
}
@media only screen and (max-width: 991px) {
  .decorate03{
    margin-bottom: 0;
    top: -48px;
  }
}
.ep{
  background-color: #f89826;
}
.container-ep{

}
/* 991px以下 */
@media only screen and (max-width: 991px) {
  .container-ep{
    top: 10rem;
  }
}
/* 767px以下 */
@media only screen and (max-width: 767px) {
  .container-ep{
    top: 15rem;
  }
}
/*------------------------------------------------
施工流れ
------------------------------------------------*/

.follow{
  background: url(../images/ba_nagare.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  top: -30px;
}

.follew_step{
  position: relative;
}
.follew_step::before{
  content: '';
  position: absolute;
  left: 100％;
  right: -16px;
  top: 50%;
  transform: translateY(50%);
  border: 10px solid transparent;
  border-left: 15px solid #f89826;
}
/* 1199px以下 */
@media only screen and (max-width: 1199px) {
  .follew_step::before{
    right: -20px;
  }
}
.follew_step_af{
  position: relative;
}

.follew_step_af::after,
.follew_step_af::before{
  content: '';
  position: absolute;
  left: 100％;
  right: -16px;
  top: 50%;
  transform: translateY(50%);
  border: 10px solid transparent;
  border-left: 15px solid #f89826;
}
.follew_step_af::after{
  left: -10px;

  }
  /* 1199px以下 */
@media only screen and (max-width: 1199px) {
  .follew_step_af::before{
    right: -20px;
  }
}
@media only screen and (max-width: 767px) {
  .fl_t{
    width: 40%;
    margin: auto;
  }
}
/*------------------------------------------------
よくあるご質問
------------------------------------------------*/
@media only screen and (max-width: 767px) {
  .h_2{
    width: 50%;
    margin: auto;
  }
}
.accordion {
  width: 100%;
}

/* inputのチェックボックスを非表示 */
.accordion-hidden {
  display: none;
}

/* 見出しボタン部分 */
.accordion-open {
  display: block;
  padding: 10px 80px 10px 10px;
  background: #fb9b00;
  cursor: pointer;
  margin: 5px 0;
  position: relative;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .accordion-open {
    padding: 10px 40px 10px 10px;
  }
}

/* ＋アイコン */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #342217;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* アイコンのー */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s;
}

/* アコーディオンが開いたらーに */
.accordion-hidden:checked+.accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* アコーディオン中身部分 */
.accordion-inner {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  /* 表示速度の設定 */
  cursor: pointer;
}

/* チェックボックスにチェックが入ったら中身部分を表示する */
.accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px;
}
/* ↑ここまで共通 */


/* Q&A追加 */
.accordion_qa .Q,
.accordion_qa .A {
  position: relative;
}
.accordion_qa .Q::before,
.accordion_qa .A::before {
  font-size: 1.5em;
  display: block;
  position: absolute;
  top: -.4em;
  left: -1.3em;
  color: #342217;
}
.accordion_qa .Q::before {
  content: 'Q';
}

.accordion_qa .A::before {
  content: 'A';
}

.accordion_qa .accordion-open {
  padding-left: 2.5em;
}

.accordion_qa .accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px 10px 10px 2.5em;
}

.Q {
  display: block;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .Q{
    font-size: 14px;
  }
}

/* Q&A追加ここまで */
/*-----------------------------------------------------
from
-------------------------------------------------------*/
.Form{
  background: url(../images/form.png);
  }
.col-form{
  background-color: #fff;
  border: 3px solid #342217;
  border-radius: 20px;
}
@media only screen and (max-width: 767px) {
  .col-form{
    border: 3px solid #342217;
  }
}
.text-bg-danger{
  background-color: #f89826 !important;
  padding: 5px 15px;
  border-radius: 20px;
}
.text-bg-light{
  background-color: #cbecff !important;
  padding: 5px 15px;
  border-radius: 20px;
}

.btn-primary {
  border-color: #f89826 !important;
  background-color: #f89826 !important;
  padding: 10px 50px;
}

.from_t{
  font-size: 30px;
}
/* 991 */
@media only screen and (max-width: 991px) {
  .from_t{
  font-size: 21px;
}
}
.balloon-005 {
  text-align: center;
  position: relative;
  margin-bottom: 15px;
  padding: .8em 1.2em;
  border: 3px solid #342217;
  border-radius: 20px;
  background-color: #fff;
  color: #333333;
}

.balloon-005::before,
.balloon-005::after {
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.balloon-005::before {
    background-color: #342217;
}

.balloon-005::after {
    bottom: -11px;
    background-color: #fff;
}
.from_red{
  color: #ff290c;
}
/*-----------------------------------------------------
Footer
-------------------------------------------------------*/
#Footer{
  background-color: #f89826;
  padding: 20px;
  }
.scroll-up a{
  border: 2px solid black;
  background: #fff;
}
..scroll-up{
  right: 15px !important;
}
/*-----------------------------------------------------
iframeリンク無効化
-------------------------------------------------------*/

.snapwidget-widget{
  pointer-events:none;
}