/* ===== ベース設定 ===== */
body {
  font-family: 'Kosugi Maru', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffefdb;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* 横スクロール防止 */
}

/* ===== ヘッダー・ナビ ===== */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ナビバー全体 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: 60px;
}

/* 左側ロゴ */
.navbar-left {
  flex-shrink: 0;
}

.navbar-left .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
}

/* 右側メニュー */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

/* メニューリンク */
.navbar-menu li a {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-menu li a:hover {
  color: #b5753a;
}

/* ドロップダウンメニュー */
.navbar-menu li.dropdown {
  position: relative;
}

.navbar-menu li.dropdown > a::after {
  content: " ▼";
  font-size: 0.6rem;
  margin-left: 4px;
  color: #b5753a;
  font-weight: 700;
}

.navbar-menu li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 10px 0;
}

.navbar-menu li .dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.navbar-menu li .dropdown-menu a:hover {
  background-color: #f5deb3;
  color: #b5753a;
}

/* PC時はホバーでドロップダウン表示 */
.navbar-menu li.dropdown:hover > .dropdown-menu {
  display: block;
}

/* ===== ハンバーガーボタン ===== */
.hamburger {
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #e43434; 
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 19px;
    right: 20px;
  }

  .navbar {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
  }

  .navbar-left {
    margin-bottom: 0;
  }

  /* メニュー隠す、ハンバーガーメニューで表示 */
  .navbar-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    width: 200px;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu li {
    width: 100%;
  }

  .navbar-menu li a {
    padding: 10px 20px;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  /* ドロップダウンメニュー非表示 */
  .navbar-menu li .dropdown-menu {
    position: static;
    display: none;
    padding: 0;
  }

  .navbar-menu li.dropdown.active .dropdown-menu {
    display: block;
  }

  .navbar-menu li .dropdown-menu a {
    padding-left: 30px;
    border-bottom: 1px solid #eee;
  }
}

/* ===== ヒーローセクション ===== */
.hero-section {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 80px auto;
  padding: 0 40px;
}

.hero-right {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 70vh;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


.hero-text {
  position: absolute;
  top: 20%;
  left: 10%;
  color: white;
  font-size: 3rem;            /* サイズを大きく */
  font-weight: bold;          /* 太字にして強調 */
  line-height: 1.2;           /* 行間を詰めて引き締める */
  max-width: 700px;           /* テキストブロックの幅を拡張 */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* 強めの影で視認性アップ */
  text-transform: uppercase;  /* 全て大文字に（必要に応じて） */
  letter-spacing: 1px;        /* 文字間隔を少し広げる */
  font-family: 'Arial Black', sans-serif; /* 太くて目立つフォントに */
}


@media (max-width: 768px) {
  .hero-section {
    padding: 0 20px;
    margin-bottom: 50px;
  }
  .hero-text {
    position: static;
    color: #333;
    background-color: transparent !important;
    padding: 15px;
    margin-top: 20px;
    max-width: 100%;
    text-shadow: none;
    font-size: 1.1rem;
  }
  .hero-right {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 50vh;
}
  .hero-right img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
}


/* ===== セクション共通 ===== */
.section {
  max-width: 1000px;
  margin: 50px auto 0 auto;
  padding: 0 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: #b5753a;
}

/* ===== 事業内容カード ===== */
.business-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background-color: transparent;
  border: none;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(181, 117, 58, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover img {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(181, 117, 58, 0.6);
}

.card p {
  margin-top: 8px;
  font-size: 1.1rem;
  color: #7d5a20;
  background: none;
  padding: 0;
}

/* ===== 活動内容 ===== */
.activity-box {
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border: 1px solid #d9c9af;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(181, 117, 58, 0.2);
}

/* Instagram埋め込み */
.activity-iframe {
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: none;
  overflow: hidden;
  margin-bottom: 10px; /* ボタンとの隙間 */
}

.instagram-link {
  display: inline-block;
  padding: 10px 20px;
  background: #E1306C;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 0; /* iframeとの余白を詰める */
}

.instagram-link:hover {
  background-color: #c72b60;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .activity-iframe {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .activity-iframe {
    height: 200px;
  }
}



/* ===== お問い合わせフォーム ===== */
.contact-section {
  max-width: 600px;
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 25px;
}

form {
  background-color: transparent;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #7d5a20;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #b5753a;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background-color: #b5753a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
  font-weight: 700;
}

button[type="submit"]:hover {
  background-color: #7d4a0d;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .contact-section {
    padding: 0 20px;
    width: 90%;
    max-width: 500px;
  }

  form {
    width: 100%;
    padding: 0 10px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.95rem;
    padding: 8px 10px;
    box-sizing: border-box;
  }

  button[type="submit"] {
    padding: 10px 25px;
  }

  label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 0 10px;
    width: 90%;
    max-width: 400px;
  }

  form {
    width: 100%;
    padding: 0 5px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.9rem;
    padding: 7px 8px;
  }

  button[type="submit"] {
    padding: 8px 20px;
  }

  label {
    font-size: 0.9rem;
  }
}


/* ===== お問い合わせフォーム ===== */
.contact-section {
  max-width: 600px; /* 最大幅 600px */
  margin: 50px auto;
  padding: 0 20px; /* 左右に余白 */
  box-sizing: border-box; /* パディングを幅に含める */
  width: 100%; /* 幅100% */
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 25px;
}

form {
  background-color: transparent;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%; /* 幅100% */
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #7d5a20;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%; /* 幅を100%にして、親要素の幅いっぱいを使う */
  padding: 10px 12px; /* パディング */
  margin-bottom: 20px; /* 下のマージン */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box; /* パディングを含めて幅を設定 */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #b5753a;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background-color: #b5753a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto; /* 中央寄せ */
  font-weight: 700;
}

button[type="submit"]:hover {
  background-color: #7d4a0d;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .contact-section {
    padding: 0 20px;  /* モバイルでも左右の余白を調整 */
    width: 90%; /* 画面幅に合わせてフォームを広げる（90%） */
    max-width: 500px; /* 最大幅を500pxに設定 */
  }

  form {
    width: 100%;
    padding: 0 10px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.95rem;
    padding: 8px 10px; /* パディング調整 */
    box-sizing: border-box; /* パディングを幅に含める */
  }

  button[type="submit"] {
    padding: 10px 25px;
  }

  label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 0 10px; /* より狭い画面に合わせて調整 */
    width: 90%; /* 幅を90%に広げる */
    max-width: 400px; /* 最大幅を400pxに設定 */
  }

  form {
    width: 100%;
    padding: 0 5px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.9rem;
    padding: 7px 8px;
  }

  button[type="submit"] {
    padding: 8px 20px;
  }

  label {
    font-size: 0.9rem;
  }
}



/* ===== Googleマップ ===== */
.map-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap; /* 追加 */
}

.map-container {
  width: 45%;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 768px) {
  .map-container {
    width: 100%;  /* 追加 */
    margin-bottom: 20px; /* 追加 */
  }
}


/* ===== フッター ===== */
.footer {
  background-color: #b1a090;
  color: #fff;
  padding: 30px 20px 15px;
  font-size: 0.9rem;
  margin-top: 50px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px; /* 画面左右の余白 */
  box-sizing: border-box;
  gap: 15px;
}

.footer-left {
  display: flex;
  gap: 30px; /* ワンファームランドとコロンブスの間 */
  flex: 1 1 auto;
  min-width: 260px;
  justify-content: flex-start; /* 左寄せ */
  align-items: flex-start;
}

.footer-left > div {
  /* 各ブロック内の余白を調整 */
  margin: 0;
}

.footer-left p {
  margin: 4px 0;
  line-height: 1.6;
}

.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-address {
  font-weight: 400;
}

.footer-left a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-left a:hover {
  color: #ffd27f;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右寄せ */
  gap: 10px;
  flex: 0 0 auto;
}

.footer-right a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #ffd27f;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.footer-right .sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #E1306C;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.footer-right .sns-icon:hover {
  background-color: #c72b60;
}

@media screen and (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    padding: 0 20px;
  }

  .footer-left {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }

  .footer-left > div {
    /* ワンファームランドとコロンブスを縦並びに */
    margin: 0;
  }

  .footer-right {
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
  }

  .footer-right a {
    /* 横並び用にブロック解除 */
    display: inline-flex;
    margin-bottom: 0;
  }
}

/* 「利用者募集中」リンクを目立たせる */
.navbar-menu a.highlight-link {
  font-weight: 1000;  /* 太文字 */
  color: #ea300b;   
}

