@charset "utf-8";
/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");
/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@700&display=swap');
/*inview.cssの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");
/*全体の設定
---------------------------------------------------------------------------*/
html, body {
  overflow-x: hidden;
  font-size: 16px;
}
body {
  font-family: 'Zen Maru Gothic', sans-serif; /*フォント種類*/
  -webkit-text-size-adjust: none;
  background: #FFFFFF; /*背景色*/
  color: #444444; /*全体の文字色*/
  line-height: 2; /*行間*/
}
/*マージンのリセット*/
figure {
  margin: 0;
}
/*画像全般の設定*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
  color: #0099FF; /*文字色*/
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/*headerブロック（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページの画像ロゴ設定*/
header {
  margin: 0;
  padding: 2em 0 0 0;
  height: 100vh; /* 全画面表示 */
  width: auto;
  position: relative;
  background-color: rgba(255, 217, 58, 1);
}
header img {
  max-height: 86vh;
}
.mainimg img{
    position: absolute;
    left: 0; /*天地左右センター*/
    right: 0; /*天地左右センター*/
    margin: auto; /*天地左右センター*/
    bottom: 0;
  }
header h2 {
  margin: 0 0 0 0;
  text-align: center;
  letter-spacing: 0.5em;
  line-height: 1;
  font-size: 0.8rem;
}
#contact header {
  margin: 0;
  height: 200px;
  width: auto;
  background-color: rgba(255, 217, 58, 1);
}
#contact header h2 {
  font-size: 2rem;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0em;
  margin: 1.2em;
}
#faq header {
  margin: 0;
  padding: 3em 0 0 0;
  height: 200px;
  width: auto;
  background-color: rgba(255, 217, 58, 1);
  background-image: url("../images/faq_h2.svg");
  background-position: left 49% bottom 0%;
  background-repeat: no-repeat;
  background-size: 80%;
}
#faq header h2 {
  font-size: 4rem;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0.3em;
  line-height: 0.6;
}
/*採用ページ*/
#recruit header {
  margin: 0;
  padding: 2em;
  height: 200px;
  width: auto;
  background-color: rgba(255, 217, 58, 1);
  background-image: url("../images/recruit_h2_sp.svg");
  background-position: left 49% bottom 0%;
  background-repeat: no-repeat;
  background-size: 200px;
}
#recruit header h2 {
  font-size: 1.2rem;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0em;
  line-height: 1.3;
}
#recruit .inner {
  padding: 3em 0 3em 0;
  width: 80%;
}

#recruit .f-01 {
  flex: 0 0 100%;
  padding: 0;
  align-items: flex-start
}
#recruit .f-02 {
  flex: 0 0 100%;
  align-items: center;
  text-align: center;
}
#recruit .f-02 img {
  width: 200px;
  height: auto;
}

#recruit .f-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 0;
}
@media screen and (min-width:800px) { /*800以上*/
    .mainimg img{
    position: absolute;
    left: 0; /*天地左右センター*/
    right: 0; /*天地左右センター*/
    margin: auto; /*天地左右センター*/
    bottom: 0;
  }
    
  header h2 {
    margin: 0 0 0 0;
    text-align: center;
    letter-spacing: 0.5em;
    line-height: 1;
    font-size: 1.8rem;
  }
  #contact header h2 {
    font-size: 2rem;
    vertical-align: middle;
    text-align: center;
    letter-spacing: 0.3em;
    line-height: 0.6;
    margin: 0.8em;
  }
  #faq header {
    margin: 0;
    padding: 2em;
    height: 200px;
    width: auto;
    background-color: rgba(255, 217, 58, 1);
    background-image: url("../images/faq_h2.svg");
    background-position: left 47% bottom 0%;
    background-repeat: no-repeat;
    background-size: 600px;
  }
  #faq header h2 {
    font-size: 2rem;
    vertical-align: middle;
    text-align: center;
    letter-spacing: 0.3em;
    line-height: 0.6;
  }
    
  #recruit header {
    margin: 0;
    padding: 2em;
    height: 200px;
    width: auto;
    background-color: rgba(255, 217, 58, 1);
    background-image: url("../images/recruit_h2.svg");
    background-position: left 49% bottom 0%;
    background-repeat: no-repeat;
    background-size: 620px;
  }
  #recruit header h2 {
    font-size: 2.4rem;
    vertical-align: middle;
    text-align: center;
    letter-spacing: 0;
    line-height: 0.6;
  }
    /*フレックスボックス*/
#recruit .f-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 0;
}
#recruit .f-01 {
    flex: 0 0 60%;
    padding: 0;
    align-items: flex-start
  }

#recruit .f-02 {
    flex: 0 0 40%;
    padding: 0em 6em 0 1em;
    align-items: center;
    text-align: center;
  }
}
.over img {
  transition: 0.4s;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.over a:hover img { /*point*/
  opacity: 0.5;
}
h1 {
  display: none;
}
h3 {
  line-height: normal;
}
#toi_btn {
  position: fixed;
  right: 0px;
  top: 30%;
  width: 30px;
  height: auto;
  z-index: 300;
}
@media screen and (min-width:800px) { /*800以上*/
  #toi_btn {
    width: 40px;
    height: auto;
    position: fixed;
    right: 0px;
    top: 30%;
  }
}
/*フレックスボックス*/
.f-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-bottom: 3em;
}
.colum {
  border: solid 1px #000;
  border-radius: 10px;
  padding: 0.6em;
  font-size: 0.8rem;
  line-height: 130%;
  margin: 2em 0 4em 0;
}

.strong_line {
border-bottom:double;/*二重線を引く*/
border-color: rgba(255, 217, 58, 1);
border-width:3px;
}

/*メインビジュアル
---------------------------------------------------------------------------*/
/*800以上*/
@media screen and (min-width: 800px) {
  .PC {
    display: block !important;
  }
  .SP {
    display: none !important;
  }
}
/*800以下*/
@media screen and (max-width: 800px) {
  .PC {
    display: none !important;
  }
  .SP {
    display: block !important;
  }
  #sub header h2 {
    font-size: 2rem;
    vertical-align: middle;
    margin: 1.2em 0 0 0
  }
}

.inner {
  margin: 0 auto;
  max-width: 90%; /*最大幅*/
  height: auto;
  padding: 0; /*上下、左右へのブロック内の余白*/
}
.bg_y {
  background: rgba(255, 217, 58, 1);
}
.bg_b {
  background: rgba(233, 244, 255, 1);
}

/*mainブロック
---------------------------------------------------------------------------*/
main {
  margin: 0;
}
/*ブロック内のh2タグ*/
main h2 {
  opacity: 0;
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: bold;
  font-size: 1.7rem;
  margin-bottom: 40px;
}
/*ブロック内のh3タグ*/
main h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 600;
  text-align: center; /*文字をセンタリング*/
  font-size: 1.4rem;
  margin: 50px 0; /*上下、左右へとる余白*/
}
main h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 600;
  text-align: center; /*文字をセンタリング*/
  font-size: 1rem;
  margin: 50px 0; /*上下、左右へとる余白*/
}
/*mainブロックのpタグ*/
main p {
  margin: 0 0 30px;
  font-family: YuGothic, "Yu Gothic medium", sans-serif;
}

/*文字サイズ*/
.fontS {
  font-size: 0.7rem;
  line-height: 110%;
}
.fontB {
  font-weight: bold;
}
.fontL {
  font-size: 1.2rem;
  line-height: 110%;
}
.main_con_txt {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.main_con_txt p {
  margin: 0;
  line-height: 1.7;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.c {
  text-align: center !important;
}
#sec4, #sec5, #sec6 {
  padding: 3em 0 3em 0;
}
#sec1, #sec2, #sec3 {
  padding: 1.5em 0 1.5em 0;
}
.img60 {
  width: 60%;
  height: auto;
}
.img55 {
  width: 55%;
  height: auto;
}
.img50 {
  width: 50%;
  height: auto;
}
.img30 {
  width: 30%;
  height: auto;
}
.img20 {
  width: 20%;
  height: auto;
}
.sma {
  display: none; /*PCでは無効（改行しない）*/
}
/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:800px) {
  .sma {
    display: block;
  }
}

/* セクション1　
---------------------------------------------------------------------------*/
/* 値を 3 つ指定: flex-grow | flex-shrink | flex-basis */
#sec1 {
  padding-bottom: 3em;
}
#sec1 .f-01 {
  flex: 0 0 40%;
  padding: 1em;
}
.f-box {
  flex: 0 0 100%;
  padding: 1em;
}
@media screen and (min-width:800px) { /*800以上*/
  #sec1 .f-01 {
    flex: 0 0 15%;
    padding: 1em;
  }
  #sec1 .inner {
    width: 900px;
    text-align: center;
  }
}

/*セクション2　突然の雨漏り
---------------------------------------------------------------------------*/
.sec2_img {
  margin: 2em auto 1em;
  width: 90%;
}
#sec2 .f-box {
  width: 100%;
}
#sec2 .f-01 {
  flex: 0 0 100%;
  padding: 0 0 1em;
  align-items: flex-start
}
#sec2 .f-02 {
  flex: 0 0 100%;
  padding: 0 0 1em;
  align-items: flex-start
}
@media screen and (min-width:800px) { /*800以上*/
  #sec2 .f-01 {
    flex: 0 0 45%;
    padding: 1em;
  }
  #sec2 .f-02 {
    flex: 0 0 45%;
    padding: 1em;
  }
  .sec2_img {
    margin: 2em auto 2em;
    width: 70%;
  }
}
/* セクション3　6つの特徴・声
---------------------------------------------------------------------------*/
.sec3 main {
  margin: 3em auto 3em;
}
/* 値を3つ指定: flex-grow | flex-shrink | flex-basis */
#sec3 .f-01 {
  flex: 0 0 100%;
  margin-bottom: 2em;
}
#sec3 .f-02 {
  flex: 0 0 100%;
  margin-bottom: 2em;
}

#sec3 .f-03 {
  flex: 0 0 100%;
  border: solid 1px #000;
  border-radius: 10px;
  padding: 1em;
}

#sec3 .f-04 {
  flex: 0 0 100%;
  border-radius: 10px;
  padding: 0em;
    margin: 2em 0 0 0 ;
}

#sec3 .f-box {
  justify-content: center;
  margin: 0 0 2em 0;
}

#sec3 h4 {
  margin: 1em auto 1em auto;
  line-height: 1.6;
  font-size: 1.2rem;
  display: block;
  width: 80%;
  border-bottom: solid 1px #000;
  text-align: center;
}
#sec3 h5 {
  margin: 1em 0 1em 0;
  line-height: 1.3;
  font-size: 1rem;
  text-align: center;
}
#sec3 ul {
  margin: 1em 0 0 0;
}
#sec3 li {
  list-style-type: square;
  line-height: 1.5;
  font-weight: normal;
}
.sec3_img {
  margin: 3em auto 2em;
  width: 100%;
}
@media screen and (min-width:800px) { /*800以上*/
  .sec3_img {
    margin: 3em auto 2em;
    width: 75%;
  }

  #sec3 .f-01 {
    flex: 0 0 450px;
    padding: 1em;
  }
  #sec3 .f-02 {
    flex: 0 0 450px;
    padding: 1em;
  }
  #sec3 .f-box {
    justify-content: space-between;
  }
  #sec3 li {
    list-style-type: square;
    float: left;
    margin-right: 3em;
  }
  #sec3 h4 {
  font-size: 1.4rem;
}
}
/*セクション4　職人メッセージ
---------------------------------------------------------------------------*/
#sec4 h3 {
  text-align: left;
  margin: 0.5em 0 2em 0;
}
#sec4 h4 {
  text-align: left;
  margin: 0 0 1em 0;
}
#sec4 .f-box {
  /*justify-content: center;*/
  margin: 0;
}
#sec4 .f-01 {
  flex: 0 0 100%;
  padding: 0 0 0 0;
}
#sec4 .f-02 {
  flex: 0 0 100%;
  padding: 0 0 0 0;
}
#sec4 .f-03 {
  flex: 0 0 100%;
}
@media screen and (min-width:800px) { /*800以上*/
  #sec4 .f-01 {
    flex: 0 0 35%;
    padding: 2em;
  }
  #sec4 .f-02 {
    flex: 0 0 65%;
    padding: 0 1em 0 0;
  }
  #sec4 .f-03 {
    flex: 0 0 100%;
  }
}
/*セクション5 
---------------------------------------------------------------------------*/
#sec5 {
  margin: 0;
}
#sec5 h3 {
  margin: 0;
}
/*セクション6　FAQ
---------------------------------------------------------------------------*/
#sec6 {
  background: url("../images/faq_bg.jpg") no-repeat 100% 30% scroll;
  background-size: contain;
  -webkit-background-size: cover;
  text-align: center;
  margin: 0;
}
#sec6 img {
  width: 740px;
  max-width: 80%;
  height: auto;
}
/*フッター設定
---------------------------------------------------------------------------*/
footer {
  width: 100%;
  min-height: 200px;
  font-size: 0.8rem; /*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
  text-align: center; /*内容をセンタリング*/
  padding: 20px; /*ボックス内の余白*/
  color: rgba(0, 0, 0, 1.00);
  margin: 0;
  background-color: rgba(255, 217, 58, 1);
}
footer p {
  font-size: 1rem;
  text-align: left;
  margin-left: 0em;
}
/*リンクテキスト*/
footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
footer .logo {
  width: 160px;
  height: auto;
  margin: 2em 0 0 0;
}
@media screen and (min-width:800px) { /*800以上*/
  footer .logo {
    width: 200px;
    height: auto;
    margin: 2em;
  }
}
/*トップページのイメージブロック
---------------------------------------------------------------------------*/
/*写真とメニュー解説テキストを囲むブロック*/
.main_con {
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素を縦並びにする*/
  align-items: center; /*垂直揃えの指定。上下中央に配置されるように。*/
  justify-content: space-between; /*並びかたの種類の指定*/
  margin-bottom: 10em; /*下に空けるスペース*/
  padding: 0; /*1em 5em 1em;*/
}
/*写真下の小さなテキスト*/
.main_con figcaption {
  margin-top: 20px; /*写真とテキストとの間に空けるスペース*/
  font-size: 0.7rem;
}
/*main_conブロック内のfigureタグ。写真を囲むブロック。*/
.main_con figure {
  width: 100%; /*幅*/
  text-align: center; /*テキストをセンタリング*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  width: 50px; /*幅*/
  line-height: 50px; /*高さ*/
  position: fixed;
  right: 30px; /*右からの配置場所指定*/
  bottom: 30px; /*下からの配置場所指定*/
  color: #fff; /*文字色*/
  background: rgba(0, 0, 0, 0.4); /*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
  border-radius: 50%; /*正円*/
  padding: 0;
}
/*マウスオン時*/
.pagetop a:hover {
  background: rgba(0, 0, 0, 1);
}
/*その他
---------------------------------------------------------------------------*/
/* バナー */
.txt_ban {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 680px;
  max-width: 90%;
  height: auto;
  background: rgba(255, 199, 0, 1);
  border-radius: 20px;
  border-bottom: 10px solid rgba(255, 159, 0, 1.00);
}
.txt_ban a {
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%; /*div全体にリンク*/
  padding: 1.8em;
  transition: 0.3s ease-in-out;
}
/*くの字アロー*/
.txt_ban a:after {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(0, 0, 0, 1);
  border-right: 2px solid rgba(0, 0, 0, 1);
  transform: rotate(45deg) translateX(-100%);
  position: absolute;
  top: 50%;
  right: 2%;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.txt_ban a:hover:after {
  position: absolute;
  top: 50%;
  right: 1%;
}
@media screen and (min-width:800px) { /*800以上*/
  .txt_ban a {
    font-size: 2rem;
    line-height: 1.5;
  }
  .txt_ban a:after {
    content: '';
    width: 20px;
    height: 20px;
  }
}
/* バナー */
.txt_ban2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 680px;
  max-width: 90%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 1);
}
.txt_ban2 a {
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 1);
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%; /*div全体にリンク*/
  padding: 1.5em;
  transition: 0.3s ease-in-out;
}
/*くの字アロー*/
.txt_ban2 a:after {
  content: '';
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(0, 0, 0, 1);
  border-right: 2px solid rgba(0, 0, 0, 1);
  transform: rotate(45deg) translateX(-100%);
  position: absolute;
  top: 50%;
  right: 2%;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.txt_ban2 a:hover {
  background: rgba(255, 199, 0, 1);
}
.txt_ban2 a:hover:after {
  position: absolute;
  top: 50%;
  right: 1%;
}
@media screen and (min-width:800px) { /*800以上*/
  .txt_ban2 a {
    font-size: 2rem;
    line-height: 1.5;
  }
  .txt_ban2 a:after {
    content: '';
    width: 25px;
    height: 25px;
  }
}
/*PCでは無効（改行しない）*/
.sma {
  display: none;
}
/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:800px) {
  .sma {
    display: block;
  }
}
/*-------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

ここから下は画面幅800px以上の追加指定

---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------*/
@media screen and (min-width:800px) { /*800以上*/
  html, body {
    font-size: 18px; /*基準となるフォントサイズの上書き*/
  }
  /*section全般の設定*/
  section + section {
    padding-top: 200px; /*sectionの間に空けるスペース*/
  }
  .home header #logo {
    position: absolute;
    left: 30px;
    top: 5px;
    /*transform: translate(-50%, -50%);*/
    width: 300px; /*ロゴ画像の幅*/
  }
  h1 {
    font-size: 18px;
  }
  footer p {
    font-size: 1.3rem;
    text-align: left;
    margin-left: 0em;
  }
  .inner {
    margin: 0 auto;
    max-width: 1000px; /*最大幅*/
  }
  footer {
    background: url("../images/paint.png")no-repeat right;
    background-size: contain;
    background-color: rgba(255, 217, 58, 1);
  }
  /*
---------------------------------------------------------------------------*/
  /*メインコンテンツ6つ*/
  .main_con {
    flex-direction: row; /*子要素を横並びにする*/
    margin-bottom: 14em; /*下に空けるスペース*/
  }
  /*偶数番目のmain_conブロック*/
  .main_con:nth-of-type(even) {
    flex-direction: row-reverse; /*配置を左右逆にする*/
  }
  /*main_conブロック内のfigureタグ。写真を囲むブロック。*/
  .main_con figure {
    width: 48%; /*幅*/
  }
  .main_con_txt {
    width: 48%;
  }
} /*　※注意！　ここまで800px以上の設定　*/