@charset "utf-8";

/* ----------------------------------------------------------------------
ARTICLE
---------------------------------------------------------------------- */
header {
    padding: 50px 0 0;
    margin-bottom: 100px;
}

header > p {
    width: 520px;
    position: absolute;
    top: 70px;
    left: 70px;
    z-index: 1;
}

@media (max-width: 1200px) {
    header {
        margin-bottom:100px;
    }

    header > p {
        width:400px;
        top: 30px;
        left: 30px;
    }
}

@media (max-width: 700px) {
    header {
        padding-top:100px;
        margin-bottom:0;
    }

    header > p {
        max-width: 60%;
        top: 20px;
        left: 20px;
    }
}



.l-wrapper-s {
    padding:30px;
    max-width:1060px;
    width:92%;
    margin:0 auto;
    background:#fff;
    box-shadow: 0px 0px 7.8px 2.2px rgba(13, 4, 8, 0.07);
    position:relative;
}

.l-wrapper-s .prev {
    position:absolute;
    left:-130px;
    top:270px;
}

.l-wrapper-s .next {
    position:absolute;
    right:-130px;
    top:270px;
}

.prev a,.next a {
    display:inline-block;
    padding:2px;
}

@media (max-width: 1329px) {
    .l-wrapper-s .prev {
        left:-50px;
    }

    .l-wrapper-s .next {
        right:-50px;
    }

    .l-wrapper-s .prev img {
        width:19px;
    }

    .l-wrapper-s .next img {
        width:19px;
    }
}

@media (max-width: 1200px) {
    .l-wrapper-s .prev {
        left:-27px;
    }

    .l-wrapper-s .next {
        right:-27px;
    }
}

@media (max-width: 767px) {
    .l-wrapper-s .prev {
        left:-21px;
    }

    .l-wrapper-s .next {
        right:-21px;
    }


    .l-wrapper-s .prev img {
        width:15px;
    }

    .l-wrapper-s .next img {
        width:15px;
    }
}

.l-inner-s {
    max-width:700px;
    width:100%;
    margin:0 auto;
}

.mainvisual {
    margin-bottom:170px;
    position:relative;
}

article {
    position:relative;
    overflow:hidden;
    padding-bottom:100px;
}

article:before {
    content: "";
    background: #feeded;
    width: 100%;
    height: 100%;
    top: 350px;
    left: 0;
    display: block;
    position: absolute;
    z-index:0;
}

article section {
    margin-bottom:70px;
}

article section:last-of-type {
    margin-bottom:50px;
}

.icon {
    width:170px;
    height:170px;
    position:absolute;
    bottom:-85px;
    left:50%;
    margin-left:-85px;
}

.name {
    text-align:center;
    color:#777;
    margin-top:3px;
}

h1 {
    font-size:2.7rem;
    text-align:center;
    font-weight:bold;
    margin-bottom:70px;
    padding-bottom:20px;
    position:relative;
}

h1:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #ef9796;
    border-radius: 2px;
}

h2 {
    font-size:2rem;
    font-weight:bold;
    margin-bottom:25px;
    position:relative;
    padding-bottom:12px;
}

h2:before {
    position:absolute;
    width:100%;
    height:1px;
    content:"";
    background:#ccc;
    bottom:0;
    left:0;
}

h2:after {
    position:absolute;
    width:200px;
    height:2px;
    content:"";
    background:#ef9796;
    bottom:0;
    left:0;
}

h2 + p {
    margin-bottom:25px;
}

.caption {
    font-size:1.2rem;
    text-align:right;
    margin-top:5px;
}

.btn-p {
    min-width:200px;
    margin-bottom:70px;
}

@media (max-width: 700px) {
    h1 {
        font-size:2.4rem;
        line-height:1.4em;
    }

    h2 {
        font-size:1.8rem;
    }

    .mainvisual {
        margin-bottom:130px;
    }

    .icon {
        width:120px;
        height:120px;
        bottom:-60px;
        left:50%;
        margin-left:-60px;
    }

    .caption {
        font-size:1.1rem;
        line-height:1.2rem;
    }
}

@media (max-width: 400px) {
    .l-wrapper-s {
        padding:20px;
        width:84%;
    }

    h1 {
        font-size:2rem;
        padding-bottom:10px;
        margin-bottom:60px;
    }

    article section {
        margin-bottom:60px;
    }

    article section:last-of-type {
        margin-bottom:30px;
    }

    h2 {
        font-size:1.6rem;
    }

    .icon {
        width:90px;
        height:90px;
    }

    .caption {
        text-align:left;
        font-size:1rem;
    }
}

@media (max-width: 330px) {
    h1 {
        font-size:1.9rem;
    }
}