@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  background: url(../img/background_img.png) no-repeat center center / cover;
  background-attachment: fixed;
}

img {
  max-width: 100%;
}

nav a,
h1,
h2,
small
{
  font-family: "Kaisei Opti", serif;
  font-weight: 700;
  font-style: normal;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px auto;
}

.header_logo img {
  max-width: 250px;
}

header nav ul {
  display: flex;
  padding: 15px;

}

nav a {
  justify-content: center;
  font-size: 1em;
  padding: 15px;
}

header nav ul li:hover {
  color: #d8b500;
}

header,
footer {
  color: #fff;
  background-color: #000;
}

/* メインここから */

h1 {
  font-size: 68px;
  color: #fff;
  text-shadow: 2px 2px 10px #d363fe, -2px 2px 10px #d363fe, 2px -2px 10px #d363fe, -2px -2px 10px #d363fe;;
  text-align: center;
  margin-bottom: 20px;
}

.map {
  width: 70%;
  max-width: 1300px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px auto;
  border-radius: 25px;
  text-align: center;
  margin-top: 200px;
  margin-left: auto;
  margin-right: auto;
}

.Precautions {
  width: 70%;
  max-width: 1300px;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 50px 100px 25px 100px;
  padding: 20px 50px;
  border-radius: 25px;
  margin: 20px auto;
}

.Precautions h2,
.Precautions p
{
  padding-top: 10px;
}

.Precautions ul {
  list-style: disc inside;
  padding-top: 10px;
}

/* フッター */
footer {
  padding: 50px auto;
  font-size: 20px;
  width: 100%;
}
.footer-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

footer img {
  max-width: 250px;
}

.footer_logo {
  width: 100px;
  margin-top: 20px;
}

.footer_nav {
  margin-top: 20px;
}

footer a {
margin: 10px auto;
}

footer nav ul li:hover {
  color: #d8b500;
}

.copy {
  text-align: center;
  padding-top: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

#nav-menu {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 768px)  {
  body {
    background-size: auto;
  }
  
  .header_area {
    position: relative;
  }

  .header_area nav {
    padding: 20px;
    max-height: 130px;
  }

  .header_logo img {
    width: 150px;
  }
  
  header nav a {
    display: block;
    text-align: center;
    font-size: 24px;
  }

  #nav-menu {
    display: none; /* デフォルトは非表示 */
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 auto;
  }

 #nav-menu.active {
    display: block;
    text-align: center;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
  }

  main {
    margin-top: 100px;
  }

  h1 {
    font-size: 48px;
    margin-top: 20px;
  }

  .map,
  .Precautions {
    width: 90%;                    
    margin: 60px auto;               
    padding: 15px;                   
  }

  .Precautions h2 {
    font-size: 20px;
  }

  .Precautions p,
  .Precautions li {
    font-size: 15px;
  }

  .footer-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
  }

  .footer_logo {
    width: 100px;
    margin-top: 20px;
  }
  
  .footer_nav {
    margin-top: 20px;
  }

  footer a {
    font-size: 16px;
    }
}