@charset "UTF-8";

/* common */
.bt {
    text-align: center;
    position: absolute;
    top: 43vw;
    right: 15vw;
}

.bt a {
    font-size: max(1vw, 1.5rem);
    color: #feefb6;
    padding: 1vw 8vw 1vw 3vw;
    border-radius: 5rem;
    width: max(17vw, 20rem);
    display: block;
    margin: auto;
    border: 2px #feefb6 solid;
}

.bt a:hover {
    background: #feefb6;
    color: #16494a;
}

.bt a::after {
    position: absolute;
    content: "";
    width: 4vw;
    height: max(0.5vw, 0.8rem);
    border-bottom: 2px solid #feefb6;
    border-right: 2px solid #feefb6;
    transform: skew(45deg);
    right: 3vw;
    top: 35%;
}

.bt a:hover::after {
    border-bottom: 2px solid #16494a;
    border-right: 2px solid #16494a;
}

.bt2 {
    text-align: center;
    position: absolute;
    top: 43vw;
    left: 15vw;
}

.bt2 a {
    font-size: max(1vw, 1.5rem);
    color: #16494a;
    padding: 1vw 8vw 1vw 3vw;
    border-radius: 5rem;
    width: max(17vw, 20rem);
    display: block;
    margin: auto;
    border: 2px #16494a solid;
}

.bt2 a:hover {
    background: #16494a;
    color: #feefb6;
}

.bt2 a::after {
    position: absolute;
    content: "";
    width: 4vw;
    height: max(0.5vw, 0.8rem);
    border-bottom: 2px solid #16494a;
    border-right: 2px solid #16494a;
    transform: skew(45deg);
    right: 3vw;
    top: 35%;
}

.bt2 a:hover::after {
    border-bottom: 2px solid #feefb6;
    border-right: 2px solid #feefb6;
}

.bt3 {
    text-align: center;
}

.bt3 a {
    font-size: max(1vw, 1.5rem);
    color: #feefb6;
    padding: 1vw 8vw 1vw 3vw;
    border-radius: 5rem;
    width: max(17vw, 20rem);
    display: block;
    margin: auto;
    border: 2px #feefb6 solid;
    position: relative;
}

.bt3 a:hover {
    background: #feefb6;
    color: #16494a;
}

.bt3 a::after {
    position: absolute;
    content: "";
    width: 4vw;
    height: max(0.5vw, 0.8rem);
    border-bottom: 2px solid #feefb6;
    border-right: 2px solid #feefb6;
    transform: skew(45deg);
    right: 3vw;
    top: 35%;
}

.bt3 a:hover::after {
    border-bottom: 2px solid #16494a;
    border-right: 2px solid #16494a;
}

/* MV */
.main-visual {
    width: 100%;
    height: max(50vw, 70rem);
}

.slider {
    overflow: hidden;
    width: 100%;
    height: max(50vw, 70rem);
}

.slide {
    height: max(50vw, 70rem);
}

.slide-box01 {
    background: url(../images/mv01.png) no-repeat center top / cover;
}

.slide-box02 {
    background: url(../images/mv02.png) no-repeat center top / cover;
}

/* contents01 */
.contents01 {
    background: url(../images/bg-top01.png) no-repeat center / cover;
    color: #16494a;
    padding: 8rem 0;
}

.contents01 h2 {
    font-size: 3vw;
    font-weight: 900;
    width: 60rem;
    max-width: 40%;
    margin: 0 auto 2vw;
    text-align: center;
    position: relative;
}

.contents01 h2::before {
    position: absolute;
    content: "";
    width: 3rem;
    height: 3px;
    background: #16494a;
    top: 50%;
    left: -2vw;
}

.contents01 h2::after {
    position: absolute;
    content: "";
    width: 3rem;
    height: 3px;
    background: #16494a;
    top: 50%;
    right: -2vw;
}

.contents01 p {
    font-size: 2vw;
    font-weight: 900;
    width: 120rem;
    max-width: 90%;
    margin: auto;
    line-height: 1.5;
}

/* contents02 */
.contents02 {
    padding: 8vw 0;
}

.contents02-list {
    display: flex;
    font-size: max(1.2vw, 1.6rem);
    width: 70rem;
    max-width: 70%;
    margin: auto;
    gap: 2vw;
}

.contents02-list li {
    width: 48%;
}

.contents02-list li a {
    background: #119a82;
    color: #fff;
    padding: 1.5rem 5rem;
    border-radius: 5rem;
    position: relative;
    display: block;
}

.contents02-list li a::after {
    position: absolute;
    content: "";
    width: 10rem;
    height: 1px;
    background: #fff;
    top: 50%;
    right: 0;
}

/* contents03 */
.contents03 {
    background: url(../images/bg-top03.png) no-repeat left center / 60vw,
        url(../images/bg-top02.png) no-repeat center / cover;
    color: #fff;
    position: relative;
    height: 55vw;
}

.contents03 h2 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 3vw;
    position: absolute;
    top: 5vw;
    right: 12vw;
}

.contents03 p {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: max(1vw, 1.4rem);
    position: absolute;
    top: 8vw;
    right: 20vw;
    line-height: 2;
    height: 32vw;
}

/* contents04 */
.contents04 {
    background: url(../images/bg-top05.png) no-repeat right center / 60vw,
        url(../images/bg-top04.png) no-repeat center / cover;
    color: #fff;
    position: relative;
    height: 55vw;
}

.contents04 h2 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 3vw;
    position: absolute;
    top: 5vw;
    left: 12vw;
    color: #16494a;
}

.contents04 p {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: max(1vw, 1.4rem);
    position: absolute;
    top: 8vw;
    left: 20vw;
    line-height: 2;
    height: 32vw;
    color: #16494a;
}

/* news */
.news {
    padding: 7vw 0;
    position: relative;
    height: 40vw;
}

.news-title-box {
    background: url(../images/bg-news-title.png);
    width: 19vw;
    height: 20vw;
    position: relative;
    top: 0vw;
    left: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 19vw;
}

.news-title-box::after {
    position: absolute;
    content: "";
    background: url(../images/bg-news-title2.png) no-repeat;
    width: 17vw;
    height: 18vw;
    background-size: 17vw;
    z-index: -1;
    top: 7vw;
    left: 5vw;
}

.news-title-box h2 {
    font-size: 2.5vw;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.news-title-box h2 span {
    font-size: 3.5vw;
}

.news-box {
    border: 1px #16494a solid;
    width: 125rem;
    max-width: 70%;
    padding: 3vw 3vw 3vw 15vw;
    border-radius: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.news-list {
    font-size: max(1vw, 1.4rem);
    display: flex;
    flex-wrap: wrap;
}

.news-list dt {
    width: 20%;
}

.news-list dd {
    width: 80%;
}

.news-list dt:not(:last-of-type),
.news-list dd:not(:last-of-type) {
    border-bottom: 2px #16494a dotted;
    margin: 0 0 1vw;
    padding: 0 0 1vw;
}

/* company */
.company {
    padding: 7vw 0;
    background: url(../images/bg-top06.png) no-repeat center / cover;
    position: relative;
}

.company h2 {
    font-size: max(3vw, 4rem);
    color: #fff;
    width: 120rem;
    max-width: 90%;
    margin: 0 auto 3vw;
}

.company-box {
    display: flex;
    width: 140rem;
    max-width: 90%;
    margin: 0 auto 5vw;
    justify-content: space-between;
}

.company-l {
    width: 45%;
    display: flex;
    align-items: center;
}

.company-l img {
    width: 100%;
}

.company-r {
    width: 48%;
}

.company-list {
    display: flex;
    flex-wrap: wrap;
    font-size: max(1vw, 1.4rem);
    color: #fff;
}

.company-list dt {
    width: 30%;
    margin: 0 0 1vw;
    padding: 0 0 1vw;
    border-bottom: 1px #fff solid;
    line-height: 1.5;
}

.company-list dd {
    width: 70%;
    margin: 0 0 1vw;
    padding: 0 0 1vw;
    border-bottom: 1px #fff solid;
    line-height: 1.5;
}

/* contact */
.contact {
    padding: 7vw 0;
    background: url(../images/bg-top07.png) no-repeat center / cover;
}

.contact h2 {
    font-size: max(3vw, 4rem);
    text-align: center;
    color: #16494a;
    margin: 0 0 5vw;
}

.contact p {
    font-size: max(1vw, 1.8rem);
    color: #16494a;
    text-align: center;
    margin: 0 0 5vw;
}

.contact-list {
    display: flex;
    width: 70rem;
    max-width: 90%;
    margin: auto;
    font-size: 2.5rem;
    justify-content: space-between;
}

.contact-list li {
    width: 45%;
}

.contact-list li a {
    background: #16494a;
    display: block;
    color: #fff;
    text-align: center;
    border-radius: 5rem;
    padding: 2rem 2rem 2rem 5rem;
    position: relative;
}

.contact-list li:nth-of-type(1) a::after {
    position: absolute;
    content: "";
    background: url(../images/icon-tel.png) no-repeat;
    width: 2.5rem;
    height: 3rem;
    top: 54%;
    left: 4rem;
    transform: translateY(-50%);
}

.contact-list li:nth-of-type(2) a::after {
    position: absolute;
    content: "";
    background: url(../images/icon-mail.png) no-repeat;
    width: 2.7rem;
    height: 2rem;
    top: 50%;
    left: 6rem;
    transform: translateY(-50%);
}

/* access */
.access {
    padding: 7vw 0 5vw;
}

.access h2 {
    font-size: 3vw;
    text-align: center;
    margin: 0 0 3vw;
    color: #16494a;
}

.access p {
    font-size: 1vw;
    text-align: center;
    color: #16494a;
}

@media screen and (max-width: 896px) {
    /* common */
    .bt {
        text-align: center;
        position: absolute;
        top: max(70vw, 63rem);
        right: 50%;
        transform: translateX(50%);
    }

    .bt a {
        font-size: max(1vw, 1.5rem);
        color: #feefb6;
        padding: 2rem 8vw 2rem 3vw;
        border-radius: 5rem;
        width: 30rem;
        display: block;
        margin: auto;
        border: 2px #feefb6 solid;
    }

    .bt a:hover {
        background: #feefb6;
        color: #16494a;
    }

    .bt a::after {
        position: absolute;
        content: "";
        width: 5rem;
        height: 1rem;
        border-bottom: 2px solid #feefb6;
        border-right: 2px solid #feefb6;
        transform: skew(45deg);
        right: 5rem;
        top: 35%;
    }

    .bt a:hover::after {
        border-bottom: 2px solid #16494a;
        border-right: 2px solid #16494a;
    }

    .bt2 {
        text-align: center;
        position: absolute;
        top: max(70vw, 63rem);
        left: 50%;
        transform: translateX(-50%);
    }

    .bt2 a {
        font-size: max(1vw, 1.5rem);
        color: #16494a;
        padding: 2rem 8vw 2rem 3vw;
        border-radius: 5rem;
        width: 30rem;
        display: block;
        margin: auto;
        border: 2px #16494a solid;
    }

    .bt2 a:hover {
        background: #16494a;
        color: #feefb6;
    }

    .bt2 a::after {
        position: absolute;
        content: "";
        width: 5rem;
        height: 1rem;
        border-bottom: 2px solid #16494a;
        border-right: 2px solid #16494a;
        transform: skew(45deg);
        right: 5rem;
        top: 35%;
    }

    .bt2 a:hover::after {
        border-bottom: 2px solid #feefb6;
        border-right: 2px solid #feefb6;
    }

    .bt3 {
        text-align: center;
    }

    .bt3 a {
        font-size: max(1vw, 1.5rem);
        color: #feefb6;
        padding: 2rem 8vw 2rem 3vw;
        border-radius: 5rem;
        width: 30rem;
        display: block;
        margin: auto;
        border: 2px #feefb6 solid;
        position: relative;
    }

    .bt3 a:hover {
        background: #feefb6;
        color: #16494a;
    }

    .bt3 a::after {
        position: absolute;
        content: "";
        width: 5rem;
        height: 1rem;
        border-bottom: 2px solid #feefb6;
        border-right: 2px solid #feefb6;
        transform: skew(45deg);
        right: 5rem;
        top: 35%;
    }

    .bt3 a:hover::after {
        border-bottom: 2px solid #16494a;
        border-right: 2px solid #16494a;
    }

    /* MV */
    .main-visual {
        width: 100%;
        height: max(50vw, 40rem);
    }

    .slider {
        overflow: hidden;
        width: 100%;
        height: max(50vw, 40rem);
    }

    .slide {
        height: max(50vw, 40rem);
    }

    .slide-box01 {
        background: url(../images/mv01.png) no-repeat center top / cover;
    }

    .slide-box02 {
        background: url(../images/mv02.png) no-repeat center top / cover;
    }

    /* contents01 */
    .contents01 {
        background: url(../images/bg-top01-sp.png) no-repeat center / cover;
        color: #16494a;
        padding: 8rem 0;
    }

    .contents01 h2 {
        font-size: 2.5rem;
        font-weight: 900;
        width: 40rem;
        max-width: 80%;
        margin: 0 auto 3rem;
        text-align: center;
    }

    .contents01 h2::before {
        position: absolute;
        content: "";
        width: 3rem;
        height: 3px;
        background: #16494a;
        top: 50%;
        left: -2vw;
    }

    .contents01 h2::after {
        position: absolute;
        content: "";
        width: 3rem;
        height: 3px;
        background: #16494a;
        top: 50%;
        right: -2vw;
    }

    .contents01 p {
        font-size: 2rem;
        font-weight: 900;
        width: 120rem;
        max-width: 90%;
        margin: auto;
        line-height: 1.5;
    }

    /* contents02 */
    .contents02 {
        padding: 5rem 0;
    }

    .contents02-list {
        display: flex;
        font-size: max(1.2vw, 1.8rem);
        width: 30rem;
        max-width: 80%;
        margin: auto;
        gap: 2rem;
        flex-direction: column;
    }

    .contents02-list li {
        width: 100%;
    }

    .contents02-list li a {
        background: #119a82;
        color: #fff;
        padding: 2rem 5rem;
        border-radius: 5rem;
        position: relative;
        display: block;
    }

    .contents02-list li a::after {
        position: absolute;
        content: "";
        width: 10rem;
        height: 1px;
        background: #fff;
        top: 50%;
        right: 0;
    }

    /* contents03 */
    .contents03 {
        background: url(../images/bg-top03.png) no-repeat left bottom / 100%,
            url(../images/bg-top02.png) no-repeat right / cover;
        color: #fff;
        position: relative;
        height: max(130vw, 90rem);
    }

    .contents03 h2 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        font-size: 4rem;
        position: absolute;
        top: max(5vw, 5rem);
        right: 20%;
    }

    .contents03 p {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        font-size: max(1vw, 1.4rem);
        position: absolute;
        top: max(8vw, 8rem);
        right: 40%;
        line-height: 2;
        height: max(56vw, 51rem);
    }

    /* contents04 */
    .contents04 {
        background: url(../images/bg-top05.png) no-repeat left bottom / 100%,
            url(../images/bg-top04.png) no-repeat center / cover;
        color: #fff;
        position: relative;
        height: max(130vw, 90rem);
    }

    .contents04 h2 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        font-size: 4rem;
        position: absolute;
        top: max(5vw, 5rem);
        left: 20%;
        color: #16494a;
    }

    .contents04 p {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        font-size: max(1vw, 1.4rem);
        position: absolute;
        top: max(8vw, 8rem);
        left: 40%;
        line-height: 2;
        height: max(56vw, 51rem);
        color: #16494a;
    }

    /* news */
    .news {
        padding: 7vw 0;
        position: relative;
        height: max(100vw, 85rem);
    }

    .news-title-box {
        background: url(../images/bg-news-title.png);
        width: max(30vw, 30rem);
        height: max(30vw, 30rem);
        position: relative;
        top: 10vw;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: max(30vw, 30rem);
    }

    .news-title-box::after {
        position: absolute;
        content: "";
        background: url(../images/bg-news-title2.png) no-repeat;
        width: max(30vw, 30rem);
        height: max(30vw, 30rem);
        background-size: max(30vw, 30rem);
        z-index: -1;
        top: max(5vw, 3rem);
        left: max(5vw, 5rem);
    }

    .news-title-box h2 {
        font-size: max(2.5vw, 2.5rem);
        color: #fff;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .news-title-box h2 span {
        font-size: max(3.5vw, 3.5rem);
    }

    .news-box {
        border: 1px #16494a solid;
        width: 70rem;
        max-width: 90%;
        padding: 20rem 3rem 3rem 3rem;
        border-radius: 2rem;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -2;
    }

    .news-list {
        font-size: max(1vw, 1.5rem);
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .news-list dt {
        width: 100%;
    }

    .news-list dd {
        width: 100%;
    }

    .news-list dt:not(:last-of-type),
    .news-list dd:not(:last-of-type) {
        border-bottom: 2px #16494a dotted;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
    }

    .news-list dt {
        border: none !important;
        padding: 0 !important;
        margin: 0 0 1rem !important;
    }

    /* company */
    .company {
        padding: 5rem 0;
        background: url(../images/bg-top06.png) no-repeat center / cover;
        position: relative;
    }

    .company h2 {
        font-size: max(3vw, 4rem);
        color: #fff;
        width: 120rem;
        max-width: 90%;
        margin: 0 auto 5rem;
        text-align: center;
    }

    .company-box {
        display: flex;
        width: 140rem;
        max-width: 90%;
        margin: 0 auto 5vw;
        justify-content: space-between;
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .company-l {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .company-l img {
        width: 100%;
    }

    .company-r {
        width: 100%;
    }

    .company-list {
        display: flex;
        flex-wrap: wrap;
        font-size: max(1vw, 1.5rem);
        color: #fff;
        flex-direction: column;
    }

    .company-list dt {
        width: 100%;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        border-bottom: 1px #fff solid;
        line-height: 1.5;
    }

    .company-list dd {
        width: 100%;
        margin: 0 0 2rem;
        padding: 0 0 2rem;
        border-bottom: 1px #fff solid;
        line-height: 1.5;
    }

    /* contact */
    .contact {
        padding: 5rem 0;
        background: url(../images/bg-top07.png) no-repeat center / cover;
    }

    .contact h2 {
        font-size: 3.5rem;
        text-align: center;
        color: #16494a;
        margin: 0 0 5rem;
    }

    .contact p {
        font-size: 1.8rem;
        color: #16494a;
        text-align: left;
        margin: 0 auto 5rem;
        width: 51rem;
        max-width: 90%;
        line-height: 1.5;
    }

    .contact-list {
        display: flex;
        width: 35rem;
        max-width: 80%;
        margin: auto;
        font-size: 2.5rem;
        justify-content: space-between;
        flex-direction: column;
        gap: 3rem;
    }

    .contact-list li {
        width: 100%;
    }

    .contact-list li a {
        background: #16494a;
        display: block;
        color: #fff;
        text-align: center;
        border-radius: 5rem;
        padding: 2rem 2rem 2rem 5rem;
        position: relative;
    }

    .contact-list li:nth-of-type(1) a::after {
        position: absolute;
        content: "";
        background: url(../images/icon-tel.png) no-repeat;
        width: 2.5rem;
        height: 3rem;
        top: 54%;
        left: 4rem;
        transform: translateY(-50%);
    }

    .contact-list li:nth-of-type(2) a::after {
        position: absolute;
        content: "";
        background: url(../images/icon-mail.png) no-repeat;
        width: 2.7rem;
        height: 2rem;
        top: 50%;
        left: 6rem;
        transform: translateY(-50%);
    }

    /* access */
    .access {
        padding: 5rem 0 3rem;
    }

    .access h2 {
        font-size: 3.5rem;
        text-align: center;
        margin: 0 0 3vw;
        color: #16494a;
    }

    .access p {
        font-size: 1.5rem;
        text-align: left;
        color: #16494a;
        width: 40rem;
        max-width: 90%;
        margin: auto;
        line-height: 1.5;
    }
    
}
