@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}
html, body { height: 100%; }
body {
  position: relative;
  font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
  line-height: 1.5;
	color: #000;
  font-size: 15px;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
  border-top: #0041b5 solid 3px;
}
@media(max-width:768px) {
  body {
    line-height: 1.6;
    font-size: 11px;
    border-top: #0041b5 solid 2px;
  }
}

/* PC/SP
----------------------------------------*/
.pc_only {display:block;}
.sp_only {display:none;}

@media(max-width:768px) {
  .pc_only {display:none;}
  .sp_only {display:block;}
}

/* Link
----------------------------------------*/
a {
  color: #000099;
  text-decoration: underline;
  outline: none;
}

/* List
----------------------------------------*/
ul, ol, li, dd, dt, dl {
  list-style-type: none;
}

/* Image
----------------------------------------*/
img, a img {
	border-style: none;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
.pdficon {
  padding-left: 0.2em;
  vertical-align: middle;
}

/* Text
----------------------------------------*/
.red {
  color: #ff0000;
}
.txt_center {
  text-align: center;
}
.text_s {
  font-size: 88%;
}
.bold {
  font-weight: bold;
}

/* Structure
----------------------------------------*/
.wrap {
  width: 1020px;
  margin-right: auto;
  margin-left: auto;
}
@media(max-width:768px) {
  .wrap {
    width: 94%;
  }
}

/* header
----------------------------------------*/
header {
  padding: 20px 0;
  border-top: #b9b4b6 solid 3px;
  border-bottom: #0041b5 solid 3px;
}
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 a {
  font-size: 32px;
  color: #4a4a4a;
  text-decoration: none;
}
header .wrap > div {
  text-align: right;
}
header .img img {
  width: 190px;
}
header .tel_link {
  font-size: 16px;
  font-weight: bold;
}
@media(max-width:768px) {
  header {
    padding: 10px 0;
    border-top: #b9b4b6 solid 2px;
    border-bottom: #0041b5 solid 1px;
  }
  header .wrap {
    display: block;
    text-align: center;
  }
  header h1 a {
    font-size: 18px;
    text-align: center;
  }
  header .wrap > div {
  text-align: center;
}
  header .img img {
    width: 112px;
  }
  header .tel_link {
    font-size: 8px;
  }
}

/* nav
----------------------------------------*/
nav {
  background: #c4c4c7;
}
nav ul {
  display: flex;
  width: 1020px;
  margin: 0 auto;
}
nav ul li {
  flex: 1;
  border-left: #fff solid 1px;
  transition: background-color 0.5s ease-out;
}
nav ul li:hover {
  background: #dadadd;
}
nav ul li:last-child {
  border-right: #fff solid 1px;
}
nav ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 20px);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #464646;
  text-decoration: none;
}
@media(max-width:768px) {
  nav ul {
    display: block;
    width: 100%;
    margin: 0;
  }
  nav ul li {
    display: block;
    text-align: left;
    font-size: 11px;
    border-left: none;
    transition: none;
    border-bottom: #fff solid 1px;
  }
  nav ul li:first-child {
    border-top: #fff solid 1px;
  }
  nav ul li:hover {
    background: #c4c4c7;
  }
  nav ul li:last-child {
    border-right: none;
  }
  nav ul li a {
    display: block;
    height: auto;
    padding: 10px 20px;
    text-align: left;
    font-size: 11px;
  }
}

nav ul li.blinking {
  animation: blink 0.7s infinite alternate;
}

@keyframes blink{
  0% {background: #aeaedd;}
  100% {background: #bbbbd0;}
  /*0% {background: #c4c4c7;}
  100% {background: #dadadd;}*/
}

/* Contents
----------------------------------------*/
h2 {
  position: relative;
  margin-bottom: 15px;
  padding: 2px 0 8px 44px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: #68686a solid 2px;
}
h2::before {
  position: absolute;
  left: 20px;
  bottom: 7px;
  content: '';
  width: 6px;
  height: 80%;
  background: #260087;
}
section {
  margin-top: 38px;
}
.contents {
  padding: 0 44px;
}
@media(max-width:768px) {
  h2 {
    padding: 2px 0 5px 22px;
    font-size: 12px;
    border-bottom: #68686a solid 1px;
  }
  h2::before {
    position: absolute;
    left: 5px;
    bottom: 3px;
    content: '';
    width: 5px;
  }
  section {
    margin-top: 20px;
  }
  .contents {
    padding: 0 22px;
  }
}

/* Home
------------------*/
.home dl.overview {
  display: flex;
  flex-wrap: wrap;
}
.home dl.overview dt {
  width: 7em;
}
.home dl.overview dd {
  width: calc(100% - 7em);
}
.home .map {
  width: 880px;
  margin: auto;
}
.home .footer_contents {
  margin-top: 58px;
}
.home .footer_contents p {
  text-align: center;
  margin-bottom: 20px;
}
.home p.qr {
	width: 130px;
	margin: 0 auto 20px;
	text-align: center;
	padding: 8px;
	border: #ccc solid 1px;
	font-size: 10px;
	background: #F7F7F7;
}
.home p.qr img {
	width: auto;
  height: 123px;
  padding-top: 5px;
}
.home p.qr span {
  display: block;
  padding-top: 0.5em;
}
@media(max-width:768px) {
  .home .footer_contents {
    margin-top: 23px;
  }
  .home .footer_contents p {
    margin-bottom: 15px;
  }
 .home .map {
    position: relative;
    width: 96%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }
  .home .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
	.home .qr {
		display: none;
	}
}

/* Message
------------------*/
.message p {
  margin-bottom: 40px;
}

/* Shisan
------------------*/

/* Contact
------------------*/

/* 	hoken
------------------*/


/* Footer
----------------------------------------*/
footer {
  padding-bottom: 60px;
  text-align: center;
}
footer small {
  font-size: 13px;
}
@media(max-width:768px) {
  footer {
    padding-bottom: 25px;
  }
  footer small {
    font-size: 9px;
  }
}

/* fix
----------------------------------------*/
div.fix {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 16px;
  line-height: 2;
}
@media(max-width:667px) {
	div.fix {
		position: static;
		top: auto;
		left: auto;
		-webkit-transform: none;
		transform: none;
    padding: 150px 30px 0;
    text-align: left;
    font-size: 14px;
	}
} 

/*==============================================================================
	GDPR
================================================================================*/
.cc-window .cc-deny {
	display: none;
}
.cc-window .cc-message a {
	text-decoration: underline;
}
.cc-window .cc-message a:hover {
	text-decoration: none;
}
