html {
  margin: 0;
  padding: 0;
}

/* ===== ベース設定 ===== */
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: #d87f29; /* オレンジ系 */
}

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

.navbar-menu li.dropdown > a::after {
  content: " ▼";
  font-size: 0.6rem;
  margin-left: 4px;
  color: #d87f29;
  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;
  }
}

/* コンテナ */
.container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 1;
}

/* 左側の色帯 */
.container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 150px;
  height: 100vh;
  background-color: #ffefdb;
  z-index: -1;
}

/* 右側の色帯 */
.container::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 150px;
  height: 100vh;
  background-color: #ffefdb;
  z-index: -1;
}

/* 基本画像ボックス */
.image-box {
  position: relative;
  min-height: 350px;
  margin: 40px 0;
  animation: slideIn 1s ease forwards;
  opacity: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  user-select: none;
}

/* 左側画像ボックス：幅最大650px、左にずらす */
.image-box:nth-child(odd) {
  width: 100%;
  max-width: 650px;
  transform: translateX(-80px);
  align-self: flex-start;
}

/* 右側画像ボックス：幅最大750px、右にずらす */
.image-box:nth-child(even) {
  width: 100%;
  max-width: 750px;
  transform: translateX(80px);
  align-self: flex-end;
}

/* アニメーション遅延 */
.image-box:nth-child(1) { animation-delay: 0s; }
.image-box:nth-child(2) { animation-delay: 0.2s; }
.image-box:nth-child(3) { animation-delay: 0.4s; }
.image-box:nth-child(4) { animation-delay: 0.6s; }
.image-box:nth-child(5) { animation-delay: 0.8s; }
.image-box:nth-child(6) { animation-delay: 1.0s; }
.image-box:nth-child(7) { animation-delay: 1.2s; }
.image-box:nth-child(8) { animation-delay: 1.4s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 画像は枠いっぱいに表示、縦横比維持 */
.image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  user-select: none;
}

/* テキストボックス（右下からはみ出す） */
.text-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: #fff;
  border: 2px solid #ffe76e;
  padding: 14px;
  min-width: 130px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
  user-select: none;
}

/* タイトル */
.text-box .title {
  color: #e9ca32;
  font-weight: bold;
  margin: 0;
  font-size: 18px;
}

/* サブタイトル */
.text-box .subtitle {
  color: #000;
  margin: 6px 0 0;
  font-size: 16px;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  /* コンテナの調整 */
  .container {
    padding: 30px 20px;
  }

  /* 画像ボックス縦並び */
  .image-box {
    width: 100%;
    transform: none;
    align-self: center;
    margin-bottom: 40px;
    position: relative;
  }

  /* 左右の画像ボックスを縦並びに */
  .image-box:nth-child(odd),
  .image-box:nth-child(even) {
    width: 100%;
    height: auto;
    transform: none;
    align-self: center;
  }

  /* テキストボックスを画像内に重ねる */
  .text-box {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #ffe76e;
    padding: 14px;
    min-width: 130px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    width: 80%;
  }

  /* タイトル */
  .text-box .title {
    color: #d87f29;
    font-weight: bold;
    margin: 0;
    font-size: 16px;
  }

  /* サブタイトル */
  .text-box .subtitle {
    color: #000;
    margin: 6px 0 0;
    font-size: 14px;
  }

  /* 左右の色帯幅を狭く */
  .container::before,
  .container::after {
    width: 20px;
    background-color: #ffefdb;
    z-index: -1;
  }
}

/* ===== recruit.css ===== */

/* タイトル */
.page-title {
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #d87f29; /* オレンジ系 */
  text-align: center;
  margin: 80px 0 50px 0;
}

/* 目次（活動内容） */
.recruit-content {
  font-family: 'Kosugi Maru', sans-serif;
  max-width: 700px;
  margin: 0 auto 10px auto; /* 下マージンを少なくして近づける */
  font-size: 1.2rem;
  line-height: 1.9;
  color: #444;
}

/* 目次見出し */
.recruit-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 18px;
  border-bottom: 3px solid #e9ca32; /* オレンジ */
  padding-bottom: 6px;
  color: #e9ca32;
}

/* 目次リスト */
.recruit-content ul {
  list-style-type: none; /* 黒丸消す */
  padding-left: 0;
  margin-bottom: 40px;
}

.recruit-content ul li {
  margin-bottom: 14px;
}

/* リンク */
.recruit-content ul li a {
  color: #e9ca32;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.recruit-content ul li a:hover,
.recruit-content ul li a:focus {
  color: #e9ca32;
  text-decoration: underline;
  outline: none;
}

/* お問い合わせセクション */
.contact-section {
  max-width: 700px;
  margin: 0 auto 80px auto;
  padding: 20px 20px;  /* ← 上下paddingを調整：30px → 20px */
  background-color: #fff4e0;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  color: #2c3e50;
  font-family: 'Kosugi Maru', sans-serif;
  text-align: center;
}


/* お問い合わせ見出し */
.contact-section h2 {
  font-size: 2rem;
  margin-top: 0;       /* ← 上の余白をなくす */
  margin-bottom: 20px; /* ← タイトルと説明文の余白はキープ */
  border-bottom: 3px solid #e9ca32;
  padding-bottom: 6px;
  color: #e9ca32;
}


.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* お問い合わせリンクボタン */
.contact-link {
  display: inline-block;
  background-color: #d87f29;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
  background-color: #b25f12;
  outline: none;
}

/* ===== レスポンシブ調整 ===== */
@media (max-width: 600px) {
  .page-title {
    font-size: 2.2rem;
    margin: 60px 0 40px 0;
  }
  .recruit-content {
    font-size: 1rem;
    max-width: 90%;
    margin-bottom: 30px; /* 近づけ */
  }
  .contact-section {
    padding: 20px 15px;
    max-width: 90%;
  }
}

/* 通常時は改行非表示 */
.br-mobile {
  display: none;
}

/* スマホだけ改行表示（例: 600px以下） */
@media (max-width: 600px) {
  .br-mobile {
    display: block;
    height: 0;
  }
}

.navbar-menu a.highlight-link {
  font-weight: 1000;  /* 太文字 */
  color: #ea300b;   
}

.blog-section {
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  max-width: 800px;
  font-family: 'Kosugi Maru', sans-serif;
}

.blog-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.blog-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #009688;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.blog-link:hover {
  background-color: #00796b;
}

/* スマホだけ表示される要素 */
.sp-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}
.menu-link-box {
  text-align: center;
  margin-top: 10px;
}

.menu-link {
  display: inline-block;
  font-size: 1rem;
  color: #009688;
  text-decoration: none;
  font-weight: bold;
  background-color: #e0f2f1;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s;
   margin-top: 0;
}

.menu-link:hover {
  background-color: #b2dfdb;
}


/* メニューリンクのスタイル */
.menu-inline-link {
  font-size: 1rem;
  background-color: #e0f2f1;
  color: #009688;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
  vertical-align: middle;
}

.menu-inline-link:hover {
  background-color: #b2dfdb;
}

/* スマホだけ改行（幅600px以下） */
.sp-break {
  display: none;
}

@media screen and (max-width: 600px) {
  .sp-break {
    display: inline;
  }
}
