@charset "UTF-8";

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

h1.top.logo {
  font-size: 100px;
  background: linear-gradient(270deg, #ff0000, #ffa500, #ffff00, #00ff00, #00ffff, #0000ff, #800080, #ff0000);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradientFlow 5s linear infinite;
  text-align: center;
  font-family: "Helvetica Neue", sans-serif;
  padding: 30px 0;
  letter-spacing: 2px;
}

@keyframes gradientFlow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

.header-right {
  text-align: right;
  font-size: 20px;
  text-transform: capitalize;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 30px;
  background-color: #333;
}
nav ul li a {
  font-size: 2em;
  font-weight: bold;
  text-transform: capitalize;
}
nav a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
}
nav a:hover {
  background-color: #555;
  border-radius: 5px;
}

main img {
  width: 100%;
  height: auto;
  display: block;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.slider {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300vw;
  height: 100vh;
  animation: slide 9s infinite;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100vw);
  }
  66% {
    transform: translateX(-200vw);
  }
  100% {
    transform: translateX(0);
  }
}

aside h2 {
  font-size: 50px;
  color: #e60039;
  background-color: #fff3cd;
  border: 2px solid #e60039;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  animation: flash 1.5s infinite;
}
side ul {
  list-style: none;
  padding: 0;
}
aside li {
  margin: 5px 0;
  font-size: 25px;
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px;
  width: 100%;
}

footer a {
  color: #ffd700;
  text-decoration: underline;
}

aside {
  background-color: #a8bb00;
  color: #f9f9f9;
  padding: 0;
  margin: auto;
  width: 100%;
  max-width: 2550px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

aside iframe {
  width: 80%;
  height: 450px;
  border: none;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  vertical-align: bottom;
}

aside ul li {
  margin-bottom: 8px;
  list-style: none;
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: scale(1.03);
}

.menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.menu-card h2 {
  margin: 12px 0 6px;
  font-size: 1.2em;
  color: #333;
}

.menu-card p {
  font-size: 0.95em;
  color: #666;
  padding: 0 10px;
}

.menu-card span {
  display: block;
  margin: 10px 0 15px;
  font-weight: bold;
  color: #e60039;
  font-size: 1.1em;
}
.social-links {
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  margin: 0 20px;
}

.slider {
  position: relative;
}
.social-links a img {
  width: 60px;
  height: 60px;
}
/* ここから */
.gnavi_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* 余白追加 */
}

.gnavi_lists {
  display: flex;
  list-style: none;
  justify-content: space-between; /* より均等に分配 */
  gap: 30px; /* 間隔追加 */
}

.gnavi_list {
  width: 20%;
  height: 60px;
  background-color: #fff;
  position: relative;
  transition: all.3s;
}
.gnavi_list:hover {
  background-color: #0071bb;
}
.gnavi_list:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 100px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}
.gnavi_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #1b4059;
  font-size: 30px;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: all 0.3s;
}
.gnavi_list:hover a {
  color: #fff;
}

.dropdown_lists {
  transform: scaleY(0);
  transform-origin: center top;
  transition: all 0.3s;
  width: 100%;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 1000;
  list-style: none;
}
.gnavi_list:hover .dropdown_lists {
  transform: scaleY(1);
}

.dropdown_list {
  background-color: #004d80;
  height: 60px;
  transition: all 0.3s;
  position: relative;
}
.dropdown_list:not(:first-child)::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #3492d1;
  position: absolute;
  top: 0;
  left: 0;
}
.dropdown_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 15px;
}
.dropdown_list a::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid#fff;
  transform: rotate(135deg);
  position: absolute;
  right: 15px;
  top: calc(50% - 5px);
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

main {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
}

input[type="submit"],
input[type="reset"] {
  padding: 10px 20px;
  margin-right: 10px;
}
main h2 {
  text-align: center;
}

.logo-qr {
  width: 60px;
  height: 60px;
  margin-left: 20px;
}
.button {
  text-decoration: none;
}

.dmenu {
  background-color: peachpuff;
}
