@charset "utf-8";

/*/////////////////////////////////////////////////////////////////////
    for PC  パソコン画面用（768px以上）
/////////////////////////////////////////////////////////////////////*/

@media only screen and (min-width:768px) {
    
    body {
        min-width: 960px;
    }

	
		/*==================================================
    お問い合わせ　h1  for PC
==================================================*/	
	
    #fv_box .inner {
        display:flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width:960px;
        height:200px;
        margin:20px auto 60px;
        background-image: url(../img/contact_h1_bg.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
    }
	#fv_box .inner h1 {
		font-size: 35px;
		width: 345px;
		line-height: 1.5;
		text-align: center;
		color: #fff;
		border-bottom: solid 1px #fff ;
	}
    #fv_box .inner p{
        font-size:17px;
        line-height:1.5;
        color:#fff;
        text-align:center;
    }

/*==================================================
    Main　お問い合わせフォーム  for PC
==================================================*/

    #formID {
        padding: 0px;
    }
    #formID table {
        width: 860px;
        margin: 0 auto 20px;
    }

    #formID tr {
    }

    #formID td,
    #formID th {
        padding: 20px;
        vertical-align: middle;
        white-space: nowrap;
        font-size: 18px;
        color: #000;
    }

    #formID th {
        width: 20%;
        background-color: #dadcef;
        border-left: 10px solid #0054af;
        vertical-align: center;
        font-weight: normal;
        text-align: left;
    }

    #formID td {
        vertical-align: middle;
    }

    #formID table {
        font-size: 14px !important;
        line-height: 1.6;
    }
    
    

    #formID input,
    #formID textarea {
        width: 100%;
        margin: 0;
        padding: 5px;
        border: 1px solid #b5b5b5;
        vertical-align: middle;
        font-size: 20px;
    }
    #formID textarea {
        height:100px;
    }
    #formID select {
        width: 100%;
        margin: 0;
        padding: 5px;
        background: url(../img/select_ya.png) right 10px center no-repeat #fff;
        font-size: 16px;

        /* セレクトボックスのデフォルトスタイルを無効にする */
        border: none;
        border-radius: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    #formID .select {
        width: 100%;
        border: 1px solid #ccc;
    }

    /*性別ほか labelタグ右側に余白*/
    #formID label {
        margin-right: 20px;
        vertical-align: middle;
    }
	
	#formID p {
        font-size: 14px;
    }

    #formID button {
        display: block;
        width: 460px;
        margin: 20px auto;
        border: none;
        background-color: #fff;
        cursor: pointer;
        color: #fff;
        background-color: transparent;
    }
    #formID button:hover {
        opacity: 0.5;
        transition: all 0.2s ease-in-out;
    }
 
}






/*/////////////////////////////////////////////////////////////////////
    for sp  スマホ画面用（767px以下）
/////////////////////////////////////////////////////////////////////*/


@media only screen and (max-width:767px) {
    body {
        width: 100%;
        font-size: 13px;
    }

	
	
			/*==================================================
    お問い合わせ　h1  for SP
==================================================*/	
	
    #fv_box .inner {
        display:flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width:100%;
        margin:20px auto 5%;
        background-image: url(../img/contact_h1_bg.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		padding: 5%;
    }
	#fv_box .inner h1 {
		font-size: 25px;
		width: 90%;
		line-height: 1.5;
		text-align: center;
		color: #fff;
		border-bottom: solid 1px #fff ;
	}
    #fv_box .inner p{
        font-size:15px;
        line-height:1.5;
        color:#fff;
        text-align:center;
    }
	

/*--------------------------------------------------
    Main　応募フォーム  for sp
--------------------------------------------------*/

    #oubo_form {
        width: 90%;
        margin: 0 auto 5%;
    }

    #formID table {
        width: 100%;
    }
    #formID td,
    #formID th {
        /*テーブルをSP版では縦並びにするため*/
        display: block;
    }

    #formID th {
        padding: 2% 0;
        /*border-left: 5px solid #74c32c;*/
        background-color: #dadcef;
		color:fff;
        font-size: 16px;
        line-height: 1.3;
        font-weight: normal;
    }
    #formID th {
        padding: 6px;
        vertical-align: middle;
        white-space: nowrap;
        color: #000;
    }

    #formID td {
        padding: 2% 0;
    }

    #formID input,
    #formID textarea {
        width: 100%;
        margin: 0;
        padding: 5px;
        border: 1px solid #b5b5b5;
        vertical-align: middle;
        font-size: 16px;
    }

    /*性別ほか labelタグ右側に余白*/
    #formID label {
        margin-right: 20px;
        vertical-align: middle;
    }

    #formID .select {
        border: 1px #b5b5b5 solid;
    }
    #formID select {
        width: 100%;
        margin: 0;
        padding: 5px;
        background: url(../img/select_ya.png) right 10px center no-repeat #fff;
        font-size: 13px;

        /* セレクトボックスのデフォルトスタイルを無効にする */
        border: none;
        border-radius: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    #formID button {
        display: block;
        width: 100%;
        margin: 20px auto;
        padding: 5%;
        border: medium none;
        cursor: pointer;
        color: #fff;
        background-color: transparent;
    }

    #formID button:hover {
        opacity: 0.5;
        transition: all 0.2s ease-in-out;
    }

}