@font-face {
  font-family: "Harenosora";
  src: url("../font/Harenosora.otf");
}

@font-face {
  font-family: "minchostd";
  src: url("../font/A-OTF-A1MinchoStd-Bold.otf");
}

body {
  min-width: 1100px;
  max-height: 100%;
  color: #303030;
  font-family: "minchostd","Harenosora","Hiragino Kaku Gothic ProN", YuGothic,"Yu Gothic", Meiryo, serif;
}

.inner {
  width: 900px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  line-height: 1;
}

p, figcaption {
  font-size: 16px;
  line-height: 2;
}

dl, ol, ul {
  font-size: 16px;
  line-height: 2;
}

table {
  font-size: 16px;
  line-height: 2;
}

a {
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  transition: .6s;
  cursor: pointer;
}

a:hover {
  opacity: .5;
}

a.line {
  text-decoration: underline;
}

.box {
  display: block;
}

.box.flex {
  display: flex;
}

.hide_pc {
  display: none;
}

#panel_contents {
  width: 100vw;
  height: 100vh;
}

/*===================================
  TOP HEADER
===================================*/
#top_header {
  position: fixed;
  transition: .5s;
  color: #112B52;
  z-index: 5000;
  background: #fff;
  width: 100px;
  height: 100vh;
  cursor: pointer;
}

#top_header a {
  pointer-events: none;
}

#top_header:hover, #top_header.active {
  background: #112B52;
  color: #fff;
}

#top_header:hover #menu_btn span, #top_header.active #menu_btn span {
  background: #fff;
}

#top_header h1 {
  display: block;
  font-size: 26px;
  text-align: left;
  font-weight: normal;
  margin: auto;
  transition: 0s;
  letter-spacing: 2px;
}

#top_header h1 a {
  transition: 0s;
  opacity: 1;
}

#top_header h1 span {
  font-size: 15px;
  margin-bottom: 1em;
}

@media screen and (max-height: 1100px) {
  #top_header h1 {
    padding-top: 30px;
  }
}

#top_header .inner {
  width: 100%;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row-reverse;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#top_header #menu_btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  margin: auto;
  cursor: pointer;
  z-index: 5001;
}

#top_header #menu_btn span {
  width: 20px;
  height: 2px;
  display: block;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 5px;
  background: #112B52;
  transition: .4s;
}

#top_header #menu_btn span:nth-of-type(1) {
  top: 13px;
}

#top_header #menu_btn span:nth-of-type(2) {
  top: 0;
  bottom: 0;
  z-index: -1;
}

#top_header #menu_btn span:nth-of-type(3) {
  bottom: 13px;
}

#top_header #menu_btn.active span:nth-of-type(1) {
  transform: translateY(6px) rotate(-45deg);
}

#top_header #menu_btn.active span:nth-of-type(2) {
  opacity: 0;
}

#top_header #menu_btn.active span:nth-of-type(3) {
  transform: translateY(-6px) rotate(45deg);
}

/*===================================
  GLOBAL NAV
===================================*/
#close_floa {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: -100%;
  z-index: 4998;
}

#global_navi {
  display: none;
}

#global_navi.active {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: -100%;
  color: #fff;
  z-index: 4999;
  background: #112B52;
  padding-left: 16%;
}

#global_navi.active ol {
  display: block;
}

#global_navi ol {
  display: none;
  transition: 1s;
}

#global_navi li {
  width: 100%;
}

#global_navi li + li {
  margin-top: 30px;
}

#global_navi a {
  margin: auto;
  padding: 0 0 .3em;
  display: inline-block;
  font-size: inherit;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .2em;
}

#global_navi a::after {
  content: "";
  width: 0%;
  height: 1px;
  display: block;
  position: relative;
  bottom: -.3em;
  background: #fff;
  transition: .5s;
}

#global_navi a:hover {
  opacity: 1;
}

#global_navi a:hover::after {
  width: 100%;
}

/*===================================
  MAIN
===================================*/
#sub_visual {
  width: 100%;
  height: auto;
  position: relative;
  padding: 90px 0;
}

#sub_visual::before {
  content: "";
  width: 900px;
  height: 890px;
  margin: auto;
  z-index: -1;
  display: block;
  background: #aaa;
}

#sub_visual .subname {
  width: auto;
  height: 50px;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  margin: auto;
}

#sub_visual h2 {
  font-size: 50px;
  line-height: 1;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 125px;
  margin: auto;
  letter-spacing: .1em;
  font-family: "Harenosora", "Hiragino Kaku Gothic ProN";
}

#sub_visual .slide {
  width: calc(100% - 200px);
  height: auto;
  position: absolute;
  top: 140px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

#sub_visual figure {
  max-width: 1920px;
  width: 100%;
  height: 770px;
  background: #555;
  outline: none !important;
}

#sub_visual button {
  display: none !important;
}

#sub_visual .slick-dots {
  width: 115px;
  position: absolute;
  right: 0;
  left: 0;
  top: auto;
  bottom: 240px;
  z-index: 40;
  display: block;
  height: 4px;
  margin: auto;
  list-style: none;
  text-align: center;
}

#sub_visual .slick-dots li {
  width: 15px;
  height: 6px;
  border: 1px solid #fff;
  background: none;
}

#sub_visual .slick-dots li.slick-active {
  background: #fff;
}

@media screen and (max-width: 1300px) {
  #sub_visual::before {
    height: 705px;
  }
  #sub_visual figure {
    height: 540px;
  }
  #sub_visual .slick-dots {
    bottom: 220px;
  }
}

#contact #sub_visual, #entry #sub_visual, #news #sub_visual {
  padding-top: 0;
}

#contact #sub_visual::before, #entry #sub_visual::before, #news #sub_visual::before {
  width: 900px;
  height: 180px;
  background: url(../img/contact/bg.jpg);
  background-size: 1200px;
  background-position: center;
}

#contact #sub_visual .subname, #entry #sub_visual .subname, #news #sub_visual .subname {
  height: 30px;
  top: 50px;
}

#contact #sub_visual .slide, #entry #sub_visual .slide, #news #sub_visual .slide {
  display: none;
}

#contact #sub_visual h2, #entry #sub_visual h2, #news #sub_visual h2 {
  top: 90px;
}

#news #sub_visual::before {
  width: 900px;
  height: 180px;
  background: url(../img/news/bg.jpg);
  background-size: 1200px;
  background-position: center;
}

#scroll {
  width: 100px;
  height: 100vh;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  background: #fff;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#scroll .a_wave_side {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  letter-spacing: .2em;
  position: relative;
  z-index: 101;
  cursor: pointer;
}

#scroll .scroll_anchor {
  position: relative;
  z-index: 100;
  display: block;
  line-height: 1;
  width: 1em;
  text-align: center;
  position: absolute;
  bottom: 100px;
  right: 0;
  left: 0;
  margin: auto;
  letter-spacing: .2em;
}

#scroll .scroll_anchor span {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 40px;
  left: .3em;
  bottom: -45px;
}

#scroll .scroll_anchor span::after {
  content: "";
  width: inherit;
  height: inherit;
  display: block;
  background: #000;
  animation: bar 2s ease-in-out infinite;
  position: absolute;
  left: 0;
  margin: auto;
}

@keyframes bar {
  0% {
    top: 0;
    opacity: 1;
  }
  24% {
    top: 100%;
    opacity: 0;
  }
  26% {
    top: -100%;
    opacity: 0;
  }
  50% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}

section {
  padding: 90px 0;
}

section:first-of-type {
  padding-top: 0;
}

/*===================================
  FOOTER
===================================*/
#top #footer {
  display: none;
}

#footer {
  padding: 40px 0;
  position: relative;
  background: #112B52;
  color: #fff;
}

#footer .logo {
  margin-right: 0;
}

#footer .logo p {
  font-size: 12px;
  margin-bottom: .5em;
  display: block;
}

#footer .logo h2 {
  font-size: 30px;
  text-align: left;
  line-height: 1;
  letter-spacing: .1em;
}

#footer .box {
  color: #eee;
}

#footer .box h3, #footer .box p {
  letter-spacing: 2px;
}

#footer .box h3 {
  text-align: left;
  font-size: 14px;
}

#footer .box p {
  font-size: 14px;
  line-height: 1.5;
}

#footer #footer_navi {
  width: 100%;
  padding: 50px 0;
  border-top: 1px solid;
}

#footer #footer_navi li {
  width: 20%;
  text-align: center;
}

#footer #footer_navi a {
  text-align: center;
}

#footer #copy_right {
  width: 100%;
  display: block;
  font-size: 10px;
  text-align: center;
  color: #fff;
  padding: 1em 0;
  background: #112B52;
}

.a_wave:hover {
  opacity: 1;
}

.a_wave:hover span {
  position: relative;
}

.a_wave:hover span:nth-child(1) {
  animation: a_wave_on 0.375s ease-in-out 0s forwards;
}

.a_wave:hover span:nth-child(2) {
  animation: a_wave_on 0.375s ease-in-out 0.025s forwards;
}

.a_wave:hover span:nth-child(3) {
  animation: a_wave_on 0.375s ease-in-out 0.05s forwards;
}

.a_wave:hover span:nth-child(4) {
  animation: a_wave_on 0.375s ease-in-out 0.075s forwards;
}

.a_wave:hover span:nth-child(5) {
  animation: a_wave_on 0.375s ease-in-out 0.1s forwards;
}

.a_wave:hover span:nth-child(6) {
  animation: a_wave_on 0.375s ease-in-out 0.125s forwards;
}

.a_wave:hover span:nth-child(7) {
  animation: a_wave_on 0.375s ease-in-out 0.15s forwards;
}

.a_wave:hover span:nth-child(8) {
  animation: a_wave_on 0.375s ease-in-out 0.175s forwards;
}

.a_wave:hover span:nth-child(9) {
  animation: a_wave_on 0.375s ease-in-out 0.2s forwards;
}

.a_wave:hover span:nth-child(10) {
  animation: a_wave_on 0.375s ease-in-out 0.225s forwards;
}

.a_wave:hover span:nth-child(11) {
  animation: a_wave_on 0.375s ease-in-out 0.25s forwards;
}

.a_wave:hover span:nth-child(12) {
  animation: a_wave_on 0.375s ease-in-out 0.275s forwards;
}

.a_wave:hover span:nth-child(13) {
  animation: a_wave_on 0.375s ease-in-out 0.3s forwards;
}

.a_wave:hover span:nth-child(14) {
  animation: a_wave_on 0.375s ease-in-out 0.325s forwards;
}

.a_wave:hover span:nth-child(15) {
  animation: a_wave_on 0.375s ease-in-out 0.35s forwards;
}

.a_wave:hover span:nth-child(16) {
  animation: a_wave_on 0.375s ease-in-out 0.375s forwards;
}

.a_wave:hover span:nth-child(17) {
  animation: a_wave_on 0.375s ease-in-out 0.4s forwards;
}

.a_wave:hover span:nth-child(18) {
  animation: a_wave_on 0.375s ease-in-out 0.425s forwards;
}

.a_wave:hover span:nth-child(19) {
  animation: a_wave_on 0.375s ease-in-out 0.45s forwards;
}

.a_wave:hover span:nth-child(20) {
  animation: a_wave_on 0.375s ease-in-out 0.475s forwards;
}

@keyframes a_wave_on {
  0% {
    bottom: 0;
  }
  50% {
    bottom: .5em;
  }
  100% {
    bottom: 0;
  }
}

.a_wave_side:hover {
  opacity: 1;
}

.a_wave_side:hover div span {
  position: relative;
}

.a_wave_side:hover div span:nth-child(1) {
  animation: a_wave_side_on 0.375s ease-in-out 0s forwards;
}

.a_wave_side:hover div span:nth-child(2) {
  animation: a_wave_side_on 0.375s ease-in-out 0.025s forwards;
}

.a_wave_side:hover div span:nth-child(3) {
  animation: a_wave_side_on 0.375s ease-in-out 0.05s forwards;
}

.a_wave_side:hover div span:nth-child(4) {
  animation: a_wave_side_on 0.375s ease-in-out 0.075s forwards;
}

.a_wave_side:hover div span:nth-child(5) {
  animation: a_wave_side_on 0.375s ease-in-out 0.1s forwards;
}

.a_wave_side:hover div span:nth-child(6) {
  animation: a_wave_side_on 0.375s ease-in-out 0.125s forwards;
}

.a_wave_side:hover div span:nth-child(7) {
  animation: a_wave_side_on 0.375s ease-in-out 0.15s forwards;
}

.a_wave_side:hover div span:nth-child(8) {
  animation: a_wave_side_on 0.375s ease-in-out 0.175s forwards;
}

.a_wave_side:hover div span:nth-child(9) {
  animation: a_wave_side_on 0.375s ease-in-out 0.2s forwards;
}

.a_wave_side:hover div span:nth-child(10) {
  animation: a_wave_side_on 0.375s ease-in-out 0.225s forwards;
}

.a_wave_side:hover div span:nth-child(11) {
  animation: a_wave_side_on 0.375s ease-in-out 0.25s forwards;
}

.a_wave_side:hover div span:nth-child(12) {
  animation: a_wave_side_on 0.375s ease-in-out 0.275s forwards;
}

.a_wave_side:hover div span:nth-child(13) {
  animation: a_wave_side_on 0.375s ease-in-out 0.3s forwards;
}

.a_wave_side:hover div span:nth-child(14) {
  animation: a_wave_side_on 0.375s ease-in-out 0.325s forwards;
}

.a_wave_side:hover div span:nth-child(15) {
  animation: a_wave_side_on 0.375s ease-in-out 0.35s forwards;
}

.a_wave_side:hover div span:nth-child(16) {
  animation: a_wave_side_on 0.375s ease-in-out 0.375s forwards;
}

.a_wave_side:hover div span:nth-child(17) {
  animation: a_wave_side_on 0.375s ease-in-out 0.4s forwards;
}

.a_wave_side:hover div span:nth-child(18) {
  animation: a_wave_side_on 0.375s ease-in-out 0.425s forwards;
}

.a_wave_side:hover div span:nth-child(19) {
  animation: a_wave_side_on 0.375s ease-in-out 0.45s forwards;
}

.a_wave_side:hover div span:nth-child(20) {
  animation: a_wave_side_on 0.375s ease-in-out 0.475s forwards;
}

@keyframes a_wave_side_on {
  0% {
    left: 0;
  }
  50% {
    left: .5em;
  }
  100% {
    left: 0;
  }
}

/*===================================
  BUTTON
===================================*/
.btn {
  width: 320px;
  height: 50px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  font-size: 20px;
  letter-spacing: .3em;
  transition: .5s;
  padding-right: 0;
  padding-left: .5em;
  cursor: pointer;
}

.btn:hover {
  color: #fff;
  background: #333;
  border: 1px solid #333;
  opacity: 1;
}

.btn.printbtn {
  width: 360px;
}

/*============================================================================================================================================
  SP_style
============================================================================================================================================*/
@media screen and (max-width: 768px) {
  /*===================================
  GENERAL
===================================*/
  body {
    min-width: 320px;
    padding-top: 80px;
  }
  .inner {
    width: 85%;
  }
  img, video {
    width: 100%;
    height: auto;
  }
  .tel, .tel img {
    pointer-events: auto;
  }
  /*===================================
  HEADING
===================================*/
  p, figcaption {
    font-size: 15px;
  }
  p + p {
    margin-top: 1em;
  }
  dl, ol, ul {
    font-size: 14px;
    line-height: 2;
  }
  table {
    font-size: 14px;
    line-height: 2;
  }
  /*===================================
  TOP HEADER
===================================*/
  #top_header {
    width: 100%;
    height: 80px;
    padding: 15px 0;
    position: fixed;
    top: 0;
    z-index: 5001;
    background: #fff;
  }
  #top_header a {
    pointer-events: auto;
  }
  #top_header:hover {
    background: #fff;
    color: #112B52;
  }
  #top_header:hover #menu_btn span {
    background: #112B52;
  }
  #top_header.active {
    background: #112B52 !important;
    color: #fff !important;
  }
  #top_header.active #menu_btn span {
    background: #fff !important;
  }
  #top_header .inner {
    width: 90%;
    flex-direction: column;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    writing-mode: lr-tb;
  }
  #top_header h1 {
    font-size: 22px;
    display: block;
    margin: 0;
    padding: 0;
  }
  #top_header h1 span {
    display: none;
  }
  #top_header #menu_btn {
    position: absolute;
    right: 5%;
    left: auto;
    height: 20px;
  }
  #top_header #menu_btn span {
    width: 30px;
    height: 3px;
    display: block;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 5px;
    background: #112B52;
    transition: .4s;
  }
  #top_header #menu_btn span:nth-of-type(1) {
    top: 0;
  }
  #top_header #menu_btn span:nth-of-type(2) {
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  #top_header #menu_btn span:nth-of-type(3) {
    bottom: 0;
  }
  #top_header #menu_btn.active span:nth-of-type(1) {
    transform: translateY(1px) rotate(-45deg);
  }
  #top_header #menu_btn.active span:nth-of-type(2) {
    opacity: 1;
    transform: translateY(-8px) rotate(45deg);
  }
  #top_header #menu_btn.active span:nth-of-type(3) {
    bottom: 0;
    transform: translateY(0) rotate(0);
  }
  /*===================================
  globalNavi
===================================*/
  #global_navi {
    display: none;
  }
  #global_navi.active {
    width: 100%;
  }
  #global_navi li {
    display: block;
    width: 100%;
  }
  #global_navi li + li {
    margin-top: 40px;
    border-left: 0;
  }
  #global_navi a {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    text-align: left;
  }
  #global_navi a::after {
    display: none;
  }
  /*===================================
  MAIN
===================================*/
  #scroll {
    width: 7%;
    background: none;
  }
  #scroll .a_wave_side {
    display: none;
  }
  #scroll .scroll_anchor {
    font-size: 12px;
  }
  #sub_visual {
    height: 425px;
    padding: 0;
    margin-bottom: 60px;
  }
  #sub_visual #page_header {
    padding: 45px;
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    margin: auto;
  }
  #sub_visual .subname {
    width: auto;
    height: 30px;
    position: static;
    margin: auto;
    margin-bottom: 10px;
  }
  #sub_visual::before {
    content: "";
    width: 85%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
    display: block;
    background: #aaa;
  }
  #sub_visual h2 {
    font-size: 35px;
    line-height: 1;
    position: static;
    letter-spacing: .1em;
  }
  #sub_visual .slide {
    width: 100%;
    height: auto;
    position: static;
  }
  #sub_visual figure {
    width: 100%;
    height: 100%;
    background: #555;
  }
  #sub_visual .slick-dots {
    top: 35vh;
    bottom: auto;
  }
  #sub_visual .slick-list {
    height: auto !important;
  }
  #sub_visual .slick-list .slick-track {
    height: 40vh !important;
    background: none !important;
  }
  #contact #sub_visual, #entry #sub_visual, #news #sub_visual {
    height: 150px;
  }
  #contact #sub_visual::before, #entry #sub_visual::before, #news #sub_visual::before {
    width: 100%;
    height: 100%;
  }
  #contact #sub_visual .subname, #entry #sub_visual .subname, #news #sub_visual .subname {
    height: 20px;
    top: 50px;
  }
  #contact #sub_visual #page_header, #entry #sub_visual #page_header, #news #sub_visual #page_header {
    padding: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  #contact #sub_visual .slide, #entry #sub_visual .slide, #news #sub_visual .slide {
    display: none;
  }
  #contact #sub_visual h2, #entry #sub_visual h2, #news #sub_visual h2 {
    top: 90px;
    font-size: 25px;
  }
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  /*===================================
  FOOTER
===================================*/
  #footer {
    position: relative;
    z-index: 10;
  }
  #footer .logo {
    width: 100%;
    margin-right: 0;
    margin-bottom: 35px;
  }
  #footer .logo img {
    width: 200px;
  }
  #footer .box {
    width: 100%;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #footer .box h3 {
    width: 30%;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
  }
  #footer .box p {
    width: 70%;
    font-size: 12px;
    line-height: 1.5;
  }
  #footer .box + .box {
    margin-top: 20px;
  }
  #footer #scroll {
    background: none;
  }
  #footer #scroll .a_wave_side {
    display: none;
  }
  #footer #scroll .scroll_anchor {
    font-size: 10px;
  }
  #footer #scroll .scroll_anchor span {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 40px;
    left: .3em;
    bottom: -45px;
  }
  #footer #scroll .scroll_anchor span::after {
    content: "";
    width: inherit;
    height: inherit;
    display: block;
    background: #000;
    animation: bar 2s ease-in-out infinite;
    position: absolute;
    left: 0;
    margin: auto;
  }
  #footer #footer_navi {
    display: none;
  }
  #footer #copy_right {
    padding: 20px 0;
  }
  /*===================================
  BUTTON
===================================*/
  .btn {
    width: 180px;
    height: 35px;
    font-size: 16px;
  }
  .btn.printbtn {
    width: 300px;
  }
  .hide_pc {
    display: block;
  }
}
