@charset "UTF-8";

body {
    color: #434242;
}

h3 {
    font-family: "yu-mincho-pr6n", sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 30px 0 30px;
}

.profilephoto h3 {
    line-height: 35px;
}

.plan_txt {
    text-align: center;
    line-height: 27px;
    font-size: 1em;
    padding-bottom: 30px;
}

h4 {
    font-family: "yu-mincho-pr6n", sans-serif;
    font-size: 25px;
    margin-bottom: 40px;
}

h4 span {
    font-size: 20px;
}

.plan_price_all {
    text-align: center;
    margin-top: 70px;
}

.plan_price_img {
    display: flex;
    justify-content: center;
}

.plan_price_all img {
    width: 300px;
    margin: 0 10px 35px;
}

.plan_price {
    margin: 0 auto;
    border: 30px solid #FAF9F6;
    padding: 25px 25px;
    width: 500px;
}

.two_plan_price {
    margin-top: 50px;
}

dl {
    font-family: "baskerville-urw", serif;
}

dt {
    font-weight: normal;
    font-size: 25px;
    padding-bottom: 5px;
}

dd {
    padding-top: 5px;
    font-size: 30px;
}

dd span {
    display: inline;
    font-size: 20px;
    margin-left: -8px;
}

.photograph_time {
    background: url(../img/waku.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0;
}

.photograph_time_span {
    display: block;
    line-height: 25px;
    padding-bottom: 8px;
}

.photograph_time p {
    position: relative;
    font-family: "baskerville-urw", serif;
    font-size: 19px;
    line-height: 40px;
    padding: 15px 0;
    border: 1px solid #434242;
}

.photograph_time p::before {
    content: "";
    width: 350px;
    height: 2px;
    background: #FFF;
    display: inline-block;
    position: absolute;
    top: -2px;
    left: 45%;
    transform: translateX(-55%);
}

.photograph_time p::after {
    content: "";
    width: 350px;
    height: 1px;
    background: #fff;
    display: inline-block;
    position: absolute;
    bottom: -1px;
    right: 45%;
    transform: translateX(55%);
}

.price_border span {
    display: inline;
    font-size: 15px;
    margin-left: -5px;
}

.price_border,
.two_contents,
.four_contents,
.five_contents,
.seven_contents {
    position: relative;
}

.price_border::before,
.two_contents::before,
.four_contents::before,
.five_contents::before,
.seven_contents::before {
    z-index: 10;
    content: "";
    width: 2px;
    height: 115px;
    background: #fff;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: -100%;
    transform: translatex(0%);
}

.price_border::after,
.two_contents::after,
.four_contents::after,
.five_contents::after,
.seven_contents::after {
    z-index: 10;
    content: "";
    width: 2px;
    height: 115px;
    background: #fff;
    display: inline-block;
    position: absolute;
    bottom: 0px;
    right: .5%;
    transform: translatex(99.5%);
}

.two_contents::before,
.two_contents::after {
    height: 75px;
}

.four_contents::before,
.four_contents::after {
    height: 150px;
}

.five_contents::before,
.five_contents::after {
    height: 195px;
}

.seven_contents::before,
.seven_contents::after {
    height: 295px;
}

.plan_txt_block {
    text-align: center;
}

.plan_txt_block p {
    line-height: 30px;
    font-size: 1em;
}

.plan_txt_block-span {
    text-align: center;
    display: block;
    margin-bottom: -15px;
}

.span-lineheight {
    line-height: 23px;
    display: block;
    padding-bottom: 5px;
}

.option {
    border: 1px solid #707070;
    border-radius: 5px;
    width: fit-content;
    margin: 70px auto;
    padding: 0 30px 35px;
}

.option li {
    line-height: 30px;
    font-size: 1em;
}

.ani-span {
    margin-top: -7px;
    display: block;
}

.profile-span {
    padding-left: 21px;
    display: block;
    margin-top: -5px;
}

h5 {
    font-family: "baskerville-urw", serif;
    font-size: 38px;
    margin: 25px 0;
    text-align: center;
}

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

    h3 {
        font-size: 23px;
        margin: 30px 0 20px;
    }

    .plan_txt {
        line-height: 25px;
        font-size: 14px;
        padding-bottom: 0;
    }

    h4 {
        font-size: 23px;
        margin-bottom: 30px;
    }

    h4 span {
        font-size: 18px;
    }

    .plan_price_all img {
        width: 170px;
        height: 170px;
        object-fit: cover;
    }

    .plan_price {
        padding: 20px 20px;
        width: 350px;
    }

    dt {
        font-size: 20px;
    }

    dd {
        font-size: 25px;
    }

    dd span {
        font-size: 15px;
        margin-left: -5px;
    }

    .price_border span {
        font-size: 10px;
        margin-left: -3px;
    }

    .photograph_time p {
        font-size: 15px;
        line-height: 27px;
        padding: 15px 0;
    }

    .photograph_time_span {
        line-height: 20px;
        padding-bottom: 3px;
    }

    .photograph_time p::before {
        width: 200px;
        left: 44%;
        top: -1.5px;
    }

    .photograph_time p::after {
        width: 200px;
        height: 2px;
        bottom: -1.6px;
        right: 44%;
    }

    .price_border::before {
        width: 2px;
        height: 90px;
        left: -100.5%;
    }

    .price_border::after {
        width: 2px;
        height: 90px;
        right: 1.1%;
    }

    .two_contents::before {
        width: 2px;
        height: 65px;
        left: -100.5%;
    }

    .two_contents::after {
        width: 2px;
        height: 65px;
        right: 1.1%;
    }

    .four_contents::before {
        width: 2px;
        height: 115px;
        left: -100.5%;
    }

    .four_contents::after {
        width: 2px;
        height: 115px;
        right: 1.1%;
    }

    .five_contents::before {
        width: 2px;
        height: 140px;
        left: -100.5%;
    }

    .five_contents::after {
        width: 2px;
        height: 140px;
        right: 1.1%;
    }

    .seven_contents::before {
        width: 2px;
        height: 210px;
        left: -100.5%;
    }

    .seven_contents::after {
        width: 2px;
        height: 210px;
        right: 1.1%;
    }

    .plan_txt_block p {
        line-height: 21px;
        font-size: 12px;
    }

    .plan_txt_block-span {
        margin-bottom: -13px;
    }

    .span-lineheight {
        line-height: 16px;
    }

    .option {
        margin: 50px auto;
        padding: 0 20px 35px;
    }

    .option li {
        line-height: 25px;
        font-size: 14px;
    }

    h5 {
        font-size: 33px;
        margin: 20px 0;
    }
}

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

    .plan_price_all img {
        width: 150px;
        height: 150px;
    }

    .plan_price {
        width: 320px;
    }

    .photograph_time p {
        font-size: 14px;
        line-height: 23px;
    }

    .shichigosan_dt {
        font-size: 17px;
    }

    .option {
        padding: 0 11px 35px;
    }

    .price_border::before,
    .price_border::after {
        height: 80px;
    }

    .two_contents::before,
    .two_contents::after {
        height: 57px;
    }

    .four_contents::before,
    .four_contents::after {
        height: 102px;
    }

    .five_contents::before,
    .five_contents::after {
        height: 125px;
    }

    .seven_contents::before,
    .seven_contents::after {
        height: 190px;
    }
}