:root {
      --color-main: #0070c9;
      --color-accent: #00b894;
      --color-bg: #f5f7fb;
      --color-border: #d7dde8;
      --color-text: #333;
      --color-danger: #e53935;
}

.inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}



/* ヒーロー */
.page-hero--contact {
  color: #333;
  padding: 80px 0;
  position: relative;
}
.page-hero--contact::before {
  content: "";
  position: absolute;
  inset: 0;
}
.page-hero--contact .page-hero__inner {
  position: relative;
  z-index: 1;
}




 /* 注意書きボックス */
.p-contact__notice {
  margin-bottom: 28px;
  padding: 16px 18px;
  background: #f5f7fb;
  border-left: 4px solid #0070c9;
  font-size: 16px;
}
.p-contact__notice-title {
  margin: 0 0 6px;
  font-weight: 600;
}
.p-contact__notice ul {
  margin: 0;
  padding-left: 1.2em;
}
.p-contact__notice li {
  margin-bottom: 3px;
}

/* バッジ（必須 / 任意） */
.p-contact__badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
  vertical-align: middle;
}
.p-contact__badge--required {
  background: #e53935;
  color: #fff;
}
.p-contact__badge--optional {
  background: #eee;
  color: #555;
}

/* フォームレイアウト */
.p-contact-form {
  background: #fff;
  padding: 24px 20px 28px;
  box-sizing: border-box;
}
.p-contact-form__row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}
@media (min-width: 768px) {
.p-contact-form__row {
    flex-direction: row;
    align-items: center;
    background: #f5f7fb;
    padding: 2%;
}
}

.p-contact-form__label {
  width: 100%;
  font-size: 16px;
}
@media (min-width: 768px) {
  .p-contact-form__label {
    max-width: 300px;
  }
}

.p-contact-form__label-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.p-contact-form__label-sub {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 6px;
}

.p-contact-form__field {
  flex: 1;
}

.p-contact-form__field input[type="text"],
.p-contact-form__field input[type="email"],
.p-contact-form__field input[type="tel"],
.p-contact-form__field textarea,
.p-contact-form__field select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #d4d8e4;
  font-size: 14px;
}
.p-contact-form__field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}

.p-contact-form__field input:focus,
.p-contact-form__field textarea:focus,
.p-contact-form__field select:focus {
  outline: none;
  border-color: #0070c9;
  box-shadow: 0 0 0 2px rgba(0,112,201,0.15);
  background: #fff;
}

/* ラジオの横並び */
.p-contact-form__inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
}
.p-contact-form__inline label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* プライバシーBOX */
.p-contact-form__privacy-box {
  font-size: 14px;
  line-height: 1.7;
  background: #f8fafc;
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px dashed #d4d8e4;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.p-contact-form__privacy-agree {
  font-size: 14px;
}
.p-contact-form__privacy-agree label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* エラー表示（行単位で .is-error を付与） */
.p-contact-form__error {
  display: none;
  margin: 4px 0 0;
  font-size: 11px;
  color: #e53935;
}
.p-contact-form__row.is-error .p-contact-form__error {
  display: block;
}
.p-contact-form__row.is-error input,
.p-contact-form__row.is-error textarea,
.p-contact-form__row.is-error select {
  border-color: #e53935;
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.15);
}

/* 送信ボタン */
.p-contact-form__actions {
  margin-top: 16px;
  text-align: center;
}
.p-contact-form__submit {
  display: inline-block;
  min-width: 260px;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  background: #0070c9;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.p-contact-form__submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.p-contact-form__submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.p-contact-form__note {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  padding: 16px;
}


/* エラー文言の非表示・表示切り替え */
.p-contact-form__error {
  display: none;
  margin: 4px 0 0;
  font-size: 11px;
  color: #e53935;
}

/* .is-error が付いた行は赤枠＋エラー文言表示 */
.p-contact-form__row.is-error .p-contact-form__error {
  display: block;
}
.p-contact-form__row.is-error input,
.p-contact-form__row.is-error textarea,
.p-contact-form__row.is-error select {
  border-color: #e53935;
  background: #fff7f7;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.15);
}


/* SP */
@media (max-width: 768px) {
.recruit-intro{
	padding: 48px 0 !important;
}
.recruit-jobs{
	padding: 48px 0 !important;
}
	
  /* 親をフレックスにして中央揃え */
  .recruit-flow .flow-list {
    display: flex;
    flex-direction: column;
    align-items: center; /* ★中央揃えの決め手 */
    padding-left: 0;
    padding-right: 0;
  }

  /* カードの幅は固定せず、中央で広がる */
  .recruit-flow .flow-item {
    width: 100%;
    max-width: 360px;  /* 好みで調整。320〜380でOK */
    margin-left: auto;
    margin-right: auto;
  }

  /* inner の左右余白も調整 */
  .recruit-flow .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
	
  .page-hero--recruit {
    padding: 56px 0;
  }
  .recruit-cta__body {
    flex-direction: column;
    align-items: flex-start;
  }
  .jobs-card {
    padding-bottom: 68px;
  }
	
/*******応募フォーム用****/
.job_slug{
	width: 100% !important;
}
.name{
	width: 100% !important;
}
.section {
    padding: 48px 0;
}
.inner_form{
	padding: 0;
}	
.p-contact-form{
	padding: 0;
}
.p-contact-form__row {
    background: #f5f7fb;
	padding: 5%;
}
.p-contact-form__row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}
.recruit-cta__lead {
    font-size: 18px;
    line-height: 1.8;
}
.p-contact-form__note {
    margin-top: 20px;
    padding: 16px;
}
}












