@charset "utf-8";
/*------------------------------------------------------------
	トップページ
------------------------------------------------------------*/
#main ul {
    position: relative;
    min-height: 4195px;
}
#main ul:before {
    position: absolute;
    background: url("../img/history/bg.png") no-repeat;
    width: 982px;
    height: 3902px;
    right: 0;
    top: 292px;
    background-size: 982px 3902px;
    content: "";
    z-index: 2;
    pointer-events: none;
}
#main li .inner {
    padding: 33px 40px 30px;
    width: 418px;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #FDCB00;
}
#main li p {
    font-size: 1.5rem;
    line-height: 1.87;
}
#main li .ttl {
    margin-bottom: 22px;
    font-size: 2.1rem;
    line-height: 1.71;
}
#main ul li .inner .eng {
    position: absolute;
}
#main ul li:first-child {
    margin: 0 0 412px 319px;
}
#main ul li:first-child .inner .eng {
    left: -80px;
    bottom: -53px;
    width: 248px;
}
#main ul li:nth-child(2) {
    margin: 0 0 188px 468px;
}
#main ul li:nth-child(2) .inner .eng {
    right: -23px;
    top: -100px;
    width: 233px;
}
#main ul li:nth-child(3) {
    margin: 0 0 138px;
    letter-spacing: 0.5px;
}
#main ul li:nth-child(3) .inner .eng {
    left: 39px;
    top: -68px;
    width: 275px;
}
#main ul li:nth-child(4) {
    margin: 0 0 37px 468px;
}
#main ul li:nth-child(4) .inner .eng {
    right: -39px;
    top: -69px;
    width: 356px;
}
#main ul li:nth-child(5) {
    margin: 0 0 130px;
}
#main ul li:nth-child(5) .inner .eng {
    left: -103px;
    top: -61px;
    width: 347px;
}
#main ul li:nth-child(6) {
    margin: 0 0 182px 458px;
}
#main ul li:nth-child(6) .inner p {
    letter-spacing: 0.5px;
}
#main ul li:nth-child(6) .inner .eng {
    right: -30px;
    top: -57px;
    width: 263px;
}
#main ul li:nth-child(7) {
    margin: 0 0 0 135px;
}
#main ul li:nth-child(7) .inner .eng {
    left: -100px;
    top: -65px;
    width: 347px;
}
@media all and (min-width: 768px) {
    #main li {
        position: relative;
        z-index: 1;
    }
}
@media all and (max-width: 767px) {
    #main .pageTitle {
        margin-bottom: 70px;
    }
    #main ul {
        min-height: inherit;
    }
    #main ul:before {
        display: none;
    }
    #main li {
        padding-bottom: 63vw;
        position: relative;
        margin: 0 !important;
    }
    #main li:before {
        position: absolute;
        background: url("../img/history/sp_bg01.png") no-repeat;
        background-size: 100% auto !important;
        left: 0;
        right: 0;
        height: 83vw;
        bottom: -3.3%;
        content: "";
        z-index: 1;
        pointer-events: none;
    }
    #main li .inner {
        margin: 0 6.7%;
        padding: 5% 18px 3.8% 23px;
        width: auto;
    }
    #main li p {
        font-size: 1.6rem;
        line-height: 2;
        position: relative;
        z-index: 2;
    }
    #main li .ttl {
        margin-bottom: 30px;
        font-size: 1.8rem;
        line-height: 1.72;
    }
    #main li .spImg {
        margin: -13% 0 -7.5%;
        pointer-events: none;
        display: none;
    }
    #main li .spImg img {
        width: 100%;
    }
    #main ul li:first-child {
        margin: 0;
    }
    #main ul li:first-child .inner .eng {
        left: 2px;
        bottom: -25px;
        width: 124px;
    }
    #main ul li:nth-child(2) {
        padding-bottom: 72.2vw;
    }
    #main ul li:nth-child(2) .inner {
        padding-bottom: 2.5%;
    }
    #main ul li:nth-child(2) .inner .eng {
        right: 0;
        top: -46px;
        width: 117px;
    }
    #main ul li:nth-child(2):before {
        background: url("../img/history/sp_bg02.png") no-repeat;
        height: 96.53vw;
        bottom: -7.8%;
    }
    #main ul li:nth-child(3) {
        padding-bottom: 79.73vw;
        letter-spacing: 0;
    }
    #main ul li:nth-child(3) .inner {
        padding-bottom: 2.8%;
    }
    #main ul li:nth-child(3) .inner .eng {
        left: 2px;
        top: -28px;
        width: 138px;
    }
    #main ul li:nth-child(3):before {
        background: url("../img/history/sp_bg03.png") no-repeat;
        height: 100vw;
        bottom: -4.8%;
    }
    #main ul li:nth-child(4) {
        padding-bottom: 84.3vw;
    }
    #main ul li:nth-child(4) .inner {
        padding-bottom: 2.8%;
    }
    #main ul li:nth-child(4) .inner .eng {
        right: 0;
        top: -35px;
        width: 178px;
    }
    #main ul li:nth-child(4):before {
        background: url("../img/history/sp_bg04.png") no-repeat;
        height: 108.6vw;
        bottom: -4.8%;
    }
    #main ul li:nth-child(5) {
        padding-bottom: 77.1vw;
    }
    #main ul li:nth-child(5) .inner .eng {
        left: 3px;
        top: -40px;
        width: 174px;
    }
    #main ul li:nth-child(5):before {
        background: url("../img/history/sp_bg05.png") no-repeat;
        height: 100vw;
        bottom: -4.8%;
    }
    #main ul li:nth-child(6) {
        padding-bottom: 78.4vw;
    }
    #main ul li:nth-child(6) .inner p {
        letter-spacing: 0;
    }
    #main ul li:nth-child(6) .inner .eng {
        right: 0;
        top: -34px;
        width: 131px;
    }
    #main ul li:nth-child(6):before {
        background: url("../img/history/sp_bg06.png") no-repeat;
        height: 108.8vw;
        bottom: -4.8%;
    }
    #main ul li:nth-child(7) {
        padding-bottom: 0;
    }
    #main ul li:nth-child(7) .inner .eng {
        left: 0;
        top: -35px;
        width: 174px;
    }
    #main ul li:nth-child(7):before {
        display: none;
    }
}

