/* ▼ セクション全体 */
section#form {
    /* background-color: #eee; */
    padding: 100px 20px;
  }
main p {
  padding : 0;
}  
  /* ▼ フォーム本体 */
  #entryform {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
  }
  
  /* ▼ 見出し */
  #form h4 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  
  /* ▼ 各ラベル */
  #entryform label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 1rem;
  }
  
  #entryform label span {
    color: red;
    margin-left: 4px;
  }
  
  /* ▼ 入力欄・テキストエリア共通 */
  #entryform input[type="text"],
  #entryform input[type="email"],
  #entryform textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #958e80;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    color: #958e80;
  }
  
  /* ▼ フォーカス時 */
  #entryform input[type="text"]:focus,
  #entryform input[type="email"]:focus,
  #entryform textarea:focus {
    border-color: #958e80;
    outline: none;
  }
  
  /* ▼ テキストエリア */
  #entryform textarea {
    height: 140px;
    resize: vertical;
  }
  
  /* ▼ 送信ボタン */
  #submitBtn {
    margin-top: 30px;
    padding: 14px 30px;
    font-size: 1rem;
    background-color: #8b7c6e;

    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  
  #submitBtn:hover {
    background-color: #958e80;
  }

  
  /* ▼ レスポンシブ対応 */
  @media screen and (max-width: 600px) {
    #entryform {
      padding: 20px 15px;
    }
  
    #form h4 {
      font-size: 1.5rem;
    }
  
    #submitBtn {
      font-size: 1rem;
      padding: 12px;
    }
  }

/**
 *JOB
 */
 /* ▼ セクションタイトル */
#join h3 {
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

#join h3 span {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
  color: #666;
}

/* ▼ タブ切り替えボタン */
#join .recruit-tabs {
  display: flex;
  justify-content: center;
}

#join .recruit-tabs .tab-button {
  padding: 1rem 5rem;
  border: none;
  background: #fff;
  font-size: 1.2rem;
  border : 1px solid #f7eee7;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

#join .recruit-tabs .tab-button.active {
  background: #f7eee7;
  font-weight: bold;
  border-bottom: 2px solid #f7eee7;
}

/* ▼ タブの中身切り替え */
#join .tab-content {
  display: none;
}

#join .tab-content.active {
  display: block;
}

/* ▼ 各職種ブロック（外枠：ベージュ） */
#join .recruit-block {
  background-color: #f7eee7;
  padding: 50px 50px 0;
  /* border-radius: 8px; */
}
#join .recruit-block:last-of-type {
  padding-bottom: 50px;
}
/* ▼ 内側ボックス（白） */
#join .recruit-inner {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* ▼ 見出し（職種名） */
#join .recruit-inner h4.position {
  font-size: 1.6rem;
  font-weight: bold;
  border-left: 6px solid #6b3e26;
  padding-left: 12px;
  margin-bottom: 30px;
  color: #333;
}


/* ▼ 詳細リスト（dl） */
#join .recruit-detail {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#join .recruit-detail dt {
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ccc;
  flex: 1 1 20%;
  padding: 1.2rem 2rem;
}

#join .recruit-detail dd {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
  line-height: 1.7;
  flex: 1 1 80%;
  padding: 1.2rem 2rem;
}

#join .recruit-detail ul {
  /* padding-left: 1.2em; */
  margin: 0;
  padding : 0;
}

/* #join .recruit-detail ul li {
  margin-bottom: 6px;
} */

/* ▼ 保育施設準備中メッセージ */
#join #tab2 p {
  text-align: center;
  font-size: 1.1rem;
  padding: 40px 10px;
  color: #555;
}
.list-star {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-star li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* SVG 星アイコン（黒）を背景画像で表示 */
.list-star > li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  /* transform: translateY(-50%); */
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.list-star li.list-star-sub::before  {
    /* content: none; */
}
.list-star li.list-star-sub ul {
    list-style: disc;
}
.list-star li.list-star-sub ul > li{
    padding-left: 0;
}

.liststyle-none {
    padding : 0;
    margin : 0;
    list-style: none;
}


.vacation-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 1rem;
}

.vacation-items li {
  position: relative;
  padding: 0;
}

.vacation-items li::after {
  content: "/";
  margin-left: 0.5em;
  color: #999;
}

/* 最後のliだけ区切り線なし */
.vacation-items li:last-child::after {
  content: "";
  margin: 0;
}

.point-star {
  position: relative;
  padding : 0 0 0 20px;
}

.point-star::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1.1em;
  height: 1.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M11.48 3.5a.562.562 0 0 1 1.04 0l2.13 5.11a.56.56 0 0 0 .47.34l5.52.44c.5.04.7.66.32.99l-4.2 3.6a.56.56 0 0 0-.18.56l1.28 5.39a.56.56 0 0 1-.84.61l-4.72-2.88a.56.56 0 0 0-.59 0L6.98 20.54a.56.56 0 0 1-.84-.61l1.29-5.38a.56.56 0 0 0-.18-.56L3.05 10.4a.56.56 0 0 1 .32-.99l5.52-.44a.56.56 0 0 0 .47-.34L11.48 3.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.point-asterisk {
  position: relative;
  padding-left: 1.3em;
  line-height: 1.6;
}

.point-asterisk::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 0.9em;
  height: 0.9em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath d='M8 0a1 1 0 0 1 1 1v5.268l4.562-2.634a1 1 0 1 1 1 1.732L10 8l4.562 2.634a1 1 0 1 1-1 1.732L9 9.732V15a1 1 0 1 1-2 0V9.732l-4.562 2.634a1 1 0 1 1-1-1.732L6 8 1.438 5.366a1 1 0 0 1 1-1.732L7 6.268V1a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.point-diamond {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.point-diamond::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpolygon points='12,2 22,12 12,22 2,12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.point-square {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.point-square::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='4' y='4' width='16' height='16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.point-star-outline {
  position: relative;
  padding: 0 0 0 20px;
  margin-top: 20px;
  line-height: 1.6;
}

.point-star-outline::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.48 3.5a.562.562 0 0 1 1.04 0l2.13 5.11a.56.56 0 0 0 .47.34l5.52.44c.5.04.7.66.32.99l-4.2 3.6a.56.56 0 0 0-.18.56l1.28 5.39a.56.56 0 0 1-.84.61l-4.72-2.88a.56.56 0 0 0-.59 0L6.98 20.54a.56.56 0 0 1-.84-.61l1.29-5.38a.56.56 0 0 0-.18-.56L3.05 10.4a.56.56 0 0 1 .32-.99l5.52-.44a.56.56 0 0 0 .47-.34L11.48 3.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.btn-apply {
  text-align: right;
  margin-top: 30px;
}

a.btn-apply{
  display: inline-block;
  background-color: #6d4d4b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

a.btn-apply:hover {
  background-color: #473432; /* 少し明るめの緑 */
}

/* ▼ レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #join h3 {
    font-size: 2rem;
  }


  #join .recruit-tabs .tab-button {
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  #join .recruit-inner h4.position {
    font-size: 1.3rem;
  }

  #join .recruit-inner {
    padding: 20px 15px;
  }
  #join .recruit-detail {
    flex-direction: column;
    border-top: 1px solid #ccc;
  }
  #join .recruit-detail dt {
    border-bottom: 0;
  }
  #join .recruit-detail dt,
  #join .recruit-detail dd {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  #join .recruit-block {
    padding : 50px 25px;
  }
}


/**
 * アコーディオン
 */
/* ▼ アコーディオン全体の初期状態（詳細は非表示） */
.recruit-detail {
  display: none;
  margin-top: 1em;
  padding: 1em;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ▼ タイトル（職種名）部分のスタイル */
.position {
  position: relative;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  padding: 1em;
  background-color: #fafafa;
  margin-bottom: 0.5em;
}
.recruit-block.active .position {
  background-color: #fff;
}

/* ▼ アコーディオンアイコン（＋） */
.accordion-icon {
  position: absolute;
  right: 1em;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.accordion-icon .line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.accordion-icon .line.vertical {
  transform: translateY(-50%) rotate(90deg);
}

.accordion-icon .line.horizontal {
  transform: translateY(-50%) rotate(0deg);
}

/* ▼ 開いているとき（active） */
.recruit-block.active .accordion-icon {
  transform: translateY(-50%) rotate(45deg); /* ＋を×風に */
}

.recruit-apply {
  margin-top: 1em;
  text-align: right;
}

.btn-apply {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #295D11;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-apply:hover {
  background-color: #3e8e1f;
}
#thankyou {
  margin-top : 200px;
}