header + div{
    padding-top: 80px;
}

h1{
    background: #B41919;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

h1 span{
    display: block;
    letter-spacing: 0;
    font-size: 16px;
    margin-top: 15px;
}

nav ul{
    margin: 0 auto;
    max-width: 940px;
    display: flex;
    justify-content: space-between;
}

nav ul li a{
    color: #CB000B;
    font-weight: bold;
    display: block;
    padding: 30px 0;
}

nav ul li a:hover{
    text-decoration: underline;
    opacity: 0.6;
}

.wrap {
    max-width: 940px;
    margin: 0 auto;
}

h2{
    font-size: 45px;
    text-align: center;
    margin: 40px 0 20px;
}

.wrap h2 + div{
    border: solid 10px #B41919;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 80px;
    position: relative;
}

.wrap h2 + div h3{
    font-size: 35px;
    font-weight: bold;
    color: #B41919;
    width: 250px;
    display: inline-block;
    padding: 0;
    background: #fff;
    position: relative;
    position: absolute;
    top: -25px;
    left: 0;
    margin: auto;
    right: 0;
}

h2 + p {
    text-align: center;
    font-size: 25px;
}

.bulk {
    display: flex;
    margin-top: 40px;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: dotted 5px #666;
    margin-bottom: 60px;
}

.bulk > .inner {
    width: 48%;
}

.bulk > .inner > div + div {
    margin-top: 20px;
}

.bulk > .inner > div + div h3 {
    font-size: 25px;
    font-weight: bold;
    color: #CB000B;
}

.bulk > .inner > div + div h3 + span {
    color: #CB000B;
    font-weight: bold;
}

.bulk > .inner > div + div h3 + span + p {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.5;
    /* color: #666; */
}

.block_wrap {
    display: flex;
    justify-content: space-between;
}

.block_inner {
    width: 32%;
}

.info {
    text-align: center;
}

.info h3 + p {
    text-align: left;
    color: #666;
    line-height: 1.5;
    margin-top: 20px;
    font-size: 18px;
    height: 250px;
}

.block_inner .photo {margin-bottom: 20px;}

.block_inner .info {
    border: solid 10px #f1f1f1;
    border-radius: 10px;
    padding: 20px;
}

.info h3 {
    margin-top: 20px;
    color: #CB000B;
    font-weight: bold;
    font-size: 30px;
}

.info h3 span {
    display: block;
    margin-bottom: 5px;
}

h3.flow {
    font-size: 30px;
    font-weight: bold;
    color: #B41919;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

ul.flow_step {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: dotted 5px #666;
    margin-bottom: 60px;
}

.flow_step li {
    padding: 10px ;
    text-align: center;
    background: #FFB6B6;
    border-radius: 10px;
    width: 10%;
    font-weight: bold;
    height: 220px ;
    position: relative;
}

.flow_step li::after{
    content: url(../img/arrow.png);
    position: absolute;
    right: -40%;
    top: 45%;
}

.flow_step li:last-child::after{
    display: none;
}

.flow_step li span{
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline;
    transform: translate(-50%, -50%);
    /* writing-mode: vertical-rl;
    white-space: nowrap;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl; */
}

@media screen and (min-width: 801px){
    .flow_step li span{
        writing-mode: vertical-rl;
        white-space: nowrap;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    }
}

.seizou {
    background: #B41919;
    padding: 40px 20px;
}

.seizou ul {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.seizou .message {
    color: #FFF7CE;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-top: 40px;
}

.seizou ul li{
    position: relative;
}

.seizou ul li::after {
    content: url(../img/step_arrow1.png);
    position: absolute;
    right: -30%;
    top: 20%;
    z-index: 10;
}

.seizou ul li:nth-child(2):after {
    content: url(../img/step_arrow2.png);
}

.seizou ul li:nth-child(3):after {
    content: url(../img/step_arrow3.png);
}

.seizou ul li:nth-child(4):after {
    display: none;
}

.nagare {
    border: solid 10px #B41919;
    border-radius: 10px;
    text-align: center;
    margin: 60px auto 0;
    margin-bottom: 80px;
    position: relative;
    max-width: 940px;
    padding: 40px;
}

.nagare h3 {
    font-size: 35px;
    font-weight: bold;
    color: #B41919;
    width: 400px;
    display: inline-block;
    padding: 0;
    background: #fff;
    position: relative;
    position: absolute;
    top: -25px;
    left: 0;
    margin: auto;
    right: 0;
}

.nagare h4 {
    background: #FFD0D0;
    font-weight: bold;
    padding: 30px 10px;
    border-radius: 10px;
    width: 200px;
    margin-right: 40px;
}

.nagare h3 + ul > li{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.nagare ul.inner li {
    list-style: disc;
    margin: 10px 0;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}

#anc01,
#anc02,
#anc03{
    margin-top:-80px;
    padding-top:100px;
}



@media screen and (max-width: 800px) {

    h1{
        font-size: 20px;
        padding:10px 20px ;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        width: 50%;
        border-bottom: solid 1px #ccc;
    }

    nav ul li:nth-child(odd){
        border-right: solid 1px #ccc;
    }

    nav ul li a{
        font-size: 14px;
        display: block;
        line-height: 1;
        text-align: center;
        padding: 10px;
    }

    .wrap h2{
        font-size: 20px;
    }

    .wrap h2 + div {
        border: solid 5px #B41919;
        margin: 40px 20px;
    }

    .wrap h2 + div h3{
        font-size: 18px;
        width: 150px;
        padding: 10px 0;
    }

    .bulk{
        display: block;
        padding: 0 20px;
    }

    .bulk > .inner{
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .bulk > .inner > div + div h3{
        font-size: 18px;
        margin-bottom: 10px;
    }

    .block_wrap{
        display: block;
        padding: 20px;
    }

    .block_inner{
        width: 100%;
        margin-bottom: 20px;
    }

    .info h3{
        font-size: 18px;
    }

    .info h3 + p{
        height: auto;
        font-size: 16px;
    }

    .block_inner .photo{
        text-align: center;
    }

    h3.flow{
        margin-top: 0;
    }

    ul.flow_step{
        display: block;
        padding: 0 20px;
    }

    .block_inner .info{
        border: solid 5px #f1f1f1;
    }

    .flow_step li{
        width: 100%;
        margin-bottom: 40px;
        height: auto;
        padding: 20px 0;
    }

    .flow_step li:after{
        content: url(../img/arrow2.png);
        position: absolute;
        right: 47%;
        top: auto;
        bottom: -35px;
    }
    

    .flow_step li span{
        writing-mode: inherit !important;
    }

    .flow_step li span br{
        display: none;
    }

    .seizou ul{
        display: block;
        text-align: center;
    }

    .seizou ul li{
        margin-bottom: 60px;
    }

    .seizou ul li:last-child{
        margin-bottom: 20px;
    }

    .seizou ul li:after{
        content: url(../img/step_arrow01.png);
        right: 0;
        left: 0;
        top: auto;
        bottom: -65px;
    }

    .seizou ul li:nth-child(2):after{
        content: url(../img/step_arrow02.png);
    }

    .seizou ul li:nth-child(3):after{
        content: url(../img/step_arrow03.png);
    }

    .seizou .message{
        margin-top: 20px;
        font-size: 18px;
    }

    h2{
        font-size: 20px;
    }

    h2 + p{
        font-size: 16px;
    }

    h3.flow{
        font-size: 18px;
        margin-bottom: 20px;
    }

    .nagare{
        border: solid 5px #B41919;
        margin: 40px 20px;
    }

    .nagare h3{
        font-size: 18px;
        top: -13px;
        width: 220px;
    }

    .nagare h3 + ul > li{
        display: block;
        margin-bottom: 10px;
    }

    .nagare h4{
        width: 100%;
        padding: 20px 10px;
    }

    .nagare ul.inner li{
        font-size: 16px;
    }

    .nagare h3 + ul > li:after{
        content: url(../img/arrow2.png);
        right: 0;
        left: 0;
        top: auto;
        bottom: -65px;
    }

    .nagare h3 + ul > li:last-child:after{
        display: none;
    }

    .nagare h3 + ul li ul {
        margin-left: 20px;
    }

 
}