
@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

/* ----------------------------------
共通情報
---------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style:normal;
    font-size: 100%;
    vertical-align: baseline;
}
:focus {outline: 0;}
ol, ul {list-style: none;}
table {border-collapse: separate; border-spacing: 0;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, Roboto,"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 'メイリオ' , Meiryo, sans-serif;
    overflow-y: scroll;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, pre, code, input, textarea, select, button {
    font-family: -apple-system, BlinkMacSystemFont, Roboto,"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 'メイリオ' , Meiryo, sans-serif;
}
h1 {
    font-size: 24px;
}
h2 {
    font-size: 18px;
}
h3 {
    font-size: 16px;
}
a{
    color: red;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* CSS　variable */
:root {
    /* main color */
    --main-color:  #00246C;
    --main-border-color: rgba(0,0,0,0.2);
    --input-focus-color: #00246C;
}

/*----------------------------------------------------------- 
    body CSS
------------------------------------------------------------*/
body{
    margin: 0 auto;
}
/* メインコンテナ― */
.main_container{
    width: 980px;
    margin-top: 30px;
}

section{
    margin: 20px auto;
}

/* input 共通 */
input{
    padding: 5px 5px; /*ボックスを大きくする*/
    border: 2px solid #ddd; /*枠線*/
    border-radius: 3px; /*ボックス角の丸み*/
    box-sizing: border-box; /*横幅の解釈をpadding, borderまでとする*/
}
input:focus {
    border: 2px solid var(--input-focus-color);
}
select:focus {
    border: 2px solid var(--input-focus-color);
    z-index: 10;
}

select{
    padding: 5px 5px; /*ボックスを大きくする*/
    border: 2px solid #ddd;
    border-radius: 3px; /*ボックス角の丸み*/
}

iframe{
    border: none;
}
.header_iframe{
    width: 100vw;
}
.footer_iframe{
    width: 100vw;
}

/* main*/
main{
    margin: 0 auto;
    padding:5px;
}

/* main style*/
h1{
    padding: 5px;
    margin: 0;
    text-align: center;
    color: white;
    background-color:  var(--main-color);
}
h2{
    padding: 5px;
    text-align: center;
    color: white;
    background-color:  var(--main-color);
    background-color:  green;
    margin:0;
    border: solid 1px var(--main-border-color);
	font-weight: normal;
}
h3{
    padding: 5px;
    padding-left: 20px;
    text-align: left;
    color: white;
    background-color:  var(--main-color);
    margin:0;
    border: solid 1px var(--main-border-color);
	font-weight: normal;
}
.item_wrap{
    display: flex;
    flex-wrap:wrap;
    padding: 5px 0;
    border-right: 1px solid var(--main-border-color);
    border-bottom: 1px solid var(--main-border-color);
}
.item_title{
    width:250px;
    padding-left: 10px;
}
.item{
    width:500px;
    padding-left: 10px;
}
.errmsg{
    width:700px;
}
span.error_msg {
	font-weight: normal;
	color: #FF4040;
	display: block;
	margin: 0;
    width:95%;
    overflow-wrap: normal;
}
::placeholder {
    opacity: 0.5;
}
.main_footer{
    width: 100%;
    margin: 0 auto;
}
/* submit buttom */
button{
    appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    font-size:16px;
}
.btn_submit{
    position: relative;
    display: block;
    padding: 1em 2em 1em 1em;
    padding: 0.7em 1em 0.7em 0.7em;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    line-height: 1;
    background: #5bbee5;
    background: linear-gradient(to right, #5bbee5, #52ddae);
    text-indent: 0.1em;
    letter-spacing: 0.1em;
    border-radius: 0.5em;
    opacity: 1;
    /* スマホでクリックが効かない対応 これでも効かない*/
    cursor: pointer;
}
.btn_submit:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.5em;
    right: 1em;
    margin: auto;
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(45deg);
    transition: right 0.5s;
}
.btn_submit:hover:after{
    right: 0.5em;
}

.btn_back{
    width: 100%;
    margin: 0 auto;
}
.btn_back{
    position: relative;
    display: block;
    padding: 1em 2em 1em 1em;
    padding: 0.7em 1em 0.7em 0.7em;
    width: 25%;
    margin: 20px auto;
    color: #fff;
    text-align: center;
    line-height: 1;
    background: #e2e4e6;
    background: linear-gradient(to right,#cccccc,#dddddd);
    text-indent: 0.1em;
    letter-spacing: 0.1em;
    border-radius: 1.2em;
}
.btn_back:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1em;
    margin: auto;
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-left: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(-45deg);
    transition: left 0.5s;
}
.btn_back:hover:after{
    left: 0.5em;
}
.must{
    vertical-align: middle;
    width:40px;
    padding-right:3px;
}

/* エラーメッセージ用 */
.error_msg{
    color:red;
    padding:0 10px;
    font-size:14px;
}

/* --------------------------------------------------
	以上が 768pxを超えるＰＣ端末環境設定
----------------------------------------------------- */
/* --------------------------------------------------
	ここから 768px以下のタブレッド端末環境設定
----------------------------------------------------- */
@media screen and (max-width: 768px){
    /* メインコンテナ― */
    .main_container{
        width: 90vw;
    }
    .btn_back{
        width: 70%;
    }
}
/* --------------------------------------------------
	ここから 480px以下のモバイル端末環境設定
----------------------------------------------------- */
@media screen and (max-width:480px){
    h1 {
        font-size: 18px;
    }
    h2 {
        font-size: 14px;
    }
    h3 {
        font-size: 12px;
    }
    body{
        font-size: 16px;
    }
    /* メインコンテナ― */
    .main_container{
        width: 90vw;
    }
    .btn_back{
        width: 70%;
    }
    .error_msg{
        font-size: 14px;
    }
}