html {
  font-size: 62.5%
}
body {
  color: #000;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/*----- リンク -----*/
a:link {
  color: #231815;
  outline: none;
  text-decoration: none;
}

a:visited {
  color: #231815;
  outline: none;
}

a:hover {
  color: #231815;
  outline: none;
}

a.underline:link {
  text-decoration: underline;
}

/*----- Clearfix -----*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
  min-height: 1%;
  /* for IE 7*/
}

/* Hides from IE-mac */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

.pc {
  display: block;
}

.sp {
  display: none;
}

.tablet {
  display: none;
}
.br-pc {
  display: inline-block;
}
.br-tablet:not(.br-pc) {
  display: none;
}
.br-sp {
  display: none;
}

@media (max-width: 1024px) {
  .pc {
    display: none;
  }
  .tablet {
    display: block;
  }
  .br-pc {
    display: none;
  }
  .br-tablet {
    display: block;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
  }
  .br-tablet.br-sp-non {display: none;}
  .br-sp {
    display: inline-block;
  }
  .sp {
    display: block;
  }
}

/* BUTTON*/
.btn {
  display: block;
  background-color: transparent;
  border: solid 1px #4D94B0;
  color: #4D94B0 !important;
  line-height: 1;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1em 2em;
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
  transition: .3s all;
  width: 100%;
}
@media (max-width: 767px) {
  .btn {
    font-size: 1.5rem;
  }
}

.btn-line {
  outline: 1px solid #FFFFFF !important;
  outline-offset: -5px
}

.btn:hover {
  opacity: .6;
  transition: .3s all;
}

/* arrow */
.arrow {
  position: relative;
}

.arrow::after {
  content: '';
  background: none;
  width: 0.7em;
  height: 0.7em;
  border-top: solid 2px #4D94B0;
  border-right: solid 2px #4D94B0;
  position: absolute;
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
  right: 0.8em;
}

i, .ico {
  position: relative;
}
.ico::before {
  content:'';
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  height: 1.1em;
  width:1.1em;
  vertical-align: text-bottom;
}

.ico.ico__contact_normal::before {
  background-image: url(../img/common/icon_contact_normal.png);
  height: 1em;
}

/****************************************
  Header, Menu
*****************************************/

#header {
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

@media (min-width: 1151px) {
  #header {
    background-color: rgba(255, 255, 255, 0.9);
    height: 100vh;
    max-width: 280px;
  }
}

@media (max-width: 1150px) {
  #header {
    height: 140px;
  }
}

@media (max-width: 768px) {
  #header {
    height: 110px;
  }
}

@media (max-width: 480px) {
  #header {
    height: 70px;
  }
}

#header #sidebar {
  width: 100%;
}

#header .logo {
  max-width: 222px;
}

@media (max-width: 1150px) {

  #header .logo,
  #header .bnr_insta {
    display: none;
  }

}

#header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px 0 20px;
}

#header nav .menu-item {
  counter-increment: num;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0.5em 0;
  position: relative;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

#header nav .menu-item::before {
  content: counter(num, decimal-leading-zero);
  color: #000;
  display: inline-block;
  margin-right: 0.5em;
}

#header nav .menu-item::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  transition: .5s all;
  background-color: #4D94B0;
}

#header nav .menu-item.current::before,
#header nav .menu-item.current a {
  color: #4D94B0;
}

#header nav .menu-item.current::after {
  width: 100%;
}

.header-btn {
  padding: 0.5em;
  margin-top: 20px;
}
.header-btn .ico {
  margin-right: 0.3em;
}
.header-btn-tel {
  background-color: #FFF;
}
.ico__tel::before {
  background-image: url(../img/common/icon_tel.png);
}

.header-btn-contact {
  background-color: #2495B2;
  color: #FFF!important;
}
.ico__contact::before {
  background-image: url(../img/common/icon_contact.png);
}

@media (max-width: 1150px) {
  #sidebar .header-btn {
    display: none;
  }
}
@media (max-width: 767px) {
  .header-btn {
    font-size: 2.0rem;
  }
}

#header-menu-box,
#menuopen__btn {
  display: none;
}

#slidenav,
.slide-box {
  display: none;
}

@media (min-width:1151px) {
  #header .header-inner {
    flex-direction: column;
  }

  #header .logo {
    margin-bottom: 30px;
  }
}

@media (max-width: 1150px) {
  #header {
    width: 100%;
  }

  #header .header-inner {
    height: 100%;
    margin: 0 auto;
    padding: 0;
    width: 94%;
  }

  #header #sidebar nav {
    display: none;
  }

  #header #slidenav nav {
    display: flex;
    justify-content: flex-end;
  }

  #header .menu-nav-container {
    display: none;
  }

  #header-menu-box {
    display: flex;
    justify-content: space-between;
  }

  #menuopen__btn {
    background-color: #FFF;
    position: relative;
    display: block;
    height: 100px;
    width: 100px;
    z-index: 100;
  }

  #menuopen__btn .menu-line {
    background-color: #2495B2;
    display: block;
    height: 2px;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: auto;
    transition: .3s all;
    width: 60%;
  }

  #menuopen__btn .menu-line.menu-line--center{
    top: 35%;
  }
  #menuopen__btn .menu-line.menu-line--bottom{
    top: 50%;
  }

  
  #menuopen__btn .menu-txt {
    color: #4D94B0;
    font-size: 2.0rem;
    position: absolute;
    top: 65%;
    right: 0;
    left: 0;
    margin: auto;
    line-height: 1;
    text-align: center;
    transition: .3s all;
  }

  /*active時*/
  #menuopen__btn.active {
    background-color: #2495B2;
  }
  #menuopen__btn.active .menu-line{
    background-color: #FFF;
    top: 40%;
  }
  #menuopen__btn.active .menu-line.menu-line--top{
    transform:rotate(-45deg);
  }
  #menuopen__btn.active .menu-line.menu-line--center{
    transform:scaleX(0);
  }
  #menuopen__btn.active .menu-line.menu-line--bottom{
    transform:rotate(45deg);
  }
  #menuopen__btn.active .menu-txt {
    color: #FFF;
  }


  /* スマホ用ドロワーメニュー */
  #slidenav {
    display: none;
    overflow: scroll;
    height: 100%;
    width: 100%;
    background-color: #FFF;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    z-index: 99;
    top: 0;
  }

  .menu-slide-nav-container {
    justify-content: center;
    display: flex;
    height: auto;
    width: 100%;
  }

  #slide-nav-ul {
    margin-top: 25%;
    width: 94%;
    list-style-type: none;
  }

  #menuopen {
    float: right;
    padding: 4% 0;
    width: 4em;
    color: #fff;
    border-left: solid 1px #FFF;
  }

  #slide-nav-ul .menu-item {
    counter-increment: num;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
    text-align: left;
  }

  #slide-nav-ul .menu-item::before {
    content: counter(num, decimal-leading-zero);
    color: #333333;
    display: inline-block;
    margin-right: 0.5em;
  }

  #slide-nav-ul .menu-item a {
    color: #333;
  }

  #slide-nav-ul .menu-item::after {
    background-color: #4D94B0;
    content: '';
    display: block;
    height: 2px;
    margin-top: 0.5em;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    width: 100%;
  }

  #header.fixed {
    position: fixed;
  }

}

@media (max-width: 768px) {
  #menuopen__btn {
    height: 70px;
    width: 70px;
  }

  #menuopen__btn .menu-txt {
    font-size: 1.4rem;
  }

}

@media (max-width: 480px) {
  #menuopen__btn {
    height: 50px;
    width: 50px;
  }

  #menuopen__btn .menu-txt {
    font-size: 1.0rem;
  }
}


.slidenav-nav-logo {
  position: absolute;
  left: 1.5rem; top: 1rem;
  width: 35%;
}



/****************************************
  Contents
*****************************************/
#container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-color: #FFF;
}


/****************************************
  Footer
*****************************************/

#footer {
  color: #FFF;
  position: relative;
  width: 100%;
  background-color: #2495B2;
}

@media (max-width: 767px) {
  body.home #footer {
    padding-bottom: 10%;
  }
}

.footer-inner {
  padding: 50px 0 80px;
  position: relative;
}

.footer-logo {
  max-width: 222px;
  margin: 0 auto 30px;
  width: 70%;
}

.footer-info {
  text-align: center;
}

.footer-info>* {
  display: block;
}

.footer-info-txt {
  color: #FFF;
  font-size: 1.6rem;
  margin-bottom: 1em;
}

.footer-info-tel {
  display: block;
  font-size: 1.6rem;
  margin: 5px 0;
  line-height: 1;
  white-space: nowrap;
}
.footer-info-tel:link {
  color: #FFF!important;
}

.copyright {
  margin-top: 30px;
}

.copyright .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
  font-size: 1.2rem;
  color: #FFF;
}

/*----- Loading -----*/
#loading {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFF;
  position: fixed;
  z-index: 15000;
}

#loading::before {
  background: url(img/common/block_check.png) 0% 0% repeat;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
}

#loading::after {
  background: url(img/common/obj_01.png) 0% 100% no-repeat;
  background-size: contain;
  content: '';
  display: block;
  position: absolute;
  left: auto;
  right: 0;
  bottom: 5%;
  height: 281px;
  width: 345px;
}

@media (max-width: 767px) {
  #loading::before {
    background-size: 30%;
  }

  #loading::after {
    width: 150px;
  }
}

#loading .graph-wrap {
  height: 2px;
  margin: auto;
  margin-top: 40px;
  width: 100%;
  background-color: #FFF;
  z-index: 1;
}

#loading .graph {
  width: 0%;
  height: 100%;
  background-color: #4D94B0;
}

#loading .loading-container {
  left: 0;
  line-height: 1;
  max-width: 200px;
  margin: auto;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 50%;
  text-align: center;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35%;
  z-index: 2;
}

#loading .loading-container.end {
  opacity: 0;
  visibility: hidden;
}

#loading .icon img {
  width: 100%;
  margin: 0 auto;
  display: block;
  max-width: 200px;
}

@media (max-width: 767px) {
  #loading .loading-container {
    top: calc(50% - 44px);
  }

  #loading .graph-wrap {
    height: 5px;
    margin-top: 25px;
    margin-bottom: 2px;
  }

  #loading .graph {
    position: relative;
  }

  #loading .graph::before,
  #loading .graph::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
  }

  #loading .graph::before {
    top: 100%;
  }

  #loading .graph::after {
    bottom: 100%;
  }
}

@media (max-width: 480px) {
  #loading .graph-wrap {
    height: 3px;
  }
}