.only_pc{
    display: block;
}
.only_sp{
    display: none;
}

/*  top */

.on{
   transition: 0.3s; 
}
.on:hover{
   transition: 0.3s; 
    opacity: 0.5;
}


.btn_contact a {
    color: #fff;
     background: #544d8e;
    margin: 0 auto;
    display: block;
    transition:0.3s;
    font-size: 30px;
    width: 542px;
    padding: 40px;
    
}

.btn_contact a:hover{
    opacity: 0.5;
    transition:0.3s;
}

.lineup h4 {
    font-size: 20px;
    line-height: 1.5;
    text-align: justify;
    margin: 40px auto;
    width: 660px;
}

/*  mailform */

form {
    width: 850px;
    max-width: 850px;
}
form .wrap.form {
    width: 850px;
    max-width: 850px;
    margin: 0 auto;
}

input[type=text].size_m {
    width: 80px;
}

body header > div.twitter{
    right: 230px;
}

body div.header_fixed{
    padding-left: 120px;
}


body header, body nav{
    width: 850px;
}

.sub_text {
    font-size: 12px;
    margin: 7px 0 7px;
    line-height: 1.6;
}

.sub_text.red {
    margin-top: 10px;
    line-height: 1;
}

.sub_text.red.height{
    line-height: 1.6;
}

span.sub_item {
    margin: 20px 10px 10px 0;
}

.sub_box {
    display: flex;
}
.sub_box input[type=text]{
    margin: 8px;
}

.sub_number {
    display: block !important;
    margin: -10px 0 10px 85px;
    margin-top: -10px;
}

input[type=text].input_add2{
    display: block !important;
}

.content_title {
    font-size: 16px;
    margin: 20px auto 10px;
    padding: 20px 30px;
    background-color: #544d8e;
    height: 0px;
    color: #fff;
    font-weight: 600;
}

.content_title.top {
    font-size: 26px;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 35px;
}

label {
    padding-right: 20px;
}


textarea.file_up {
    width: 100%;
    min-height: 130px;
    height: 130px;
    min-width: 527px;
    max-width: 532px;
}



input[type=radio] {
    background: transparent;
}



/*  guide.php  */

body main div.contents.guide > div > div.flow > div.step3 > p.txt1,body main div.contents.guide > div > div.flow > div.step1 > p.txt2 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt2 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt1 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt1 ,body main div.contents.guide > div > div.flow > div.step7 > p.txt1,body main div.contents.guide > div > div.flow > div.goal > p.txt1 {
    width: 405px;
    text-align: justify;
}




/*--------------------------------------------------------------
　ポップアップ
--------------------------------------------------------------*/

.popup-box {
	display: none;
}

.popup-box__wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
}

.popup-box__inner {
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	position: relative;
	padding: 40px;
	max-width: 800px;
	height: auto;
	border-radius: 4px;
	background: #fff;
    margin-top: 10%;
}

.popup-box__close {
	display: block;
	position: absolute;
    top: 20px;
    right: 15px;
    font-size: 30px;
}

.popup-box__close:hover {
	cursor: pointer;
}

.js-popup-box-open{
    margin: 0;
}


body div.header_fixed {
    z-index: 900;
}

.mfp_err{
    padding-bottom: 8px !important;
}

body div.mainvis {
    padding-top: 100px;
}





@media screen and (max-width: 600px) {

 .only_sp{
    display: block;
}
.only_pc{
    display: none;
}
    
    
form label{
    line-height: 2.5;    
    }
    

form table th {
    text-align: left;
}

form .wrap.form {
    width: 87% !important;
}
    
.content_title.top {
    font-size: 5.6vw;
    }

.content_title {
    font-size: 4vw;
    }
.sub_text {
    font-size: 3.2vw;
    }
.sub_text.red {
    line-height: 1.5;
    }
.sub_box {
    display: flex;
    flex-direction: column;
}
    
textarea.file_up {
    width: 100%;
    min-height: 14.7vw;
    height: 14.7vw;
    min-width: 100%;
    max-width: 100%;
}
    
.lineup h4 {
    font-size: 4.5vw;
    width: 92%;
}
    
.btn_contact a {
    font-size: 5.5vw;
    padding: 28px 0px;
    width: 100%;
}
    
body main div.contents.guide > div > div.flow > div.step3 > p.txt1,body main div.contents.guide > div > div.flow > div.step1 > p.txt2 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt2 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt1 ,body main div.contents.guide > div > div.flow > div.step1 > p.txt1 ,body main div.contents.guide > div > div.flow > div.step7 > p.txt1,body main div.contents.guide > div > div.flow > div.goal > p.txt1 {
    width: 100%;
    text-align: justify;
}
    
#mfp_confirm_table th {
    text-align: left;
    padding-bottom: 15px;
    line-height: 2;
    }

 #mfp_confirm_table td {
    width: 97%;
     margin: 0 auto;
    }    
body div.mainvis {
    padding-top: 50px;
}
    
    
}