/*--------------  start fonts  ----------------*/

@font-face {
    font-family: YuMincho;
    src: url('../fonts/yumin.woff');
}

@font-face {
    font-family: YuGothic;
    src: url('../fonts/yugothib.woff');
}


/*--------------  end fonts  ------------------*/


/*--------------  start globals  ------------------*/

.h3 {
    font-size: 36px;
}

.h4 {
    font-size: 28px;
}

.h5 {
    font-size: 21px;
}

.h6 {
    font-size: 16px;
}

p {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

body {
    margin: 0;
    padding: 0;
}


/*--------------  end globals  ------------------*/

.top {
    max-width: 1366px;
    margin: auto;
}

.top {
 /*   background-image: url('../images/expense/top-pc.png');
    background-repeat: no-repeat;
    background-size: cover;*/
    height: 90px;
    position: relative;
}

.top>div {
    width: 100%;
    max-height: 90px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(154,118,60,1);
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(0%, -50%);
}

.top p:nth-child(1) {
    margin: 3px;
    font-family: YuMincho;
    font-weight: 600;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
}

.top p:nth-child(2) {
    margin: 3px;
    font-family: Century;
    font-weight: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
    text-transform:lowercase;
}

.contents1 {
    max-width: 1366px;
    margin: auto;
    padding-left: 93px;
    padding-right: 93px;
}

.contents1 p {
    font-family: YuMincho;
    color: #1F0031;
    font-weight: 500;
    line-height: 27px;
}

.contents1 .sec1 .h3 {
    margin: 45px 0;
    font-weight: normal;
    text-align: center;
    line-height: 32px;
    font-weight: 900;
}

.contents1 .sec1 p {
    font-weight: normal;
    margin: 45px 0;
    text-align: center;
    line-height: 32px;
}

.contents1 .sec2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contents1 .sec2 .card {
    max-width: 360px;
    width: 31%;
    margin-top: 0;
    position: relative;
}

.contents1 .sec2 .card .text-overlay {
    position: relative;
}

.contents1 .sec2 .card .text-overlay p {
    background-color: rgba(154,118,60,0.8);
    position: absolute;
    top: 50%;
    width: 100%;
    font-family: YuMincho;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 33px;
    text-align: center;
    color: #fff;
    height: 100px;
    margin-top: -50px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.contents1 .sec2 .card:nth-child(1) .text-overlay {
    background-image: url('../images/expense/top1.png');
    background-size: cover;
/*    max-width: 360px;*/
    width: 100%;
    height: 220px;
}

.contents1 .sec2 .card:nth-child(2) .text-overlay {
    background-image: url('../images/expense/top2.png');
    background-size: cover;
/*    max-width: 360px;*/
    width: 100%;
    height: 220px;
}

.contents1 .sec2 .card:nth-child(3) .text-overlay {
    background-image: url('../images/expense/top3.png');
    background-size: cover;
/*    max-width: 360px;*/
    width: 100%;
    height: 220px;
}

.contents1 .sec2 .card:last-child .text-overlay p.h3 {
    letter-spacing: 0.05em;
}

.contents1 .sec2 .card img {
    width: 100%;
}

.contents1 .sec2 .card center {
    margin: 1rem auto;
}

.contents1 .sec2 .card .h4 {
    height: 65px;
    white-space: normal;
    text-align: center;
    line-height: 32px;
    display: table-cell;
    vertical-align: middle;
    font-size: 24px;
    font-weight: 900;
}

.contents1 .sec2 .card .image-text {
    color: white;
    font-size: 30px;
    background-color: #ca9b42;
    text-align: center;
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    transform: translate(0%, -50%);
    display: none;
}

.contents1 .sec3 {
    margin-top: 65px;
}

.contents1 .sec3 .gallery {
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contents1 .sec3 .h3 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: YuGothic;
    font-weight: bold;
    text-align: center;
    color: white;
    letter-spacing: 0.05em;
    line-height: 32px;
    background-color: #1F0031;
}

.contents1 .sec3 .gallery .card {
    position: relative;
    width: 23%;
    max-width: 274px;
    overflow: hidden;
}

.contents1 .sec3 .gallery .card-image {
    width: 100%;
}

.contents1 .sec3 .gallery .card-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    background: rgba(0, 0, 0, 0.7);
    height: 120px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.contents1 .sec3 .gallery .card:hover .card-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.contents1 .sec3 .gallery .card-details .h4 {
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}


/* .contents1 .sec3 .gallery .fadeIn-top {
    top: 20%;
} */

.contents1 .sec4 .h3 {
    font-weight: normal;
    color: #1F0031;
    text-align: center;
    line-height: 48px;
    margin: 45px auto;
    font-size: 36px;
    font-weight: 900;
}

.contents1 .sec4 .triangle {
    height: 38px;
}

.contents1 .sec4>p {
    margin: 45px auto;
    font-weight: 600;
    text-align: center;
    font-size: 21px;
    line-height: 36px;
}

.contents1 .sec4>p img {
    width: 265px;
}

.contents1 .sec5 {
    margin-top: 75px;
}

.contents1 .sec5 .sec-header {
    background-color: #1F0031;
    padding-top: 15px;
    padding-bottom: 5px;
}

.contents1 .sec5 .sec-header .h3 {
    margin: 5px auto;
    font-family: YuGothic;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 32px;
    color: white;
    text-align: center;
}

.contents1 .sec5 .sec-header p {
    margin: 5px auto;
    letter-spacing: 0.05em;
    font-family: YuGothic;
/*    font-weight: 500;*/
    color: white;
    text-align: center;
    line-height: 32px;
}

.contents1 .sec5 .sec-content {
    padding: 1rem 6rem 0 6rem;
    background-color: #C4B5CC;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contents1 .sec5 .sec-content>div:nth-child(1) {
    width: 35%;
}

.contents1 .sec5 .sec-content>div:nth-child(2),
.contents1 .sec5 .sec-content>div:nth-child(3) {
    max-width: 250px;
    width: 28%;
}

.contents1 .sec5 .sec-content .h5 {
    letter-spacing: 0.05em;
    font-weight: 900;
    line-height: 36px;
    font-size: 1.3vw;
}

.contents1 .sec5 .sec-content img {
    width: 100%;
}

.contents1 .sec5 .sec-content .card p {
    margin: 14px 0 40px 0;
    font-weight: 600;
    line-height: 24px;
    font-size: 16px;
}

.contents2 .h3 {
    margin: 42px auto 70px auto;
    font-family: YuMincho;
    font-weight: 900;
    color: #1F0031;
    text-align: center;
    line-height: 48px;
}

.contents2 .card {
    margin: 1rem 0;
    width: 100%;
    height: 400px;
}

.contents2 .card:nth-child(2) {
    background-image: url('../images/expense/Image\ 9-pc.png');
    background-size: cover;
}

.contents2 .card:nth-child(3) {
    background-image: url('../images/expense/Image\ 10-pc.png');
    background-size: cover;
}

.contents2 .card:nth-child(4) {
    background-image: url('../images/expense/Image\ 11-pc.png');
    background-size: cover;
}

.contents2 .card:nth-child(5) {
    background-image: url('../images/expense/Image\ 12-pc.png');
    background-size: cover;
}

    .contents2 .card:nth-child(6) {
        background-image: url('../images/expense/Image\ 13-pc.png');
        background-size: cover;
    }

.contents2 .card:nth-child(7) {
    background-image: url('../images/expense/Image\ 14-pc.png');
    background-size: cover;
}

.contents2 .card:nth-child(8) {
    background-image: url('../images/expense/Image\ 15-pc.png');
    background-size: cover;
}

.contents2 .card-content {
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contents2 .card-header {
    box-sizing: border-box;
    width: 30%;
    max-width: 260px;
    height: 400px;
    padding: 75px 22px;
    background-color: rgba(154,118,60,0.8);
}

.contents2 .card-header p {
    color: white;
}

.contents2 .card-header .h4 {
    margin-top: 5px;
    font-weight: 900;
    font-family: YuMincho;
    text-align: center;
    line-height: 36px;
    font-size: 26px;
}

.contents2 .card-header .h6 {
    font-weight: 300;
}

.contents2 .card-body {
    background-color: rgba(255,255,255,0.9);
    width: 64%;
    padding: 1rem 1.5rem;
    position: relative;
}

.contents2 .card-body p.h4 {
    margin: 10px 0 20px 0;
    font-weight: 900;
    line-height: 49px;
}

.contents2 .card-body p {
    margin: 3px 7px;
    font-family: YuMincho;
    font-weight: normal;
    line-height: 28px;
    color: #1F0031;
}

.contents2 .card-body p.h6 {
    font-size: 15px;
    font-weight: 500;
    line-height: 19px;
}

.contents2 .card-body center {
    width: 30px;
    margin-right:0;
    text-align: center;
}

.contents2 .card-body>div {
    display: flex;
    align-items: center;
}

.contents2 .card-body p.price {
    color: #1F0031;
    font-family: Century;
    line-height: 168px;
    position: absolute;
    transform: translate(0%, -50%);
    top: 50%;
    right: 10px;
}

.bottom {
    max-width: 1366px;
    margin: 75px auto;
    padding-left: 93px;
    padding-right: 93px;
}

.bottom p {
    margin: 5px auto;
    text-align: center;
    color: #1F0031;
    font-family: YuMincho;
    font-weight: normal;
    line-height: 32px;
}

.bottom p.h4 {
    margin-bottom: 0;
    padding: 14px 0;
    font-family: YuGothic;
    font-weight: bold;
    line-height: 32px;
    color: white;
    background-color: #1F0031;
}
.contents2 .card-body .h6 {
        padding-left: 110px;
}
.bottom .content {
    padding: 1.5rem 0 0.5rem 0;
    background-color: #C4B5CC;
}

.bottom .content>p:last-child {
    margin: 30px auto 15px auto;
    font-family: YuMincho;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -1px;
}

.bottom .btn-group {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom>p {
    margin: 45px 0;
    font-weight: 500;
    line-height: 24px;
}

.bottom .btn-group a {
    box-sizing: border-box;
    width: 210px;
    padding: 1rem 1rem;
    text-decoration: none;
    font-family: YuGothic;
    font-size: 24px;
    color: white;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    background-color: #1F0031;
}

.add_space{
    display: block;
    width: 20px;
    height: 20px;
    float: left;
}

@media only screen and (max-width: 992px) {
    .h3 {
        font-size: 24px;
    }
    .h4 {
        font-size: 20px;
    }
    .h5 {
        font-size: 18px;
    }
    .h6 {
        font-size: 11px;
    }
    p {
        font-size: 13px;
    }
    .contents1,
    .bottom {
        padding-left: 40px;
        padding-right: 40px;
    }
    .contents1 .sec3 .h3 {
        margin-left: 0;
        margin-right: 0;
    }
    .contents1 .sec5 .sec-content>div {
        width: 30%;
    }
    .contents1 .sec5 .sec-content {
        padding: 1rem 4rem;
    }
    .bottom .btn-group a {
        width: 150px;
        padding: 5px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .h3 {
        font-size: 28px;
    }
    .h4 {
        font-size: 24px;
    }
    .h6 {
        font-size: 15px;
    }
    p {
        font-size: 18px;
    }
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
/*    .top {
        background-image: url('../images/expense/top-sp.png');
    }*/
    .contents1,
    .bottom {
        padding-left: 10px;
        padding-right: 10px;
    }
    .contents1 .sec1 .h3,
    .contents1 .sec1 p {
        margin: 15px 0;
        line-height: 36px;
    }
    .contents1 .sec1 p.h3 {
        margin: 30px 7px;
        text-align: left;
        letter-spacing: -1px;
        text-align: center;
        font-size: 24px;
    }
    .contents1 .sec1 p {
        line-height: 32px;
        font-weight: 500;
        margin: 30px 20px;
        text-align: left;
    }
    .contents1 .sec2 {
        display: block;
    }
    .contents1 .sec2 .card {
        width: 100%;
        max-width: 450px;
    }
    .contents1 .sec2 .card>p {
        margin-bottom: 40px;
        padding: 0 20px;
        text-align: left;
        margin-top: 0;
    }
    .contents1 .sec2 .card center {
        margin: 1rem auto 0;
    }
    .contents1 .sec3 .h3 {
        font-size: 24px;
    }
    .contents1 .sec2 .card .h4 {
        height: 45px;
    }
    .contents1 .sec2 .text-overlay {
        height: 150px !important;
    }
    .contents1 .sec3 .gallery {
        flex-wrap: wrap;
    }
    .contents1 .sec3 .gallery .card {
        width: 48%;
        margin: 15px auto;
    }
    .contents1 .sec3 .gallery .card:nth-child(odd) {
        margin-left: 0;
    }
    .contents1 .sec3 .gallery .card:nth-child(even) {
        margin-right: 0;
    }
    .contents1 .sec3 .gallery .card-details {
        display: none;
    }
    .contents1 .sec4 {
        padding: 0 1rem;
    }
    .contents1 .sec4>p img {
        width: 230px;
    }
    .contents1 .sec4 .triangle {
        margin: 25px auto;
    }
    .contents1 .sec4>p {
        margin: 35px auto;
        font-size: 15px;
        line-height: 32px;
    }
    .contents1 .sec5 .sec-header {
        padding: 1rem 2rem;
        font-weight: normal;
    }
    .contents1 .sec5 .sec-header .h3 {
        font-size: 24px;
        font-weight: 700;
    }
    .contents1 .sec5 .sec-content {
        padding: 1.5rem;
        display: block;
    }
    .contents1 .sec5 .sec-content>div {
        max-width: 500px !important;
        width: 90% !important;
        margin: auto;
    }
    .contents1 .sec5 .sec-content .h5 {
        margin-bottom: 40px;
        line-height: 32px;
    }
    .contents1 p {
        text-align: center;
    }
    .contents2 .card-content {
        flex-direction: column;
    }
    .contents2 .card {
        height: auto;
    }
    .contents2 .card-header {
        width: 100%;
        height: auto;
        margin: 2rem 0;
        padding: 20px 20px 0px;
    }
    .contents2 .card:nth-child(2) {
        background-image: url('../images/expense/Image 9-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(3) {
        background-image: url('../images/expense/Image\ 10-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(4) {
        background-image: url('../images/expense/Image\ 11-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(5) {
        background-image: url('../images/expense/Image\ 12-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(6) {
        background-image: url('../images/expense/Image\ 13-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(7) {
        background-image: url('../images/expense/Image\ 14-sp.png');
        background-size: auto 260px;
        background-position: top;
    }
    .contents2 .card:nth-child(8) {
        background-image: url('../images/expense/Image\ 15-sp.png');
        background-size: auto 290px;
        background-position: top;
    }
    .contents2 .card-header .h4 {
        text-align: center;
    }
    .contents2 .card-body {
        width: 100%;
        padding: 0;
        background-color: rgba(255,255,255,1);
        padding-bottom: 60px;
    }
    .contents2 .card-body>div.icon-top {
        align-items: flex-start;
    }
    .contents2 .card-body>div.icon-top center{
        padding-top: 6px;
    }
    .contents2 .card-body p.h4 {
        font-weight: 700;
        text-align: center;
        margin: 10px auto;
        font-size: 24px;
        padding: 0;
    }
    .contents2 .card-body p.price {
        position: initial;
        transform: unset;
        margin-top: 1rem;
        font-size: 24px;
        font-weight: bold;
        line-height: 60px;
    }
    .contents2 .card-header {
        order: 1;
    }
    .contents2 .card-body {
        order: 2;
    }
    .contents2 .card-header .h4 {
        margin: 0;
    }
    .contents2 .card-body>div {
        margin: 10px 0 10px 3rem;
    }
    .contents2 .card {
        margin: 0;
    }
    .bottom .btn-group {
        width: 90%;
        display: block;
    }
    .bottom .btn-group a {
        font-size: 16px;
        width: 100%;
        margin-bottom: 20px;
    }
    .contents1 .sec5 .sec-content .card p {
        padding: 0 1rem;
        margin: 10px 0 20px;
        text-align: left;
    }
    .contents2 .h3 {
        padding: 0 3rem;
        line-height: 36px;
    }
    .contents2 .card-body>p {
        font-size: 15px;
        padding-left: 22px;
    }
    .contents2 .card-header {
        max-width: 1000px;
    }
    .contents2 .card-header .h6 {
        line-height: 23px;
        font-size: 14px;
    }
    .bottom {
        margin: 30px 0;
    }
    .card-ryutsu{
        display: block;
        padding-left: 4em;
    }
    .card-option{
        display: block;
        padding-left: 6em;
    }
    .contents2 .card-body .h6 {
        padding-left: 130px;
    }
    .bottom .btn-group {
        justify-content: center;
    }
	.contents1 .sec5 .sec-content .h5 {
	    font-size: 16px;
	}

}

@media only screen and (max-width: 576px) {
    .contents1,
    .bottom {
        padding-left: 0px;
        padding-right: 0px;
    }
    .contents1 .sec3 .gallery {
        margin: 0;
    }
    .contents1 .sec5 .sec-content {
        padding: 1rem 0;
    }
    .contents1 .sec5 .sec-content>div {
        width: 100% !important;
    }
    .contents1 .sec4 .h3 {
        margin: 10px auto;
        font-size: 28px;
        line-height: 1.5;
    }
    .contents2 .card-body>p {
        font-size: 13px;
    }
    .contents2 .h3 {
        margin: 40px auto;
        padding: 0 1rem;
        letter-spacing: -1px;
        font-size: 27px;
    }
    .contents2 .card-body>div {
        margin: 0px 0 0 1rem;
    }
    .contents2 .card-body p.h6 {
        font-size: 13px;
    }
    .contents2 .card-body p.price {
        margin-top: 0;
    }
    .contents2 .card-body p {
        margin-right: 0;
    }
    .bottom .btn-group a {
        padding: 6px 24px;
        display: block;
        /* width: 114px; */
    }
    .btn-box{
        display: flex!important;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
        margin: 0 auto 20px;
    }
    .btn-box li{
        list-style: none;
        display: block;
        width: 48%;
    }
    .btn-box a{
        display: block;
        color: #fff;
        background-image: url(../images/common/cv_icon2.png);
        text-align: center;
        padding: 42px 0 0px;
        background-color: #222;
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: 46% 10px;
        box-sizing: border-box;
        position: relative;
        font-weight: bold;
    }
    .btn-box li span {
        font-size: 12px;
        padding: 2px 4px;
        margin: 0;
        letter-spacing: 1px;
        position: absolute;
        top: 2px;
        left: 2px;
        z-index: 2;
        background: #fff;
        color: #222;
        float: left;
    }
    .contents2 .card-body p {
        margin-right: 0;
        margin: 8px 6px 0;
    }
    

}