@charset "UTF-8";
/* CSS Document */
/* --------------------------------------------
 Reset Style
-------------------------------------------- */
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin: 0px;
	padding: 0px;
	line-height: 1.4;
}
fieldset,img {
	border: 0;
}
img {
	vertical-align: bottom;
}
address,caption,cite,code,dfn,em,var {
	font-style: normal;
	font-weight: normal;
}
ol,ul {
	list-style: none;
}
caption,th {
	text-align: left;
	font-weight: normal;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}
/*---------------------------
改行コントロール
----------------------------*/
h1 span,
p span{
  display: inline-block; 
}

/*---------------------------
Element
----------------------------*/
body{
font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
/* font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif; */
font-size: 18px;
}
main{
  background-color: #f7f7f3;
}
img{
	height:auto;
	max-width:100%;
	width: auto;
}
h1{
    font-size: 1.4rem;
    text-align: center;
}
h1 span.h1_sub{
  display: block;
  font-size:2em ;  
}
h2{
    font-size: 2.1rem;
    margin-bottom: 0.5em;
}
.section-estimate h2{
color: var(--estimate-color);  
}
.section-service h2{
color: var(--service-color);
}
@media print, screen and (min-width:420px){
h1{
    font-size: 1.6rem;
}
}


/*---------------------------
変数設定
----------------------------*/
:root {
  /* --estimate-color: #06b726; */
  --estimate-color: #1CAB35;
  --service-color: #1645b7;
}

/*---------------------------
Styles
----------------------------*/
.inner{
width: 96%;
max-width:800px;
margin: 0 auto;
padding:40px 0;
}
.section{
background-color: white;
margin: 2em 0;
padding: 1em 0.5em;
border-radius: 8px;
}
.section p{
line-height: 1.6;
}
.msg{
  text-align: center;
  line-height: 1.8;
}

@media screen and (min-width:420px){
.section{
padding: 1em;
}
.only_sp{
  display: none;
}
}
@media print, screen and (min-width:768px){
.section{
padding: 2em;
}  
}
/*---------------------------
Form
----------------------------*/
select{
border-radius:0;
}
select,
input{
font-size: 1rem;
padding:0.5rem;
}
input::placeholder{
color: #ccc;
}
label{
font-weight: 600;
}
.must {
display: inline-block;
border-radius: 2px;
background: #de1d41;
padding: 2px 5px;
color: #fff;
font-weight: 500;
font-size: 11px;
margin-left: 5px;
vertical-align: middle;
} 
/*ボタン*/
.button{
display: block;
width: 300px;
margin: 20px auto;
padding: 14px 5px;
font-size: 24px;
font-weight: bold;
color: #fff;
background-color: #122aa9;
border: none;
cursor: pointer;
border-radius:50px;
text-decoration: none;
text-align: center;
}
.button-kani{
background-color: var(--estimate-color);
}
.button-service{
background-color: var(--service-color);
}
.form_element{
padding:1em 0;
}
.submitbtn{
text-align: center;
}
@media screen and (max-width:420px){
select,
input[type="text"],
input[type="email"],
input[type="tel"]{
  width:100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
}
@media screen and (min-width:420px){
.form_element{
padding:1em 0.5em;
}
}
@media print, screen and (min-width:768px){
  .form_element{
    display: flex;
    align-items: center;
    padding:1em;
    }
.form_label{
width:200px;
margin-right:16px;
text-align: right;
}
.form_input{
width:calc(100% - 216px);
}
}
/*---------------------------
Validate
----------------------------*/
.ErrorField {
  border-color: #EA5302 !important;
  color: #EA5302 !important;
  background: #ffd !important;
}

span.ValidationErrors {
  font-size: 13px !important;
  color: #EA5302 !important;
}
.msg-noscript{
font-weight: bolder;
font-size: 1.3em;
color: #bc183b;;
}

/*---------------------------
Header
----------------------------*/
.header {
  position: relative;
	box-sizing: border-box;
	width: 100%;
	background-color: #fff;
	z-index: 10;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
	}
.header_cont {
	position: relative;
	width: 96%;
  height: 65px;
  max-width: 1000px;
	margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
	}

.header_title {
	box-sizing: border-box;
	/* padding: 0 0 0.5em 0; */
	}
    .header_title a{
        text-decoration: none;
        color: #333;
    }
.header_logo {
	box-sizing: border-box;
	text-align: right;
  /* padding:10px; */
	}
@media screen and (max-width:767px){

}
@media print, screen and (min-width:768px){
.header_title {
	width: 70%;
	/* padding: 1em 0; */
	}
.header_logo {
	width: 30%;
	/* padding: 1em 5px 1em 0; */
	}
}

@media print, screen and (min-width:960px){
.header_title {
	width: 70%;
  font-size: 18px;
	/* padding: 2.5em 0 0 5px; */
	}
.header_logo {
	width: 20%;
	/* padding: 1em 5px 0 0; */
	
	}
}
/*---------------------------
Footer
----------------------------*/

#footer {
	padding: 0.4em 0.5em;
	border-top: 4px #fa0046 solid;
}
#dhgNv a {
  color: #4d4d4f;
  text-decoration: none;
}
.dl li, .dhg li {
  font-size: 12px;
  line-height: 1;
}
address p {
  color: #4d4d4f;
}
address .dllogo-ft {
  margin-bottom: 5px;
}
address p.copyright {
  font-size: 11px;
}

@media screen and (max-width:767px){
#dhgNv{
text-align: center;
}
.spftlg{
padding:16px 0 0;
} 
.dhg{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 16px;
  border: 1px solid #aaa;
  border-bottom: none;
}

.dhg li {
  border: none;
  border-bottom: 1px solid #aaa;
  width: 50%;
  box-sizing: border-box;
  line-height: 100%;
  padding: 0;
}
.dhg li:nth-child(odd) {
  border-right: 1px solid #aaa;
}
.dhg li  a {
  padding: 15px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
}
}



@media print, screen and (min-width:768px){
#footer {
	display: block;
  background-color: #fff;
  letter-spacing: 0;
  padding: 18px 0; 
}
#ftBx {
	width: 98%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
#dhgNv {
    text-align: left;
}

#dhgNv a:hover {
    text-decoration: underline;
}
.dl li, .dhg li {
  display: inline-block;
  margin: 5px 0;
  font-size: 12px;
  padding: 0px 6px;
  line-height: 1;
  border-right: 1px solid #333;
}
.dhg {
  float:left;
  max-width:600px;
  padding-top: 6px;
  font-size: 11px;
}
.spftlg{
  float: left;
  width: 102px;
}
address {
    padding: 20px 6px 0 0;
    float: right;
    width: 285px;
    font-style: normal;
    font-size: 11px;
    text-align: right;
}
address p {
    text-align: right;
}
}


