@charset "utf-8";

body .bg_body {
    left: 62%;
}

body .bg_body_sub {
    clip-path: polygon(0 42vh, 0 200vh, 120vh 84vh, 100% 84vh, 100% 0, calc(100% - 50vh) 42vh);
    height: 200vh;
    width: 100%;
    position: absolute;
    z-index: 5;
}

.sub_top_wp {
    width: 100%;
    height: 460px;
    filter: drop-shadow(5px 5px 5px #111);
    position: absolute;
    display: flex;
}

.sub_top {
    height: 100%;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100px, 360px 100px, 0 100%);
    overflow-x: hidden;
}

.sub_top ul {
    width: 200%;
    height: 100%;
    display: flex;
}

.sub_top li:nth-of-type(1) {
    width: 100%;
    background: url(../imgs/sub_top1.jpg) left top / cover no-repeat;
    height: 100%;
    display: block;
    animation: loop_sub1 140s -70s linear infinite;
}

.sub_top li:nth-of-type(2) {
    width: 100%;
    background: url(../imgs/sub_top2.jpg) left top / cover no-repeat;
    height: 100%;
    display: block;
    animation: loop_sub2 140s linear infinite;
}


.bread {
    padding-top: 110px;
    margin-left: 80px;
}

.h2_wp {
    padding: 120px 0 26px 0;
    width: fit-content;
    position: relative;
}

h2,
h3,
h4 {
    letter-spacing: 0.12em;
    text-shadow: 5px 5px 7px #333;
}

h2 {
    font-size: 3.4em;
    color: #fff;
    z-index: 20;
    text-decoration: underline 1px solid;
    text-underline-offset: 12px;
    display: inline-block;
    text-shadow: 5px 5px 7px #333;
    padding: 0 10px 4px 58vh;
    line-height: 1.5em;
    position: relative;
}

h2::before {
    content: "";
    position: absolute;
    left: 50vh;
    top: -20px;
    height: 2.3em;
    width: 2.3em;
    z-index: -1;
    transform: rotate(45deg);
    box-shadow: #333333a8 3px 3px 0;
}

.h2_wp p {
    left: 52vh;
    text-align: right;
    font-size: 1.2em;
    position: absolute;
    right: 4px;
    bottom: 0;
}

/* メイン */

.h3_wp {
    width: 100%;
    border-bottom: 1px solid #fff;
    margin: 40px 0 100px;
}

.h3_wp .inner_h3 .rhom {
    width: 92px;
    height: 92px;
    outline-offset: -6px;
    outline: 1px solid #ffffffb5;
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -40px;
}

.inner_h3 {
    width: fit-content;
    margin: auto;
    position: relative;
}

.inner_h3 p {
    position: absolute;
    right: 0;
}

h3 {
    font-size: 2.4em;
    line-height: 1.5;
    width: fit-content;
    z-index: 10;
    position: relative;
}

section {
    width: 86%;
    margin-left: auto;
    margin-top: 110px;
    margin-bottom: 130px;
}

h4 {
    line-height: 1.5;
}

@media screen and (max-width:1080px) {
    body .bg_body {
        left: 50%;
    }

    .h2_wp {
        text-align: right;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
    }

    h2 {
        width: fit-content;
        padding-left: 0;
    }

    h2::before {
        left: -50px;
    }

    .h2_wp p {
        left: auto;
    }

    .sub_top_wp {
        height: 250px;
    }

    .sub_top {
        clip-path: polygon(0 0, 100% 0, 100% 100px, 150px 100px, 0 100%);
    }

    .bread {
        margin-left: 150px;
    }
}

@media screen and (max-width:500px) {

    .h2_wp {
        font-size: 0.8em;
    }

    h2::before {
        left: -32px;
        top: -14px;
    }

    section {
        margin-left: 0;
        width: 100%;
    }

    .h3_wp {
        width: 100%;
        margin-left: 0px;
    }

    .inner {
        padding: 0;
    }
}

@keyframes loop_sub1 {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop_sub2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}