@charset "UTF-8";
html {
  scroll-behavior: smooth; }

p {
  color: #11295d;
  font-family: "ヒラギノ角ゴシック W3";
  line-height: 2em;
  margin: 0 1em; }

a {
  text-decoration: none;
  color: #11295d; }

body {
  /*max-width: 1200px;*/ }

main {
  padding-top: 100px;
  background: url("../img/haikeigazou.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed; }
  main p {
    margin: 0 5%; }

h1 {
  color: #11295d;
  font-family: "ヒラギノ明朝 ProN W5", serif, serif;
  font-size: 24px;
  margin-top: 0px;
  margin-bottom: 0px; }
  h1.midashi {
    margin: 40px auto 30px auto;
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%; }
    h1.midashi a::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 1.5em;
      transform: translateX(-50%);
      display: inline-block;
      background-color: #11295d;
      height: 1px;
      width: 0px;
      transition-duration: 0.5s; }
    h1.midashi a:hover::after {
      width: 60px; }
  h1#topmessage {
    color: #fff;
    margin-left: 5%;
    margin-top: 300px;
    text-shadow: 0 0 10px black; }

section {
  margin-top: 100px;
  padding-bottom: 50px;
  background-color: #E8E8E8; }
  section:first-of-type {
    margin-top: 0; }

.btn {
  color: #11295d;
  background-color: #fff;
  border-radius: 17px;
  font-size: 13px;
  /*display要勉強*/
  display: flex;
  justify-content: center;
  align-items: center;
  width: 161px;
  height: 34px;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 3px #11295d;
  transition-duration: 0.5s; }
  .btn:hover {
    background-color: #11295d;
    color: #fff; }

nav ul {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: 10px 0 0 0; }
  nav ul li {
    list-style-type: none;
    height: 40px;
    width: 25%;
    text-align: center;
    border-right: 1px solid #11295d; }
    nav ul li:last-of-type {
      border-right: 0px; }
    nav ul li a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      font-size: 12px;
      line-height: 1.3em;
      text-decoration: none;
      color: #11295d;
      transition-duration: 0.5s; }
      nav ul li a:hover {
        background-color: #11295d;
        color: #fff; }

header {
  background-image: url("../img/record.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  /*高さ要調整*/
  height: 800px;
  border-bottom: solid 50px #E8E8E8;
  /*
  background-image: url("../img/standard_exterior_top.jpg");
  background-size: cover;
  background-position: center;
  */ }
  header #menubar {
    background-color: rgba(255, 255, 255, 0.8);
    padding-top: 10px; }

/*スマホ用*/
#menubox {
  margin-top: 30px;
  display: flex;
  flex-direction: column; }
  #menubox a {
    overflow: hidden;
    margin: 0 auto 20px auto;
    position: relative;
    height: 300px;
    width: 80%;
    box-shadow: 0 0 5px #11295d; }
    #menubox a::before {
      content: "";
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      transition: 0.5s;
      background-position: center;
      background-size: cover; }
    #menubox a:hover::before {
      transform: scale(1.1);
      opacity: 0.9; }
    #menubox a.cafetime::before {
      background-image: url("../img/l-d-i-a-dQdyO9jsixA-unsplash.jpg"); }
    #menubox a.cafetime h2 {
      background-color: rgba(255, 255, 255, 0.7); }
    #menubox a.bartime::before {
      background-image: url("../img/thais-do-rio-EUO7L470LXk-unsplash.jpg"); }
    #menubox a.bartime h2 {
      background-color: rgba(0, 18, 73, 0.7);
      color: #fff; }
    #menubox a h2 {
      font-size: 15px;
      position: absolute;
      bottom: 0;
      font-family: "ヒラギノ明朝 ProN W5", serif;
      margin: 0;
      padding: 0.5em 0;
      line-height: 1.5em;
      text-align: center;
      width: 100%; }

h1#toplogo {
  max-width: 300px;
  margin: 0 auto; }

h1#accesslogo {
  max-width: 300px;
  margin: 0 auto; }

#access-top {
  padding-bottom: 20px;
  padding-top: 20px; }
  #access-top p {
    width: 300px;
    font-size: 12px;
    line-height: 1.4em;
    margin: 0 auto; }

footer p {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DEDEDE;
  height: 50px;
  font-size: 12px; }

.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px; }
  .to-top button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #11295d;
    border-radius: 50%;
    padding: 0;
    cursor: pointer; }
    .to-top button img {
      height: 10px; }

/*PC用*/
@media (min-width: 768px) {
  #menubox {
    flex-direction: row;
    width: 750px;
    margin-right: auto;
    margin-left: auto; }
    #menubox a {
      max-width: 450px; }
      #menubox a:first-of-type {
        margin-right: 20px; }

  main p {
    width: 750px;
    margin: 0 auto; }

  .forsp {
    display: none; }

  .btn {
    margin-right: 0; } }
/**/
