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

202410_リブランディングによるCSS修正

---------------------- */
html{
	font-size: 10px;
	font-weight: bold;
	font-family: "Zen Maru Gothic", serif;
	color: #2a518a;
}
li{
	list-style: none;
}
a{
	text-decoration: none;
}
.pc_il{
	display: block;
}
.sp_il{
	display: none;
	
}
@media screen and (max-width:945px) {
	.pc_il{
		display: none;
	}
	.sp_il{
		display: block;
		
	}
}


#wrapper{
	margin: 7% auto 10%;
	line-height: 1.5;
}

.intro .ttl{
    color: #ff6041;
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 5.5%;
    letter-spacing: 0.2em;
}
.intro .lead{
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 8%;
}

.bg_yellow{
    background-color: #d1efff;
    padding: 5.7% 0 7.5%;
}
.inner{
    max-width: 960px;
    width: 90%;
    margin: 0 auto;
}
.inner_chg{
    width: 100%;
}
.sec_ttl{
	color: #ff6041;
	font-size: 2.7rem;
	text-align: center;
    margin-bottom: 3%;
}
.sec_form_lead{
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 2%;
}
.sec_form_note{
    text-align: center;
    font-size: 1.35rem;
    line-height: 2.2rem;
    margin-bottom: 10%;
}
.form_title{
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 4%;
}
@media screen and (max-width:945px) {
    #wrapper {
        margin: 15% auto 10%;
    }
    .intro{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
	.intro .ttl {
        font-size: max(5.0vw, 20px);
        margin-bottom: 17%;
    }
    .intro .lead{
        font-size: max(3.4vw, 18px);
        margin: 0 auto 8%;
        text-align: left;
        width: 90%;
    }
    .sec_ttl{
        font-size: max(4.5vw, 20px);
        text-align: left;
    }
    .sec_form_lead{
        text-align: left;
        font-size: max(4.0vw, 18px);
        margin-bottom: 4%;
    }
    .sec_form_note{
        text-align: left;
        font-size: max(3.2vw, 16px);
        line-height: 5.5vw;
    }
    .form_title {
        text-align: left;
        font-size: max(4.0vw, 18px);
    }
}

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

    form_start  

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

.all_form{
    background-color: white;
    border-radius: 14px;
    padding: 38px 30px 68px 38px;
}
.form_body dl{
    display: flex;
    justify-content: space-between;
    margin-bottom: 4%;
}
.form_body dl dt{
    font-size: 1.7rem;
    width: 33%;
}
.form_body dl dt span small{
    font-weight: 400;
}
.form_body dl.required dt{
    position: relative;
}
.form_body dl.required dt:after {
    content: "必須";
    background-color: #FF6041;
    border-radius: 4px;
    font-size: 1.3rem;
    color: #fff;
    padding: 0px 5px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-55%);
}

.form_body dl dd{
    font-size: 1.7rem;
    width: 65%;
}
.form_body dl dd .form_note{
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 3px;
}
.form_body input ,textarea, .form_body select {
    font-size: 1.7rem;
	border: none !important;
    border-radius: 0.5em;
    width: 100%;
    padding: 0.45em 0.6em;
    color: #4D4D4D;
	font-weight: 400;
	font-family: "Zen Maru Gothic", serif;
    background-color: #eef1f6;
}
.address_type_selection {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}
.address_type_selection__title {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
.address_type_selection__options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    width: 100%;
    min-width: 0;
}
.address_type_selection__option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
    cursor: pointer;
}
.address_type_selection__option input[type="radio"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    border-radius: 50%;
    background-color: transparent;
    appearance: auto;
    -webkit-appearance: radio;
}
.address_type_selection__option span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 16px;
}
textarea{
    height: 10.0vw;
}
.form_date{
    display: flex;
    justify-content: space-between;
}
.form_date li{
    display: flex;
    width: calc(95% / 3);
    align-items: center;
}
.form_date li .form_select{
    width: 100%;
}
.form_date li .form_select select{
    font-size: 1.7rem;
	border: none !important;
    border-radius: 0.5em;
    width: 100%;
    padding: 0.45em 0.6em;
    color: #4D4D4D;
	font-weight: 400;
	font-family: "Zen Maru Gothic", serif;
    background-color: #eef1f6;
}
.form_date_txt{
    margin: 0 0 0 4%;
}
.form_txt{
    font-size: 1.3rem;
    font-weight: 400;
}
.form_note{
    font-size: 1.4rem;
    font-weight: 400;
}

@media screen and (max-width:945px) {
    .all_form {
        padding: 10% 5%;
    }
    .form_body dl {
        display: flex;
        flex-direction: column;
        margin-bottom: 8%;
    }
    .form_body dl dt {
        width: 100%;
    }
    .form_body dl dd {
        width: 100%;
    }
    .address_type_selection {
        padding: 12px;
    }
    .address_type_selection__options {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .address_type_selection__option {
        width: 100%;
    }
    .form_btn {
        margin-top: 10%;
    }
    .form_btn::after, .add_form_more_btn::before, .add_form_more_btn::after {
        width: 15px;
    }
}


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

    form_agree

---------------------*/
.form_agree{
    background-color: #ffd9d1;
    padding: 0 0 6%;
    position: relative;
}
.form_agree_ttl{
    font-size: 2.2rem;
    color: white;
    background-color: #2a518a;
    border-radius: 60px;
    width: 45%;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}
.form_agree_box{
    background-color: white;
    border: 2px solid #2a518a;
    border-radius: 14px;
    width: 90%;
    max-width: 960px;
    margin: -15px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form_agree_box p{
    max-width: 700px;
    width: 100%;
    /* margin: 0 auto; */
}
.form_agree_txt{
    font-size: 1.7rem;
    line-height: 33px;
    margin-top: 8%;
    margin-bottom: 4%;
}
.form_agree_check{
    font-size: 1.7rem; 
}


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

    契約者追加 

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

.form_btn{
    margin-top: 5%;
    margin-bottom: 3%;
    font-size: 1.7rem;
    padding-bottom: 1%;
    border-bottom: 2px solid #2a518a;
    position: relative;
    cursor: pointer;
}
.form_btn::after ,
.add_form_more_btn::before ,
.add_form_more_btn::after {
    content: "";
    background-color: #2a518a;
    position: absolute;
    width: 20px;
    height: 2px;
    top: 50%;
    right:0;
}
.add_form_more_btn::before {
    transform: translateY(-50%) rotate(90deg);
    transition: .2s;
    top: 50%;
}
.form_btn::after, .add_form_more_btn::after{
    content: "";
    display: block;
    position: absolute;
}
.add_form_more_btn.active::before{
    transform: rotate(180deg);
    transition: .2s
}
.add_form_more_btn.active::after {
    opacity: 0;
    transition: .1s
}
.form_more_item{
    margin-top: 3%;
}



/* --------------
    変更form  
-----------------*/
#form_change{
    background-color: #ffd9d1;
    padding: 6% 0;
}
.form_change_item{
    background-color: white;
    border-radius: 14px;
    /* padding: 0 0 0 38px; */
    max-width: 960px;
    margin: 0 auto 2%;
    width: 90%;
}
#form_change div .form_body{
    padding: 0 30px 30px 38px;
}
.form_change_title{
    color: #ff6041;
    font-size: 2.1rem;
    cursor: pointer;
    padding: 29px 30px 29px 38px;
    position: relative;
}
.form_change_title::after{
    content: '\f106';
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 2.0rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) rotate(-180deg);
}
.form_change_title.active::after{
    transform: translateY(-50%) rotate(0deg);
    transition: .2s
}
.form_change_title span{
    font-size: 1.5rem;
    margin-left: 1.5rem;
}
#form_change div .form_body dl dt span small {
    font-size: 1.5rem;
    font-weight: 400;
}
@media screen and (max-width:945px) {
    #form_change .form_title {
        text-align: left;
        font-size: max(4.0vw, 18px);
        width: 90%;
        margin: 0 auto 4%;
    }
    .form_change_title{
        font-size: max(3.5vw, 18px);
        padding: 5% 5%;
    }
    #form_change div .form_body {
        display: block;
        padding: 0 5% 5%;
    }
    .form_change_title span{
        font-size: max(2.5vw, 13px);
        display: inline-block;
        width: 93%;
        margin-left: 0;
    }
    .form_change_title::after {
        right: 15px;
    }
    textarea {
        height: 20vw;
    }
    #form_change {
        padding: 15% 0;
    }
    .form_agree_ttl{
        font-size: max(4.5vw, 20px);
        width: 80%;
    }
    .form_agree_box {
        padding: 5% 5% 0;
    }
    .form_agree_box p{
        margin-top: 5%;
        margin-bottom: 0%;
    }
    .form_submit .btn {
        width: 250px;
        font-size: max(4.5vw, 20px);
    }
}



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

                footer 

----------------------------------------*/
footer {
	/* padding: 10px 0; */
	background: white;
	/* background: #fafafa; */
	text-align: center;
	/* box-shadow: 0 0 5px #eee; */
	/* max-width: 1440px;
	margin: 0 auto; */
  }
  footer a .logo{
	max-width: 230px;
	width: 100%;
	margin: 2% 0;
	object-fit: contain;
  }
  
  .content {
	margin: 20px 20px 0;
  }
  
  .copyright {
	color: white;
	font-size: 14px;
	text-align: center;
	background-color: #2A518A;
	padding: 15px 0;
  }

@media screen and (max-width:945px) {
    footer a .logo {
        max-width: 230px;
        width: 40%;
        margin: 2% 0;
        object-fit: contain;
        height: 55px;
    }
    .copyright{
        font-size: 12px;
        padding: 2% 0;
        margin:  0 auto;
        font-weight: 400;
    }
    
}


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

                confirm

------------------------------------*/
#confirm_wrapper{
    padding: 0 !important;
}
.confirm_sec_ttl{
    margin-bottom: 10%;
}
.confirm_sec_ttl{
    margin: 10% 0;
}
