/* --------　リセット --------*/
*,
::before,
::after {
  box-sizing: border-box;
}
html {
    font-size: 16px;
    font-family: sans-serif;  
}  
body {
    margin: 0;
    line-height: 1;
}
article{
    max-width: 1400px;
    margin: 0 auto 100px auto;
}
a {
    background-color: transparent;
    text-decoration: none;
}
img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
}
p{
    margin: 0;
}

/* --------フォームリセット --------*/
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}


/* -------- ここから --------*/

article{
    margin-top: 80px;
}
.form_title{
    width: 80%;
    margin: 0 auto;
}
.form_title h2{
    position: relative;
    background:#15328c;
    padding: 50px 0;
    text-align: center;
    color: white;
    box-shadow: 0 0 0 2px #FFF, 0 0 0 8px #15328c;
    font-size: 30px;
}
section.inner{
    width: 50%;
    margin: 0 auto;
}

.ly_wrap {
  margin: 80px auto;
}
.cont {
    padding: 7px 0px;
}
label.ttl{
    font-weight: bold;
    margin: 0 15px 0 0;
}
.bl_sp{
    display: flex;
    align-items: center;
}
.cont p.hissu{
    background: rgb(244, 67, 54);
    width: 35px;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
    border-radius: 3px;
    color: #fff;
}
.cont p.nini{
    width: 35px;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
    background: rgb(96, 125, 139);;
    border-radius: 3px;
    color: #fff;
}
input[type=text] {
    background: #fff;
	width:100%;
	font-size: 100%;
	box-sizing: border-box;
	border:1px solid #ccc;
    border-radius: 5px;
	padding: 10px 10px;
	margin:15px 0;
    cursor: pointer;
}
input[type="email"]{
    background: #fff;
	width:100%;
	font-size: 100%;
	box-sizing: border-box;
	border:1px solid #ccc;
    border-radius: 5px;
	padding: 10px 10px;
	margin:15px 0;
    cursor: pointer;
}
textarea[name=input_textarea] {
    padding: 10px 10px;
    width: 100%;
    height: 150px;
    font-size: 100%;
    border: 1px solid #ccc;
    line-height: 1.2;
    background-color: #fff;
    margin: 15px 0;
    cursor: pointer;
}
.submit{
    text-align: center;
}
input[type="submit"]{
    display: inline-block;
    max-width: 100%;
    padding: 24px 70px;
    border-radius: 5px;
    background: #15328c;
    border: 1px solid transparent;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: .25s;
    width:300px;
}
input[type="submit"]:focus,
input[type="submit"]:hover{
    background-color: #fff;
    border-color:currentColor;
    color: rgb(0, 188, 212);
}

/* -------- 確認画面 --------*/
.check_ttl{
    font-size: 20px;
    text-align: center;
    border-bottom: 2px solid #000;
    padding: 40px 0;
}
form table{
    width: 100%;
    border-collapse:collapse;
    margin: 30px auto;
}
form table td{
    width: 20em;
}

form table td,
form table th{
    border-bottom:1px solid #989898;
    padding:15px 0;
    line-height: 1.5;
}
form table th{
    padding-left: 5%;
    text-align: left;
    word-break: break-all;
}
.bl_btn{
    display: flex;
    align-items: center;
    column-gap: 20px;
    flex-direction: column;
}
.bl_btn input[type="submit"]{
    width: 300px;
}

.back input[type=button]{
    display: inline-block;
    max-width: 100%;
    padding: 24px 70px;
    margin: 30px 0 20px 0;
    border-radius: 5px;
    background: #989898;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: .25s;
}

/*------- エラー -------*/
.error_wrap{
	width:100%;
	margin:0 auto 50px auto;
}
.error_wrap .error_list {
	padding: 18px 40px;
	color: #C82D1C;
	font-size: 14px;
	border: 1px solid #C82D1C;
	border-radius: 5px;
	margin:20px 0;
}
.error_list  li{
	text-align: left;
    line-height: 1.5;
}


/*------- 送信完了画面 -------*/

.thankyou{
    margin: 50px 0;
    text-align: center;   
}
.thankyou p{
    font-size: 20px;
    font-weight: bold;
    line-height: 2;
    padding-bottom: 100px;
}


/*------- レスポンシブ -------*/


@media (max-width: 1024px) {
    section.inner {
        width: 60%;
    }
}

@media (max-width: 754px) {
html {
    font-size: 16px;
}
section.inner {
    width: 80%;
}
.form_title h2 {
    font-size: 20px;
    padding:30px 0;
}

.cont p.hissu,
.cont p.nini{
    margin: 0;
}


input[type="text"]{
    width: 100%;
    margin:10px 0 0 0;
}
label.un_ttl {
    padding: 0;
}

textarea[name=input_textarea]{
    margin:15px 0 0 0;
}
input[type="email"] {
    width: 100%;
    margin:10px 0 0 0 ;
}

input[type="submit"] {
    padding: 25px 50px;
    margin: 10px 0 20px 0;
}
.check_ttl {
    font-size: 16px;
    padding: 15px 0;
}
.error_wrap .error_list {
    padding: 20px 30px;
    margin: 20px 0 -30px 0;
}



/*------- 確認画面-------*/

form table {
    width: 100%;
}
form table td,
form table th{
    width: 100%;
    display: block;
    line-height: 1.5;
    font-size: 16px;
}
form table td{
    border-bottom:0;
}
form table th{
    padding:0 0 15px 0;
}
.back input[type=button]{
    margin: 10px 0 20px 0;
}
.bl_btn{
    column-gap:10px;
}



/*------- 完了画面-------*/
.thankyou p {
    font-size: 16px;
    padding-bottom: 30px;
}
}



/* -------- checkbox --------*/
.ly_ele p.bl_check{
    position: relative;
    padding-left: 20px;
    margin: 50px 0 20px 0;
}
.ly_ele p.bl_check:first-child{
    margin-top: 0;
}
.ly_ele p.bl_check:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #C82D1C;
    height: 15px;
    width: 8px;
}
.ly_ele .boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin: 15px 0px;
}
.ly_ele .boxes .box{
    line-height: 20px;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
    border-radius: 5px;
}

.ly_ele .boxes span.pro{
    position: relative;
    padding-left:30px;
    display: block;
    width: 16em;
    cursor: pointer;
}
.pro::before{
    position: absolute;
    left: 0;
    display: block;
    border: 1px solid rgb(144, 164, 174);
    border-radius: 5px;
    content: '';
    width: 20px;
    height: 20px;
}
.box_input:checked+.pro::after{
    position: absolute;
    top: 4px;
    left: 8px;
    display: block;
    border-right: 2px solid rgb(0, 188, 212);;
    border-bottom: 2px solid rgb(0, 188, 212);;
    content: '';
    width: 5px;
    height: 10px;
    transform: rotate(45deg);
}