/*
Template:ystandard
Theme Name:haikankakou5
*/
body{
width:100%;
margin:0 auto;
padding:0;
font-size:16px;line-height:1.75em;
font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

a{text-decoration:none;}

ol, ul {
    margin: 0;
    padding:0;
}
li{list-style:none;}

h1, h2, h3, h4, h5, h6 {
    margin: 0em;
    padding: 0;
    line-height: 1.5;
    letter-spacing: .05em;
}

h1+h2, h2+h3, h3+h4, h4+h5, h5+h6 {
    margin-top: 0;
}

td, th {
    border-right:none;
    border-bottom:none;
}

tr {
    border-left:none;
}

amp-img, img {
    vertical-align: bottom;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin: 0em;
}

.entry-content h1+h2, .entry-content h2+h3, .entry-content h3+h4, .entry-content h4+h5, .entry-content h5+h6 {
    margin-top: 0em;
}

a.btn-c {
  font-size: 2rem;
  position: relative;
  padding: 1.5rem 3rem 1.5rem 2rem;
}

a.btn-c i.fa {
  margin-right: 0.5rem;
}

.btn,
a.btn,
button.btn {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.75rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-radius: 0.5rem;
}

.btn-default {
    color: #333;
    background-color: #999999;
    border-color: #666666;
}


.container {
margin-right: auto;
    margin-left: auto;
    padding-right: 1em;
    padding-left: 1em;
    max-width: none;
}


dd {
    margin-inline-start: 0px;
}

.monly{display:block;}
.ponly{display:none;}	

.back-to-top__content {
	box-shadow:none;}

#back-to-top {
    bottom: 2vh;
    right: 1vh;
}

.recaptcha_policy {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 10px !important;
  color: #dfdfdf !important;
}
.recaptcha_policy a {
  font-size: 10px !important;
  color: #dfdfdf !important;
}

.grecaptcha-badge { visibility: hidden; }

.site-content {
    margin-top: 0;
    margin-bottom: 0;
}

p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}


.topnavig .btn{padding: 0.75rem 1rem;font-size: 1em;}

.toptel{font-size: 2em;
    font-weight: 600;
    line-height: 0.25em;}
.toptel span {
    font-size: 0.4em;
    font-weight: 400;
}
.toptel .fa-phone{color:#005EAE;}

a.btn--topb1 {
  color: #005EAE;
  background-color: #FFD336;
}

a.btn--topb1:hover {
  color: #005EAE;
 opacity:0.8;
}


a.btn--topb2 {
  color: #fff;
  background-color: #005EAE;
}

a.btn--topb2:hover {
  color: #fff;
 opacity:0.8;
}

/*TOP*/
.site-branding .custom-logo {
    max-width: 200px;
}
.topnavigwrap{display:none;}
.topnavig{display:flex;justify-content: space-between;width: 100%;
    max-width: 600px;}
.site-header__content {
    justify-content: space-between;
}

.topnavig div{margin-right:1em;}
.topnavig div:last-child{margin-right:0;}

.topeyebase{position:relative;width:100%;margin:0 auto;padding-top:37.5%;}
.tbimage{position:absolute;top:0;left:0;width:100%; height: auto;}

.tbtxt{position: absolute;
    top: 23.5%;
    left: 0;
    width: 100%;
    max-width: 240px;
	height: auto;}

.innercontents{width:100%;max-width:960px;margin:0em auto; padding: 2em 1em;}
.aboutflex{display:flex;justify-content:space-between;flex-direction: column;}
.aboutimage{width:100%;
    display: flex;
    max-width: 480px;gap: 1em;}
.abinsub{display:flex;width:52.5%;flex-direction:column;gap: 1em;}
.abin2,.abin3{width:100%;max-width:155px;}
.abouttext{width: 100%;
    color: #000000;
    align-self: center;
    margin-top: 1em;}

.abouttextin{ max-width: 350px;
    align-self: center;
    text-align: justify;}

.abouttext h2{color:#005EAE;margin-bottom:0em;}

.blue{background: rgb(0,109,180);
background: linear-gradient(90deg, rgba(0,109,180,1) 0%, rgba(12,52,128,1) 50%);}

h1.stitleform{
    position: relative;
    color: #000000;
    margin-bottom: 1em;
    display: inline-block;
     top: 0;
    left: 50%;
    transform: translateY(0%) translateX(-50%);
    -webkit- transform: translateY(0%) translateX(-50%);
    font-size: 2.5em;text-align:center;}

h1.stitleform::before{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #0067D1;
  bottom: -4px;
  width: 20%;
    right: 0;}

h1.stitleform::after{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #29A1D8;
  bottom: -4px;
  width: 75%;}


h2.stitle{
    position: relative;
    color: #ffffff;
    margin-bottom: 1em;
    display: inline-block;
     top: 0;
    left: 50%;
    transform: translateY(0%) translateX(-50%);
    -webkit- transform: translateY(0%) translateX(-50%);
    font-size: 2em;}

h2.stitle::before,h2.stitle2::before{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #0067D1;
  bottom: -4px;
  width: 20%;
    right: 0;}

h2.stitle::after,h2.stitle2::after{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #29A1D8;
  bottom: -4px;
  width: 75%;}

h2.stitle2{ position: relative;
    margin-bottom: 0.5em;
    display: inline-block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    font-size: 2em;color:#005EAE;}


h2.stitlep::before{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #0067D1;
  bottom: -4px;
  width: 20%;
    right: 0;}

h2.stitlep::after{ position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #29A1D8;
  bottom: -4px;
  width: 77%;}

h2.stitlep{ position: relative;
    margin-bottom: 1em;
    display: inline-block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    font-size: 1.5em;color:#005EAE;}





.quotebox ul{display:flex;justify-content:space-between;flex-wrap: wrap;gap: 1em;}
.quotebox ul li{width:47%;}
.quotebox ul li .pipeimage{position:relative;}
.quotebox ul li .pipeimage .caption {
	font-size:		130%;
	text-align: 		center;
	padding-top:		30%;
	color:			#fff;
}
.quotebox ul li .pipeimage .mask {
	width:			100%;
	height:			100%;
	position:		absolute;
	top:			0;
	left:			0;
	opacity:		0;	
	background-color:	rgba(0,0,0,0.4);
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.quotebox ul li .pipeimage:hover .mask {
	opacity:		1;
}

.quotebox ul li h5{text-align:center;color:#ffffff;margin-top:0.5em;}


.tfunder{background:url(https://haikankakou.com/wp-content/uploads/2022/10/footback-scaled.webp);background-size:cover;}
.guidebox{background: #ffffff;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    padding: 1em;
    align-items: center;flex-direction: column;}
.guideimage{    width: 100%;
    max-width: 400px;}
.guidetxt{width:100%;color:#000000;align-items:center;text-align:center;}
.guidetxt h2{color:#005EAE;margin-bottom:1em;text-align:justify;}
.guidetxt h2 {
    color: #005EAE;
    margin-bottom: 0.5em;
    margin-top: 1em;
    text-align: justify;
}

.guidetxt p{text-align:justify;}
.tod_button{background: #005EAE;
    color: #ffffff;
    margin:1em auto;
    border-radius: 3px;
    padding: 0.5em 1em;
    display: inline-block;}




/*contact*/

.contact_wrap{border: 2px solid #005EAE;
    border-radius: 1em;
    text-align: center;
    padding: 2em 0 0;}

.contact_wrap{border: 2px solid #005EAE;
    border-radius: 1em;
    text-align: center;
    margin: 0em auto;
   padding: 2em 1em;
}

table.contactt{border-collapse: collapse;
    border-spacing: 0;
    max-width: 840px;
   margin: 0 auto 16px;
	text-align:center;
	border-top: none;
	
}

.contactt th{
 text-align:left;
 font-size:14px;
 color:#005EAE;
 padding: 8px;
 width:30%;
background:none;
}
/*通常欄*/
.contactt td{
 font-size:13px;
	 color:#005EAE;
}
.contactt td.koumoku{
 font-size:15px;
}
/*横の行とテーブル全体*/
.entry-content .contactt  tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}

/*送信ボタンのデザイン変更*/
#formbtn{
 padding:15px;
 max-width:350px;
 background:#005EAE;
 color:#ffffff;
 font-size:16px;
 font-weight:bold;	 
 margin:24px auto 0;
	display: block;
	border:none;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#7092AD;
 color:#ffffff;
 border:1px solid #005EAE;
}

input[type=email], input[type=search], input[type=text], input[type=url],  input[type=tel],select, textarea {
    display: block;
    width: 100%;
    -webkit-appearance: none;
}

table.contactt th,table.contactt td {
 display:block;
 width:100%;
 border-top:none;
 -webkit-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;	
}

table.contactt th{text-align:center;}

div.wpcf7 .ajax-loader{display:none;}


span.caution{font-size:10px;display:block;
    margin-top: 4px;}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/*footer*/

ul.footul{display: flex;
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
    justify-content: space-between; flex-direction: column;
    text-align: center;}

ul.footul li {
    margin: 0.25em auto;
}

.footer-main {
	padding-top: 2em;}

a.btn--footerb {
  color: #fff;
  background-color: #005EAE;
	margin-top: 1em;
}

a.btn--footerb:hover {
  color: #fff;
 opacity:0.8;
}

.footlogo{width:100%;max-width:280px;}
.foottel{    font-size: 2.25em;
    font-weight: 600;}
.foottel .fa-phone{color:#005EAE;}
.footpair h4{font-size:1em;font-weight:400;}
.bluelogo{width:100%;max-width:160px;}
.footcontact{}
.paircom{font-weight:400;text-align:center;}
.paircom h4{font-weight:400;}

#footer-poweredby{display:none;}


/*page*/
.paysection{margin:2em auto;}
.paysection h3{margin-bottom:1em;}
.paysection h3 span{display: block;
    padding-top: 0.1em;
    font-size: 0.75em;
    font-weight: 400;
    margin-top: -1em;}

.p-table th,.p-table td{width:100%;display:block;}
.postagetable th,.postagetable td{width:100%;display:block;}

.formcontainer {
    max-width: 960px;
}

input[type=text]{display:inline-block;}

/*特定商取引法に基づく表記*/
table.law{font-size:0.9em;margin-bottom:2em;}
table.law th{border:1px solid #ffffff;background: #005EAE;color:#ffffff;width:25%;padding: 1.5em 1em;}
table.law td{border:1px solid #dfdfdf;padding: 1.5em 1em;}

table.soryo{font-size:0.9em;}
table.soryo th,table.soryo td{border:1px solid #dfdfdf;}
table.soryo th{background: #005EAE;color:#ffffff;}

	@media screen and (min-width:600px) {	

.monly{display:none;}
.ponly{display:block;}	

.site-branding .custom-logo {max-width:320px;
}

.fa-facebook {
    color: #1877F2;
}
		
		.header-type--row1 .global-nav {
    margin-right: 2em;
}
		

/*TOP*/
.topnavigwrap{display:block;}		
		
.topnavig{display:flex;justify-content: space-between;width: 100%;
    max-width: 600px;align-items: center;}	
		
.tbtxt{position: absolute;
    top: 37.5%;
    max-width: 600px;}
.toptel {
	line-height: 0.5em;}
	.innercontents{width:100%;max-width:960px;margin:4em auto;padding:4em 0;}
		
.aboutflex {
    flex-direction: row;
}
.aboutimage{width: 50%;}
		
.abouttext {
    width: 50%;
    color: #000000;
    align-self: center;
    padding-left: 4em;
	  margin-top: 0em;
}
.quotebox ul li{width:32%;text-align: center;}
		.quotebox ul li a:hover{opacity:0.5;}
		.quotebox ul li h5{color:#ffffff;padding-top:0.5em;}
h2.stitle{
	margin-bottom: 2em;}
h2.stitle2{
	margin-bottom: 2em;}
.contact_wrap{
    margin: 3em auto;
}		
	
.guidebox{
    align-items: center;flex-direction: row;}
.guideimage{    width: 45%;
    max-width: 400px;}
.guidetxt{width:55%;color:#000000;align-items:center;text-align:center;padding-left: 1em;}

.guidetxt h2 {
    margin-bottom: 1em;
    margin-top: 0em;
}		
.guidetxt {
    padding-left: 1em;
}		
.tod_button{
    margin: 0 auto;
 }
		
.abinsub {
	width: 40%;}
		
/*footer*/

ul.footul{
    justify-content: space-between; flex-direction:row;
    text-align:justify;}

ul.footul li {
    margin:auto;
}
.footer-main {
	padding-top: 4em;}		
	
a.btn--footerb {
	margin-top: 0em;
}

.foottel{    font-size: 2.75em;}		

		
/*page*/
		
		
.p-table th,.p-table td{width:auto;display:table-cell;}
		.postagetable th{width:22.5%;display:table-cell;}
		.postagetable td{width:77.5%;display:table-cell;}
		
	}
