.contact-form h2,
.contact-form p {
  text-align: center;
}

body {
  background: #ddebd3;
  font-family: 'Noto Sans JP', sans-serif;
  color: #444;
  margin: 0;
  padding: 0;
}

.contact-section {
  padding: 2em 1em;
  display: flex;
  justify-content: center;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2em;
  max-width: 1000px;
  width: 100%;
}

.contact-image {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.contact-image:hover {
  animation: float 3s ease-in-out infinite;
}

.contact-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.balloon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #06C755; /* LINEカラー */
  color: white;
  padding: 0.5em 1.2em;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.balloon:hover {
  background: #05b34c;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.contact-form {
  flex: 1 1 400px;
  background: white;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #333;
}

.contact-form p {
  margin-bottom: 1em;
  font-size: 0.95em;
  color: #666;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 100px;
}

.contact-form button {
  background: #87c4a6;
  color: white;
  border: none;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;

  /* 追加で中央寄せにする */
  display: block;
  margin: 1em auto 0;
}


.contact-form button:hover {
  background: #6ba98d;
  color: #f0fff5; /* 明るいミントグリーン系に */
}


@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .balloon {
    top: -10px;
    font-size: 0.9em;
  }
}

.contact-image-under {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2em;
}


.contact-image-under img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.balloon-under {
  display: inline-block;
  margin-top: 1em;
  background: #06C755;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.balloon-under:hover {
  background: #05b34c;
}


.wpcf7-submit {
  background: #87c4a6;
  color: white;
  border: none;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  display: block;
  margin: 1em auto 0;
  font-size: 1em;
}

.wpcf7-submit:hover {
  background: #6ba98d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.contact-button.form {
  background-color: #87c4a6;
  color: white;
  transition: background-color 0.3s;
}

.contact-button.form:hover {
  background-color: #6ba98d;
}

/* ---------------------
   ヘッダー
---------------------- */

/* ヘッダー全体 */
.site-header {
  display: block;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  border-bottom: 2px solid rgba(46, 124, 94, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  text-align: center;
}


/* 内部レイアウト */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* ロゴエリア */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  height: 50px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-area {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .site-logo {
    height: 55px; /* ← 少し大きく */
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  .tagline {
    font-size: 0.85rem;
    color: #444;
  }
}

.tagline {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  white-space: nowrap;
}

/* ナビメニュー */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #2e7c5e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

/* ハンバーガーボタン */
/* ナビメニュー */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #2e7c5e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}


/* ハンバーガーボタン */
.menu-toggle {
  position: relative;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #2e7c5e;
  transition: 0.3s ease;
  border-radius: 2px;
}

.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle::before {
  top: 0;
}

.menu-toggle::after {
  bottom: 0;
}

/* open時に×に変形 */
.menu-toggle.open span {
  opacity: 0;
}

.menu-toggle.open::before {
  transform: rotate(45deg);
  top: 50%;
}

.menu-toggle.open::after {
  transform: rotate(-45deg);
  top: 50%;
  bottom: auto;
}

/* オーバーレイ背景 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(46, 124, 94, 0.95);
  z-index: 1;
}

.overlay.active {
  display: block;
}

/* スクロール防止用 */
.noscroll {
  overflow: hidden;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 930px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1002; /* メニューより上に表示 */
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(46, 124, 94, 0.95); /* ← 背景色を設定！ */
    padding: 5rem 2rem 2rem;
    z-index: 1001;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav-menu a {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .site-logo {
    height: 40px;
  }

  .tagline {
    font-size: 0.75rem;
    color: #eee;
    white-space: nowrap;
  }
}
.tagline {
  font-size: 0.85rem;
  color: #555 !important; /* ← ここで色をしっかり指定 */
  font-style: italic;
  white-space: nowrap;
}


/* PC用メニュー */
@media (min-width: 931px) {
  .overlay {
    display: none !important;
  }

  .menu-toggle {
    display: none;
  }
}