/* style.css */

html, body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  font-size: 17pt;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #f8f8f8;
  padding: 40px 0;
}

nav#navbar {
  background: #c5ddd0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-left: 10rem;
  padding-right: 6rem;
  margin: 0 auto;
}

.logo {
  height: 5rem;
  vertical-align: middle;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.nav-menu li a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.8rem, 1.8vw, 1.5rem);
}

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

header {
  padding: 2rem 1rem 0.5rem;
  background: #00a74d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

header img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


.container {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.logo-hover {
  transition: transform 0.3s ease;
}

.logo-hover:hover {
  transform: scale(1.05);
}

section {
  padding: 4rem 6rem;
  background: #f4e0b8;
}

section:nth-of-type(even) {
  background: #c5ddd0;
}

#about {
  text-align: center; /* 中央寄せ */
}

.img-wrap {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え（必要なら） */
  gap: 10px;               /* 画像の間隔 */
  flex-wrap: wrap;         /* 幅が狭いとき折り返す */
}

.img-wrap img {
  width: 45%;
  height: auto;
}

/* スマホ向け（画面幅600px以下） */
@media (max-width: 600px) {
  .img-wrap {
    flex-direction: column;  /* 縦並びにする */
    gap: 10px;               /* 間隔を少し狭める */
  }
}


.icon {
  height: 2rem;
  vertical-align: middle;
}

.pdf-image-button {
  width: 100%;
  max-width: 200px;
  height: auto;
  transition: 0.3s ease;
}

a:hover .pdf-image-button {
  opacity: 0.8;
  transform: scale(1.02);
}

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

#floating-register {
  position: fixed;
  bottom: 10px;
  right: 1rem;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#floating-register.visible {
  opacity: 1;
  visibility: visible;
}

#floating-register img {
  height: clamp(8rem, 20vw, 15rem);
  width: clamp(6rem, 22vw, 12rem);
  object-fit: contain;
}

.map-placeholder {
  background: #eee;
  width: 100%;
  max-width: 800px;
  min-height: 200px;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 20px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 0;
}

iframe {
  width: 100%;
  max-width: 1000px;
  height: 200px;
  border: 0;
}

.form-box {
  background: #f5f5f5;
  padding: 2rem;
  max-width: 700px;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

form {
  margin-bottom: 1.5rem;
}

form input[type="email"] {
  padding: 1rem;
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  padding: 0.5rem 1rem;
  font-size: 18px;
  background: #00a74d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

footer {
  padding: 1rem 4rem;
  background: #00a74d;
}

.footer-copy {
  text-align: center;
  color: #fff;
}

.indented {
  margin-left: 2rem;
}

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

.lead {
  font-size: 22pt;
}

h2 {
  text-align: center; /* 中央寄せ */
}

.access-container {
  display: flex;
  align-items: center;      /* 縦位置を中央揃え */
  justify-content: center;  /* 全体を中央寄せ */
  gap: 80px;                /* 文字と地図の間に余白 */
  flex-wrap: wrap;          /* スマホで縦並びに崩れるようにする */
}

.access-info {
  font-size: 1.1em;
  line-height: 1.6;
  min-width: 220px;  /* 住所が潰れないようにする */
  margin-bottom: 20px;
}


.venue-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.venue-block {
  text-align: center;
  background-color: #c5ddd0;
  margin: 0 auto 40px;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.venue-block h3 {
  color: #139e4b;
  font-size: 1.5em;
  margin-bottom: 15px;
}


.image-container img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Registration form styles (restored from main branch) */
.register_form,
.register_form2 {
  background-color: #eaebe9;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8em;
}

.social_gathering_detail {
  font-size: 0.8em;
  margin-top: 25px;
  margin-left: 25px;
  text-align: left;
}

.notes_in_form {
  font-size: 1em;
  margin-top: -20px;
  margin-left: 15px;
  text-align: left;
}

form label {
  display: block;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333;
}

form input[type="text"],
form input[type="email"],
form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1em;
  color: #333;
  background-color: #f9f9f9;
  transition: border-color 0.3s;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form select:focus {
  border-color: #4caf50;
  outline: none;
}

.submit-button {
  width: 100%;
  background-color: #4caf50;
  color: white;
  padding: 15px;
  margin-top: 20px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #45a049;
}