@charset "utf-8";

/* ===================================================================
reset
====================================================================*/
input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
textarea:focus {
    background-color: #fffbf4;
    border: 1px solid #669ec5;
}
body { position: relative; }
body, th, td {
    background-color: #fff;
    color: #333;
    font: 14px/1.8 "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
*{box-sizing: border-box;}
.inner { margin: 0 auto; width: 1000px; }
.contentsbox a, .contentsbox a img { border: none; text-decoration: none; -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; transition: 0.5s; }
.contentsbox a:hover, .contentsbox a img:hover { opacity: .75; }

#pagetop { bottom: 20px; position: fixed; right: 20px; }
#pagetop a { background-color: rgba( 0, 0, 0, 0.4 ); border-radius: 5px; color: #fff; font-size: 20px; line-height: 1; padding: 8px 15px; }
.asterisk{
	position: relative;
	padding-left: 1em;
}
.asterisk:before{
	content: "※";
	display: inline-block;
	position: absolute;
	left: 0;
	top:0;
}
.text_red{
	color: #C33;
}
.contentsbox { padding: 40px 0 0; width: auto;}
.contents { background: #fff; padding: 0; min-height: 65vh;}

/*---------------- media queries 1000----------------*/
@media only screen and (max-width: 1000px){
.contentsbox{padding: 3% 0;}
.inner {
    width: 100%;
	padding: 0 3%;
}
}

/* ===================================================================
lead
====================================================================*/
.lead{
	margin-bottom: 1em;
}
.textbold{
	font-size: 1.1em;
	font-weight: bold;
}

/* ===================================================================
ContactSelect
====================================================================*/
#ContactSelect{
    margin-bottom: 3em;
}
#ContactSelect label{
    display: inline-block;
    width: calc(100% - 2em);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
}
#ContactList{
    width: 100%;
    border-color: #CCC;
}
#ContactList th,
#ContactList td{
    padding: 0.5em;
}
#ContactList th{
    background-color: #DDD;
}
#ContactList input[name="EMAIL"]{
    display: none;
}
#ContactList input[name="EMAIL"] + label{
    position: relative;
    padding-left: 25px;
}
#ContactList input[name="EMAIL"] + label::before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #666;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0px,-50%);
}
#ContactList input[name="EMAIL"]:checked + label::after{
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #CC0000;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(4px,-50%);
}
#ContactList input[name="EMAIL"]:checked + label::before{
    background-color: #FFF;
    border-color: #CC0000;
}

/*---------------- media queries 768----------------*/
@media only screen and (max-width: 768px) {
#ContactList {
    border: 0;
}
#ContactList thead{
    display: none;
}
#ContactList tbody tr{
    display: block;
    margin-bottom: 1em;
    /*border: 1px solid #CCC;*/
}
#ContactList tbody tr td{
    display: inline-block;
    border: 0;
}
#ContactList tbody tr td:nth-of-type(1){
    display: block;
    width: 100%;
    padding: 0;
}
#ContactList tbody tr td:nth-of-type(3) br{
    display: none;
}
#ContactList tbody tr td:nth-of-type(1) input[name="EMAIL"] + label{
    display: block;
    width: 100%;
    background-color: #fee0e0;
    border-bottom: 2px solid #f0abab;
    border-radius: 5px;
    font-size: 1.2em;
    line-height: 1.4;
    padding: 0.7em 0.5em 0.5em 2em;
    font-weight: 600;
}
#ContactList input[name="EMAIL"]+ label::before{
    left: 8px;
    background-color: #FFF;
}
#ContactList tbody tr td:nth-of-type(1) input[name="EMAIL"]:checked + label{
    background-color: #de484b;
    border-bottom-color: #880b0b;
    color: #FFF;
}
#ContactList input[name="EMAIL"]:checked + label::after{
    left: 8px;
}
#ContactList tbody tr td:nth-of-type(n+2)::before{
    display: inline-block;
    margin-right: 0.3em;
    content: "";
    vertical-align: middle;
}
#ContactList tbody tr td:nth-of-type(2)::before{
    width: 1.1em;
    height: 1.1em;
    -webkit-mask-image: url("../img/phone-alt-solid.svg");
    mask-image: url("../img/phone-alt-solid.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #666;
}
#ContactList tbody tr td:nth-of-type(3)::before{
    width: 1.1em;
    height: 1.1em;
    -webkit-mask-image: url("../img/clock-solid.svg");
    mask-image: url("../img/clock-solid.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #666;
}
#ContactList tbody tr td:nth-of-type(4)::before{
	content: "休";
	color: #F0F0F0;
	background: #666;
	padding: 0.2em;
    line-height: 1.2;
	font-size: 0.7em;
    border-radius: 50%;
}


}




/* ===================================================================
form
====================================================================*/

.contentsbox h1 {
font-size: 1.4em;
line-height: 1.2;
font-weight: bold;
color: #FFF;
background: rgb(237,122,122);
background: linear-gradient(0deg, rgba(237,122,122,1) 0%, rgba(231,64,64,1) 100%);
padding: 0.7em 0.7em 0.5em;
margin-bottom: 1em;
}

h2 {
background: #fff1f1;
border-left: 7px solid #ed7a7a;
font-size: 1.2em;
line-height: 1;
margin-bottom: 0.5em;
padding: 0.7em 0.5em 0.5em 0.5em;
color: #000;
font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select{
    padding: 10px;
	border: 1px solid #CCC;
    border-radius: 2px;
    outline: none;
	font-size: 16px;
	background: #FFF;
	box-sizing: border-box;
	width: 100%;
	vertical-align: bottom;
}
input::placeholder,
textarea::placeholder{
	font-size: 15px;
	color: #999;
}
input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.5em;
    display: inline-block;
}
.formtype{
	display: flex;
	flex-wrap: wrap;
}
.formtype dt{
	flex-basis: 15em;
	max-width: 15em;
	background-color: #F3F3F3;
	padding:5px 1em;
	color: #333;
	border-bottom: 2px solid #FFF;
}
.formtype dd{
	flex-basis: calc(100% - 15em) ;
	max-width:  calc(100% - 15em) ;
	padding: 5px 0 5px 10px;
	display: flex;
	flex-wrap: wrap;
}
.formtype dd p{
	flex-basis: 100%;
}
.formtype dd p.half{
	flex-basis: 49%;
	max-width: 49%;
	margin-right: 2%;
}
.formtype dd p.half:nth-of-type(2n){
	margin-right: 0;
}

.required p:after{
    background-color: rgb(248, 181, 0);
    color: rgb(255, 255, 255);
    content: "必須";
    font-size: 0.75em;
    font-weight: normal;
    margin-left: 0.5em;
    border-radius: 3px;
    padding: 0px 5px;
	vertical-align: middle;
	display: inline-block;
}
/*項目詳細設定*/
.formtype dd p.postalcode input{
	flex-basis: 10em;
	max-width: 10em;
}
.note{
	color: #666;
	margin: 0.5em 0;
}
.formtype dd p.calendar{
	flex-basis: 49%;
	max-width: 49%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.formtype dd p.calendar input{
	width: 100%;
	
}
/*datepicker*/
.ui-datepicker-trigger{
	width: 2.3em;
	height: auto;
	cursor: pointer;
	
}
.ui-datepicker,.ui-datepicker table {
    font-size: 16px !important;
    line-height: 1.6;
}
input[id^="datepicker"]{
    background: url("../img/ico_calendar.png") no-repeat #FFF;
    background-size: auto 60%;
    background-position: calc(100% - 0.5em)  center;
    width: 20em;
    border: 1px solid #787878;
    border-radius: 3px;
}

/*---------------- media queries 768----------------*/
@media only screen and (max-width: 768px) {
.formtype dt{
	flex-basis: 100%;
	max-width: 100%;
}
.formtype dd{
	flex-basis: 100% ;
	max-width: 100%;
	padding: 5px 0 10px;
}
.formtype dd input{
	margin-bottom: 5px;
}
/*項目詳細設定*/
.formtype dd p.calendar,
.formtype dd p.half{
	flex-basis: 100%;
	max-width: 100%;
	margin-right: 0;
}

}



/* ===================================================================
btnarea
====================================================================*/
#btnarea{margin: 2em 0;}
#btnarea ul{
	display: flex;
	justify-content: center;
}
#btnarea ul li{
	flex-basis: 10em;
	max-width: 10em;
	text-align: center;
	margin: 0 1em;
}
#btnarea ul li:empty{display: none;}
button,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px;
	border: 1px solid #DDD;
    outline: none;
    background: transparent;
	font-size: 16px;
}
#btnarea ul li input{
	padding:0.5em 0;
	color: #FFF;
	font-size: 1.2em;
	width: 100%;
    border-radius: 5px;
}

.btn_submit input{
	background-color: #e74040;
	border:0;
	cursor: pointer;
}

.btn_reset input{
	background-color: #ccc;
	border:0;
}

/* ============================================================
privacypolicy
============================================================ */
.privacypolicy{
    margin: 1em 0 2em;
    border: 2px solid #CC0000;
    padding: 1em 1.5em;
    font-size: 0.9em
}
.privacypolicy h5{
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
.policy_link{
    display: flex;
    flex-wrap: wrap;
    padding: 0.5em 0;
}
.policy_link li {
    margin: 0.5em 1em 0.5em 0;
}

.policy_link li a{
    display: block;
    padding: 0.5em 3em 0.3em 2em;
    border: 1px solid #666;
    border-radius: 5px;
    line-height: 1.2;
    position: relative;
}
.policy_link li a::after{
    content: "≫";
    display: inline-block;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
}
.policy_link li a:hover{
    background-color: rgba(255,202,203,0.3);
    color: #333;
    opacity: 1;
}
.privacypolicy .consent{
    text-align: center;
    background-color: rgba(255,202,203,0.3);
    margin: 0.5em 0 0;
    padding: 0.3em 1em;
    font-weight: bold;
    font-size: 1.1em;
}





