@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");

.error_text{
    color: red;
}
.header_main{
    padding-bottom: 75.5px;
}
section{
  display: flex;
  flex-direction: column;
  align-items: center; 
}
.main_text_box{
    position: relative;
    z-index: 10;
    margin-left: 6%;
    --mb-min: 55;
    --mb-max: 124;
    margin-bottom: var(--mb-val);
    --f-min: 14;
  	--f-max: 16;
    line-height: 32px;
    letter-spacing: 0;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/* 1行目の上にある不要な余白を削る */
.main_text_box::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-top: -8px;
}

/* 最終行の下にある不要な余白を削る */
.main_text_box::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-bottom: -8px;
}
.required{
    margin-top: 2px;
    background: #F95858;
    padding: 0px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    width: max(40px, calc(40 / 1381 * 100vw));
    height: max(18px, calc(18 / 1381 * 100vw));
    font-size: max(12px, calc(12 / 1381 * 100vw));
  
    border-radius: max(12px, calc(12 / 1381 * 100vw));
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea{
    background: #F6F9F9;
    height: 60px;
    width: 100%;
	max-width: 695px;
    border-radius: 14px;
    padding: 15px 19px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none !important; /* 標準の青枠は消す */
    background-color: #ffffff;
    box-shadow: inset 0 0 0 2px #1F3B62 !important;
}
input[type="radio"] {
    appearance: radio;
    -webkit-appearance: radio;
    margin-right: 1rem;
}

input[type="checkbox"] {
    appearance: checkbox;
    -webkit-appearance: checkbox;
}

.job_category{
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-left: 2.1rem;
    margin-top: 29px;
}

.job_category label {
    display: inline-flex;
    align-items: center;
	--f-min: 14;
	--f-max: 14;
    font-weight: 500;
    letter-spacing: 0;
    gap: 8px;
    cursor: pointer;
    color: #233b5d;
}

.job_category label:last-child {
    border-bottom: none;
}

input[type="radio"].job_category_select {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none ;
    -webkit-appearance: none ;
    margin: 0 ;
    width: 11px ;
    height: 11px ;
    border-radius: 50% ;
    background-color: #fff ;
    border: 1px solid #fff ;
    display: inline-grid ;
    place-content: center ;
    box-sizing: border-box;
}

/* 中の「青いポッチ」 */
input[type="radio"].job_category_select::before {
    content: "" ;
    width: 5px ;
    height: 5px ;
    border-radius: 50% ;
    background-color: #233b5d ;
    transform: scale(0);
}

input[type="radio"].job_category_select:checked::before {
    transform: scale(1) ;
}

.job_category_select:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--job-radio-inner);
}

.l-main{
    padding-top: 2px;
    flex-grow: 1;
}

.form_box{
    display: flex;
    gap: 40px;
    flex-direction: column;
}

::placeholder {
    color: #C9CACC;
}

.form_box > div > div:first-child {
    font-weight: 700;
    color: #1a3668;
    margin-bottom: 15px;
	--f-min: 16;
  	--f-max: 16;
    display: flex;
    gap: 10px;
    position: relative;
    padding-left: 1.9rem;
    letter-spacing: 0;
	max-height: 24px;
}

.form_box > div > div:first-child::before{
    display: block;
    content: "";
    position: absolute;
    left: 0px;
    width: 4px;
    height: 4px;
    top: 4px;
    background-color: #fff;
    border: 5px solid #1F3B62;
    border-radius: 50%;
    box-sizing: content-box;
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    pointer-events: none;
}

/* =========================================
   ステップバー全体のスタイル（共通）
========================================= */
.step-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================================
   各ステップ（カプセル型）のスタイル
========================================= */
.step-item {
    font-family: "Zen Kaku Gothic New", sans-serif;
    width: 100px;
    padding: 18px 0;
    border-radius: 30px;
    text-align: center;
    --f-min: 10;
    --f-max: 16;
    background-color: transparent;
    color: #1F3B62;
    outline: 1px solid #1F3B62;
    box-sizing: border-box;
	letter-spacing: 0;
	
}

/* 現在地（アクティブ）のスタイル */
.step-item.is-active {
    background-color: #1F3B62;
    color: #ffffff;
}

/* =========================================
   間の装飾（点線と丸）のスタイル
========================================= */
.step-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 20px;
}
/* 点線を描画（擬似要素 before） */
.step-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    border-top: 2px dotted #8FA4B8;
    transform: translateY(-50%);
}

/* 丸ポッチを描画（擬似要素 after） */
.step-divider::after {
    content: "";
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  background-image: url('/assets/img/contact/arrow.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.submit-btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* =========================================
   ボタン本体のスタイル
========================================= */
.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 321px;
    max-height: 75px;
    padding: 28px 40px;
    background-color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.submit-btn:hover {
    opacity: 0.7;
}

/* =========================================
   中のテキスト
========================================= */
.submit-btn-text {
    color: #1a3668;
	--f-min: 13;
	--f-max: 13;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/* =========================================
   右側のアイコン（◎）
========================================= */
.submit-btn-icon {
    position: absolute;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    background-color: #1a3668;
    border-radius: 50%;
}

/* アイコンの中の「白いポッチ」 */
.submit-btn-icon::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}
/* 個人情報ボックス */
.privacy-lead {
	--f-min: 16;
  	--f-max: 16;
    font-weight: 600;
    color: #1a3668;
    margin-bottom: 13px;
    letter-spacing: 0;
}
.privacy-wrapper{
    margin-top: 60px;
}
.content_box{
  gap: 113px;
  margin-inline: auto;
  --mb-min: 93;
  --mb-max: 150;
  margin-bottom: var(--mb-val);
  width: 74%;
  max-width: 998px;
}
.post_number{
  width: 42%!important;
  min-width: 168px;
  max-width: 291px;
}

.contact_label textarea{
    height: 240px;
}

.privacy-box {
    height: 320px;
    letter-spacing: 0;
    width: 100%;
    max-width: 695px;
    background-color: #f7f9fa;
    border-radius: 12px;
    padding: 28px 18px 40px 38px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.privacy-scroll-area {
    position: relative; /* Perfect Scrollbar に必要 */
    max-height: 263px;
    overflow-y: auto;
    overflow: hidden; /* ライブラリが制御するため hidden に */
    padding-right: 20px; /* スクロールバー用の余白 */
}

.ps__rail-y {
    background-color: #e5e9ec !important;
    width: 6px !important;
    border-radius: 10px;
    opacity: 1 !important;
    right: 0 !important;
}

.ps__thumb-y {
    background-color: #21436F !important;
    width: 5px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
    right: 0 !important;
    transition: background-color .2s linear;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
    background-color: #142a46 !important;
    width: 6px !important;
}
.privacy-title {
    color: #21436F;
    --f-min: 16;
    --f-max: 18;
    --mt-min: 0;
    --mt-max: 14;
    margin-top: var(--mt-val);
    --mb-min: 13;
    --mb-max: 9;
    margin-bottom: var(--mb-val);
    font-weight: 700;
}

.privacy-list {
    margin: 0;
	--f-min: 14;
	--f-max: 14;
    line-height: 1.6;
    color: #333;
}

.privacy-list dt {
    font-weight: 700;
    margin-bottom: 4px;
    --f-min: 14;
    --f-max: 16;
}

.privacy-list dd {
    margin-left: 0;
    --mb-min: 35;
    --mb-max: 40;
    margin-bottom: var(--mb-val);
    --f-min: 14;
    --f-max: 16;
}

.privacy-list dd p,
.privacy-list ul li{
    --f-min: 14;
    --f-max: 16;
}

.privacy-list ul {
    margin: 10px 0;
    list-style-type: none;
}

.privacy-list ul li {
    text-indent: -1.2em;
    padding-left: 1.2em;
    margin-bottom: 4px;
}

.note {
	--f-min: 14;
  	--f-max: 16;
    color: #666;
    margin-top: 8px;
}

/* 769ピクセル以上 */
@media screen and (min-width: 769px) {
      .step-list {
        flex-direction: column;
     }
    .step-divider {
        width: 18px;
    }
        .step-item {
        width: 190px;
    }
    .step-divider {
        /* PC（縦並び）時のサイズ */
        width: 20px;
        height: 80px;
    }
    .step-divider::before {
        top: 0;
        left: 50%;
        width: 1px;
        height: 100%;
        border-top: none;
        border-left: 2px dotted #8FA4B8;
        transform: translateX(-50%);
    }
}
/* 768ピクセル以下 */
@media screen and (min-width: 500px) and (max-width: 768px) {
.step-divider{
  width: 40px;
}
}
@media screen and (max-width: 1000px) {
  .form_box > div > div:first-child{
    padding-left: 3rem;
  }
  .submit-btn{
    padding-left: 40px;
  }
  .content_box {
    width: 90%;
    gap: 5vw;
    padding-inline: 5.3333333333vw;
  }
  .step-item {
    width: 150px;
  }
}
@media screen and (max-width: 768px) {
	.form_box > div > div:first-child{
    margin-bottom: 15px;
    padding-left: 20px;
	}
	.step-navigation {
    margin: 0 0 47px 0;
	}

	.l-main{
    padding-top: 0px;
	}
    
	.header_main{
    padding-bottom: 95px;
	}
	.main_text_box{
        margin-inline: 5.3333333333vw;
	}
  .job_category{
      margin-left: 1rem;
      margin-top: 27px;
      gap: 19px;
  }
  .content_box{
      width: 100%;
  }
  .step-item{
      padding: 11.5px 0;
  }
  .step-divider::after {
    width: 8px;
    height: 8px;
  }
  /* プライバシー */
  .privacy-box{
      height: 400px;
      padding: 28px 18px 40px 30px;
  }
  .submit-btn{
      width: 77%;
      max-width: 257px;
  }
  .privacy-lead{
      line-height: 30px;
  }
  .privacy-list ul{
      margin: 0px 0;
  }
  .privacy-list ul li{
      padding-left: 0;
      text-indent: 0;
  }
  .privacy-list dd p,
  .privacy-list ul li{
      line-height: 28px;
  }
  .privacy-wrapper{
      margin-top: 58px;
  }
  .privacy-scroll-area{
      padding-right: 35px;
  }
}
@media screen and (max-width: 500px) {
    .step-divider{
        width: 18px;
    }
    .step-item{
        width: 100px;
    }
}
@media screen and (max-width: 374px) {
  .submit-btn{
    width: 100%;
    padding-left: 20px;
  }
  .submit-btn-icon{
    right: 20px;
  }
}
/* ------------------------------------------------
   確認ページ
   ------------------------------------------------ */
.kakunin .l-main,
.thanks .l-main{
	margin-right: 0;
  padding-top: 2px;
}

.kakunin .form_box{
	gap: 40px;
}
.kakunin .l-main .form_box > div{
      margin-bottom: 40px;
    }
.kakunin .kakunin_title,
.thanks .kakunin_title{
    color: #21436F;
    font-size: 24px;
    font-weight: 600;
	letter-spacing: 0;
	margin-bottom: 10px;
}
.kakunin .kakunin_title{
      line-height: 42px;
      margin-bottom: 78px;
  }
.kakunin .contact_area .text{
    height: 240px!important;
}
.kakunin .contact_box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.kakunin .contact_box form {
    width: 100%;
    max-width: 239px;
}
.kakunin .form_box > div:not(.btn_block) > div:nth-child(2){
  font-family: "Zen Kaku Gothic New", sans-serif;
    margin-top: 15px;
    letter-spacing: 0;
    margin-inline: 0;
    --f-min: 14;
    --f-max: 16;
    background-color: #D3DDE2;
    padding: 18px 20px;
    border-radius: 14px;
    min-height: 60px;
}
/* 戻る送信ボタン装飾 */
.kakunin .btn_denial, 
.kakunin .btn_approval {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 100%;
    max-width: 239px;
    height: 76px;
    border-radius: 38px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.kakunin .btn_denial:hover, 
.kakunin .btn_approval:hover {
    opacity: 0.8;
}
.kakunin .btn_denial {
    background-color: #ffffff;
    color: #26436b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.kakunin .btn_denial::before {
    content: "";
    display: block;
    box-sizing: content-box;
    width: 6px; 
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 13px solid #26436b; 
}
.kakunin .btn_approval {
    background-color: #26436b;
    color: #ffffff;
}
.kakunin .btn_approval::after {
    content: "";
    display: block;
    box-sizing: content-box;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #26436b;
    border: 13px solid #ffffff;
}
@media screen and (max-width: 768px) {
  .kakunin .form_box{
    gap: 0px;
  }
  .kakunin .contact_box{
    flex-direction: column;
    align-items: center;
  }
  .kakunin .step-navigation {
    margin: 0 0 57px 0;
  }
  .kakunin .kakunin_title{
    line-height: 48px;
  }
  .kakunin .l-main .form_box > div.kakunin_title{
    margin-bottom: 78px;
  }
  .kakunin .kakunin_title::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-top: calc((1em - 48px) / 2);
    margin-bottom: calc((1em - 48px) / 2);
  }
}
/* ------------------------------------------------
   サンクスページ
   ------------------------------------------------ */
.thanks .content_box{
    margin-left: 13.5%;
    margin-right: 5%;
    width: auto;
    max-width: 100%;
    gap: clamp(20px, 10vw, 113px);
}
.thanks_text{
  letter-spacing: 0;
  line-height: 32px;
  --f-min: 14;
  --f-max: 16;
}
.thanks .tel-component-wrapper {
    display: flex;
    align-items: center;
    gap: 19px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.5;
    text-align: left;
    margin-top: 50px;
}
.thanks .tel-component-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.thanks .tel-component-wrapper .tel-icon {
    width: 67px;
    height: 67px;
    border: 1px solid #21436F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.thanks .tel-component-wrapper .tel-icon span {
    font-family: 'Albert Sans';
    --f-min: 18;
    --f-max: 19;
    font-weight: 400;
    letter-spacing: 0;
    color: #21436F;
}
.thanks .tel-component-wrapper .tel-content {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
}
.thanks .tel-component-wrapper .tel-link {
    font-family: 'Albert Sans';
    --f-min: 37;
    --f-max: 40;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    color: #21436F;
    line-height: 1;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.thanks .tel-component-wrapper .tel-link:hover {
    opacity: 0.7;
}
.thanks .tel-component-wrapper .tel-hours {
    font-family: "Zen Kaku Gothic New", sans-serif;
    --f-min: 14;
    --f-max: 16;
    letter-spacing: 0;
}
@media screen and (max-width: 768px) {
  .thanks .pc {
    display: none;
  }
  .thanks .header_main{
        padding-bottom: 95px;
    }
    .thanks .content_box{
      margin-left: 0%;
      margin-right: 0%;
      --mb-min: 97;
    }
    .thanks .step-navigation{
      margin: 0 0 47px 0;
    }
    .thanks .kakunin_title{
      line-height: 42px;
    }
    .thanks .form_box{
      gap: 23px;
    }
    .thanks .thanks_text{
      line-height: 28px;
    }
    .thanks .tel-component-wrapper{
      margin-top: 29px;
      gap: 18px;
    }
    .thanks .tel-component-wrapper .tel-icon{
      width: 64px;
      height: 64px;
    }
}