@charset "utf-8";

/* --------------- header --------------- */
/* --- base --- */
header {align-items: flex-end;}
header h1 {width: 230px;}
header h1 img {width: 100%;}

header .mds:not(.nav_switch) {display: none;}

@media (min-width:1301px) {
	header h1 {margin-bottom: 1em;}
}
@media (max-width:1300px) {
	header {
		margin-top: 10px;
		padding-top: 1.334em;}
}
@media (min-width:641px) {
	header h1 {margin-left: 3.125%;}
}
@media (max-width:640px) {
	header {padding-top: 1.905em;}
	header h1 {margin-left: 20px;}
}

/* --------------- footer --------------- */
/* --- base --- */
footer {}
footer .copyright {}

@media (min-width:641px) {}
@media (max-width:640px) {}

/* --------------- globalnav → g-nav --------------- */
/* --- base --- */
#g-nav {
	width: 100%;
	padding: 1.334em 0;}
#g-nav ul {
	justify-content: center;
	align-items: flex-end;}
#g-nav li:not(.btn_icon) {margin-bottom: 1em;}
#g-nav .btn_icon + .btn_icon {margin-right: 0;}

@media (min-width:1301px) {
	#g-nav {
		width: calc(100% - 230px - 9.896%);
		min-width: 800px;
		padding-top: 2em;}
	#g-nav ul {justify-content: flex-end;}

	#g-nav li:first-of-type {background: rgba(255,255,255,0.85);}
	
	#g-nav .btn_icon {margin-right: 1.334em;}
}
@media (max-width:1300px) {
	#g-nav {padding-top: 0;}
}
@media (max-width:640px) {
	#g-nav {padding: 1.803em 0 3.81em;}
	.nav_switch.active {top: calc(290px + 390px);}
}


/* 共通 */
.refa section{max-width: 1000px; width: 90%; margin: 0 auto;}
.refa .pagetitle {
    position: relative;
    padding: 4em 0 3.3em 0;
    background: #faf7ef;
	text-align: center;
}
.refa .pagetitle h2{line-height: 1.2;}
.refa .pagetitle h2 small{margin-bottom: 10px;}
.refa h1{font-size: 3em; line-height: 1.2; font-weight: 700; margin-bottom: 25px;}
.refa h1 small{    
	display: block;
    font-size: 0.35em;
    line-height: 1.4;
    margin-bottom: 0.5em;
    color: #054585;
}
.refa h2{font-size: 1.867em;}
.refa h2 small {
    display: block;
    font-size: 0.625em;
    line-height: 1;
    margin-bottom: 0.257em;
    color: #054585;
}
.refa img{max-width: 100%;}

@media (max-width:640px){
	.refa section{max-width: 600px;}
	.refa h1{font-size: 2.5em; margin-bottom: 30px;}
	.refa h1 small{margin-bottom: 0.1em;}
	.refa h2{font-size: 1.5em; line-height: 1.2;}
	.refa h3{font-size: 1.1em;}
}


/*　main　*/
.main{margin: 100px auto;}
.main h2{font-weight: 700; margin-bottom: 20px; text-align: center;}
.main h3{
	margin-bottom: 50px;
	position: relative;
	padding: 0 65px;
	text-align: center;
}
.main h3:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #121626;
}

.main h3 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}
.main img{margin: 0 auto; display: block;}



/*　image　*/
.image{margin: 150px auto;}
.image p span{
	font-weight: 700;
	color: #054585;
}
.image .beside{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}
.image .beside .text-waku{width: 38%;}

@media (max-width:640px){
	.image .beside .text-waku{width: 100%; order: 2;}
	.image .beside img{order: 1; margin-bottom: 30px;}
}



/*　home　*/
.home{margin:150px auto;}
.home p{margin-bottom: 30px;}
.home img{margin: 0 auto; display: block;}


/*　point　*/
.point{margin:150px auto;}
.point h3{margin: 80px auto 20px;}
.point h3 span{
	color:#054585; 
	position: relative;
	padding-right:20px;
}
.point h3 span::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1vh;
  height: 1px;
  background-color: #000;
  margin-right: 8px;
}
.point ul{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}
.point ul li{width: 33%;}
.point ul li p{margin: 10px 0 0;}
.point ul li p b{display: block;}

@media (max-width:640px){
	.point ul li{width: 47%; margin: 0 1.5% 30px;}
}


/*　link　*/
.refa a {
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto 50px;
	text-align: center;
    max-width: 300px;
    padding: 15px 25px;
    color: #121626;
    transition: 0.3s ease-in-out;
    z-index:0;
	border: solid 1px #121626;
}
.refa a:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: #121626;
    transition: .3s;
    left:0;
}
.refa a:hover {
    color: #FFF;
	opacity: 1;
}
.refa a:hover:before {
    width: 100%;
    z-index: -1;
}



