@charset utf-8;



/** ============================================================================


	フォームタグのカスタマイズCSS

	@version 1.1   2018.6.19
	@author        K.Sekioka of HEVIZ Co.,Ltd.


================================================================================ **/




/** --------------------------------------------------------

	label

------------------------------------------------------------ **/



label {
    padding: 0 3px;
    box-sizing:border-box;
    font-weight: 400;
}



/** -------------------------------------------------------


    Input Common


----------------------------------------------------------- **/


input,
textarea,
select {
    display : inline-block;
    vertical-align: middle;
    
    width : 99%;
    height : 30px;
    line-height : 30px;
    margin : 0;
    padding : 0 10px;
    box-sizing : border-box;

    color : #231815;
    font-family:'Noto Sans JP', 'Yu Gothic Medium', 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
    font-size:14px;
    
    background-color : #f0f0f0;
    box-shadow : 0px 0px 0px 0px;
    border : 0;
    border-radius : 0;
    transition : all 0.2s;
    
    -webkit-appearance : none;
/*    -moz-appearance : textfield; */
    appearance : none;
}
input::-ms-expand,
textarea::-ms-expand,
select::-ms-expand {
    display: none;
}


/* placehholder */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder { color:#ccc; }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder      { color:#ccc; }
input::-moz-placeholder,
textarea::-moz-placeholder          { color:#ccc; }
input::placeholder,
textarea::placeholder               { color:#ccc; }


/* forcus */
input:focus,
textarea:focus,
select:focus {
    outline : none;
    background-color:#f3f8fc;
}


/* disabled */
input[disabled],
textarea[disabled],
select[disabled] {
    color:#cccccc;
    background-color:transparent;
    cursor:not-allowed;
}


/* autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f3f8fc inset;
}



/** text ---------------------------------------------------- **/

input[type="text"] {
}


/** Search -------------------------------------------------- **/

input[type="search"] {
}

/** EMail --------------------------------------------------- **/

input[type="email"] {
}


/** TEL --------------------------------------------------- **/

input[type="tel"] {
}


/** PASSWORD ---------------------------------------------- **/

input[type="password"] {
}


/** NUMBER ------------------------------------------------ **/

input[type="number"] {
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/** File -------------------------------------------------- **/

input[type="file"] {
    display:none;
}

input[type="file"]+label {
    display : inline-block;
    height : 30px;
    line-height : 30px;
    margin : 0;
    padding : 0 20px;
    color : #ffffff;
    background-color : #222222;
    cursor:pointer;
}

input[type="file"]+label:hover {
    background-color : #258fe9;
}

input[type="file"][disabled]+label {
    color:#cccccc;
    background-color:#f0f0f0;
    border-color:#f0f0f0;
    cursor:not-allowed;
}



/** Submit, Button ---------------------------------------- **/

input[type="submit"],
input[type="button"] {
    padding:0 30px;
    color : #ffffff;
    background-color : #222222;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
	display: none;
}

input[type="submit"]:hover,
input[type="button"]:hover {
	outline : none;
	color : #ffffff;
	background-color:#258fe9;
}

input[type="submit"]:focus,
input[type="button"]:focus {
	outline : none;
	color : #231815;
	background-color:#f3f8fc;
}

/* disabled */
input[type="submit"][disabled],
input[type="button"][disabled] {
	color:#cccccc;
	background-color:#f0f0f0;
	cursor:not-allowed;
}



/** textarea ---------------------------------------------- **/

textarea {
	height:10em;
	line-height:1.5;
	padding:5px 10px;
}



/** -------------------------------------------------------

    Select Box

    <select id="select"></select><label for="select"></label>

----------------------------------------------------------- **/

select {
    background-image:url(../img/down.svg);
    background-position: right 10px top 45%;
    background-repeat: no-repeat;
}

/*
select+label {
	display:inline-block;
	position:relative;
    vertical-align: middle;
	height:30px;
	margin:0;
	padding:0;
}

/*
select+label::before {
    content: "";
    display: block;
    position: absolute;
    left: -25px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -6px 0 0 0;
    padding: 0;
    
    background-color:transparent;
    border-top:3px solid #222222;
    border-right: 3px solid #222222;
    transform: rotate(135deg);
    opacity: 1;
    transition: all 0.3s;
}

select:focus+label::before {
    transform: rotate(-45deg);
    margin: -3px 0 0 0;
}

select[disabled]+label::before {
    opacity: 0;
}
*/

/* placeholderの代わり */
select option:nth-of-type(1) {
    display: none;
    color:#ccc;
}

select option {
    min-height: 30px;
    padding: 0px 2px;
}


/** ----------------------------------------------------------------------------

	Checkbox with Label

    <input type="checkbox" id="checkbox"><label for="checkbox"></label>

-------------------------------------------------------------------------------- **/

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    display:inline-block;
    position:relative;
    margin: 5px;
    padding:0 1em 0 28px;
/*    line-height:30px; */
}

input[type="checkbox"] + label:before {
    display: block;
    position: absolute;
    content: "";

    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    margin:-10px 0 0 0;

    box-shadow : 0px 0px 5px 2px #eeeeee inset;
    border : 1px solid #dddddd;
    border-radius: 0;
    background-color:#ffffff;
    transition:all 0.3s;
}


input[type="checkbox"] + label:after {
    display: block;
    position: absolute;
    content: "";

    left:5px;
    top:50%;
    width:10px;
    height:18px;
    margin:-15px 0 0 0;
    padding:0;

    border-right: 4px solid #333333;
    border-bottom: 4px solid #333333;
    transform: rotate(45deg);
    transition:opacity 0.2s;
    opacity:0;
}

/* checked */
input[type="checkbox"]:checked + label:before {
}

input[type="checkbox"]:checked + label:after {
    opacity:1;
}


/* disabled */
input[type="checkbox"][disabled] + label {
    color:#aaaaaa;
}

input[type="checkbox"][disabled] + label:before {
    box-shadow : 0px 0px 0px 0px;
    background-color:#f0f0f0;
    border-color : #f0f0f0;
    cursor:not-allowed;
}



/** ----------------------------------------------------------------------------

	Radio Button + Label

    <input type="checkbox" id="radio"><label for="radio"></label>

-------------------------------------------------------------------------------- **/

input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    display:inline-block;
    position:relative;
    margin: 5px;
    padding:0 1em 0 28px;
    line-height:30px;
}

input[type="radio"] + label:before {
    display: block;
    position: absolute;
    content: "";

    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    margin:-10px 0 0 0;

    box-shadow : 0px 0px 5px 2px #eeeeee inset;
    border : 1px solid #dddddd;
    border-radius:11px;
    background-color:#ffffff;
    transition:all 0.3s;
}

input[type="radio"] + label:after {
    display: block;
    position: absolute;
    content: "";
    left:0;
    top:50%;
    width:14px;
    height:14px;
    margin:-6px 0 0 4px;
    padding:0;

    background-color:#333333;
    border-radius:7px;
    transition:opacity 0.2s;
    opacity:0;
}


/* checked */
input[type="radio"]:checked + label:before {
}

input[type="radio"]:checked + label:after {
    opacity:1;
}


/* disabled */
input[type="radio"][disabled] + label {
    color:#aaaaaa;
}

input[type="radio"][disabled] + label:before {
    box-shadow : 0px 0px 0px 0px;
    background-color:#f0f0f0;
    border-color : #f0f0f0;
    cursor:not-allowed;
}



/** ----------------------------------------------------------------------------

	ファイルドロップ用

-------------------------------------------------------------------------------- **/

.fileDrop {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 0;
}


/* ドロップ部分 --------------------------- */

.fileDrop .area {
	display:block;
	position:relative;
    width: 60%;
	margin:0;
	padding:50px 10px;
	box-sizing:border-box;

	color:#231815;
	text-align:center;
	border:1px dashed #231815;
	background-color:#fffffff;
	transition:all 0.3s;
	cursor:crosshair;
}

/* Drag Over */
.fileDrop .area.over {
	border-color:#aa0000;
	background-color:#ffcccc;
}

/* Disabled */
.fileDrop .area.disabled {
    border:0;
    padding: 10px;
    background-color:transparent;
}


/* ファイル一覧 ------------------------------ */

.fileDrop .files {
    display: block;
    position: relative;
    width: 37%;
    margin: 0 0 0 3%;
    padding: 0;
    box-sizing: border-box;
    
    border:1px solid #444444;
}

.fileDrop .files > ul {
    margin: 0 10px 10px 10px;
    padding: 0;
}

.fileDrop .files > ul > li {
    margin: 10px 0 0 0;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
}


/* 各ファイル ------------------------------ */

.fileDrop .file {
    display: block;
    position: relative;
    margin: 0;
    padding: 10px 30px 10px 10px;
    border:1px solid #ffaaaa;
}

.fileDrop .file p {
    margin: 0;
    padding: 0;
    word-break: break-all;
}

.fileDrop .file p.date {
    font-size: 10px;
}


.fileDrop .file p.err {
    color:#ff0000;
}

.fileDrop .file .status {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color:#ffaaaa;
}

.fileDrop .file .status .bar {
    display: block;
    position: relative;
    width: 1px;
    height: 2px;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
    background-color: #ff8888;
}

.fileDrop .file .delete {
    display: block;
    position: absolute;
    right: 5px;
    top: 50%;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
}

.fileDrop .file .delete a {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.fileDrop .file .delete a::before,
.fileDrop .file .delete a::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    background-color: #444444;
    transition: all 0.3s;
}
.fileDrop .file .delete a::before { transform: translate(-50%, -50%) rotate(45deg); }
.fileDrop .file .delete a::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.fileDrop .file .delete a:hover::before,
.fileDrop .file .delete a:hover::after {
    background-color: #cf1380;
}


/* アップロード済 */

.fileDrop .file.ready {
    border-color:#aaaaaa;
}

.fileDrop .file.ready .status {
    display: none;
}



/** Responsive for Smart Phone ---------------------------- **/

@media all and (max-width: 767px) {
 
    
    .fileDrop {
        display: block;
    }


    /* ドロップ部分 --------------------------- */

    .fileDrop .area {
        width: auto;
        padding:0;
    }
    
    .fileDrop .area p {
        display: none;
    }


    /* ファイル一覧 ------------------------------ */

    .fileDrop .files {
        width: auto;
        margin: 10px 0 0 0;
        padding: 0;
        border: 0;
    }

    .fileDrop .files > ul {
        margin: 0;
        padding: 0;
    }

    .fileDrop .files > ul > li {
        margin: 10px 0 0 0;
        padding: 0;
        list-style-type: none;
        box-sizing: border-box;
    }


    /* 各ファイル ------------------------------ */

    .fileDrop .file {
        display: block;
        position: relative;
        margin: 0;
        padding: 10px 30px 10px 10px;
        border:1px solid #ffaaaa;
    }

    .fileDrop .file p {
        margin: 0;
        padding: 0;
        word-break: break-all;
    }

    .fileDrop .file p.date {
        font-size: 10px;
    }


    .fileDrop .file p.err {
        color:#ff0000;
    }

    .fileDrop .file .status {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color:#ffaaaa;
    }

    .fileDrop .file .status .bar {
        display: block;
        position: relative;
        width: 1px;
        height: 2px;
        margin: 0;
        padding: 0;
        transition: all 0.3s;
        background-color: #ff8888;
    }

    .fileDrop .file .delete {
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
    }

    .fileDrop .file .delete a {
        display: block;
        position: relative;
        width: 20px;
        height: 20px;
        margin: 0;
        padding: 0;
        cursor: pointer;
    }
    .fileDrop .file .delete a::before,
    .fileDrop .file .delete a::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 1px;
        margin: 0;
        padding: 0;
        background-color: #444444;
        transition: all 0.3s;
    }
    .fileDrop .file .delete a::before { transform: translate(-50%, -50%) rotate(45deg); }
    .fileDrop .file .delete a::after  { transform: translate(-50%, -50%) rotate(-45deg); }

    .fileDrop .file .delete a:hover::before,
    .fileDrop .file .delete a:hover::after {
        background-color: #cf1380;
    }


    /* アップロード済 */

    .fileDrop .file.ready {
        border-color:#aaaaaa;
    }

    .fileDrop .file.ready .status {
        display: none;
    }


    
    
}


































	/* エラー ------------------------------------ */



	input[type="text"].error,
	input[type="email"].error,
	input[type="tel"].error,
	input[type="number"].error,
	input[type="password"].error,
	textarea.error,
	seelct.error {
/*		box-shadow:0px 0px 0px 0px; */
		background-color:#ffdddd;
	}

	input[type="file"].error + label,
	input[type="checkbox"].error + label,
	input[type="radio"].error + label {
		background-color:#ffdddd;
	}



	/* レスポンシブ (iPhone zoom回避) ------------ */

	@media all and (max-width: 760px) {


		/* Input Common ---------------- */

		input,
		input[type="submit"],
		input[type="button"],
		textarea,
		.select select {
			font-size: 16px;
		}
	}















/** ===========================================================================


    入力フォーム用の体裁


=============================================================================== **/


/* 入力グループ共通 */

.inp-box {
    display: block;
    padding: 3px;
    border:1px solid transparent;
    border-radius: 3px;
}


/* エラー */
.inp-box .error {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #ff0000;
    font-size:12px;
}


.inp-box dl,
.inp-box dt,
.inp-box dd {
    margin: 3px 0;
    padding: 0;
    box-sizing: border-box;
}


/* エラー表示 */
.inp-box.inp-error {
    border-color:#ff0000;
}


/* メールアドレス2回入力 */

.inp-dmail dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.inp-dmail dt {
    width: 3em;
}

.inp-dmail dd {
    width: calc(100% - 3em);
}


/* パスワード2回入力 */

.inp-dpassword dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.inp-dpassword dt {
    width: 3em;
}

.inp-dpassword dd {
    width: calc(100% - 3em);
}


/* 年月日入力(select) */

.inp-dateyear dl {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.inp-dateyear dt {
    width: 100px;
    text-align: center;
}

.inp-dateyear dd {
    width: 1.5em;
    text-align: center;
}


/* 国選択(地域と国の選択が分かれている) */

.inp-dcountry dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.inp-dcountry dt {
    width: 3em;
}

.inp-dcountry dd {
    width: calc(100% - 3em);
}


/* 住所 */

.inp-address dl {
    margin: 0;
    padding: 0;
/*
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
*/
}

.inp-address dt {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.inp-address dd {
    margin: 0 0 5px 0;
    padding: 0;
}


/* 電話番号3分割 */
.inp-tel3 dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.inp-tel3 dd {
    width: 1.5em;
    text-align: center;
}

.inp-tel3 dt {
    width: 80px;
}







/* select + その他 */

.inp-select-else dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.inp-select-else dt {
    width: 4em;
}

.inp-select-else dd {
    width: calc(100% - 4em);
}


/* チェックボックス */
.inp-checkbox {}


.inp-checkbox > ul {
    margin: 0;
    padding: 0;
}

.inp-checkbox > ul > li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/* ラジオボタン */

.inp-radio {}

.inp-radio > ul {
    margin: 0;
    padding: 0;
}

.inp-radio > ul > li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.inp-radio.nobr > ul > li {
    display: inline-block;
    padding: 0 2em 0 0;
}





/* メールアドレス３人まで */

.inp-emails {}

.inp-emails dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: centerl
    justify-content: center;
    margin: 0;
    padding: 0;
}

.inp-emails dt {
    width: 1em;
    margin: 0;
    padding: 3px 0;
    text-align: center;
}

.inp-emails dd {
    width: calc(100% - 1em);
    margin: 0;
    padding: 3px 0;
}






/** ---------------------------------------------------------------------------


    フォームページ基本


------------------------------------------------------------------------------- **/

.inputForm {
    margin: 50px 0 0 0;
}


.inputForm h3 {
    margin: 0;
    padding: 0;
    text-align: center;
    font-weight: 700;
    font-size:16px;
}

.inputForm h3.error {
    color: #ff0000;
}

.inputForm .redTxt {
    color: #ff0000;
}


.inputForm table {
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;

    width: 100%;
    max-width: 700px;
    margin: 20px auto 0;
    border-bottom:1px dotted #c0c0c0;
    font-size: 14px;
}

.inputForm table caption {
    text-align: right;
}

.inputForm table th {
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
    
    text-align: left;
    font-weight: 400;
    border-top:1px dotted #c0c0c0;
}

.inputForm table td {
    width: 75%;
    padding: 5px;
    box-sizing: border-box;
    border-top:1px dotted #c0c0c0;
}

.inputForm table td ul {
    margin: 1em 0;
    padding: 0;
    font-size:12px;
}

.inputForm table td ul li {
    margin: 0 0 0 1em;
    padding: 0;
    list-style-type: none;
}



/* 次前ボタン */

.inputForm .buttonBox {
    display: block;
    position: relative;
    
    width: 100%;
    max-width: 600px;
    margin: 50px auto 0;
    padding: 0;
}

.inputForm .buttonBox > ul {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.inputForm .buttonBox > ul > li {
/*    width: 31.33%; */
    width: auto;
    margin: 0 1%;
    padding: 0;
}

.inputForm .buttonBox a,
.inputForm .buttonBox input,
.inputForm .buttonBox button {
    width: auto;
    height: auto;
    padding: 20px 50px;
    
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    
    background-color:#ffffff;
    color:#cf1380;
    
    border:3px solid #cf1380;
    border-radius: 5px;
}

.inputForm .buttonBox a.backbtn,
.inputForm .buttonBox input.backbtn,
.inputForm .buttonBox button.backbtn {
    border-color:#aaaaaa;
    color: #888888;
}

.inputForm .buttonBox a:hover,
.inputForm .buttonBox input:hover,
.inputForm .buttonBox button:hover {
    background-color: #cf1380;
    color: #ffffff;
    border-color:#cf1380;
}

.inputForm.thanks p,
.inputForm.error p {
    text-align: center;
    margin: 50px 0;
}

.inputForm.error h3 {
    color: #ff0000;
}

.inputForm .thanks {
    margin: 50px 10% 0;
    text-align: center;
}



/*
.inputForm .error {
    margin: 50px 10% 0;
    text-align: center;
}
*/



/** Responsive for Smart Phone ---------------------------- **/

@media all and (max-width: 767px) {
    
    
    .inputForm {
        margin: 50px 0 0 0;
    }

    .inputForm table {
        display: block;
        width: auto;
        max-width: none;
/*
        margin: 20px auto 0;
        border-bottom:1px dotted #c0c0c0;
        font-size: 14px;
*/
    }

    .inputForm table caption {
        display: block;
        font-size:12px;
    }
    
    .inputForm table tbody,
    .inputForm table tr {
        display: block;
        margin: 0;
        padding: 0;
    }

    .inputForm table th {
        display: block;
        width: auto;
        padding: 5px 0 0;
        border-top:1px dotted #c0c0c0;
    }

    .inputForm table td {
        display: block;
        width: auto;
        padding: 5px 0;
        border-top:0;
    }

    .inputForm table td ul {
        margin: 1em 0;
        padding: 0;
        font-size:12px;
    }

    .inputForm table td ul li {
        margin: 0 0 0 1em;
        padding: 0;
        list-style-type: none;
    }

    


    /* 次前ボタン */

    .inputForm .buttonBox {
        width: auto;
        max-width: none;
    }

    .inputForm .buttonBox > ul {
        display: block;
    }

    .inputForm .buttonBox > ul > li {
        width: auto;
        margin: 10px 0 0 0;
    }

    .inputForm .buttonBox a,
    .inputForm .buttonBox input,
    .inputForm .buttonBox button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    
    
    
    .inputForm .thanks {
        margin: 50px 10% 0;
        text-align: center;
    }
    
    
}
