@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600&display=swap');
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --primary: #3984BE;
    --primary-hover:rgba(57, 132,	190, 0.1);
    --white: #fff;
    --body: #4C524C;
    --catch:'Shippori Mincho', serif;
    --bg_bl:#F6FEFF;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
body {
  font-family: 'Sora', sans-serif;
  line-height: 1.7;
  color: var(--body);
}
h2{
  font-size: calc(1.375rem + 1.5vw);
  color: var(--body);
}
h3, h4, h5, h6 {
  color: var(--primary);
}

h1 img{
  width: 100%;
}
a {
  color: var(--body);
  text-decoration: none;
}
section {
  padding: 50px 0;
}
@media (min-width: 1200px) {
    h2 {
        font-size: 2.5rem;
    }
}
/*nav--------------------------------------*/
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}
.nav-link {
  padding-bottom: 0;
  margin: 0 10px;
  text-align: center;
}
.en {
  font-size: small;
  color: #3984be !important;
  padding-top: 0;
  display: block;
  text-align: center;
  font-weight: bold;
}
.navbar .nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  padding-top: 0;
}
.navbar .nav-link a {
  font-size: 14px;
  font-weight: 700;
  padding-top: 0;
}
.navbar .nav-link a:hover {
  color: var(--white);
}
.nav-item a:hover {
  background-color: var(--primary-hover);
}
.btn-primary {
  background-color: var(--primary);
  text-align: center;
  height: 50%;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary);
}
.btn {
  padding: 14px 18px;
  border-width: 2px;
  border-radius: 0;
  border: 1px solid var(--primary);
  background-color: var(--white);
  color: var(--primary);
}
.btn a:hover {
  border: 1px solid var(--white);
  background-color: var(--primary);
  color: var(--white);
}
.dropdown:hover > .dropdown-menu {
  display: block;
  border: none;
  text-align: center;
}
.dropdown-menu a:hover {
  background-color: var(--primary);
  color: #fff;
}
.w500{display: none;}
@media screen and (max-width: 500px){
  .w500{display: block;}
}

/*Pagetop--------------------------------------*/
#page-top a {
  bottom: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  z-index: 100;
}
@media screen and (max-width: 500px){
#page-top a img{
  width: 50px;
}
}

/*title EN--------------------------------------------*/
h6 {
  position: relative;
  display: inline-block;
  padding: 0 75px;
  margin-bottom: 20px;
}
h6:before,
h6:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: #666;
}
h6:before {
  left: 0;
}
h6:after {
  right: 0;
}


/*frame-box--------------------------------------------*/
.frame_box {
  padding: 30px;
  position: relative;
}
.frame_box::before, .frame_box::after {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
}
.frame_box::before {
  border-left: solid 2px #666;
  border-top: solid 2px #666;
  top: 0;
  left: 0;
}
.frame_box::after {
  border-right: solid 2px #666;
  border-bottom: solid 2px #666;
  bottom: 0;
  right: 0;
}


/*contact-------------------------------------------------*/
.contact_area {
  background-image: url(../images/top_contact_bg.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 2;
}
.contact_area::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(37, 39, 71, .1);
  z-index: -1;
}
.contact_area p {
  color: #000;
}

/*footer---------------------------*/
.footer_tel {
  font-size: 1.5rem;
  background-color: #00A73C;
  color: var(--white);
}

.telephone {
  background-color: #00A73C;
  color: var(--white);
  display: block;
}
.footer_logo {
  width: auto;
}

/*copyright---------------------------*/
.copyright {
  background-color: var(--primary);
  text-align: center;
}
small.inner{
  color: var(--white);
  font-size: small;
  text-align: center;
  margin: auto;
}
@media screen and (max-width:500px){
  small.inner{font-size: 10px;}
}

/*sub_header_bg下層ページ-----------------------------*/
.sub_header_bg {
  position: relative;
  background-image: url(../images/sub_header_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 300px;
}

/*PC-----------------------------------------------*/
@media (min-width: 769px) {
  section {
  padding: 100px 0;
}
}

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