@charset "utf-8";

/*--------------------------------------------

2021/11/18
株式会社ハギワラ　ランディングページ
http://hagiwara-tec.co.jp/lp/index.html

  [00] 基本設定
  [01] メインビジュアル
  [02] これから30年家を長持ちさせるために
  [03] こんなお悩みはございませんか？
  [04] それ、お家の危険信号かもしれません。
  [05] 対策としては…
  [06] ハギワラの3つの特長
  [07] 宮城県内エリアどこでも駆けつけます！
  [08] すでに雨漏りしている家にお住まいの方
  [09] お申し込みフォーム
  [10] サンクスページ
  [11] フッター

---------------------------------------------*/


/*--------------------------------------------
  [00] 基本設定
---------------------------------------------*/

*{
  font-family: 'Noto Sans JP',"Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN","Arial", "Yu Gothic medium", "Meiryo", sans-serif;
}

html{
  font-size: 62.5%; /*1rem=10px*/
}

body {
  font-size: 1.6rem; /*本文サイズ 1.6rem=16px*/
  line-height: 2;
  color: #1a1a1e;
}

img {
  max-width: 100%;
  height: auto;
  text-align: center;
}

a {
  transition: 0.4s;
}

a:hover {
  transition: 0.4s;
  opacity: 0.7;
}

a[href^="tel:"]{
  text-decoration: underline;  
}

h1,h2,h3, h4, h5, th{
  font-weight: bold;
}

h2 {
  font-size: 3.6rem;
  position: relative;
}

i{
	margin-right: 5px;
}

.disp-pc{
    display: block;
}
.disp-sp,.disp-tab{
    display: none;
}
.disp-999{
    display: none;
}
.disp-not-sp{
    display: block;
}
/*改行
-------------------------------*/
.br_480,.br_768{
 display:none;
}
@media screen and (max-width:999px) {
    .disp-pc{
        display: none;
    }
 .disp-999,.disp-tab{
    display: block;
}   
}
@media screen and (max-width:768px) {
    .br_pc_only{
        display: none;
    }
  .br_768{
	display:inline;
  }
h2 {
  font-size: 3.0rem;
}
}
@media screen and (max-width:480px) {
  .br_480{
	display:inline;
}
.disp-tab{
    display: none;
}
.disp-sp{
    display: block;
}
.disp-not-sp{
    display: none;
}
}
.fz-12{font-size: 1.2rem;}
.fz-14{font-size: 1.4rem;}
.fz-16{font-size: 1.6rem;}
.fz-18{font-size: 1.8rem;}
.fz-21{font-size: 2.1rem;}
.fz-28{font-size: 2.8rem;}
.fz-32{font-size: 3.2rem;}

.fw-400{font-weight: 400;}
.fw-600{font-weight: 600;}
.fw-700{font-weight: 700;}

.mgt-15{margin-top: 15px;}
.mgt-20{margin-top: 20px;}
.mgt-30{margin-top: 30px;}



/*コンテンツ幅制限
-------------------------------*/
.w_limit_1200 {
  width:100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.w_limit_1000 {
  width:100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.w_limit_800 {
  width:100%;
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.wrap {
  overflow: hidden;
  width: 100%;
  height: auto;
}

main{
	width: 100%;
}

section{
    padding: 100px 0;
    position: relative;
}


/*背景CSS設定*/
.bg-hougan{
   background: linear-gradient(0deg, rgba(255,255,255,0) 14px, rgba(231,231,231,1) 16px), linear-gradient(90deg,rgba(255,255,255,0) 14px,rgba(231,231,231,1) 16px);
  background-size: 16px 16px;   
}

.bg-dot-hougan{
	background-color: #ffffff;
	background-image:
	 radial-gradient(rgba(161,230,164,1) 1px, rgba(255,255,255,0) 1px);
	background-size: 12px 12px;
}

.bg-gradation{
background: rgb(108,168,97);
background: linear-gradient(45deg, rgba(108,168,97,1) 0%, rgba(55,158,142,1) 100%);
}

.bg-stripe-naname{
background-size: auto auto;
background-color: rgba(191, 98, 88, 1);
background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(184, 80, 69, 1) 15px, rgba(184, 80, 69, 1) 30px );
}

@media screen and (max-width:1200px) {
  .w_limit_1200, .w_limit_1000, .w_limit_800 {
    padding: 0 15px;
  }
}

@media screen and (max-width:768px){
section{
    padding: 50px 0;
}
}
@media screen and (max-width:480px){
}

/*--------------------------------------------
  [01] メインビジュアル
---------------------------------------------*/
section#MainVisual{
    padding: 0;
}

/*--------------------------------------------
  [02] これから30年家を長持ちさせるために
---------------------------------------------*/
#Intro{
    text-align: center;
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 2.7;
}
#Intro .w_limit_1000{
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}
#Intro .w_limit_1000::before,
#Intro .w_limit_1000::after{
    content: '';
    background-image: url("../images/icon-kiran.png");
    width: 60px;
    height: 70px;
    position: absolute;
    margin: auto;
}
#Intro .w_limit_1000::before{
    top: -50px;
    left: 15px;
}
#Intro .w_limit_1000::after{
    bottom: -50px;
    right: 15px;
}
#Intro p{
    font-weight: 400;
}
#Intro p:nth-of-type(2){
    margin-top: 15px;
}
#Intro span{
    background: #ffffff;
    font-size: 2.6rem;
    padding: 5px;
    font-weight: 700;
}
#Intro p:nth-of-type(1) span{
    color: #00a99d;
}
#Intro p:nth-of-type(2) span{
    color: #f15a24;
}

@media screen and (max-width:768px){
#Intro{
    line-height: 2.4;
    } 
#Intro .w_limit_1000::before{
    top: -25px;
    opacity: 0.5;
}
#Intro .w_limit_1000::after{
    bottom: -25px;
    opacity: 0.5;
}
}
@media screen and (max-width:480px){
    #Intro span{
        display: block;
        padding: 0;
        width: 100%;
        margin: 0 auto;
    } 
}

/*--------------------------------------------
  [03] こんなお悩みはございませんか？
---------------------------------------------*/
#Onayami{
    padding-bottom: 0;
    text-align: center;
    padding-top: 75px;
}

#Onayami h2{
    font-size:3.2rem;
    line-height: 1.5;
    font-weight: 800;
    background: #ffffff;
    color: #543a15;
    border: solid 4px #00a99d;
    max-width: 800px;
    padding: 15px;
    margin: 0 auto;
    margin-bottom: 50px;
}
@media screen and (max-width:480px){
#Onayami{
    padding-top: 50px;
    }
#Onayami h2{
    font-size:2.8rem;
    }
}


/*--------------------------------------------
  [04] それ、お家の危険信号かもしれません。
---------------------------------------------*/
#Danger{
    padding-top: 0;
    padding-bottom: 35px;
}
.danger-zone .w_limit_1000{
    padding: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 3.6rem;
    color: #ffffff;
    font-weight: 700;
}
.danger-zone .w_limit_1000 p{line-height: 1.5;margin-right: 10px;}
.danger-zone .w_limit_1000 p span{
    color: #fcee21;
}

.caution{
    padding-top: 50px;
    text-align: center;
}

.caution p{
    font-size: 2.6rem;
    text-align: center;
    margin-top: 15px;
}

@media screen and (max-width:480px){
    .danger-zone .w_limit_1000{
        display: block;
        text-align: center;
        padding: 30px 15px;
    }
.danger-zone .w_limit_1000 p{margin-right: 0px;margin-bottom: 20px;}
    .caution p{font-size: 2.1rem;}
}

/*--------------------------------------------
  [05] 対策としては…
---------------------------------------------*/
#Taisaku{
    padding:50px 15px;
    background-image: url("../images/bg-taisaku-pc.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: auto;
}


.taisaku-img{
    text-align: center;
}

@media screen and (max-width:480px){
#Taisaku{
    padding:50px 15px;
    background-image: url("../images/bg-taisaku-sp.jpg");
}
}

/*--------------------------------------------
  [06] ハギワラの3つの特長
---------------------------------------------*/
#Point{
    padding: 120px 0;
}

#Point h2{
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    margin-top: 25px;
}
#Point h2::before{
    content: '';
    position: absolute;
    background-image: url("../images/icon-yane.png");
    width: 110px;
    height: 50px;
    margin: auto;
    left: 0;
    right: 0;
    top: -60px;
}

#Point ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}
#Point ul li{
    width: 30%;
}
@media screen and (max-width:480px){
#Point{
    padding: 120px 0 50px;
}

    #Point ul{
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
    }
    
#Point ul li{
    width: 48%;
}
    #Point ul li:first-of-type{
        margin-right: 4%;
    }
}
/*--------------------------------------------
  [07] 宮城県内エリアどこでも駆けつけます！
---------------------------------------------*/
#Tenken{
    padding-top: 0;
}

.tenken-obi{
    background: #eb7428;
    color: #ffffff;
    padding: 50px 0;
    margin-bottom:180px;
}
.tenken-obi .w_limit_800{
    position: relative;
    height: 100%;
}
.illust-hidesan{
    position: absolute;
    top: -100px;
    margin: auto;
    width: 25%;
}
.tenken-txt{
    width: 75%;
    margin-left: 25%;
}



.line-yellow{
 background:linear-gradient(to right,rgba(252,238,33,1)  50%,rgba(255,255,255,0) 50%);
  background-position: 0% bottom;
  background-size: 200% 30%;
  background-repeat: no-repeat;
    color: #182987;
    text-shadow:2px 2px 0 #ffffff, -2px -2px 0 #ffffff,
              -2px 2px 0 #ffffff, 2px -2px 0 #ffffff,
              0px 2px 0 #ffffff,  0-2px 0 #ffffff,
              -2px 0 0 #ffffff, 2px 0 0 #ffffff;
    font-size:3.6rem ;
}

.kaketsukeBox{
    max-width: 600px;
    background: #ffffff;
    border: solid 5px #00a99d;
    position: relative;
    text-align: center;
    padding:100px 50px 25px;
    margin: 0 auto;
}

.kaketsukeBox div:nth-of-type(1){
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    margin: auto;
}
.kaketsukeBox div:nth-of-type(2){
    margin-bottom: 25px;
}

/*TEL画像ボタンリンク SP時のみ有効*/
@media screen and (min-width:480px){
a.tel-btn{
 pointer-events: none;
}
}
@media screen and (max-width:480px){
.tenken-obi{
    margin-bottom:120px;
    }
.illust-hidesan{
    position: relative;
    width: 40%;
    text-align: center;
    top: auto;
    margin-bottom: 15px;
}
.tenken-txt{
    width: 100%;
    margin-left: 0;
}
.kaketsukeBox{
    padding:100px 15px 25px;
}

}
/*--------------------------------------------
  [08] すでに雨漏りしている家にお住まいの方
---------------------------------------------*/
#Out{
    background: #ffe3e0;
    padding-bottom: 0;
}

/*--------------------------------------------
  [09] お申し込みフォーム
---------------------------------------------*/
#Contact{
    padding-top: 150px;
    padding-left: 15px;
    padding-right: 15px;
}
#formWrap {
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 15px;
  border-radius: 15px;
  text-align: center;
    margin-top: 50px;
  box-shadow: 0px 0px 15px -5px rgba(198,198,198,1);
}

#formWrap h2 {
  color: #eb7428;
  position: relative;
  font-size: 2.1rem;
  margin: 0 auto;
  text-align: center;
  display: inline-block;
}

table.formTable {
  width: 100%;
    max-width: 1000px;
  margin: 30px auto;
  border-collapse: collapse;
    border-spacing: 0;

  text-align: left;
    table-layout: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

table.formTable tr{
    width: 100%;
    border-bottom: solid 1px #b8b8b8;
}
table.formTable tr:last-of-type{
    border-bottom: none;
}
table.formTable td, table.formTable th {
  padding:25px;
}

table.formTable th {
  background: #fff2e6;
  width: 28%;
    vertical-align: top;
}

table.formTable th>div {
  background: #e04d4a;
  color: #ffffff;

  font-size: 15px;
  text-align: center;
  margin-right: 3%;
  width: 60px;
    border-radius: 5px;
    display: inline-block;
}

table.formTable th>p {
  text-align: left;
  width: 65%;
    display: inline-block;    vertical-align: top;
}

table.formTable td{
  width: 65%;
}

input, textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding:0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  font-size:1.6rem;
    max-width: 100%;
}


textarea {
  resize: vertical;
  width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  height: 150px;
  max-width: 600px;
  max-height: 300px;
  min-width: 150px;
  min-height: 150px;
}

input[type="button"] {
  display: block;
  margin: 0 auto;
  line-height: 45px;
  color: #ffffff;
  font-size: 18px;
  background: #FFA000;
  border-radius: 45px;
  font-weight: 400;
  width: 100%;
  max-width: 350px;
  min-width: 150px;
      transition: .4s;
}

input[type="image"]{
    border: none;
}
label{
    width: 100%;
}

input[type="submit"]:hover,input[type="button"]:hover,input[type="image"]:hover,input[type="radio"]:hover  {
  transition: .4s;
  opacity: .7;
}

.onayami-select ul{
    display: block;
}

.onayami-select ul li label{
    display: block;
    padding: 10px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: 0.4s;
    text-indent: -1em;
    padding-left: 2.5em;
    max-width: 360px;
}

.onayami-select ul li label:hover{
    background: #ebffeb;
    border: 1px solid #22b573;
}

.freearea input{
    width: 100%;
    min-height: 150px;
    vertical-align: top;
}


input[name="submit"]{
border: 0;
    width: 100%;
    max-width: 410px;
    height: 120px;
    background: url("../images/btn-send.png") left center no-repeat;
    background-size: contain;
 text-indent: -9999px;
    cursor: pointer;
}




@media screen and (max-width:768px){

    }
@media screen and (max-width:480px){
table.formTable td, table.formTable th {
  padding:25px;
    width: 100%;
    display: block;
}

    }

/*--------------------------------------------
  [10] サンクスページ
---------------------------------------------*/

#thanks section{
    padding:50px 15px;
}

#thanks section .w_limit_1000{
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0px 0px 15px -5px rgba(198,198,198,1);
}
#thanks h2{
    margin-bottom: 15px;
    color: #22b573;
}

.oisogi{
    margin-top: 15px;
}
.oisogi p{margin-bottom: 25px;}
.oisogi img{
    max-width: 300px;
    width: 100%;
}

.logo-link{
    margin-top: 50px;
}

@media screen and (max-width:480px){
#thanks section{
    padding:25px 15px;
}
#thanks p{
    text-align: left;
}    
}

/*--------------------------------------------
  [00] フッター
---------------------------------------------*/

#PageTop{
	display: block;
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 40px;
	height: 40px;
/*	background: #22b573;*/
}

#PageTop::before{
	content: '';
	border-style: solid;
	border-width: 2px;
	border-color: #f6f6f6 #f6f6f6 transparent transparent;
	transform: rotate(315deg);
	position: absolute;
	margin: auto;
	top: 5px;
	bottom: 0;
	left: 0;
	right: 0;
	width: 11px;
	height: 11px;
}

#PageTop a{
	width: 100%;
	height: 100%;
	position: absolute;
}

footer{
    background: #22b573; 
}

small {
  display: block;
  text-align: center;
    background: #22b573;
    color: #ffffff;
}


@media screen and (max-width:768px){
  #PageTop {
    bottom:10px;
    right: 10px;
  }
}
@media screen and (max-width:480px){
}