@charset "UTF-8";
/* ///////////////////////////////////////////////

　サイト全般のスタイル
　header,footer,modules

/////////////////////////////////////////////// */
/*
  FONT
----------------------------------------------- */
html {
  font-size: 10px;
}
@media (max-width: 768px) {
  html {
    font-size: 8px;
  }
}

body {
  color: #000;
  font-family: trajan-pro-3, adobe-song-std, serif;
  font-size: 1.6rem;
}

p {
  line-height: 2;
}

li, dt, dd, th, td, address {
  line-height: 1.8;
}

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.fas {
  font-family: adobe-song-std, sans-serif;
}

.fot {
  font-family: "FOT-筑紫オールド明朝 Pro R", YuMincho, sans-serif;
}

/*
  LAYOUT
----------------------------------------------- */
body {
  background: #EAEADC;
}
body.show_menu {
  overflow: hidden;
}

#wrapper {
  overflow: hidden;
  opacity: 0;
  transition: all 1.0s;
}
#wrapper.onload {
  opacity: 1;
}

#contents {
  margin-top: 50px;
}

/*
  HEADER
----------------------------------------------- */
#header {
  padding-top: 180px;
  padding-bottom: 200px;
  text-align: center;
}
@media (max-width: 768px) {
  #header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EAEADC;
  }
  #header h1.logo {
    width: 74px;
    margin-left: 25px;
  }
}

/*
  BUTTON MENU
----------------------------------------------- */
#btnMenu {
  display: none;
  position: fixed;
  z-index: 100;
  top: 74px;
  right: 74px;
  transition: all .2s;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#btnMenu span {
  width: 29px;
  height: 1px;
  background: #577368;
  transition: all .2s;
}
#btnMenu span + span {
  margin-top: 7px;
}
#btnMenu.active span {
  background: #EAEADC;
}
#btnMenu.active span:nth-child(1) {
  transform: translateY(8px) rotate(-135deg);
}
#btnMenu.active span:nth-child(2) {
  opacity: 0;
}
#btnMenu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(135deg);
}
@media (max-width: 768px) {
  #btnMenu {
    display: flex;
    position: static;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
  }
  #btnMenu span {
    width: 24px;
  }
  #btnMenu.active span {
    background: #EAEADC;
  }
}

/*
  MENU
----------------------------------------------- */
#menu {
  position: absolute;
  z-index: 90;
  top: 170px;
  right: 60px;
}
#menu .navi {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#menu .navi li {
  margin: 0 0 35px;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  line-height: 1;
}
#menu .navi a {
  display: inline-flex;
  align-items: center;
  color: #AFA9A9;
  font-size: 1.4rem;
  text-decoration: none;
}
#menu .navi .label {
  display: none;
}
#menu .navi i .w {
  display: none;
}
@media (max-width: 768px) {
  #menu {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-left: calc(50% - 530px);
    padding-right: calc(50% - 530px);
    background: rgba(87, 115, 104, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
  }
}
@media screen and (max-width: 768px) and (max-width: 1100px) {
  #menu {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 768px) {
  #menu.active {
    opacity: 1;
    pointer-events: inherit;
  }
  #menu .logo {
    display: none;
  }
  #menu .navi {
    align-items: flex-start;
    margin: 0 43px;
  }
  #menu .navi li {
    margin: 0 0 35px;
  }
  #menu .navi li:first-child {
    margin-top: 0;
  }
  #menu .navi a {
    color: #EAEADC;
    font-size: 1.7rem;
  }
  #menu .navi .label {
    display: inline-block;
    margin-left: 8px;
  }
  #menu .navi i .b {
    display: none;
  }
  #menu .navi i .w {
    display: inline-block;
  }
}

/*
  FOOTER
----------------------------------------------- */
#footer {
  position: relative;
  padding: 80px 0;
  background: #577368;
  color: #EAEADC;
  text-align: center;
}
#footer .copyright {
  font-size: 1rem;
}
#footer .pagetop {
  position: absolute;
  top: -60px;
  right: 60px;
}
@media (max-width: 768px) {
  #footer {
    padding: 25px 0;
  }
  #footer .pagetop {
    top: -30px;
    right: 20px;
    width: 13px;
  }
}
