@charset "utf-8";
#inquiry {
position: relative;
} 

#inquiry .main_ttl{
    background-image: url("../img/common/head_blue.jpg");
    background-size: cover;
    position: relative;
}
#inquiry #breadcrumb {
    position: absolute;
    top:360px; 
    left: 0;
    z-index: 20;
    width: 100%;
    margin: 0; 
}


#inquiry #breadcrumb ol {
    margin: 0;
    padding-left: 2%; 
    padding-top: 10px; 
}

.wrap_inquiry {
    padding-top: 45vw; 
}
.wrap_inquiry{
	max-width: 700px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-bottom: 50px;
	padding-top: 1vw;
}
#inquiry .ttl{
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35px;
  /* font-family: "Noto Sans JP"; */
  font-weight: 500;
  text-shadow: 1px 1px 5px #535d64;
  font-family:"Makinas-Scrap-5", sans-serif;
  letter-spacing: 0.2em;
}
/* ===============================================
   注釈エリア
=============================================== */
#inquiry .comment {
    margin-top: 2em;
    margin-bottom: 4em;
}

#inquiry .comment p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

#inquiry .comment p a {
    display: inline !important;
    color: #192d79;
    font-weight: bold;
    text-decoration: underline;
}

/* ===============================================
   パンくずの再定義
=============================================== */
#inquiry #breadcrumb {
    position: relative; 
    top: auto;
    width: 100%;
    z-index: 20;
    margin-top: -30px;
    margin-bottom: 30px;
}


#inquiry.inquiry-recruit #breadcrumb {
    margin-top: max(-13.5vw, -240px);
    margin-bottom: min(13.5vw, 120px);
}

/* WP Forms プラグイン */
div#wpforms-36{
	max-width: 700px;
	width: 100%;
}
input#wpforms-36-field_6,
input#wpforms-36-field_7,
input#wpforms-36-field_1,
input#wpforms-36-field_2,
input#wpforms-36-field_8{
	max-width: 700px;
	width: 100%;
}
.wpforms-submit-container {
    text-align: center;
}
div.wpforms-container-full .wpforms-form .wpforms-submit-container{
	margin-top: 1.5em;
}
button#wpforms-submit-36{
	padding: 0px 70px;
	border-radius: unset;
}

/* ===============================================
   採用問い合わせページ専用
=============================================== */

/* 1. 背景画像と位置の再現 ♦ */
#inquiry.inquiry-recruit .main_ttl {
    background-image: url("../img/common/head_recruit.jpg");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 100 / 45;
    height: auto;
    top: -125px;
    margin-top: -125px;
    z-index: 10;
}

/* 2. 文字の位置とスタイル */
#inquiry.inquiry-recruit .ttl {
    position: absolute;
    top: 50%;
    left: 80%; /* 中央ではなく右寄りに ♠ */
    transform: translate(-50%, -50%);
    font-size: 35px;
    font-family: "Makinas-Scrap-5", sans-serif;
    font-weight: 200;
    letter-spacing: 0.2em;
    font-style: normal;
    text-shadow: 1px 1px 5px #535d64; /* 影も忘れずに ♦ */
    white-space: nowrap;
}

/* 3. パンくずの位置を画像の上に引き上げ */
#inquiry.inquiry-recruit #breadcrumb {
    position: relative;
    top: auto; /* inquiry.cssの360pxを解除 ♠ */
    margin-top: max(-13.5vw, -240px);
    margin-bottom: min(13.5vw, 120px);
    z-index: 20;
}

/* 4. コンテンツエリアの余白調整 */
#inquiry.inquiry-recruit .wrap_inquiry {
    margin-top: -5em; 
    position: relative;
    z-index: 20;
    padding-top: 0;
}



/* フォーム */
#form{
	margin: 0 auto;
	margin-bottom: 2.5em;
}

#inquiry.inquiry-recruit #breadcrumb {
  position: relative;
  width: 100%;
  z-index: 10;
  margin-top: max(-13.5vw, -240px);
  margin-bottom: min(13.5vw, 120px);
}
/* 新卒共有して隠す */
#wpforms-161-field_21-container,
#wpforms-161-field_24-container,
#wpforms-161-field_25-container,
/* 在学生用の2つの項目を隠す */
#wpforms-161-field_16-container,
#wpforms-161-field_26-container,
/* 新卒・既卒用の2つの項目を隠す */
#wpforms-161-field_22-container,
#wpforms-161-field_29-container,
/* 中途用の2つの項目を隠す */
#wpforms-161-field_17-container,
#wpforms-161-field_30-container {
    display: none;
}

/* ===============================================
   条件付き必須項目に、赤い必須マークを偽装
=============================================== */

/* 対象となる3つの項目（学校名・学部・学年）のラベルを指定 */
#wpforms-161-field_21-container .wpforms-field-label::after,
#wpforms-161-field_24-container .wpforms-field-label::after,
#wpforms-161-field_25-container .wpforms-field-label::after,
/* ▼ ここから問い合わせ内容 ♦ */
#wpforms-161-field_16-container .wpforms-field-label::after,
#wpforms-161-field_22-container .wpforms-field-label::after,
#wpforms-161-field_17-container .wpforms-field-label::after 
 {
    content: "（必須）";          /* 「（必須）」にしたい場合はここを書き換える */
    color: #ff0000;       
    font-weight: normal;    /* 細字（通常ウェイト）にする */
    margin-left: -5px;       /* 文字との間に少しだけ隙間を作る */
}

/* ===============================================
   WPForms 入力欄の「削れ」防止 
=============================================== */

/* 1. 全ての入力項目に強制的に「内側に枠線を含む」ルール */
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select {
    box-sizing: border-box !important;
    /* 念のため、フォーカス時のアウトラインが外に出ないようにする */
    max-width: 100% !important;
}

/* 2. 項目を囲むコンテナに余裕を持たせ、影が削れるのを防ぐ  */
.wpforms-field {
    overflow: visible !important; 
    padding-left: 2px !important;  
    padding-right: 2px !important;
}

/* 3. もしフォーカスした時に削れるなら、これも有効 */
.wpforms-form input:focus,
.wpforms-form textarea:focus {
    outline: none !important;
    /* 代わりに内側に影をつけて、外にはみ出させない*/
    box-shadow: inset 0 0 0 1px var(--color-primary) !important;
}


/* ===============================================
	reCAPTCHAを隠す
=============================================== */
.grecaptcha-badge {
    visibility: hidden;
}

/* ===============================================
	ブレイクポイント
=============================================== */

@media screen and (max-width: 1490px) {
 #inquiry.inquiry-recruit .main_ttl {
        top: -100px;
        margin-top: -100px;
    }
}

@media screen and (max-width: 1060px) {
  #inquiry.inquiry-recruit .main_ttl {
        top: -85px;
        margin-top: -85px;
    }
}

@media screen and (max-width: 768px) {
	#inquiry .ttl{
		margin-top: 0;
	}
    #inquiry #breadcrumb {
        top: 200px;
    }

    #inquiry.inquiry-recruit #breadcrumb {
        margin-top: -3vw;
    }
    #inquiry.inquiry-recruit .wrap_inquiry {
        margin-top: -3em;
	}

    #inquiry.inquiry-recruit .main_ttl {
        background-image: url("../img/common/head_recruit_sp.jpg");
        aspect-ratio: 192 / 125;
        top: -40px;
        margin-top: -50px;
    }

    #inquiry.inquiry-recruit .ttl {
        left: 70%;
        top: 58%;
        font-size: 30px;
        letter-spacing: 0.1em;
    }

}

@media screen and (max-width:600px){
	#inquiry .ttl{
		font-size: 30px;
	}
    #inquiry.inquiry-recruit #breadcrumb {
    margin-top: -4vw;
    }
}

@media screen and (max-width: 425px) {
	#inquiry .ttl{
		font-size: 24px;
		letter-spacing: 0.1em;
	}
	#inquiry .comment{
		margin-bottom: 4em;
	}
    #inquiry.inquiry-recruit #breadcrumb {
    margin-top: -6vw;
    }
}
@media screen and (max-width: 350px) {
  #inquiry.inquiry-recruit #breadcrumb {
    margin-top: -8vw;
  }
}
@media screen and (max-width:320px){
	
}
