@charset "utf-8";

/*====================================================================================================
  WHOLE
====================================================================================================*/
/* *{
    outline: 2px red solid;
} */

* { margin: 0; padding: 0;}
html { scroll-behavior: smooth;	font-size: 16px;}
body {
	margin: 0;
	padding: 0;
	font-family: "Zen Kaku Gothic New", sans-serif;
	line-height: 1.5;
	font-weight: 500; /* midium */
    overflow-x: clip; 
}
:root { 
	--main-fontcolor: #000;
    --main-color: #01288d;
	--light-blue: #E8F3FF;
	--btn-color: #1e1e1e;
	--btnhov-color: #444343;
	--header-height: 100px;
}

h1, h2, h3, h4, h5, h6, th, strong { font-weight: 700;}
a {	color: var(--main-fontcolor); text-decoration: underline;}
a:hover { color: var(--main-color); text-decoration: none;}
ul { list-style: none;}
div, p, ul, ul li, h1, h2, h3, h4, h5, dl, dt, dd {	margin: 0; padding: 0;}

img { width: 100%; height: auto; vertical-align: bottom; border: none;}
#nav { list-style: none;}
#nav a { text-decoration: none;}

.pc {display:block;}
.tb { display: none;}
.sm {display:none;}

[id] { scroll-margin-top: var(--header-height);}

@media only screen and (min-width: 1024px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
	}
}


/*====================================================================================================
  BASE
====================================================================================================*/
#base { width: 100%; position: relative;}
#base .come { margin-bottom: 2.5rem;}

#base .b_more { width: 300px; height: 4.0625rem; position: relative; filter:drop-shadow(0 0 12px rgba(0, 0, 0, 0.24));}
#base .b_more a {
	width: 100%;
	height: 100%;
	background: var(--btn-color);
	color: #fff;
	display: flex;
	font-size: 1.125rem;
	line-height: 100%;
	align-items: center;
	border-radius: 5px;
	padding-left: 30px;
	position: absolute;
	text-decoration: none;
}
#base .b_more a:after { 
	width: 50px;
	height: 1.3125rem;
	content: "";
	position: absolute; 
	background: no-repeat url(../../image/base/arrow-w.png) #111;
	background-position: center;
	right: 20px;
	border-radius: 50px;
	transition: transform .3s ease-in-out;
}
#base .b_more a:hover { background: var(--btnhov-color);}
#base .b_more a:hover:after { transform: translateX(8px);}
#base .b_more a:active { transform: scale(0.9);}

#base .for_indent { padding-left: 1.875rem;}

#main { max-width: 1200px; margin: 0 auto;}
#main h3 { margin-block: 0 2.8125rem; padding-left: 1.6875rem; border-left: solid 7px var(--main-color); font-size: 2.625rem; color: var(--main-color);}
#main h4 { font-size: 1.625rem; margin-top: 0 0 2.5rem 0;}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header {
	position: fixed;
	width: 100%;
	height: var(--header-height);
	display: flex;
	z-index: 99999;
	align-items: center;
	justify-content: space-between;
	background-color: rgb(255,255,255,0.95);
} 
#header h1,
#header h1 a { margin-left: 1.75rem; width: fit-content; height: 40px; display: block; text-decoration: none;}
#header h1 a { display: flex; align-items: center; gap: 0.7812vw; /* 15/1920 */}
#header h1 a img.logo1 { width: min(100px, 5.2083vw); height: auto;}
#header h1 a img.logo2 { width: min(400px, 20.833333vw); height: auto;}

#header .h_nav { margin-left: auto; margin-right: 3.125vw; /* 60/1920 */ font-weight: 700;}
#header .h_nav ul { display: flex; column-gap: 1.0416vw; /* 20/1920 */ }
#header ul li {
	display: block;
	/* clamp基準　min 14px max 17px | min 375px max 1920px */
	font-size: clamp(0.875rem, 0.829rem + 0.19vw, 1.063rem);
}
#header #h_nav_sm { display: none;}

#header .inaba_link { margin: 0; font-weight: 700; width: auto; height: 100%;}
#header .inaba_link img { width: auto; height: 100%;}
#header .inaba_link a:hover { opacity: 0.8;}

/*====================================================================================================
  FOOTER
====================================================================================================*/

#footer a { text-decoration: none;}

/*** contact お問合せ *******************************************************/
#footer .contact {
	padding-block: 2rem;
	display: flex;
	justify-content: center;
	background: #1e1e1e;
	color: #fff;
	font-weight: bold;
}
#footer .contact_box { width: 50%;}

#footer .contact_inner { display: flex; justify-content: space-evenly;}
#footer .contact_inner_l,
#footer .contact_inner_r { display: flex; flex-direction: column; margin-left: 2rem;}

#footer .contact .contact_ttl {
	width: 100%; 
	display: inline-block;
	padding: 0.3em 30%;
	border: solid 1px #787878;
	font-size: 1.25rem;
	text-align: center;
	margin-bottom: 2.1875em
}
#footer .contact_inner p:nth-of-type(1),
#footer .contact_inner p:nth-of-type(4) { margin-bottom: 0.8em;}
#footer .contact_inner p:nth-of-type(2) { line-height: 1em;}
#footer .contact_inner p:nth-of-type(3) { margin-bottom: 1em;}

#footer .contact_inner .b_more a { background-color: var(--main-color);}
#footer .contact_inner .b_more a:after { background: no-repeat url(../../image/base/arrow-b.png) #fff; background-position: center;}
#footer .contact_inner .tel,
#footer .contact_inner .mail { align-items: center; display: flex; font-size: 1.125rem;}
#footer .contact_inner .tel:before,
#footer .contact_inner .mail:before { content: ""; height: 1px; width: 1.2rem; background-color: #787878; margin-right: .8rem; margin-left: -2rem;}
#footer .contact_inner .telno { font-size: 2rem; letter-spacing: 0.1em;}
#footer .contact_inner .telno a { color: #fff; text-decoration: none;}
/*** footer box フッター *******************************************************/
#footer .footer_box { margin: 0 auto; max-width: 1200px; display: flex; justify-content: space-between; padding-block: 3rem;}

#footer .footer_l { width: 50%; display: flex; flex-direction: column;}

#footer .footer_l h1,
#footer .footer_l h1 a { width: 404px; height: 40px; display: block; text-decoration: none;}
#footer .footer_l h1 a { width: 432px; display: flex; align-items: center; gap: 0.7812vw; /* 15/1920 */}
#footer .footer_l h1 a img.logo1 { width: 101px; height: 40px;}
#footer .footer_l h1 a img.logo2 { width: 80%; height: auto;}

#footer .footer_l ul.add { list-style: none; margin-top: 2.1875rem; padding: 0;}
#footer .footer_l ul.add li:nth-of-type(2),
#footer .footer_l ul.add li:nth-of-type(3),
#footer .footer_l ul.add li:nth-of-type(5),
#footer .footer_l ul.add li:nth-of-type(6) { line-height: 2.7;}
#footer .footer_l ul.add li:nth-of-type(3) { margin-bottom: 2rem;}
#footer .footer_l ul.add .name { font-size: 1.4375rem; font-weight: 700;}
#footer .footer_l ul.add .map {
	margin-left: 8px;
	padding: 0.25em 3em 0.25em 1em; 
	position: relative;
	background-color: #ececec;
	border-radius: 3px;
}
#footer .footer_l ul.add a.map { color: var(--main-color); font-weight: 700;}
#footer .footer_l ul.add .map span:after {
	position: absolute;
	content: "";
	background: no-repeat url(../../image/base/arrow-b.svg) center / 100% auto;
	margin-top: 1.1rem;
	margin-left: 1rem;
	width: 20px;
	height: auto;
	aspect-ratio: 20 / 6;
}
#footer .footer_l ul.add .tel,
#footer .footer_l ul.add .fax {
	color: #fff;
	padding: 0.2em 1em;
	background-color: var(--main-color);
	margin-right: 8px; 
	font-weight: 700;
	border-radius: 3px;
}
#footer .footer_l ul.add .fax { margin-left: 8px;}

#footer .footer_r { width: 50%; padding-left: 14.875rem;}
#footer .footer_r .f_nav ul {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(4, auto);
	row-gap: 1.875rem;
	align-items: start;
	font-weight: 700;
}

#footer .copy {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	height: 83px;
	border-top: solid 1px #d9d9d9;
	font-size: 0.875rem;
}
#footer .copy a { text-decoration: none;}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--btn-color) ;
    padding: 20px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8rem;
	font-weight: 700;
	border-radius: 5px;
    transition: all 0.3s;
}

#page-top a:hover{ background: var(--btnhov-color);}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0px;
	bottom:0px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{	animation: LeftAnime 0.5s forwards;}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{ animation: RightAnime 0.5s forwards;}

@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}