@charset "utf-8";

.header-logo {
    text-align: start;
}

.header-img {
    text-align: center;
}

img {
  max-width: 100%;
}

nav {
    background-color: #333;
    padding: 5px;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
}

nav ul li {
    list-style: none;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section  {
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

h1 {
  font-size: 30px;
}

.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.img img {
    width: 100%;
    height: 200px;
}

.img p {
  color: #000;
  font-size: 16px;
  height: 100px;
  padding-bottom: 5px;
}

/* PC・SP表示切り替え*/

.sp {
  display: block;
}

.pc {
  display: none;
}

@media screen and (min-width:768px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}

/*　ハンバーガーボタン　*/
@media screen and (max-width: 896px) {
.hamburger {
    display : block;
    position: fixed;
    z-index : 3;
    right : 13px;
    top   : 12px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #555;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }
  
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }
  
  nav.globalMenuSp {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    color: #000;
    background: #fff;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
  }
  
  nav.globalMenuSp ul {
    background: #ccc;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  nav.globalMenuSp ul li:hover{
    background :#ddd;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration :none;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateY(0%);
  }

  nav ul{
    display: block;
}
nav ul li{
    text-align: center;
    border-bottom: 1px #333 dotted;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
  .flex {
    display: block;
}

.course {
  display: block;
  max-width: 100%;
}

.access__maparea {
  max-width: 100%;
}
}

.course {
  border: #333 1px solid;
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin: 20px auto;
  width: 800px;
}

p {
  width: 200px;
}

.image {
  height: 100px;
  width: 200px;
  background-color: #555;
  margin-left: 20px;
}

/* Web予約ボタン
-------------------------------------------------- */

.button {
  align-items: center;
  display: flex;
  margin: 0 auto;
  padding: 20px 35px;
  border: none;
  border-radius: 8px;
  background: #e66e70;
  color: #fff;
  height: 50px;
  margin-top: 15px;
}

.button:hover,
.button:focus {
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

footer{
  background-color: #333;
  color: #fff;
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}

/*埋め込み地図*/

.access__maparea {
  position: relative;
  padding-top: 100%;
  margin: 30px auto;
  width: 800px;
}

.access__map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*contact*/
#contact a {
  display: flex;
  justify-content: center;
}

#contact p {
  margin: 20px auto;
}

input {
  border: 5px solid #333;
  width: 50%;
  padding: 10px 10px;
}

textarea {
  border: 5px solid #333;
  overflow: auto;
  padding: 10px 10px;
  width: 50%;
}

.btn {
  color: #fff;
  background-color: #333;
  display: block;
  height: 24px;
  margin: 30px auto 10px;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  width: 63px;
}

.btn:hover {
  background-color: rgb(81, 75, 75);
}