/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: 'Sawarabi Mincho', serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
}

/* Header Styles */
#header {
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#navi {
  display: none;
}

/* Navigation Menu Styles */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  color: #fff;
  z-index: 1400;
  padding-top: 60px;
  text-align: center;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  transform: translateX(0);
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #aaa;
}

#mask {
  display: none;
}

#mask.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1300;
}

/* Main Content Styles */
#contact {
  background-color: #fff;
  padding: 80px 20px;
  margin-top: 70px;
  max-width: 600px;
  margin: 70px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#contact h2 {
  margin-bottom: 20px;
  font-size: 32px;
  color: #333;
}

#contact label {
  font-size: 16px;
  color: #555;
}

#contact input, #contact textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

#contact input[type="submit"] {
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact input[type="submit"]:hover {
  background-color: #555;
}

/* Footer Styles */
#footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 20px;
}

#footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

#footer .footer-title,
#footer .en-list1,
#footer .en-list2,
#footer .en-list3 {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-title li,
#footer .en-list1 li,
#footer .en-list2 li,
#footer .en-list3 li {
  margin: 10px 0;
}

#footer .footer-title a,
#footer .en-list1 a,
#footer .en-list2 a,
#footer .en-list3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .footer-title a:hover,
#footer .en-list1 a:hover,
#footer .en-list2 a:hover,
#footer .en-list3 a:hover {
  color: #aaa;
}

.sns {
  margin-top: 20px;
}

.sns .imge {
  display: flex;
  justify-content: center;
}

.sns li {
  margin: 0 10px;
}

.sns img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.sns img:hover {
  opacity: 0.7;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #contact {
    padding: 50px 10px;
    margin-top: 60px;
  }

  #contact h2 {
    font-size: 24px;
  }

  #header h1 a {
    font-size: 20px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  .nav-menu {
    padding-top: 60px;
  }

  .nav-menu li a {
    font-size: 18px;
  }
}
