@charset "utf-8";

/* =========================================
   Contact subhead（recruit と統一）
========================================= */

.subhead--contact{
  position: relative;
  background: #d6c9b2;
  padding: 88px 0 92px; /* recruit と同じ */
}

.subhead--contact .subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px; /* recruit と同じ */
  box-sizing: border-box;
}

.subhead--contact .subhead__band{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px; /* recruit と同じ */
  text-align: center;

  /* 白系の左右グラデ（中央が一番白くなる） */
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.92) 18%,
    rgba(255,255,255,0.92) 82%,
    rgba(255,255,255,0) 100%
  );
}

/* 見出しスタイル（recruit と統一） */
.subhead--contact .subhead__eyecatch{
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead--contact .subhead__title{
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
}

/* ---------------------------
   Responsive（recruit と同じ）
---------------------------- */
@media screen and (max-width: 980px){
  .subhead--contact{
    padding: 72px 0 78px;
  }
  .subhead--contact .subhead__band{
    padding: 30px 18px 34px;
  }
}

@media screen and (max-width: 767px){
  .subhead--contact{
    padding: 52px 0 56px;
  }
  .subhead--contact .subhead__inner{
    padding: 0 16px;
  }
  .subhead--contact .subhead__band{
    padding: 22px 14px 26px;
    box-sizing: border-box;
  }
  .subhead--contact .subhead__title{
    font-size: 36px;
  }
}

/* =========================================
   Contact menu（本文＋リンク2つ）
========================================= */

.contact-menu{
  padding: 56px 0 90px;
}

.contact-menu__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-menu__lead{
  margin: 0 auto 34px;
  max-width: 980px;
  font-size: 22px; /* 標準22px */
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: center;
  color: #3b3b3b;
}

.contact-menu__links{
  display: flex;
  justify-content: center;
  gap: 28px;
}

.contact-menu__link{
  display: block;
  width: min(520px, 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-menu__link img{
  display: block;
  width: 100%;
  height: auto;
}

/* hover */
.contact-menu__link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

/* ======================================
   スマホ（～767px）
====================================== */
@media screen and (max-width: 767px){
  .contact-menu{
    padding: 36px 0 64px;
  }

  .contact-menu__inner{
    padding: 0 16px;
  }

  .contact-menu__lead{
    margin-bottom: 22px;
    font-size: 22px; /* 指定どおり22pxのまま */
    text-align: left; /* スマホは読みやすさ優先 */
  }

  .contact-menu__links{
    flex-direction: column;
    gap: 16px;
  }

  .contact-menu__link{
    width: 100%;
  }
}

/* =========================================
   Contact1 sub header
   - nursery subhead と統一（画像背景＋半透明パネル＋中央）
========================================= */

.subhead.subhead--contact1{
  position: relative;
  background: url("../images/contact/subhead.jpg") center center / cover no-repeat;
  padding: 88px 0 92px;
}

/* ※ .subhead__inner / .subhead__panel / 見出し系が
   すでに共通CSSで定義済みなら、ここは「上書き最小限」でOK */

.subhead--contact1 .subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.subhead--contact1 .subhead__panel{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px;
  text-align: center;

  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.72) 18%,
    rgba(255,255,255,0.72) 82%,
    rgba(255,255,255,0) 100%
  );
}


/* about と同じ見出しトーン（nursery と一致） */
.subhead--contact1 .section-about__eyecatch{
  margin: 0 0 2px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead--contact1 .section-about__title{
  margin: 6px 0 0;
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
  line-height: 1;
}

/* サブテキスト（nursery と一致） */
.subhead--contact1 .subhead__subtext{
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6e6358;
  line-height: 1;
}

/* ---------------------------
   Responsive（nursery と同じ思想）
---------------------------- */
@media screen and (max-width: 980px){
  .subhead.subhead--contact1{
    padding: 72px 0 78px;
  }
  .subhead--contact1 .subhead__panel{
    padding: 30px 18px 34px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px){
  .subhead.subhead--contact1{
    padding: 52px 0 56px;
  }
  .subhead--contact1 .subhead__inner{
    padding: 0 16px;
  }
  .subhead--contact1 .subhead__panel{
    padding: 22px 14px 26px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.82) 14%,
      rgba(255,255,255,0.82) 86%,
      rgba(255,255,255,0) 100%
    );
  }
  .subhead--contact1 .section-about__title{
    font-size: 36px;
  }
  .subhead--contact1 .subhead__subtext{
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}


/* =========================================
   Contact form（特養）
========================================= */

.contact-form{
  padding: 40px 0 110px;
}

.contact-form__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 全体の薄青パネル */
.contact-form__box{
  margin: 0 auto;
  padding: 34px 42px 44px;
  background: #eaf4ff;
  border-radius: 8px;
  box-sizing: border-box;
}

/* 1行 */
.form-row{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  padding: 14px 0;
}

.form-row--top{
  align-items: start;
}

.form-row__label{
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b5a47;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
	
}

.form-label{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #6b5a47;
}

.form-row__label label.form-label,
.form-row__label span.form-label{
  display: inline-block;
}

.form-required{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: #cf6b59;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.form-row__field{
  min-width: 0;
}

/* 入力 */
.form-text,
.form-textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.20);
  border-radius: 2px;
  padding: 12px 12px;
  font-size: 18px;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
}

.form-text::placeholder,
.form-textarea::placeholder{
  color: rgba(0,0,0,0.35);
}

/* ラジオ */
.form-radios{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
}

.form-radios--compact{
  gap: 12px 22px;
}

.form-radio{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #333;
}

.form-radio input{
  transform: translateY(1px);
}

/* 電話（3分割） */
.form-tel{
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-text--tel{
  max-width: 180px;
}

.form-tel__sep{
  color: rgba(0,0,0,0.45);
  font-size: 18px;
}

/* 注釈 */
.form-note{
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #cf6b59;
}

/* 罫線 */
.form-hr{
  margin: 20px 0 18px;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.25);
}

/* チェック */
.form-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #333;
}

.form-check input{
  width: 22px;
  height: 22px;
}

/* プライバシーボックス */
.policy-box{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.20);
  border-radius: 2px;
}

.policy-box__title{
  margin: 0;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.policy-box__body{
  padding: 14px 16px;
  max-height: 220px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.policy-box__body p{
  margin: 0 0 12px;
}

.policy-box__body ul{
  margin: 0 0 12px;
  padding-left: 1.4em;
}

.policy-box__body li{
  margin: 0 0 8px;
}

/* 送信 */
.form-actions{
  margin-top: 26px;
  text-align: center;
}

.form-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: #6b5a47;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.form-submit:hover{
  opacity: 0.9;
}

/* ======================================
   SP（～767px）
====================================== */
@media screen and (max-width: 767px){
  .contact-form{
    padding: 28px 0 80px;
  }

  .contact-form__inner{
    padding: 0 16px;
  }

  .contact-form__box{
    padding: 22px 16px 26px;
  }

  .form-row{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .form-row__label{
    font-size: 20px;
  }

  .form-tel{
    gap: 8px;
  }

  .form-text--tel{
    max-width: none;
    width: 30%;
  }

  .policy-box__body{
    max-height: 200px;
  }
}

/* =========================================
   1カラム化（個人情報保護方針ブロック用）
========================================= */

.form-row--onecol{
  grid-template-columns: 1fr; /* 左右分割をやめる */
  gap: 10px;
}

/* ラベルは横並び解除して上に配置 */
.form-row--onecol .form-row__label{
  justify-content: flex-start;
}

/* 右側だった入力ブロックも幅100%に */
.form-row--onecol .form-row__field{
  width: 100%;
}

/* チェック文言を中央寄せ（スクショの雰囲気に寄せるなら） */
.form-row--onecol .form-check{
  justify-content: center;
}

/* 注釈も中央寄せ */
.form-row--onecol .form-note{
  text-align: left;
}

/* ポリシーボックスは中央配置＋最大幅 */
.form-row--onecol .policy-box{
  width: 100%;
  margin: 14px 0 0; /* 中央寄せをやめる */
}

/* reset.cssで消えたリストの点を、プライバシーポリシー内だけ復活 */
.policy-box__body ul{
  list-style: disc;
  padding-left: 1.6em; /* 点のためのインデント */
  margin: 0 0 12px;
}

.policy-box__body li{
  list-style: disc; /* 念のため */
  margin: 0 0 8px;
}

/* =========================================
   Contact CTA Button（小さめ版）
========================================= */

.contact-cta{
  padding: 22px 0 80px;
}

.contact-cta__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* 幅を半分程度に：min(520px, 100%) */
.contact-cta__btn{
  width: min(520px, 100%);
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ea6d5c;
  color: #fff;
  text-decoration: none;

  border-radius: 999px;
  padding: 16px 64px; /* 高さも少し小さく */
  box-sizing: border-box;

  border: 0;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;

  transition: opacity 0.2s ease;
}

.contact-cta__btn:hover{
  opacity: 0.95;
}

.contact-cta__btn:focus-visible{
  outline: 3px solid rgba(234,109,92,0.35);
  outline-offset: 4px;
}

.contact-cta__icon{
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.contact-cta__icon img{
  height: 26px; /* 小さめ */
  width: auto;
  display: block;
}

.contact-cta__text{
  font-size: 28px; /* 45 → 28 */
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* Responsive */
@media screen and (max-width: 980px){
  .contact-cta__inner{
    padding: 0 24px;
  }
  .contact-cta__btn{
    padding: 14px 54px;
  }
  .contact-cta__text{
    font-size: 24px;
  }
  .contact-cta__icon{
    right: 20px;
  }
  .contact-cta__icon img{
    height: 22px;
  }
}

@media screen and (max-width: 767px){
  .contact-cta{
    padding: 12px 0 70px;
  }
  .contact-cta__inner{
    padding: 0 16px;
  }
  .contact-cta__btn{
    width: min(420px, 100%);
    padding: 14px 48px;
  }
  .contact-cta__text{
    font-size: 20px;
  }
  .contact-cta__icon{
    right: 18px;
  }
  .contact-cta__icon img{
    height: 20px;
  }
}

/* hidden属性の安全対策 */
[hidden]{
  display: none !important;
}

/* =========================================
   Confirm / Errors / Thanks
========================================= */

.form-errors{
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(234,109,92,0.12);
  border: 1px solid rgba(234,109,92,0.35);
}

.form-errors__title{
  margin: 0 0 8px;
  font-weight: 700;
  color: #6b5a47;
}

.form-errors__list{
  margin: 0;
  padding-left: 1.4em;
  list-style: disc;
  color: #6b5a47;
}

.confirm-list{
  display: grid;
  gap: 10px;
}

.confirm-row{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.confirm-row--top{
  align-items: start;
}

.confirm-label{
  font-size: 18px;
  font-weight: 700;
  color: #6b5a47;
}

.confirm-val{
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  word-break: break-word;
}

.confirm-actions{
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.confirm-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(240px, 100%);
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  background: #fff;
  color: #6b5a47;
  font-weight: 700;
  cursor: pointer;
}

.thanks-text{
  margin: 0;
  text-align: center;
  font-size: 22px;
  line-height: 2;
  color: #3b3b3b;
}

/* SP */
@media screen and (max-width: 767px){
  .confirm-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .confirm-label{
    font-size: 20px;
  }
  .confirm-val{
    font-size: 18px;
  }
}

/* =========================================
   Contact2 sub header（保育園）
   - 既存contact1と同じ構造で追加（subhead__panel を使う）
========================================= */

.subhead.subhead--contact2{
  position: relative;
  background: url("../images/contact/subhead2.jpg") center center / cover no-repeat;
  padding: 88px 0 92px;
}

.subhead--contact2 .subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* contact1同様：左右グラデの半透明帯（＝「先ほどのもの」） */
.subhead--contact2 .subhead__panel{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px;
  text-align: center;

  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.72) 18%,
    rgba(255,255,255,0.72) 82%,
    rgba(255,255,255,0) 100%
  );
}

/* テキスト（contact1と同トーン） */
.subhead--contact2 .section-about__eyecatch{
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead--contact2 .section-about__title{
  margin: 6px 0 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
  line-height: 1;
}

.subhead--contact2 .subhead__subtext{
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6e6358;
  line-height: 1;
}

/* Responsive */
@media screen and (max-width: 980px){
  .subhead.subhead--contact2{
    padding: 72px 0 78px;
  }
  .subhead--contact2 .subhead__panel{
    padding: 30px 18px 34px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px){
  .subhead.subhead--contact2{
    padding: 52px 0 56px;
  }
  .subhead--contact2 .subhead__inner{
    padding: 0 16px;
  }
  .subhead--contact2 .subhead__panel{
    padding: 22px 14px 26px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.82) 14%,
      rgba(255,255,255,0.82) 86%,
      rgba(255,255,255,0) 100%
    );
  }
  .subhead--contact2 .section-about__title{
    font-size: 36px;
  }
  .subhead--contact2 .subhead__subtext{
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}


/* =========================================
   Contact form（保育園）
   - 背景ピンク #f9ede9
   - 既存 .contact-form / .contact-form__box を上書き
========================================= */

/* セクション背景（外側） */
.contact-form.contact-form--nursery{
  background: #f9ede9;
}

/* 中のパネル色（スクショは薄いピンク面） */
.contact-form.contact-form--nursery .contact-form__box{
  background: rgba(255,255,255,0.55); /* ピンク上に淡い白面 */
}

/* =========================================
   Contact form（保育園）背景の修正
   - セクションは白
   - フォーム枠（box）だけピンク
========================================= */

/* セクション背景は白に戻す */
.contact-form.contact-form--nursery{
  background: #ffffff;
}

/* ピンクにしたいのは“フォームを包むボックス” */
.contact-form.contact-form--nursery .contact-form__box{
  background: #f9ede9;
}

/* =========================================
   2分割入力（姓・名 / セイ・メイ）を横並びに
========================================= */

/* ラッパー：2カラム */
.form-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

/* 1カラム内：ラベル（姓/名）＋入力 */
.form-split__item{
  display: grid;
  grid-template-columns: 44px 1fr; /* cap + input */
  gap: 8px;
  align-items: center;
}

.form-split__cap{
  color: #6b5a47;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

/* SPは縦積みでOKなら */
@media screen and (max-width: 767px){
  .form-split{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* =========================================
   Application（採用応募）
   - subhead：背景 #d8e1c0（recruit/contact2 と同じ見出しトーン）
   - フォーム：セクション白 / 箱だけ #eff4e1
========================================= */

.subhead.subhead--application{
  position: relative;
  background: #d8e1c0;
  padding: 88px 0 92px; /* contact2 と合わせる */
}

.subhead--application .subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* contact2 と同じ “左右グラデの半透明帯” */
.subhead--application .subhead__panel{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px;
  text-align: center;

  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.72) 18%,
    rgba(255,255,255,0.72) 82%,
    rgba(255,255,255,0) 100%
  );
}

/* 見出しテキスト（contact2 と同トーン） */
.subhead--application .section-about__eyecatch{
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead--application .section-about__title{
  margin: 6px 0 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
  line-height: 1;
}

.subhead--application .subhead__subtext{
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6e6358;
  line-height: 1;
}

/* Responsive（contact2 と同じ） */
@media screen and (max-width: 980px){
  .subhead.subhead--application{
    padding: 72px 0 78px;
  }
  .subhead--application .subhead__panel{
    padding: 30px 18px 34px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px){
  .subhead.subhead--application{
    padding: 52px 0 56px;
  }
  .subhead--application .subhead__inner{
    padding: 0 16px;
  }
  .subhead--application .subhead__panel{
    padding: 22px 14px 26px;
    background: linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.82) 14%,
      rgba(255,255,255,0.82) 86%,
      rgba(255,255,255,0) 100%
    );
  }
  .subhead--application .section-about__title{
    font-size: 36px;
  }
  .subhead--application .subhead__subtext{
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}

/* フォーム：セクション背景は白 */
.contact-form.contact-form--application{
  background: #ffffff;
}

/* 緑にしたいのは “フォームを包むボックス” */
.contact-form.contact-form--application .contact-form__box{
  background: #eff4e1;
}
