@charset "utf-8";

#afterSchool {
  color:#001e43;
  /*background: #f3b7ba;*/
}
#afterSchool a {
  color: #ED2864;
}

/* -------------------------------
		Title
------------------------------- */
#afterSchool h2 {
  color:#001e43;
  text-align: center;
  padding-bottom: 40px;
}
#afterSchool h2 strong {
  border-bottom: 4px dotted #001e43;
  display: inline-block;
}
#afterSchool h2 strong span {
  color: #FFD000;
}
#afterSchool h2 img {
  width: 214px;
  display: block;
  margin: 0 auto 40px;
  border-radius: 0;
}
#afterSchool h2 .txt_s {
  font-size: 1.4rem;
  padding-bottom: 10px;
}
#afterSchool article .afterSchool-text {
  width: 800px;
  margin: 0 auto 80px;
}

/* -------------------------------
		bgWhiteBox
------------------------------- */
#afterSchool .bgWhiteBox {
  color: #774935;
  margin-bottom: 100px;
}
#afterSchool .bgWhiteBox small {
  padding-top: 0;
}
#afterSchool .bgWhiteBox dl dt {
  padding: 22px 0 22px 5%;
}
#afterSchool .bgWhiteBox dl dd {
  padding: 22px 0 18px;
}
#afterSchool .bgWhiteBox dl dd ul {
  background-color: transparent;
  padding: 0;
  margin-top: 0;
}
#afterSchool .bgWhiteBox dl dd ul li:first-of-type section {
  padding-bottom: 10px;
}
#afterSchool .bgWhiteBox dl dd ul section h3 {
  width: 60%;
  padding-left: 0;
  margin-top: 0;
}
#afterSchool .bgWhiteBox dl dd ul section h3 .txt_s {
  line-height: 2.2;
}
#afterSchool .bgWhiteBox dl dd ul section h3::before {
  display: none;
}
#afterSchool .bgWhiteBox dl dd ul section div {
  width: 30%;
}
#afterSchool .afterSchool-inquiry {
  text-align: center;
}
#afterSchool .afterSchool-inquiry h3 {
  font-size: 2.8rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  padding-bottom: 30px;
}

/* Button - Btn */
#afterSchool .btn {
  width: 280px;
  font-size: 1.4rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin: 0 auto;
}
#afterSchool .btn a {
  font-size: 1.8rem;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 30px;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1em;
  padding: 20px 0;
  position: relative;
  transition: ease .2s;
  display: block;
}
#afterSchool .btn a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  background:#fff;
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}
#afterSchool .btn a span {
  position: relative;
  z-index: 3;
  color: #ED2864;
  padding-top: 4px;
}
#afterSchool .btn a:hover {
  opacity: 1;
}
#afterSchool .btn a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
#afterSchool .btn a:hover span {
  color: #ED2864;
}

/* -------------------------------
		Animation - Paints
------------------------------- */
#afterSchool h2,
.afterSchool-inquiry {
  position: relative;
}
#afterSchool h2::before,
#afterSchool h2::after,
.afterSchool-inquiry h4::before,
.afterSchool-inquiry h4::after {
  content: "";
  position: absolute;
}
#afterSchool h2::before {
  width: 442px;
  height: 302px;
  background: url("../img_common/img_texture_yellow_06.png") no-repeat 0 0 / 442px 302px;
  animation: fuwafuwa4 2s infinite ease-in-out .2s alternate;
  top: -240px;
  left: -230px;
}
#afterSchool h2::after {
  width: 270px;
  height: 270px;
  background: url("../img_common/img_dot_08.png") no-repeat 0 0 / 270px;
  animation: fuwafuwa3 3s infinite ease-in-out .2s alternate;
  top: 480px;
  left: inherit;
  right: -160px;
  mix-blend-mode: multiply;
  z-index: -1;
}
.afterSchool-inquiry h4::before {
  width: 182px;
  height: 126px;
  background: url("../img_common/img_texture_yellow_03.png") no-repeat 0 0 / 182px 126px;
  animation: fuwafuwa4 2s infinite ease-in-out .2s alternate;
  top: -640px;
  right: -160px;
  z-index: -1;
}
.afterSchool-inquiry h4::after {
  width: 298px;
  height: 280px;
  background: url("../img_common/img_texture_pink_07.png") no-repeat 0 0 / 298px 280px;
  animation: fuwafuwa3 2.5s infinite ease-in-out .2s alternate;
  top: -300px;
  left: -200px;
  z-index: -1;
}


@media screen and (max-width: 896px) {


  #afterSchool article .afterSchool-text {
    width: 100%;
    margin-bottom: 40px;
  }

  /* -------------------------------
      bgWhiteBox
  ------------------------------- */
  #afterSchool .bgWhiteBox {
    margin-bottom: 40px;
  }
  #afterSchool .bgWhiteBox dl dd {
    padding-top: 4px;
  }
  #afterSchool .bgWhiteBox ul.listTypeB li {
    font-size: 1.4rem;
  }
  #afterSchool .bgWhiteBox dl dd small {
    padding-top: 8px;
  }
  #afterSchool .bgWhiteBox dl dt {
    padding-left: 0;
    padding-bottom: 0;
  }
  #afterSchool .bgWhiteBox dl dd ul section h3 {
    width: 100%;
  }
  #afterSchool .bgWhiteBox dl dd ul section div {
    padding-bottom: 10px;
    width: 100%;
  }
  #afterSchool .afterSchool-inquiry {
    text-align: center;
  }
  #afterSchool .afterSchool-inquiry h3 {
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
  }
  #afterSchool .afterSchool-inquiry .txt_s {
    line-height: 3;
  }
  #afterSchool .bgWhiteBox dl dd ul li:first-of-type section {
    padding-bottom: 0;
  }
  
  /* -------------------------------
      Animation - Paints
  ------------------------------- */
  #afterSchool h2::before {
    width: 240px;
    height: 143px;
    background-size: 240px 143px;
    top: -140px;
    left: -100px;
  }
  #afterSchool h2::after {
    width: 200px;
    height: 200px;
    background-size: 200px;
    top: 520px;
    right: -160px;
  }
  .afterSchool-inquiry h4::before {
    width: 110px;
    height: 76px;
    background-size: 110px 76px;
    right: -90px;
  }
  .afterSchool-inquiry h4::after {
    width: 160px;
    height: 150px;
    background-size: 160px 150px;
    left: -80px;
  }  
  


}

@media screen and (-webkit-min-device-pixel-ratio: 0) {/*Safari Only Hack*/
  _::-webkit-full-page-media, _:future, :root #afterSchool .btn a::before {
    content: none;
  }
  _::-webkit-full-page-media, _:future, :root #afterSchool .btn a:hover span {
    opacity: 0.6;
    color: #fff;
  }
}


/* ===== フォームセクション全体を白背景に ===== */
#recruit-form.formSection {
  background: #fff;               /* ← セクション自体の背景を白 */
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  margin-top: 32px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06); /* うっすら浮かせる（不要なら削除） */
}

/* 他要素のピンク背景が見えてしまう時の保険（より強い指定） */
.contentsArea #recruit-form.formSection { background: #fff; }

/* ===== ラベルやレイアウト ===== */
.recruitForm {
  display: grid;
  gap: 20px;
}

.recruitForm .formRow label {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.recruitForm .required::after {
  content: " 必須";
  color: #e74c3c;
  font-size: 0.9em;
  font-weight: 600;
  margin-left: .4em;
}

/* ===== 入力欄を“ピンク枠＋大きめ”に ===== */
:root {
  --pink: #ff69b4;       /* ビビッド */
  /* --pink: #f39ac8;   ← 少し淡い場合はこっちに差し替え可 */
}

.recruitForm input[type="text"],
.recruitForm input[type="email"],
.recruitForm input[type="date"],
.recruitForm input[type="tel"],
.recruitForm textarea {
  width: 100%;
  padding: 14px 16px;              /* ← 高さを大きめにする主因 */
  min-height: 54px;                /* ← 明示的に高さを確保 */
  border: 2px solid var(--pink);   /* ← ピンクの枠線 */
  border-radius: 10px;
  font-size: 1.05rem;              /* ← 文字もやや大きめに */
  line-height: 1.6;
  background: #fff;                /* 入力欄は白いまま */
  outline: none;
  box-sizing: border-box;
}

.recruitForm textarea {
  min-height: 160px;               /* テキストエリアはさらに余裕 */
  resize: vertical;
}

/* 気持ちよくフォーカスできるように */
.recruitForm input:focus,
.recruitForm textarea:focus {
  border-color: color-mix(in srgb, var(--pink) 85%, #000 15%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 20%, transparent 80%);
}

/* 氏名/カナの2列レイアウト（スマホは縦並び） */
.recruitForm .name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 896px) {
  .recruitForm .name-fields { grid-template-columns: 1fr; }
}

/* 送信ボタンも大きめに */
.recruitForm .submit-btn { text-align: center; }
.recruitForm .submit-btn button {
  padding: 14px 32px;
  min-height: 54px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  background: var(--pink);
  color: #fff;
  cursor: pointer;
  transition: transform .05s ease, filter .2s ease;
}
.recruitForm .submit-btn button:hover { filter: brightness(1.05); }
.recruitForm .submit-btn button:active { transform: translateY(1px); }

/* =====================================
   求人フォーム：文字が小さい問題の対策（フォーム内だけ）
   recruit.css の一番下に追記
===================================== */

/* フォーム内の基準フォントサイズを固定（rem依存を避ける） */
#recruit-form.formSection,
#recruit-form.formSection .recruitForm {
  font-size: 16px;     /* ← まずここが核 */
  line-height: 1.8;
}

/* ラベル・説明文も読みやすく */
#recruit-form.formSection h2,
#recruit-form.formSection p,
#recruit-form.formSection label {
  font-size: 16px;
  line-height: 1.8;
}

/* 入力欄：文字サイズをpxで固定（いまの1.05remを上書き） */
#recruit-form.formSection .recruitForm input[type="text"],
#recruit-form.formSection .recruitForm input[type="email"],
#recruit-form.formSection .recruitForm input[type="date"],
#recruit-form.formSection .recruitForm input[type="tel"],
#recruit-form.formSection .recruitForm textarea {
  font-size: 16px;
}

/* placeholder が小さすぎる対策 */
#recruit-form.formSection .recruitForm input::placeholder,
#recruit-form.formSection .recruitForm textarea::placeholder {
  font-size: 14px;
}

/* スマホは少しだけ大きめでもOK（好みで16〜17） */
@media (max-width: 896px) {
  #recruit-form.formSection,
  #recruit-form.formSection .recruitForm {
    font-size: 16px;
  }
}

/* =====================================
   btnColor（style.css）を confirm/thanks のボタンにも適用
   ※aだけでなくbuttonでも同じ見た目にする
===================================== */
#main .btnColor button{
  color: #fff;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  background-color: #ED2864;
  padding: 20px 50px;
  border-radius: 50px;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, .14);
  display: inline-block;
  border: none;
  cursor: pointer;
}

/* 2個並べるとき用（中央で自然に） */
#main .btnRow{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}