/*layout*/
@charset "utf-8";
body { padding-top: 83px; }
.contents-width-l { width: 90%; max-width: 1200px;  margin: 0 auto; }
.contents-width { width: 90%; max-width: 1000px;  margin: 0 auto; }
.contents-width-s { width: 90%; max-width: 770px;  margin: 0 auto; }


.conts-section { padding: 100px 0; }
.conts-section-t { padding-top: 100px; }

.conts-section-s { padding: 50px 0; }
.conts-section-s-t { padding-top: 50px; }

@media screen and (max-width: 900px) {
  .conts-section { padding: 50px 0; }
  .conts-section-t { padding-top: 50px; }

  .conts-section-s { padding: 30px 0; }
  .conts-section-s-t { padding-top: 30px; }
}

.header { padding: 0 50px; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; left: 0; top: 0; margin: auto; z-index: 99; }
.header-logo { width: 137px; margin: 16px 0;  }
.head-menu { display: flex; font-size: .875rem; }
.head-menu  > li { position: relative;}
.head-menu  > li > a { display: flex; height: 82px; padding: 0 1.5em; align-items: center; }
.head-menu .submenu { position: absolute; top: 100%; left: -1em; right: 0; margin: -1px auto auto; background: rgba(255, 255, 255, .9); color: #787878; text-align: center;  width: calc(100% + 2em); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; transform: translateY(-5px); }
.head-menu .submenu::before { content: ''; width: calc(100% - 1em); height: 3px; background: #555555; position: absolute; top: -2px; left: 0; right: 0; margin: auto; }
.head-menu .submenu > li + li { border-top: 1px solid #DDDDDD; }
.head-menu .submenu > li > a { display: block; padding: .5em; }

.head-menu .lang { display: flex; align-items: center; }
.head-menu .lang a {padding: 0 .5em;  }

@media (hover:hover) {
  .head-menu > li:hover .submenu { opacity: 1; transform: translateY(0); pointer-events: auto; }
}


.btn-hamburger { display: none; }
@media screen and (max-width: 900px) {
  body { padding-top: 0; }
  .header { padding: 10px; }
  .head-menu { transform: translateX(100%); transition: transform .3s; position: fixed; top: 0; right: 0; margin: auto; background: #FFF; width: 60%; padding: 5rem 5%; height: 100%; flex-direction: column; }
  .head-menu  > li:not(:last-child) { margin-right: 0; margin-bottom: 2em; }
  .head-menu > li > a { padding: 0; height: auto; }
  
  .open .head-menu { transform: translateX(0); box-shadow: 0 0 20px rgba(0,0,0,.1); }
  
  .header-logo { width: 100px;margin: 0; }
  
  .btn-hamburger { display: block; position: absolute; right: 10px; height: 10px; z-index: 99; 
  width: 40px; height: 40px; margin: auto; background: none; border: none; white-space: nowrap; text-indent: 200%; overflow: hidden; }
  .btn-hamburger::before,
  .btn-hamburger::after { content: ''; width: 20px; height: 2px; display: block; border-radius: 2em; background: #000850; position: absolute; inset: 0; margin: auto; transition: transform .3s; }
  .btn-hamburger::before { transform: translateY(-6px); box-shadow: 0 6px 0  #000850; }
  .btn-hamburger::after { transform: translateY(6px); }
  
  .open .btn-hamburger::before { transform: rotate(-45deg); box-shadow: none; }
  .open .btn-hamburger::after { transform: rotate(45deg); }
  
  
  .head-menu .submenu { opacity: 1; transform: none; position: relative; padding-left: 2em; text-align: left; top: auto; left: auto; right: auto; margin: auto; pointer-events: auto; width: 100%; }
  .head-menu .submenu::before { display: none; }
  .head-menu .submenu > li + li { border: none; }
  
}

.fixed-navi { position: fixed; right: 0; bottom: 10rem; margin: auto; display: block; z-index: 98; }
.fixed-navi a { display: block; writing-mode: vertical-lr; white-space: nowrap; padding: 1.5em 1em; border-radius: 5px 0 0 5px; letter-spacing: .1em; position: relative; box-shadow: 0 3px 6px rgba(0,0,0,.16); }
.fixed-navi a::before { content: ''; display: block; width: calc(100% - 3px); height: calc(100% - 6px); border-radius: 2px 0 0 2px; border: 1px solid; border-right: none; position: absolute; top: 0; right: 0; bottom: 0; margin: auto; }
.fixed-navi a.reserve { background: linear-gradient(to right bottom, #4D548D, #000850); color: #FFF; margin-bottom: 1em;  }
.fixed-navi a.reserve::before { opacity: .5; }
.fixed-navi a.time { background: #FFF; color:  #000850; display: flex; align-items: center; justify-content: center; }
.fixed-navi a.time::before { border-color: #000850; }
.fixed-navi a .icon { display: inline-block; margin-bottom: .5em; }

@media screen and (max-width: 768px) {
  .fixed-navi { left: 10px; right: 10px; margin: auto; top: auto; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .fixed-navi a { writing-mode: horizontal-tb; text-align: center;border-radius: 5px 5px 0 0;  padding: 1em 0; }
  .fixed-navi a::before { border-radius: 2px 2px 0 0; width: calc(100% - 6px); height: calc(100% - 3px); border-right: 1px solid; border-bottom: none; left: 0; right: 0; bottom: 0; top: auto; }
  .fixed-navi a.reserve { margin-bottom: 0; }
  .fixed-navi a .icon { margin: 0 .5em 0 0; }
}
.footer { background: #1c2c54; color: #FFF; padding: 100px 0; }
.footer .inner { width: 1100px; margin: 0 auto; max-width: 90%; }
.footer-cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-cv a { display: block; text-align: center; font-size: 1.2rem; padding: .7em; border: 1px solid; border-radius: 3px; }

.footer-sns { margin: 40px 0; display: flex; justify-content: center; }
.footer-sns > li + li { margin-left: 15px; }
.footer-sns a { width: 40px; height: 40px; background: #FFF; display: flex; border-radius: 3px; justify-content: center; align-items: center; }
.footer-sns svg{ fill: #1C2C54; width: 25px; height: 25px; }

.footer-menu { display: flex; align-items: center; justify-content: center; font-size: .875rem; }
.footer-menu > li + li { margin-left: 2em; }

.footer-logo { width: 40%; margin: 30px auto 0; display: block; }

.copyright{ text-align: center; background: #000851; color: #FFF; font-size: .8rem; padding: .5em; display: block; }
@media screen and (max-width: 900px) {
  .footer { padding: 70px 0; }
  .footer-cv { grid-template-columns: 1fr; gap: 15px;  }
  
  .footer-menu { flex-direction: column; }
  .footer-menu > li + li { margin-left: 0; margin-top: 1em; }
  .footer-logo{ width: 200px; }
  .copyright{ font-size: .7rem; }
}
@media screen and (max-width: 768px) {
  .copyright { padding-bottom: 5rem; }
}