@charset "UTF-8";

/* =========================
   CONTACT / FORM COMMON
========================= */
:root {
  --form-bg: #cfede9;
  --form-green: #45bfb7;
  --form-required: #d94343;
  --form-text: #403636;
  --form-border: #cfcfcf;
  --form-placeholder: #b9b9b9;
}

/* 共通 */
.taC {
  text-align: center;
}

br.sp{
  display: none;
}
@media (max-width: 768px) {
  br.sp{
    display: block;
  }
}

.em,
.required {
  color: var(--form-required);
}

/* =========================
   TOP CONTACT FORM
========================= */
.contact_sec {
  position: relative;
  background: #fff;
  padding: 80px 0 0;
  overflow: hidden;
}

.contact_inner {
  position: relative;
  padding: 0 16px;
}

.contact_head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: -12px;
}

.contact_title {
  margin: 0;
  color: var(--form-green);
  font-family: var(--font-ja-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

.contact_en {
  margin: 10px 0 0;
  color: #cfede9;
  font-family: var(--font-en);
  font-size: clamp(52px, 15vw, 100px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.06em;
}

.contact_form {
  position: relative;
  z-index: 1;
}

.contact_panel {
  background: var(--form-bg);
  border-radius: 24px 24px 0 0;
  padding: 32px 20px 72px;
}

/* =========================
   CONTACT 装飾追加
========================= */
/* =========================
   CONTACT 装飾追加
========================= */
.contact_shape {
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 35px; /* ←ここが重要 */
  display: block;
  fill: #f5f4e8;
  pointer-events: none;
}
.contact_sec {
  position: relative;
  background: #fff;
  padding: 80px 0 0;
  overflow: hidden;
}

/* 背景ドット */
.contact_sec::after {
  content: "";
  position: absolute;
  inset: -200%;
  z-index: 0;
  background-image: radial-gradient(rgb(150 179 173 / 24%) 0.8px, transparent 0.8px);
  background-size: 9px 9px;
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}


/* 中身はドットより前面 */
.contact_inner {
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

/* フォームの水色部分にはドットを出さない */
.contact_panel {
  position: relative;
  z-index: 3;
  background: var(--form-bg);
  border-radius: 24px 24px 0 0;
  padding: 32px 20px 72px;
}

.contact_inner {
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

/* 葉っぱ */
.contact_panel::before,
.contact_panel::after,
.contact_inner::before,
.contact_inner::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 4;
}

.contact_inner::before {
  top: -5px;
  left: -6px;
  width: 62px;
  height: 87px;
  background-image: url(../img/top_contact_obj_1.png);
}

.contact_inner::after {
  top: 216px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-image: url(../img/top_contact_obj_2.png);
}

.contact_panel::before {
  left: -15px;
  bottom: 112px;
  width: 32px;
  height: 100px;
  background-image: url(../img/top_contact_obj_3.png);
}

.contact_panel::after {
  right: -16px;
  bottom: 540px;
  width: 30px;
  height: 80px;
  background-image: url(../img/top_contact_obj_4.png);
}
@media (min-width: 769px) {
  body.page-form .site-header {
    position: absolute;
  }

  .contact_sec {
    padding-top: 160px;
  }
  .contact_shape {
    height: 100px;
  }

  .contact_inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 3%;
  }

  .contact_head {
    margin-bottom: -20px;
  }

  .contact_title {
    font-size: 38px;
    margin-bottom: 18px;
  }

  .contact_en {
    font-size: 90px;
    line-height: 0.8;
    font-weight: 600;
  }

  .contact_panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 56px 95px;
  }

  .contact_panel > * {
    max-width: 572px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ========= ラベル ========= */

  .form_group label,
  .form_label {
    margin-bottom: 6px;
    font-size: 17px;
  }

  /* ========= 共通入力 ========= */

  .form_group input,
  .form_group select {
    width: 572px;
    height: 58px;
    font-size: 16px;
  }

  .form_group textarea {
    width: 572px;
    min-height: 180px;
    font-size: 16px;
    line-height: 1.8;
  }

  /* ========= 郵便番号 ========= */

  .zip_row {
    max-width: 350px;
    grid-template-columns: 286px 140px;
    gap: 10px;
  }

  .zip_btn {
    height: 58px;
    font-size: 15px;
  }

  /* ========= ラジオ ========= */

  .work_select {
    width: 572px;
    gap: 6px;
    padding: 16px;
  }

  .work_select span {
    min-height: 46px;
    font-size: 14px;
  }

  /* ========= 半分幅 ========= */

  #budget,
  #preferred_date {
    width: 286px;
  }

  /* ========= 添付 ========= */

  .form_group input[type="file"] {
    width: 572px;
    padding: 16px;
    font-size: 14px;
  }

  /* ========= ボタン ========= */

  .contact_submit {
    margin-top: 52px;
  }

  .contact_submit_btn {
    min-height: 72px;
    font-size: 24px;
  }

  .contact_submit_circle {
    width: 48px;
    height: 48px;
  }
  /* ========= 葉っぱ　========= */
  .contact_inner::before {
    top: -1%;
    left: 8%;
    width: 95px;
    height: 95px;
  }
  .contact_inner::after {
    top: 10%;
    right: 20px;
    width: 30px;
    height: 30px;
}
  .contact_panel::after {
    right: -2%;
    bottom: 35%;
    width: 61px;
    height: 137px;
  }
  .contact_panel::before {
    left: -11%;
    bottom: 12%;
    width: 66px;
    height: 100px;
  }
}

/* =========================
   FORM INPUT
========================= */
.form_group + .form_group {
  margin-top: 10px;
}

.form_group label, .form_label {
  display: block;
  margin: 0 0 4px;
  color: var(--form-text);
  font-family: var(--font-ja-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}


.form_group label span,
.form_label span {
  color: var(--form-required);
  font-weight: 500;
}

.form_group input,
.form_group select,
.form_group textarea {
  width: 100%;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  background: #fff;
  color: var(--form-text);
  font-family: var(--font-ja-body);
  font-size: 18px;
  font-weight: 400;
  box-shadow: none;
  appearance: none;
}

.form_group input,
.form_group select {
  height: 45px;
  padding: 0 16px;
}

.form_group textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
  line-height: 1.2;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
  color: var(--form-placeholder);
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
  outline: 2px solid rgba(69, 191, 183, 0.35);
  outline-offset: 2px;
}

/* 郵便番号 */
.zip_row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 8px;
}

.zip_btn {
  height: 45px;
  border: 0;
  border-radius: 6px;
  background: var(--form-text);
  color: #fff;
  font-family: var(--font-ja-body);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

/* ご希望の施工 */
.work_select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #fff;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  padding: 14px 10px;
}

.work_select label {
  margin: 0;
  cursor: pointer;
}

.work_select input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

form .work_select span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px dotted #e3e3e3;
  border-radius: 8px;
  color: var(--form-text);
  background: #fff;
  font-family: var(--font-ja-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.work_select input:checked + span {
  border-color: var(--form-green);
  background: var(--form-green);
  color: #fff;
}

/* select */
.form_group select {
  background:
    linear-gradient(45deg, transparent 50%, #999 50%) right 18px center / 8px 8px no-repeat,
    linear-gradient(135deg, #999 50%, transparent 50%) right 12px center / 8px 8px no-repeat,
    #fff;
  padding-right: 42px;
}

/* =========================
   SUBMIT BUTTON
========================= */
.contact_submit,
.submitbtn {
  margin-top: 42px;
  text-align: center;
}

.contact_submit_btn,
input[type="submit"].chbtn,
input[type="submit"].send {
  position: relative;
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #45c3d8 0%, #72cc2f 100%);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  color: #fff;
  font-family: var(--font-ja-title);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.contact_submit_circle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.contact_submit_arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #6fc400;
}
.form_optional {
  display: inline-block;
  margin-left: 8px;
  color: #5ba3dd!important;
  font-size: 0.8em;
  font-weight: 500;
}

.form_note {
  margin: 8px 0 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.6;
}

.form_group input[type="file"] {
  height: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--form-border, #cfcfcf);
  border-radius: 6px;
  font-size: 14px;
}

#confirmation .form_tbl td {
  word-break: break-word;
}
/* =========================
   CONFIRM / FINISH PAGE COMMON
========================= */
body#confirmation,
body#finish {
  background: #fff;
}

@media (min-width: 769px) {
  body#confirmation,
  body#finish {
    background: #e9ece5;
  }
}

#confirmation,
#finish {
  padding: 0;
  overflow: hidden;
}

#confirmation #wrapper,
#finish #wrapper {
  position: relative;
  margin: 0 auto;
  padding: 105px 16px 0;
  background: #fff;
  overflow: hidden;
}

#confirmation #wrapper::after,
#finish #wrapper::after {
  content: "";
  position: absolute;
  inset: -200%;
  z-index: 0;
  background-image: radial-gradient(
    rgba(150, 179, 173, 0.3) 0.8px,
    transparent 0.8px
  );
  background-size: 9px 9px;
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}

#confirmation .confirm_head,
#finish .confirm_head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: -10px;
}

#confirmation section,
#finish section {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  background: var(--form-bg);
  border-radius: 24px 24px 0 0;
  padding: 40px 20px 72px;
}

#confirmation section > *,
#finish section > * {
  max-width: 572px;
  margin-left: auto;
  margin-right: auto;
}

#confirmation .ttl,
#finish .ttl {
  margin: 0 auto 24px;
  color: var(--form-text);
  font-family: var(--font-ja-title);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
}

/* =========================
   CONFIRM PAGE
========================= */
#confirmation .form_tbl table {
  width: 100%;
  border-collapse: collapse;
}

#confirmation .form_tbl th,
#confirmation .form_tbl td {
  display: block;
  width: 100%;
  color: var(--form-text);
  font-family: var(--font-ja-body);
  text-align: left;
}

#confirmation .form_tbl th {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

#confirmation .form_tbl td {
  margin-top: 4px;
  padding: 12px 16px;
  min-height: 45px;
  background: #ffffff63;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
}

#confirmation .submitbtn {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
  margin-top: 36px;
}

#confirmation input.backbtn {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  background: #766d6b;
  color: #fff;
  font-family: var(--font-ja-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

#confirmation input.send {
  width: 100%;
  min-height: 60px;
  font-size: 18px;
}

/* =========================
   FINISH PAGE
========================= */
#finish section p {
  color: var(--form-text);
  font-family: var(--font-ja-body);
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

#finish p.backbtn {
  margin: 28px auto 0;
  padding: 0;
  text-align: center;
}

#finish p.backbtn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-ja-title);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

/* 葉っぱ */
#confirmation .confirm_obj01,
#confirmation .confirm_obj02,
#confirmation .confirm_obj03,
#confirmation .confirm_obj04,
#finish .confirm_obj01,
#finish .confirm_obj02,
#finish .confirm_obj03,
#finish .confirm_obj04 {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 4;
}

.confirm_obj01 {
  top: 105px;
  left: -6px;
  width: 62px;
  height: 87px;
  background-image: url(../img/top_contact_obj_1.png);
}

.confirm_obj02 {
  top: 250px;
  right: -12px;
  width: 27px;
  height: 60px;
  background-image: url(../img/top_contact_obj_2.png);
}

.confirm_obj03 {
  left: -15px;
  bottom: 100px;
  width: 32px;
  height: 100px;
  background-image: url(../img/top_contact_obj_3.png);
}

.confirm_obj04 {
  right: -16px;
  bottom: 68%;
  width: 35px;
  height: 80px;
  background-image: url(../img/top_contact_obj_4.png);
}

/* =========================
   FORM RESPONSIVE
========================= */
@media (min-width: 769px) {
  #confirmation #wrapper,
  #finish #wrapper {
    max-width: none; 
    width:100%;
    padding: 150px 3% 0;
  }

  #confirmation .confirm_head,
  #finish .confirm_head {
    margin-bottom: -20px;
  }

  #confirmation .contact_title,
  #finish .contact_title {
    font-size: 38px;
    margin-bottom: 18px;
  }

  #confirmation .contact_en,
  #finish .contact_en {
    font-size: 90px;
    line-height: 0.8;
    font-weight: 600;
  }
  #confirmation section > *,
  #finish section > * {
    max-width: 572px;
  }

  #confirmation .ttl,
  #finish .ttl {
    margin-bottom: 0px;
    font-size: 38px;
  }

  #confirmation .form_tbl th {
    font-size: 17px;
  }

  #confirmation .form_tbl td {
    min-height: 45px;
    padding: 15px 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  #confirmation .submitbtn {
    margin-top: 52px;
  }

  #confirmation input.backbtn,
  #confirmation input.send {
    min-height: 72px;
    font-size: 20px;
  }

  #finish section p {
    font-size: 17px;
    line-height: 2;
  }

  #finish p.backbtn {
    margin-top: 42px;
  }

  #finish p.backbtn a {
    min-width: 300px;
    min-height: 72px;
    font-size: 22px;
  }

  .confirm_obj01 {
    top: 138px;
    left: calc(50% - 360px);
    width: 95px;
    height: 95px;
  }

  .confirm_obj02 {
    top: 380px;
    right: calc(50% - 425px);
    width: 40px;
    height: 60px;
  }

  .confirm_obj03 {
    left: -11%;
    bottom: 12%;
    width: 66px;
    height: 100px;
  }

  .confirm_obj04 {
    right: -2%;
    bottom: 35%;
    width: 61px;
    height: 137px;
  }
}
#finish .confirm_obj01,
#finish .confirm_obj02 {
  display: none;
}
/* =========================
   別ページの入力欄
========================= */
#input .contact_sec {
  padding: 100px 0 0;
}

/* =========================================================================
   MC 求人応募フォーム
=========================================================================*/
#input.jo_contact_page .contact_head {
  margin-bottom: -9px;
}
.jo_contact_page {
  --form-bg: #c8ef94;
  --form-green: #55bb00;
}

.jo_contact_sec .contact_title {
  color: #55bb00;
}

.jo_contact_sec .contact_en {
  color: #d9f5b5;
}

.jo_contact_panel {
  background: #c8ef94;
}

.job_select {
  display: grid;
  gap: 8px;
}

.job_select label {
  margin: 0;
  cursor: pointer;
}

.job_select input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.job_select span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 20px 0 70px;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  background: #fff;
  color: var(--form-text);
  font-family: var(--font-ja-body);
  font-size: 22px;
  font-weight: 700;
}

.job_select span::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 1px solid #b7e886;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.job_select input:checked + span::before {
  border-color: #55bb00;
  box-shadow: inset 0 0 0 5px #fff;
  background: #55bb00;
}

.jo_file_note {
  margin: -2px 0 6px;
  color: var(--form-text);
  font-size: 13px;
  line-height: 1.4;
}

.jo_contact_page .contact_submit_btn {
  background: #45bfb7;
}

.jo_contact_page .contact_submit_arrow {
  border-left-color: #45bfb7;
}

@media (min-width: 768px) {
  .job_select span {
    min-height: 74px;
    font-size: 24px;
  }
  #input .contact_sec {
    padding: 150px 0 0;
  }
  #input.jo_contact_page .contact_head {
    margin-bottom: -15px;
  }
}
/* =========================
   MC 求人応募（確認ページ含む）
========================= */

/* テーマカラー上書き */
.jo_contact_page {
  --form-bg: #c8ef94;
  --form-green: #55bb00;
}
.jo_contact_page .form_group.Profession label span {
  color:var(--color-brown);
  font-weight: 500;
}

/* タイトル */
.jo_contact_page .contact_title {
  color: #55bb00;
}

.jo_contact_page .contact_en {
  color: #c4eb96;
}

/* パネル */
.jo_contact_page .contact_panel, #confirmation.jo_contact_page section {
  background: #c4eb96;
}

/* 応募職種（ラジオUI） */
.job_select {
  display: grid;
  gap: 4px;
}

.job_select label {
  margin: 0;
  cursor: pointer;
}

.job_select input {
  position: absolute;
  opacity: 0;
}

.job_select span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 0 20px 0 70px;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* 丸ボタン */
.job_select span::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 1px solid #b7e886;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.job_select input:checked + span::before {
  background: #55bb00;
  box-shadow: inset 0 0 0 5px #fff;
}

/* ファイル欄 */
.jo_file_note {
  margin: -2px 0 6px;
  font-size: 13px;
  color: var(--form-text);
}

/* ボタンカラー調整 */
.jo_contact_page .contact_submit_btn {
  padding: 0px 48px 0px 10px;
}
#confirmation.jo_contact_page .confirm_obj02 {
  top: 350px;
}
#confirmation.jo_contact_page .confirm_obj04 {
  bottom: 350px;
}
@media (min-width: 768px) {
  .contact_submit_btn, input[type="submit"].chbtn, input[type="submit"].send{
    max-width: 350px;
  }
  .jo_contact_page .contact_submit_btn {
    max-width: 350px;
  }
  body.page-form {
    min-height: 100vh;
  }

  body.page-form .site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body.page-form #wrapper {
    flex: 1;
  }
  #finish #wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #finish section {
    width: 100%;
    max-width: 800px;
    flex: 1;
  }
}

@media screen and (width: 768px) and (height: 1024px) and (orientation: portrait) {
  /* iPad mini 縦向きのみ  */

  .contact_head {
    margin-bottom: -15px;
  }
  .contact_inner {
    padding: 0 40px;
  }
  form .work_select span {
    font-size: 18px;
  }
  .form_group label, .form_label {
    font-size: 18px;
  }
  .contact_title {
    font-size: 40px;
  }
  body.page-form,
  body.page-form .site-wrap,
  body.page-form #confirmation,
  body.page-form #finish {
    background: #fff;
  }

  #confirmation #wrapper,
  #finish #wrapper {
    width: 100%;
    max-width: none;
    padding: 150px 40px 0;
  }

  #confirmation section,
  #finish section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 56px 95px;
  }

  #confirmation section > *,
  #finish section > * {
    max-width: 572px;
    margin-left: auto;
    margin-right: auto;
  }

  #confirmation .contact_title,
  #finish .contact_title {
    font-size: 52px;
  }

  #confirmation .contact_en,
  #finish .contact_en {
    font-size: 90px;
  }

  #confirmation .ttl,
  #finish .ttl {
    font-size: 38px;
  }

  #confirmation .form_tbl th,
  #confirmation .form_tbl td,
  #finish section p {
    font-size: 18px;
  }

  /* 完了ページのフッター浮き対策もiPad miniだけ */
  body.page-form .site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body.page-form #wrapper {
    flex: 1;
  }
  #confirmation .confirm_head, #finish .confirm_head {
    margin-bottom: -15px;
  }
  #finish #wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #finish section {
    width: 100%;
    max-width: 800px;
    flex: 1;
  }
  #finish p.taC .sp {
    display: none !important;
}
}
