@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
.mainImg {
    margin-bottom: 0;
    background-image: url("../img/reform/main_img.jpg");
}
.reformBox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.reformBox .photoBox {
    min-height: 560px;
    order: 2;
    width: calc(50% - 80px);
}
.reformBox .photoBox img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}
.reformBox .textBox {
    flex: 1;
    padding: 40px 120px 40px 95px;
    display: flex;
    justify-content: flex-end;
}
.reformBox .textBox .sub {
    width: 450px;
}
.reformBox p {
    margin-right: 40px;
    letter-spacing: 0.12em;
    line-height: 2.67;
}
.reformBox02 {
    background-color: #F4F4F4;
}
.reformBox02 .photoBox {
    order: 0;
}
.reformBox02 .textBox {
    order: 2;
    display: block;
}
.system {
    padding: 100px 0 0;
}
.system .headLine02 {
    text-align: center;
}
.system .txt {
    margin-bottom: 52px;
    text-align: center;
    line-height: 2.67;
    letter-spacing: 0.12em;
}
.systemUl {
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}
.systemUl > li {
    margin: 0 30px 20px 0;
    width: 350px;
}
.systemUl > li:nth-child(3n) {
    margin-right: 0;
}
.systemUl > li .textBox {
    padding: 42px 40px 40px;
    background: linear-gradient(135deg,rgba(0,0,0,0.8) 0%, rgba(0,50,105,0.8) 100%);
}
.system h4 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: white;
    text-align: center;
}
.system h4 span {
    padding-bottom: 18px;
    display: inline-block;
    border-bottom: 1px solid #fff;
}
.systemUl .subUl {
    padding-top: 59px;
    max-width: 220px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.systemUl .subUl:after {
	width: 1px;  
	height: 60px;
    background-color: white;
	position: absolute;  
	top: 0;
	left: 50%;
    transform: translateX(-50%);
	content: ""; 
    z-index: -1;
}
.systemUl .subUl li {
    padding: 8px 5px 9px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    border: 1px solid #fff;
    color: white;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
}
.systemUl .subUl li:after {
	width: 1px;  
	height: 20px;
    background-color: white;
	position: absolute;  
	bottom: -20px;
	left: 50%;
    transform: translateX(-50%);
	content: ""; 
    z-index: -1;
}
.systemUl .subUl li:last-child {
    margin-bottom: 0;
}
.systemUl .subUl li:last-child:after {
    display: none;
}
.reform .pBox {
    max-width: 795px;
    margin: 0 auto 51px;
}
.reform .pBox p {
    letter-spacing: 0.02em;
    line-height: 2.67;
}
.reform .link {
    width: 250px;
    margin: 0 65px 103px auto;
}
.reform .link a {
    padding: 17px 25px;
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.25em;
    border: 1px solid #000000;
    background: url("../img/common/icon03.png") no-repeat right 20px center;
    background-size: 43px auto;
}
.reform .link a:hover {
    opacity: 0.7;
}

@media all and (max-width: 896px) {
    .mainImg {
        background-image: url("../img/reform/sp_main_img.jpg");
    }
    .reformBox {
        display: block;
    }
    .reformBox .textBox {
        display: block;
        padding: 40px 20px;
    }
    .reformBox .textBox .sub {
        width: auto;
    }
    .reformBox p {
        margin: 0;
    }
    .reformBox .photoBox {
        width: auto;
        min-height: inherit;
    }
    .reformBox .photoBox img {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        object-fit: contain;
    }
    .system {
        padding-top: 50px;
    }
    .systemUl {
        margin: 0 -20px 20px;
        display: block;
    }
    .systemUl > li {
        width: auto;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .systemUl > li .photoBox {
        position: relative;
        width: 53.3%;
    }
    .systemUl > li .photoBox img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .systemUl > li .textBox {
        width: 100%;
        box-sizing: border-box;
        flex: 1;
        padding: 20px;
    }
    .system h4 {
        font-size: 1rem;
    }
    .system h4 span {
        padding-bottom: 9px;
    }
    .systemUl .subUl {
        max-width: inherit;
        padding-top: 30px;
    }
    .systemUl .subUl li {
        padding: 4px 5px 3px;
        margin-bottom: 10px;
        font-size: 0.7rem;
    }
    .systemUl .subUl li::after {
        height: 10px;
        bottom: -10px;
    }
    .systemUl .subUl::after {
        height: 30px;
    }
    .systemUl > li:nth-child(2n) .textBox {
        order: 2;
    }
    .reform .pBox {
        margin-bottom: 30px;
        max-width: inherit;
    }
    .reform .pBox p {
        text-align: center;
    }
    .reform .link {
        margin: 0 20px 40px auto;
        width: 150px;
    }
    .reform .link a {
        padding: 7px 10px;
        font-size: 1.2rem;
        background-size: 24px auto;
        background-position: right 5px center;
    }
    
}