@charset "utf-8";
/* リセットcss */
*,
::before,
::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol{
    list-style: none;
}

a{
    color: inherit;
    text-decoration: none;
}

body{
    font-family: sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 1;
    background-color: #fff;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
img {
    max-width: 100%;
    height: auto;
}
/* ふわっと表示させる。全てのページのclass:fａdｅに対応 */
.scrollfade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}
.scrollfade.active {
	opacity: 1;
	transform: translateY(0px);
}
  /* （特長1〜4を）左から右にスライドインするアニメーション */
  .animated-text.scrollfade {
    opacity: 0;
  }
  .animated-text.scrollfade.active {
    animation: slideIn 1.5s forwards;
  }
  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }


/* ここからインデックスページ */
/* ヘッダー */
.header_inner{
    max-width: 1200px;
    height: 160px;
    margin: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media screen and (max-width:768px){
   .header_inner{
    height: 70%;
    margin: 0 30px;
    display: flex;
    align-items: center;
  }
}
.header_logo{
  display: block;
    width: 300px;
}
@media screen and (max-width:768px){
    .header_logo{
    max-width: 150px;
  }
}
.hamburger-menu{
  display: none;
}
@media screen and (max-width:768px){
  .hamburger-menu {
    display: block;
    width: 30px;
    height: 22px;
    position: absolute;
    right: 25px;
    cursor: pointer;
    user-select: none;
  }
  .ham-line{
      background-color: black;
      height: 4px;
      width: 100%;
      position: absolute;
      transition: all 0.3s;
  }
  .ham-line:nth-of-type(1){
    top: 0;
  }
  .ham-line:nth-of-type(2){
    top: 50%;
    transform: translateY(-50%);
  }
  .ham-line:nth-of-type(3){
    bottom: 0;
  }
  .hamburger-menu.active > .ham-line:nth-of-type(1){
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    z-index: 101;
  }
  .hamburger-menu.active > .ham-line:nth-of-type(2){
    display: none;
    z-index: 101;
  }
  .hamburger-menu.active > .ham-line:nth-of-type(3){
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    z-index: 101;
  }
}
.site_menu{
  transform: translateX(30%);
}
.site_menu ul{
    display: flex;
}
.site_menu ul li{
    font-family: 'Montserrat';
    font-weight:bold;
    font-size: 1.3em;
    color: #696969;
    margin-left: 30px;
    margin-right: 20px;
}
@media screen and (max-width:768px){
   .site_menu{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* opacity: 0; */
    z-index: 100;
  }
    .site_menu.active{
    display: flex;
    animation: fadeIn 0.5s forwards;
  }
  .site_menu ul{
    display: block;
  }
  .site_menu ul li{
    color: #333333;
    padding: 40px;
    margin: 20px;
    text-align: center;
  }
  @keyframes fadeIn {
    0%{
      top: 45%;
      opacity: 0;
    }
    100%{
      top: 50%;
      opacity: 1;
    }
    }
}

/* ファーストビュー */
.firstview{
    position: relative;
    }
.firstview img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
}
.firstview h1{
    position: absolute;
    top:50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    font-family: serif;
    line-height: 160%;
    color: #fff;
    font-size: 2.8rem;
    text-shadow:
  1px 1px 2px #333333,
  0 0 0.5em #fbe224,
  0 0 0.2em #696969;
    /* margin: 0!important;/*文字がずれている場合や*/
    /* padding: 0!important;文字が折り返される場合 */ 
}
@media screen and (max-width:768px){
  .firstview img{
    height: 50vh;
  }
.firstview h1{
    font-size:1.2em;
    line-height: 150%;
  }
}

.questionlist span{
    text-shadow:
  2px 2px 2px #fffef6,
  0 0 1em #decb3d,
  0 0 0.2em #fffef6;
}
strong{
    font-weight: bold;
}
.questionlist{
    margin: 250px 200px 150px 200px;
    border: 5px solid #00a0e9;
    border-radius: 30px;
}
.questionlist h2{
    color: #00aeef;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0;
    font-size: 3em;
    font-weight: lighter;
}
.questionlist ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
    gap: 50px;
}
.questionlist ul li{
    display: flex;
    height: auto;
}
.questionlist ul li img{
    width: 120px;
    height: auto;
    object-fit:contain;
}
.questionlist ul li p{
    font-size: 1.7em;
    padding: 0 0 0 50px;
    display: flex;
    align-items:center ;
}
@media screen and (max-width:768px){
  .questionlist{
    margin: 120px 0 50px 0;
    width: 100%;
  }
.questionlist h2{
    font-size: 1.5em;
    flex-wrap: wrap;
    margin: 25px auto 0;
  }
 .questionlist ul{
    display: block;
    padding: 20px;
    gap: 20px;
  }
.questionlist ul li{
    padding-top: 50px;
  }
.questionlist ul li img{
    max-height: 120px;
  }
.questionlist ul li p{
    font-size: clamp(16px, 1.8vw, 1.2em);
  }
}

.logoyajirusi{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 150px;
    padding-top: 100px;
}
@media screen and (max-width:768px){
.logoyajirusi img{
    height: auto;
    width: 10vw;
   }
}

.sub_title{
    padding: 100px 100px 150px 100px;
}
.sub_title h2{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    color: #00a0e9;
    font-weight: lighter;
    border-bottom: dotted 4px #444444;
    padding-bottom: 30px;
    margin: 0 25%;
    white-space:nowrap;
}
@media screen and (max-width:768px){
.sub_title{
      padding: 0;
      margin-top: 50px;
    }
  .sub_title h2{
      display: block;
      font-size: 1.5em;
      line-height: 150%;
      text-align: center;
      padding-bottom: 10px;
      margin: 0 23%;
    }
}

.index_message{
    display: flex;
    align-items: center;
    margin-top: 200px;
}
.index_message h3{
    color: #444444;
    font-size: 1.7em;
    font-weight: lighter;
    line-height: 3.0;
    background-color: #eeeeee;
    width: 850px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 60px;
    margin-left: 120px;
  }
.index_message img{
    height: 460px;
    transform: translateX(60%);
}
@media screen and (max-width:768px){
  .index_message{
      margin-top: 200px;
      margin-left: 0;
    }
  .index_message h3{
        max-height: 350px;
        width: auto;
        font-size: 1em;
        line-height: 1.5;
        padding-left: 30px;
        padding-right: 10px;
        margin-left: 0;
      }
   .index_message img{
      max-height: 250px;
      transform: translateX(10%);
    }
}

.menu_button_area{
    padding-top: 400px;
    padding-bottom: 100px;
}
.menu_button_area h2{
    color: #696969;
    font-size: 3em;
    font-weight: lighter;
    position: relative;
    text-align: center; /* 文字の中央寄せ */
}
.menu_button_area h2::before {
    background-color: #555555; /* 線の色 */
    border-radius: 15px; /* 線の両端を丸く */
    bottom: -20px; /* 線の位置 */
    content: "";
    height: 5px; /* 線の高さ */
    left: 50%; /* 線の中央寄せ */
    position: absolute;
    transform: translateX(-50%); /* 線の中央寄せ */
    width: 80px; /* 線の長さ */
  }
  .menu_button{
    padding: 100px 0 100px 150px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 3分割したい為1frを3つ書く frは比率を均等にする単位 */
  }
  .menu_button img{
    height: 300px;
    margin-bottom: 50px;
    filter: drop-shadow(2px 3px 3px #696969);
    position: relative;
    top: 0;
  }
  .menu_button img:hover{
    top: -10px;
    transition: 0.3s;
  }
  .menu_button2{
    align-self: self-end;
    /* divの箱の中での位置指定 */
    padding-right: 30px;
  }
  .menu_button2 img{
    filter: drop-shadow(2px 3px 3px #696969);
    height: auto;
  }
@media screen and (max-width:768px){
  .menu_button_area{
      padding-top: 250px;
      padding-bottom: 40px;
    }
  .menu_button_area h2{
      font-size: 1.5em;
    }
   .menu_button{
        padding: 50px ;
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
  .menu_button img{
        max-height: 130px;
        width: auto;
      }
      .menu_button2{
        align-self:self-end;
        padding-right: 35px;
      }
}

  .PRpoint h2{
    color: #696969;
    font-size: 3em;
    font-weight: lighter;
    position: relative;
    text-align: center; /* 文字の中央寄せ */
}
.PRpoint h2::before {
    background-color: #555555; /* 線の色 */
    border-radius: 15px; /* 線の両端を丸く */
    bottom: -20px; /* 線の位置 */
    content: "";
    height: 5px; /* 線の高さ */
    left: 50%; /* 線の中央寄せ */
    position: absolute;
    transform: translateX(-50%); /* 線の中央寄せ */
    width: 80px; /* 線の長さ */
  }
  .PR_textbox{
    padding-top: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .PR_text1,
  .PR_text2,
  .PR_text3,
  .PR_text4{
    display: flex;
    align-items: center;
  }
  .PR_text1 img,
  .PR_text4 img,
  .PR_text3 img{
    height: 100px;
    transform: translateX(50%);
  }
    .PR_text2 img{
    height: 110px;
    transform: translateX(50%);
  }
    .PR_text1 dl,
  .PR_text2 dl,
  .PR_text3 dl,
  .PR_text4 dl{
    color: #444444;
    font-weight: lighter;
    line-height: 180%;
    background-color: #ddeeff;
    margin: 100px 0;
  }

  .PR_text1 dl dt,
  .PR_text2 dl dt,
  .PR_text3 dl dt,
  .PR_text4 dl dt{
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .PR_text1 dl dd,
  .PR_text3 dl dd,
  .PR_text4 dl dd{
    font-size: 1.2em;
    padding: 20px 40px 20px 70px;
    width: 800px;
  }
  .PR_text2 dl dd{
    font-size: 1.2em;
    width: 800px;
    padding: 20px 30px 20px 100px;
  }
@media screen and (max-width:768px){
    .PRpoint h2{
      font-size: 1.5em;
    }
  .PR_textbox{
        padding-top: 50px;
        margin-right: 10px;
      }
      .PR_text1 img,
  .PR_text4 img,
  .PR_text3 img{
    max-height: 60px;
    transform: translateX(25%);
  }
.PR_text2 img{
      max-height: 70px;
      transform: translateX(25%);
    }
.PR_text1 dl,
  .PR_text2 dl,
  .PR_text3 dl,
  .PR_text4 dl{
    margin: 50px 0;
  }
.PR_text1 dl dt,
  .PR_text2 dl dt,
  .PR_text3 dl dt,
  .PR_text4 dl dt{
    font-size: clamp(1.0em, 1.8vw, 1.4em);
    padding-top: 15px;
  }
 .PR_text1 dl dd,
  .PR_text3 dl dd,
  .PR_text4 dl dd{
    font-size: 1em;
    padding: 10px 20px 10px 20px;
    width: 290px;
    height: auto;
  }
 .PR_text2 dl dd{
      font-size: 1em;
      padding:10px 15px 10px 30px;
      width: 290px;
      height: auto;
    }
}

  .mitumori{
    padding-top: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mitumori  img{
    width: 12%;
    padding-bottom: 10px;
  }
  
  .mitumori h2{
    color: #333333;
    font-size: 2.5em;
    font-weight: lighter;
    padding-left: 50px;
  }
  @media screen and (max-width:768px){
    .mitumori{
      padding-top: 100px;
    }
    .mitumori img{
      min-width: 30vw;
      margin-left: 30px;
    }
.mitumori h2{
      font-size: clamp(1.5em, 1.8vw, 2.2em);
      padding-left: 20px;
      font-weight: normal;
    }
  }

  .click_button{
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .yellow_button{
    padding-bottom: 30px;
    filter: drop-shadow(1px 1px 1px #696969);
    width: 30%;
    position: relative;
    top: 0;
  }
  
  .yellow_button:hover{
    top: -10px;
    transition: 0.3s;
  }
  .linebanar{
    margin-top: 30px;
    margin-bottom: 50px;
    border: 1px solid #dcdcdc;
    position: relative;
    top: 0;
  } 
  
  .linebanar:hover{
    top: -10px;
    transition: 0.3s;
  }
@media screen and (max-width:768px){
  .yellow_button{
      padding-bottom: 20px;
      min-width: 55vw;
    }
.linebanar{
      margin-top: 15px;
      margin-bottom: 20px;
      max-width: 200px;
    }
}

  /* トップページボタン */
  #page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #00aeef;
    opacity: 0.6;
    border-radius: 50%;
  }
  #page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
  #page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  
 /* フッター */
 footer{
        color: #696969;
        background-color: #00aeef;
        margin-top: 50px;
        padding-top: 50px;
        padding-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
 }
 footer nav ul{
    display: flex;
 }
  footer nav ul li{
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    margin: 0 30px;
}
 .footer_logo{
    margin: 50px;
 }
  .copyright{
    margin-bottom: 30px;
 }
@media screen and (max-width:768px){
  footer{
    margin-top: 25px;
    padding-top: 25px;
    padding-bottom: 12px;
  }
 footer nav ul{
    display: block;
  }
footer nav ul li{
    padding: 15px 0;
  }
.footer_logo{
    margin: 25px;
    width: 200px;
  }
}

 /* ここからコンタクトページ */
.firstview_contact{
  position: relative;
  }
.firstview_contact img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
}
.firstview_contact h1{
  position: absolute;
  top:50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  font-family: serif;
  line-height: 160%;
  color: #fff;
  font-size: 2.8rem;
  text-shadow:
1px 1px 2px #333333,
0 0 0.2em #696969;
  /* margin: 0!important;/*文字がずれている場合や*/
  /* padding: 0!important;文字が折り返される場合 */ 
}
.firstview_contact h1 span{
  color: #00aeef;
}

.firstview_text{
  display: flex;
  justify-content: center;
  margin: 150px auto;
}
.firstview_text h2{
  font-size: 1.5em;
  font-weight: lighter;
  color: #333333;
  line-height: 150%;
}
.firstview_text a{
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: dotted 3px #444444;
  padding-bottom: 10px;
}
@media screen and (max-width:768px){
    .firstview_contact img{
    height: 45vh;
  }
 .firstview_contact h1{
    font-size: 1.5em;
  }
.firstview_text{
    margin: 70px 10px;
  }
.firstview_text h2{
    font-size: 1.1em;
    line-height: 120%;
    padding: 0 10px;
  }
.firstview_text a{
    font-size: 1em;
    margin-left: 10px;
  }
}

.contact_form{
  padding-top: 100px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.c_form{
  width: 930px;
  max-width: 90%;
  margin: 70px auto 0;
}
.form-area{
  font-size: 1.5em;
  border: 1px solid #aaa;
  display: grid;
  grid-template-columns: 250px 680px;
}
.contact_form h2{
  font-size: 1.8em;
  color: #00a0e9;
  transform: translateX(-110%);
}
.form-area dt{
  width: 250px;
  padding: 40px;
  font-size: 15px;
  font-weight: bold;
  background-color:#f8f8f8;
  border-bottom: 1px solid #aaa
}
.form-area dd{
  padding: 30px;
  border-left: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}
.form-area dt .required::after{
  content: "必須";
  font-size: 12px;
  color: #eb4f32;
  padding-left: 5px;
}
@media screen and (max-width:768px){
  .contact_form{
    padding-top: 50px;
  }
.c_form{
    min-width: 90%;
    margin: 35px auto 0;
  }
.form-area{
    font-size: 1em;
    display: block;
  }
 .contact_form h2{
    font-size: 1.3em;
    transform: translateX(0);
  }
.form-area dt{
    width: 100%;
    padding: 20px;
    font-size: 0.9em;
  }
.form-area dd{
    padding: 15px;
  }
}

.select-box{
  width: 250px;
  height: 40px;
}
.input-text{
  /* 住所郵便番号以外のテキストボックス調整 */
  width: 100%;
  max-width: 500px;
  height: 40px;
  padding: 0 10px;
}
.input-text2{
  /* 郵便番号テキストボックスのサイズ調整 */
  width: 100%;
  max-width: 130px;
  height: 30px;
  padding: 0 10px;
}
.input-text3{
  /* 住所テキストボックスのサイズ調整 */
  width: 100%;
  max-width: 500px;
  height: 40px;
  padding: 0 10px;
}
.message{
  width: 500px;
  height: 300px;
  font-size: 1.0em;
}
.confirm-text{
  font-size: 1.5em;
  line-height: 120%;
  display: flex;
  flex-wrap:wrap;
  width: 960px;
  max-width: 90%;
  margin: 50px 0 30px 0;
}
@media screen and (max-width:768px){
  .select-box{
    width: 100%;
  }
.input-text,
  .input-text2,
  .input-text3{
    min-width: 100%;
  }
.message{
    width: 100%;
  }
.confirm-text{
    font-size: 0.9em;
    line-height: 150%;
  }
}

.submit-button{
  /* ボタンのスタイル調整をする */
  background-color: #f4dd64;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  /* ポイントした時に指マークに変わる */
  cursor: pointer;
  border: none;
}
.submit-button:hover{
  background-color: #d8b500;
}


/* ここから施工メニューページ */

.firstview_menu{
  position: relative;
}
.firstview_menu h1{
    position: absolute;
  top:50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  font-family: serif;
  line-height: 160%;
  color: #fff;
  font-size: 2.8rem;
  text-shadow:
1px 1px 2px #333333,
0 0 0.2em #696969;
  /* margin: 0!important;/*文字がずれている場合や*/
  /* padding: 0!important;文字が折り返される場合 */ 
}
.firstview_menu h1 span{
  color: #00aeef;
}
.firstview_menu img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
}
@media screen and (max-width:768px){
      .firstview_menu h1{
    font-size: 1.5em;
  }
.firstview_menu img{
    height: 50vh;
  }
  }

.menulist{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 250px;
}
.menulist h2{
  font-size: 1.5em;
  color: #00a0e9;
  border-bottom: solid #00a0e9;
  padding: 30px 0 10px 0;
}
@media screen and (max-width:768px){
  .menulist{
    margin-top: 125px;
  }
.menulist h2{
    font-size: 1.1em;
  }
}

.menu_title1{
  transform: translateX(-80%);
}
.menu_title2{
  transform: translateX(-174%);
}
.menu_title3{
  transform: translateX(-265%);
}
.menu_title4{
  transform: translateX(-153%);
}
.menu_title5{
  transform: translateX(-140%);
}
.menu_title6{
  transform: translateX(-126%);
}
@media screen and (max-width:768px){
  .menu_title1,
  .menu_title2,
  .menu_title3,
  .menu_title4,
  .menu_title5,
  .menu_title6{
    transform: translateX(0);
  }
}

.menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6{
  display: flex;
  align-items: center;
  padding: 50px 80px;
}
@media screen and (max-width:768px){
  .menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6{
  display: block;
  width: auto;
}
}

.menu_text{
  flex-direction: column;
}
.menulist img{
  height: 400px;
  width: 500px;
  object-fit: cover;
}
@media screen and (max-width:768px){
  .menulist img{
    width: 80vw;
    height: 170px;
  }
}

.menu1 h3,
.menu2 h3,
.menu3 h3,
.menu4 h3,
.menu5 h3,
.menu6 h3{
  display: flex;
  flex-wrap: wrap;
  font-size: 1.3em;
  font-weight: lighter;
  padding: 20px;
  margin-left: 20px;
}
@media screen and (max-width:768px){
  .menu1 h3,
.menu2 h3,
.menu3 h3,
.menu4 h3,
.menu5 h3,
.menu6 h3{
  font-size: 1em;
  margin-left: 0;
  font-weight: normal;
}
}

.menu1 p,
.menu2 p,
.menu3 p,
.menu4 p,
.menu5 p,
.menu6 p{
  padding: 20px;
  margin-left: 20px;
  font-size: 1.2em;
}
@media screen and (max-width:768px){
   .menu1 p,
.menu2 p,
.menu3 p,
.menu4 p,
.menu5 p,
.menu6 p{
  font-size: 0.8em;
  margin-left: 0;
  padding: 0 10px;
}
}

.menu_bottom{
  color: #010066;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
}
.menu_bottom h2{
  font-size: 2.4em;
  font-weight: lighter;
  line-height: 200%;
  border-bottom: 5px solid #00aeef;
}
.bottom_text1{
  padding-right: 1em;
}
@media screen and (max-width:768px){
   .menu_bottom{
    margin-top: 50px;
  }
.menu_bottom h2{
    font-size: 1.3em;
    line-height: 150%;
    border-bottom: 0;
    text-align: center;
    font-weight: bold;
  }
}


/* ここから料金一覧ページ */

.firstview_pricelist{
  position: relative;
}
.firstview_pricelist h1{
    position: absolute;
  top:50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  font-family: serif;
  font-size: large;
  line-height: 160%;
  color: #fff;
  font-size: 2.8rem;
  text-shadow:
1px 1px 2px #333333,
0 0 0.2em #696969;
  /* margin: 0!important;/*文字がずれている場合や*/
  /* padding: 0!important;文字が折り返される場合 */ 
}
.firstview_pricelist h1 span{
  color: #00aeef;
}
.firstview_pricelist img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

@media screen and (max-width:768px){
  .firstview_pricelist img{
    height: 50vh;
  }
.firstview_pricelist h1{
    font-size:1.5em;
  }
}

.pricelist{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}
.pricelist table,
.pricelist tr,
.pricelist td{
  border: 1px solid #aaa;
  border-collapse: collapse;
}
.pricelist tr,
.pricelist td{
  font-size: 1.3em;
  line-height: 170%;
}

@media screen and (max-width:768px){
  .pricelist tr,
.pricelist td{
  font-size: 1em;
}
}
.pricelist h2{
  font-size: 2em;
  color:#fff;
  background-color: #00a0e9;
  border-radius: 7px;
  padding: 5px;
  margin-top: 100px;
  margin-bottom: 20px;
  text-align: center;
}

@media screen and (max-width:768px){
  .pricelist h2{
    font-size: 1.1em;
    margin-top: 50px;
  }
}
.list_left{
  text-align: center;
  padding-left: 10px;
  width: 400px;
  background-color: rgba(107,189,252,0.3);
}
.list_right{
  text-align: right;
  padding-right: 10px;
  width: 400px;
  background-color: rgba(255,254,246,1);
}
.airconprice1 h2{
  width: 500px;
}
.airconprice2 h2,
.toiletprice h2{
  width: 400px;
}
.shomeiprice h2{
  width: 240px;
}
.intarhonprice h2{
  width: 380px;
}
.consentprice h2{
 width: 400px;
}

@media screen and (max-width:768px){    
.airconprice2 h2,
.toiletprice h2,
.shomeiprice h2,
.consentprice h2,
.intarhonprice h2{
  width: 250px;
}
.airconprice1 h2{
  width: 300px;
}

}
.pricelist_bottom{
 max-width: 970px;
  padding: 150px 0 50px 0;
  transform: translateX(30%);
}
.pricelist_bottom p{
  font-size: 1.8em;
  line-height: 300%;
}
.pricelist_bottom h2{
  font-size: 2em;
  font-weight: lighter;
  line-height: 300%;
  padding: 5px;
  border: 2px solid #ff0000;
}

@media screen and (max-width:768px){
  .pricelist_bottom{
    max-width: 500px;
    padding: 75px 0 25px 0;
    transform: translateX(0%);
  }
  .pricelist_bottom p{
    font-size: 1.1em;
    line-height: 150%;
  }
  .pricelist_bottom h2{
    font-size: 1em;
    font-weight: normal;
    line-height: 150%;
    margin-top: 20px;
  }
}
.pricelist_bottom span{
  background: linear-gradient(transparent 70%, yellow 70%);
}

/* ここからよくある質問ページ */

.top_qanda{
  display: flex;
  flex-direction: column;
  transform: translateX(20%);
  margin: 100px 0;
  max-width: 80%;
}

@media screen and (max-width:768px){
  .top_qanda{
    margin: 50px 0;
    transform: translateX(10%);
  }
}
.qanda_title{
  display: flex;
  align-items: center;
  max-width: 80%;
}

.qanda_title img{
  width: 130px;
  margin-right: 50px;
}

@media screen and (max-width:768px){
  .qanda_title img{
    max-width: 60px;
    margin-right: 60px;
  }
}
.qanda_title h1{
  color: #444444;
}

@media screen and (max-width:768px){
  .qanda_title h1{
    font-size: 1.4em;
  }
}
.top_qanda h2{
  color: #444444;
  font-weight: lighter;
  margin: 50px 0 0 20px;
}

@media screen and (max-width:768px){
  .top_qanda h2{
    font-size: 1.2em;
  }
}
.title_borderline{
  margin: 0 30px;
  border: 1px solid #696969;
}

.qalistup{
  margin-top: 60px;
}

.listup_q,
.listup_a{
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width:768px){
  .listup_a{
    justify-content:flex-start;
    margin-right: 50px;
  }
  .listup_q{
    margin-right: 50px;
  }
}
.listup_a{
  height: 28vh;
}

@media screen and (max-width:768px){
  .listup_a{
    height: 24vh;
  }
}
.q_aicon{
  width: 100px;
  transform: translateX(130%);
}

@media screen and (max-width:768px){
  .q_aicon{
    max-width: 60px;
    transform: translateX(100%);
  }
}
.a_aicon{
  width: 70px;
  transform: translateX(170%);
}

@media screen and (max-width:768px){
  .a_aicon{
    width: 50px;
    transform: translateX(120%);
  }
}
.listup_q h2{
  width: 60%;
  height: 11vh;
  background-color: rgba(107,189,252,0.3);
  display: flex;
  align-items: center;
  padding-left: 13%;
}

@media screen and (max-width:768px){
  .listup_q h2{
    height: 8vh;
    font-size: 0.9em;
    width: 90vw;
    padding-left: 75px;
  }
}
.listup_a h3{
  width: 60vw;
  font-weight: lighter;
  display: flex;
  align-items: center;
  padding-left: 15%;
  line-height: 1.8;
  flex-wrap: wrap;
}
@media screen and (max-width:768px){
  .listup_a h3{
    font-size: 1em;
    line-height: 1.2;
    width: 90vw;
    padding-left: none;
  }
  
}

