@charset "utf-8";

/*---------------------------------------------------
 contact
----------------------------------------------------*/
.content-wrap {
	max-width: 1150px;
	width: 90%;
	margin: 160px auto;
}
.content-wrap h3 {
	font-size: var(--fsize-36);
	margin-bottom: 1.5em;
	color: var(--color-blue);
}
#contact .content-wrap p a {
	color: var(--color-blue);
	text-decoration: underline;
}
.gray {
	background-color: #f5f5f5;
	padding: 60px 0;
}
.white {
	background-color: #FFF;
	padding: 60px 0;
}
.gray .content-wrap,
.white .content-wrap {
	margin-block: 0;
}
#contact .btn,
#policy .btn {
	margin-block-start: 1em;
	max-width: 350px;
}
#contact .btns .btn,
#policy .btns .btn {
	margin-inline: 10px;
}

/*-----------------------------------旧サイトから */
.aform-header{
	display: none;
}

.aform-checkbox-ul li{
	display: flex;
	align-items: center;
}

.aform-checkbox-ul li input[type="checkbox"]{
	width: 20px!important;
	margin-right: 5px;
}

#contact .dl_form-privacy,
#entry .dl_form-privacy {
	margin-bottom: 88px;
}

#contact .dl_form-privacy dt,
#entry .dl_form-privacy dt {
	display: none;
}

#contact .dl_form-privacy dd,
#entry .dl_form-privacy dd {
	width: 100%;
	margin-left: 0;
	border: 1px solid #bababa;
	padding: 35px;
	background-color:#f5f5f5;
}

#contact .dl_form-privacy dd div.aform-input-example,
#entry .dl_form-privacy dd div.aform-input-example {
	margin-bottom: 50px;
}

#contact .dl_form-privacy dd a,
#entry .dl_form-privacy dd a {
	color: #f4840d;
	text-decoration: underline;
}

#contact .dl_form-privacy dd a:hover,
#entry .dl_form-privacy dd a:hover {
	text-decoration: none;
}

#aform-confirm-form .dl_form-privacy{
	display: none;
}

#contact dl,
#entry dl {
	width: 100%;
	display: flex;
	margin-bottom: 35px;
}

#contact dl:last-child,
#entry dl:last-child {
	margin-bottom: 0;
}

#contact dl dt,
#entry dl dt {
	width: 22.5%;
	font-weight: bold;
	position: relative;
}

#contact dl dt label,
#entry dl dt label {
	display: block;
	padding-right: 40px;
}

#contact dl dt span.aform-required,
#entry dl dt span.aform-required {
	display: block;
    position: absolute;
    z-index: 3;
    top: 0.3rem;
    right: 0;
    background-color: #f4840d;
    color: #fff;
    font-size: var(--fsize-14);
    font-weight: normal;
    padding: 0.2rem 1rem;
}

.aform-input-example.pdf1,
.aform-input-example.pdf2,
.aform-input-example.pdf3 {
	font-size: 1.4rem;
}
#contact dl dd,
#entry dl dd {
	width: 70%;
	margin-left: 40px;
}

#contact dl dd input[type="text"],
#entry dl dd input[type="text"] {
	border-right: none;
	border-left: none;
	border-top: none;
	width: 100%;
	background-color: rgba(255,255,255,0);
	border-bottom: 1px solid #bababa;
	-webkit-border-radius : 0;
    -webkit-appearance : none;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
}

#contact dl dd input:focus,
#entry dl dd input:focus {
	border-right: none;
	border-left: none;
	border-top: none;
	width: 100%;
	background-color: rgba(255,255,255,0);
	border-bottom: 1px solid #bababa;
	outline: none;
}

#contact dl dd input[type="email"],
#contact dl dd input[type="tel"],
#entry dl dd input[type="email"],
#entry dl dd input[type="tel"]{
	border-right: none;
	border-left: none;
	border-top: none;
	width: 100%;
	background-color: rgba(255,255,255,0);
	border-bottom: 1px solid #bababa;
	-webkit-border-radius : 0;
    -webkit-appearance : none;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
}

#contact dl dd input[type="email"]:focus,
#contact dl dd input[type="tel"]:focus,
#entry dl dd input[type="email"]:focus,
#entry dl dd input[type="tel"]:focus {
	border-right: none;
	border-left: none;
	border-top: none;
	width: 100%;
	background-color: rgba(255,255,255,0);
	border-bottom: 1px solid #bababa;
}

input:focus{
	border-right: none;
	border-left: none;
	border-top: none;
	width: 100%;
	background-color: rgba(255,255,255,0);
	border-bottom: 1px solid #bababa;	
}

input[type="file"]{
	font-family: var(--font-base);
}

input[type="submit"]{
	width: 400px;
	padding: 40px 0;
	background:#fff;
	border:1px solid #bababa;
	margin:0 auto 0 auto;
	cursor: pointer;
	font-family: var(--font-base);
}

input[type="submit"]:hover{
	background: linear-gradient(to right, #f3830d 0%, #f3830d 54%, #ff9900 100%);
	color: #fff;	
}

input[type="button"]{
	width: 400px;
	padding: 40px 0;
	background:none;
	border:1px solid #bababa;
	margin:0 auto;
	cursor: pointer;
}

input[type="button"]:hover{
	background: linear-gradient(to right, #f3830d 0%, #f3830d 54%, #ff9900 100%);
	color: #fff;	
}

select {
	padding: .2em;
	border:1px solid #bababa;
	font-family: var(--font-base);
}
#contact dl dd textarea,
#entry dl dd textarea {
	width: 100%;
	border:1px solid #bababa;
	outline: none;
	padding: 10px;
    -webkit-tap-highlight-color : rgba(0,0,0,0);
}

.aform-button-area{
	text-align: center;
}

.privacy-list .inner{
	text-align: center;
}

#contact .privacy-list p,
#entry .privacy-list p {
	margin: 0 auto;
	text-align: center;
	display: inline;
}

.privacy-list p a {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    border: 4px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-base);
    font-size: var(--fsize-20);
    font-weight: 500;
    padding: 2.5vw 0;
    letter-spacing: 0.24em;
}

.privacy-list p a:hover{
	background-color: #fff;
	color: #f4840d;
}

#contact dl.aform-error-list,
#entry dl.aform-error-list {
	display: block;
}

.privacy-list .inner {
        width: 90%;
    min-width: auto;
    margin: 0 auto;
}

#aform-confirm-form .aform-button-area{
	margin-top: 50px;
}

#aform-confirm-form input[type="submit"]{
	margin-left: 150px;
}

#contact .error,
#entry .error {
	color: #f4840d;
}


#contact .content-wrap h3 {
	text-align: center;
}
#contact .content-wrap h3.mbs1 {
	margin-block-start: 1em;
}
#contact .content-wrap a:hover{
	text-decoration: none;
}
#contact .content-wrap ul.contact-list{
	width: 100%;
	display: flex;
	justify-content:  center;
    flex-wrap: wrap;
}
#contact .content-wrap ul.contact-list li{
	width: 45%;
	position: relative;
}
#contact .content-wrap ul.contact-list li:nth-child(2){
	margin-left: 5%;
}
#contact .content-wrap ul.contact-list li:nth-child(3){
	margin-top: 5%;
}
#contact .content-wrap ul.contact-list li a{
	position: relative;
	display: flex;
	-ms-flex-pack: center;
	justify-content:  center;
	align-items: center;
    border: 6px solid #494d51;
    color: #494d51;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2.5vw 0;
    text-align: center;
	height: 220px;
	border-radius: 30px;
}
#contact .content-wrap ul.contact-list li::before {
	content: '';
 	position: absolute;
	left: 0;
	top: 0;
    display: block;
  	width: 100%;
	height: 100%;
	background: var(--color-blue);
	transform: scale(0, 1);
	transform-origin: left top;
	-webkit-transition: transform 0.3s ease;
	transition: transform .3s ease;
	z-index: 0;
    border-radius: 30px;
}
#contact .content-wrap ul.contact-list li a:hover {
	border: 6px solid var(--color-blue);
	color: #FFF;
	border-radius: 30px;
}
#contact .content-wrap ul.contact-list li:hover::before {
	transform: scale(1, 1);
}
#contact .content-wrap p {
	margin: 1rem 0;
}
#contact .content-wrap ul.policy {
	margin: 0 0 0 1rem;
	padding: 25px 0 0 9px;
}
#contact .content-wrap ul.policy li {
	line-height: 30px;
	margin: 0 0 15px 0;
	position: relative;
	padding: 0 0 0 15px;
	list-style: none;
}
#contact .content-wrap ul.policy li::before {
	content: '';
	display: block;
	background-color: #2b3234;
	width: 18px;
	height: 1px;
	position: absolute;
	top: 15px;
	left: -9px;
	z-index: 1;
}
#contact .content-wrap .right {
	text-align: right;
}

/*---------------------------------------------------
 policy
----------------------------------------------------*/
#policy {
    counter-reset: num4;
}
#policy .content-wrap h3 {
	text-align: center;
}
#policy .content-wrap h3.mbs1 {
	margin-block-start: 1em;
}
#policy .content-wrap h4 {
    position: relative;
    margin: 1em 0;
    padding-left: 1.5em;
	font-size: 1.8rem;
}
#policy .content-wrap h4:first-of-type {
    margin-top: 0;
}
#policy .content-wrap h4::before {
    counter-increment: num4;
    content: counter( num4 ) ".";
    position: absolute;
    left: 0;
    top: 0;
}
#policy .content-wrap dl {
	padding:0 0 30px 9px;
	margin: 0 0 0 calc( 2.6rem * 1.5 );
}
#policy .content-wrap dt {
	font-weight: bold; 
	margin: 0 0 0.5em -9px;
}
#policy .content-wrap dd {
	margin: 0 0 15px 1em;
	line-height: 1.8em;
	position: relative;
	padding-left: 15px;
}
#policy .content-wrap dd:before {
    content: "";
    display: block;
    background-color: #2b3234;
    width: 18px;
    height: 1px;
    position: absolute;
    top: 0.5em;
    left: -9px;
    z-index: 1;
}
#policy .content-wrap > p {
	margin: 1em 0 1em calc( 2.6rem * 1.5 );
}
#policy .content-wrap dd a,
#policy .content-wrap > p a {
	color: var(--color-blue);
}
#procedure {
    margin: 40px 0 0 calc( 2.6rem * 1.5 );
    padding: 0 0 30px;
}
#procedure h5 {
    margin: 0 0 1em 0;
	font-size: 1.6rem;
}
#procedure ol ,
.list-num ol {
    margin: 0 0 30px 2.2rem;
    counter-reset: num5;
}
#procedure ol li ,
.list-num ol li {
    position: relative;
    padding-left: 1.5em;
}
#procedure ol li::before ,
.list-num ol li::before {
    counter-increment: num5;
    content: "(" counter( num5 ) ")";
    position: absolute;
    left: 0;
    top: 0;
}
#procedure ol li a {
    color: var(--color-blue);
}
#procedure ol li a:hover {
	text-decoration: underline;
}
#procedure p {
    margin: 0 0 1.6em 0;
}
#policy .contact-address {
    margin: 30px 0 0 calc( 2.6rem * 1.5 );
    padding: 0 0 30px;
}
#policy .contact-address:last-child {
    padding-bottom: 0;
}
#policy .contact-address p {
    margin: 0 0 1em;
}
#policy .contact-address dl {
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}
#policy .contact-address dl dt {
    margin: 0;
}
#policy .contact-address dl dd {
    line-height: 1.8;
    margin: 0;
    padding: 0;
}
#policy .contact-address dl dd::before {
    display: none;
}
#policy .contact-address dl dd a {
	color: var(--color-blue);
}
.orange {
	color: var(--color-blue);
}

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

/*------------------------------ responsive */
@media screen and (max-width: 1200px) {
	.content-wrap {
		margin-block: 120px
	}
	#contact .content-wrap ul.contact-list li a{
		font-size: 1.4rem;
	}
}
@media screen and (max-width: 900px) {
    #contact .content-wrap ul.contact-list{
		display: block;
	}

	#contact .content-wrap ul.contact-list li{
		width: 100%;
		margin-bottom: 50px;
	}
	#contact .content-wrap ul.contact-list li:nth-child(2){
		margin-left: 0;
		margin-bottom: 50px;
	}

	#contact .content-wrap ul.contact-list li:nth-child(3){
		margin-left: 0;
		margin-bottom: 0;
		margin-top: 0;
	}
	#contact .content-wrap ul.contact-list li a{
		height: 170px;
	}
}

@media screen and (max-width: 700px) {
	.content-wrap {
		margin-block: 80px;
	}
}
@media screen and (max-width: 480px) {
	.content-wrap {
		margin-block: 80px;
	}
	#contact .content-wrap ul.contact-list li a{
		font-size: 1.2rem;
	}
}
