@charset "utf-8";

.en{
    font-family: 'Century', serif !important;
}

/*==
    all 全体 初期設定
===============================================*/
/* html, body */
html, body {
    width: 100%;
    height: 100%;
    background: #ffffff;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
}

html{
    font-size: 62.5%;
}
body {
    position: relative;
	font-style: normal;
    font-family: 'Noto Serif JP', fantasy;
    font-weight: 400;
    font-size: 1.6em;/*=16px*/
    line-height: 1.7;
    margin: 0;
    padding: 0;
    height: auto;
    color: #000000;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;

}


/* 全体のラッパー */
#wrapper {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* リンクのデフォルト設定 */
/* inputのリセット */
input[type="file"] {
    /* 位置とサイズの調整 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    filter: alpha(opacity=0);
    opacity: 0;
}
input, button, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    resize: none;
    outline: none;
    background: none;
    font-family: "Noto Selif JP",sans-serif;
}
select::-ms-expand {
    display: none;
}

figure{
    margin: 0;
    padding: 0;
}

/*textareaのリセット */
/* selectのリセット */
/* 送信ボタンのリセット */
/* テキストのベーススタイル */
dd,
dt,
li,
p {
    margin: 0;
}

#main{
    position: relative;
}

/* インナーカラム */
.wrapper{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.wrap{
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
}


ul,ol{
    margin: 0;
    padding: 0;
    list-style: none;
}

a{
    color: #000;
    text-decoration: none;
}

a,a img{
    transition: 0.4s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

a:hover{
    text-decoration: none;
}
a img:hover{
    opacity: 0.6;
}


/* ------------------------------
    clearfix
------------------------------ */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

img{
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------------------------------------------
*  header
* --------------------------------------------------------------------------------------------------*/
#header_wrap{
    position: relative;
    width: 100%;
}
#header_wrap .wrap{
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
}

#header_wrap h1{
    text-align: center;
    margin: 25px auto 0 auto;
    padding: 0;
    width: 95%;
    max-width: 944px;
}

#header_wrap figure{
    position: relative;
    z-index: 1;
}
#header_wrap figure img{
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------------------------------------------
*  footer
* --------------------------------------------------------------------------------------------------*/
.footer {
    background :#63adef;
    padding: 15px 0;
    box-sizing: border-box;
}

.copyright p{
    text-align: center;
    font-size: 2.5vw;
    color: #FFF;
}



/* ----------------------------------------------------------------------------------------------------
*  main
* --------------------------------------------------------------------------------------------------*/
#main{
    position: relative;
    margin-top: -5vw;
    z-index: 5;
}
.deco_box{
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}
.deco_box:before,
.deco_box:after{
    display: block;
    content: '';
    margin: 0 auto;
    background: url(../img/img_deco.png) no-repeat center center;
    background-size: 100% auto;
    width: 100%;
    max-width: 988px;
    height: 10vw;
}
.deco_box:after{transform: scale(1, -1);}
.deco_box .boxIn{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.deco_box p{
    width: 100%;
    font-size: 5vw;
	font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #BD8F02;
    padding: 6px 6vw 14px 10px;
    box-sizing: border-box;
}

.deco_box span{
    position: absolute;
    right: 0;
    font-size: 4.5vw;
	font-weight: 700;
    margin-left: 3vw;
    color: #BD8F02;
}

.txt_box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 1vw auto 4vw auto;
    box-sizing: border-box;
}
.txt_box input{
    width: 32vw;
    margin: 0 auto;
    font-size: 5vw;
	text-align: right;
    border: 3px solid #585858;
    padding: 10px;
    box-sizing: border-box;
	border-radius: 6px;/*角の丸み*/

}

.txt_box label{
    position: absolute;
    left:calc(50% + 17vw );
    font-size: 4.0vw;
    margin-left: 2vw;
    font-weight: 500;
}

.btn_box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto 3vw auto;
    box-sizing: border-box;
}

.btn_box input{
    margin: 0 auto;
    width: 24vw;
    background: #2fb5e5;
    border-bottom: solid 4px #2892b8;
    border-radius: 3px;
	text-align: center;
    color: #FFF;
    font-size: 3.8vw;
    padding: 2vw 5vw 2vw 5vw;
    box-sizing: border-box;
    cursor: pointer;
}
.btn_box input:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;/*線を消す*/
}
.btn_box p.note{
    position: absolute;
    left:calc(50% + 15vw );
    font-size: 3vw;
    font-weight: 500;
}

/*フォームエラー*/
.error {
 text-align: center;
 background: red;
 margin: 0 auto 5vw auto;
 color: #fff;
 padding: 0.5vw 0;
 font-size: 1.4vw;
 width: 64%;
 max-width: 550px;
}

@media screen and (min-width: 1412px) {
    .deco_box input{
        font-size: 7.5vw;
    }
}
@media screen and (max-width: 1024px) {
    .deco_box p{
        font-size: 9vw;
        line-height: 1;
    }
    .error {
     font-size: 2.4vw;
    }
    .deco_box span{ bottom: 12vw;}

    .txt_box{
        margin: 3vw auto 5vw auto;
    }
    .txt_box input{
        width: 35vw;
        border: 2px solid #BD8F02;
		box-shadow:0px 0px 3px 2px rgba(0, 0, 0, 0.2) inset;
		
    }
    .txt_box label{
        left:calc(38% + 29vw );
    }
    .btn_box { margin-bottom: 5vw;}
    .btn_box input{
        width: 34vw;
        font-size: 4.3vw;
    }
    .btn_box p.note{
        left:calc(50% + 18vw );
    }

    .copyright p{
        font-size: 4.5vw;
		font-weight: 600;
    }

}
@media screen and (max-width: 414px) {
    .deco_box span{ bottom: 13vw;}
}

