@charset "utf-8";

body .bg_body_sub {
    background: var(--flow-color-tt);
}

.nav04 {
    border-bottom: 2px solid var(--flow-color-t);
}

h2 {
    background: linear-gradient(transparent 58%, var(--flow-color-t) 0%);
}

.h3_wp .inner_h3 .rhom {
    background-color: var(--flow-color);
}

h2::before {
    background: url(../imgs/bg_h2_flow.png) right / contain no-repeat;
}

.h2_wp {
    margin-bottom: 90px;
}

section:nth-of-type(2n-1) {
    background: var(--flow-color);
}

section:nth-of-type(2n-1) .h3_wp .inner_h3 .rhom {
    background: #ffffffe4;
}

.h3_wp .inner_h3 .rhom {
    z-index: 1;
    outline: none;
    left: 64px;
    width: 78px;
    height: 78px;
    top: -6px;
}

.h3_wp {
    border: none;
    width: fit-content;
    margin: 30px 0 30px;
}

h3 {
    letter-spacing: normal;
    font-weight: normal;
    text-shadow: 2px 2px 6px #111;
    font-size: 2.3em;
}

h3 span {
    font-size: 1.3em;
}

.inner_h3 {
    margin: 0;
}

section {
    width: 100%;
    padding: 20px 20px 40px 20px;
    margin: 0;
}

h4 {
    font-size: 1.9em;
    width: 100%;
    text-align: center;
    letter-spacing: .1em;
    text-shadow: 2px 2px 6px #111;
}

section .flex {
    align-items: center;
}

section .contents {
    margin-left: 220px;
    margin-top: -20px;
}

section .contents .flex {
    margin: 30px 50px 10px 0;
}

.box {
    width: 46%;
    height: 100px;
    position: relative;
    color: #333;
}

.box .border2 {
    border: 1px solid #fff;
    width: calc(100% + 20px);
    margin-left: -10px;
    height: 100%;
    position: absolute;
}

.box .border1 {
    border: 1px solid #fff;
    height: calc(100% + 20px);
    top: -10px;
    width: 100%;
    position: absolute;
}

.box .white {
    clip-path: polygon(10px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
    background: var(--bg-white-t);
    width: 100%;
    height: 100%;
}

.box .white_inner {
    margin: auto;
    position: relative;
    width: 100%;
    height: 100%;
}

.box p {
    font-size: 1.2em;
}

.box p.main {
    padding-top: 100px;
    transform: translateY(-50%);
    text-align: center;
}

section .contents .box .flex {
    margin: 0;
}

.yellow {
    color: #a29941;
    text-decoration: underline #a29941 1px;
    text-underline-offset: 4px;
    font-size: 1.08em;
}

.box:nth-of-type(1) p:last-of-type {
    position: absolute;
    right: 10px;
    bottom: 0;
    font-size: 0.9em;
}

.box:nth-of-type(1) p:nth-of-type(2) {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.88em;
}

.box:nth-of-type(1) p:last-of-type span {
    font-size: 1.3em;
}

.box:nth-of-type(2) p {
    text-align: center;
    padding-top: 36px;
    font-size: 1.1em;
}

@media screen and (max-width:1080px) {
    section .contents {
        margin-left: 0;
        padding-top: 20px;
    }

    h4 {
        padding: 0 20px;
    }

    section .contents .flex {
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .inner {
        padding: 10px;
    }

    section .flex {
        display: block;
    }

    .h3_wp {
        margin: 30px auto 10px;
    }

    h4 {
        padding: 20px 0;
    }

    .h3_wp .inner_h3 .rhom {
        left: -30px;
    }

    section .contents .box {
        width: 100%;
        margin-top: 40px;
    }
}