* {
    margin: 0px;
    padding: 0px;
    font-family: "a-otf-ryumin-pr6n", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    line-height: 200%;
}

body {
    background-color: #EEEEEE;
}

img {
    width: 100%;
}

header {
    width: 100%;
    margin: 0px auto;
    position: relative;
    margin-bottom: 30px;
    position: fixed;
    background-color: #B62837;
    color: #fff;
    height: 80px;
    opacity: 0.9;
    z-index: 99;
    transition: all 0.3s;
    top: 0;
}

header.scrolled {
    height: 65px;
    border-bottom: 1px solid #ccc;
}

a {
    text-decoration: none;
    color: #B62837;
}

#logo h1 {
    line-height: 100%;
    font-size: 26px;
    margin-top: 20px;
    transition: 0.5s ease-in-out;
    letter-spacing: 3px;
}

#logo span {
    color: #fff;
    font-size: 13.4px;
    transition: 0.5s ease-in-out;
    letter-spacing: 2.2px;
}

header.scrolled h1 {
    font-size: 22px !important;
    line-height: 100% !important;
    margin-top: 10px !important;
}

header.scrolled span {
    font-size: 12px !important;
    letter-spacing: 1.6px !important;
}



#header-wrp {
    width: 90%;
    margin: 0px auto;
    position: relative;
}

.navi-bt {
    position: fixed;
    z-index: 99999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 64px;
    height: 50px;
    transition: 0.5s ease-in-out;
}

.navi-bt.scrolled {
    top: 5px !important;
}


/*×に変化*/
.navi-bt span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 16px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 34px;
}

.navi-bt span:nth-of-type(1) {
    top: 15px;
}

.navi-bt span:nth-of-type(2) {
    top: 26px;
    width: 27px;
}

.navi-bt span:nth-of-type(3) {
    top: 37px;
}

.navi-bt.active span:nth-of-type(1) {
    top: 17px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 30px;
}

.navi-bt.active span:nth-of-type(2) {
    opacity: 0;
}

.navi-bt.active span:nth-of-type(3) {
    top: 30px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 30px;
}

.navi-bt p {
    font-size: 9px;
    position: absolute;
    bottom: 5px;
    text-align: center;
    color: #fff;
    width: 100%;
}

#menu-wrp {
    transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out;
    /* opacityとwidthのトランジションを設定 */
    overflow: scroll;
    z-index: 999;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    width: 0px;
    background-color: #B62837;
    box-shadow: -2px 0 2px rgba(200, 200, 200, 0.5);
    opacity: 0;
}

#menu-wrp.active {
    opacity: 1;
    width: 400px;
}

#menu {
    padding-top: 100px;
    font-weight: bold;
}

#menu a {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 300px;
    color: #333;
    font-size: 18px;
    margin: 0px auto;
    padding: 15px 0px 15px 0px;
    border-bottom: 1px solid #fff;
}



#menu a span {
    display: block;
    color: #fff;
}

#menu a {
    position: relative;
    text-decoration: none;
    color: #fff;
}

#menu a:hover {
    border-color: #fff;
    color: #eee;
}


#menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ccc;
    transition: 0.4s;
    visibility: hidden;
}

#menu a:hover::before {
    width: 100%;
    visibility: visible;
}

main {
    padding-top: 120px;
}

footer {
    margin-top: 60px;
    padding: 30px auto;
}

.mt-30 {
    margin-top: 30px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-90 {
    margin-top: 90px;
}



.wrp {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
}

.col2-tb {
    width: 100%;
}

.col2-tb td.col2-tb-l {
    width: 75%;
}

.col2-tb td.col2-tb-r {
    width: 20%;
}

.col2-tb td.col2-tb-spacer {
    width: 5%;
}


.row {
    display: flex;
    flex-direction: row;
}

.col-l,
.col-r {
    flex: 1;
    height: 100%;

}

.col-l {
    flex: 8;
    max-width: 80%;
    padding-right: 30px;
}

.col-r {
    flex: 2;
    max-width: 20%;
    padding-left: 30px;

}


.img-wrp {
    text-align: center;
}

.img-wrp img {
    width: 100%;
    max-width: 150px;
}

.img-wrp .caption {
    font-size: 12px;
    text-align: center;
    color: #333;
}


.mutted {
    color: #666;
}


.box {
    /* すでにあるスタイル */
    border-top: 1px solid #B62837;
    background-color: #fff;
    padding: 20px 30px;
}

.box h3 {
    font-size: 20px;
    margin-bottom: 30px;
}

.box p {
    line-height: 200%;
    font-size: 16px;
}

.box p.link {}

.box p.link a {
    font-size: 16px;
    position: relative;
}

.box p.link a span {
    font-size: 18px;
    position: absolute;
    right: -30px;
    top: 1px;
}

.box p.link.left-icon a span {
    position: relative;
    left: 0px;
    margin-right: 0px;
    top: 3px;
}

.sub-ttl {

    font-size: 26px;
    padding-bottom: 7px;
    color: #333;
    margin-bottom: 15px;

}

.sub-ttl span {
    font-size: 18px;
    color: #333;
    margin-left: 20px;
    padding-bottom: 4px;
}


#rep-ttl {
    margin-bottom: 30px;
}



.news {}

.news-row {
    border-bottom: 1px dotted #ccc;
    overflow: hidden;
    padding-top: 15px;
    padding-bottom: 15px;
}

.news-row:first-child {
    border-top: 1px dotted #ccc;
}

.news-row .date {
    float: left;
    width: 200px;
    color: #777777;
    font-size: 12px;
    letter-spacing: 2px;
}

.news-row .title {
    float: left;
    color: #333;
    font-size: 16px;
}

.news a {
    color: #333;
    text-decoration: none;
}


.news a:hover {
    color: #B1A58E;
}

.bt-primary-outline {
    display: block;
    border: 1px solid #E4DAB9;
    padding: 10px;
    width: 300px;
    margin: 30px auto;
    text-align: center;
    color: #777777;
    font-size: 18px;
    background-color: #fff;
}

a.bt-primary-outline {
    text-decoration: none;
}


a.bt-primary-outline:hover {
    color: #B1A58E;
    cursor: pointer;
}

.services {
    margin-top: 130px;
    padding-top: 30px !important;
}

.services img {
    margin-top: -60px;
}

.service-ttl {

    font-size: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid #E4DAB9;
    color: #333;
    margin-bottom: 30px;
}

.services a.bt-primary-outline {
    font-size: 16px;
    padding: 8px;
    width: 250px;
    margin: 30px auto 0px auto;
}

.services .r a.bt-primary-outline {
    float: right;
}

.services .l a.bt-primary-outline {
    float: left;
}


.blog {
    display: flex;
    margin-bottom: 60px;
    padding-bottom: 60px;
}

.blog-col {
    flex: 1;
    margin-left: 60px;
    text-decoration: none;
    color: #333;
}

.blog-col * {
    text-decoration: none;
    color: #333;
}

.blog-col:first-child {
    margin-left: 0;
}


.blog-col:hover {
    opacity: 0.8;
}

.blog-col img {
    width: 100%;
    height: auto;
}


.blog-image {
    flex: 1;
    height: 480px;
}

.blog-image img {
    width: 100%;
    height: auto;
}


.blog-date {
    margin-top: 12px;
    font-weight: bold;
    color: #666;

}

.blog-title {
    margin-top: 15px;
    font-size: 18px;
}

.blog-content {
    margin-top: 15px;
}

.footer-contact {
    background-color: #f3f3f3;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.footer-contact-ttl {
    font-size: 30px;
    margin: 15px auto 45px auto;
}

.footer-contact-tel {
    font-size: 24px;
    margin: 30px auto 60px auto;
}

.footer-contact-mail {
    font-size: 22px;
    margin: 30px auto;
}


.footer-menu {
    display: flex;
}

.footer-menu-l {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-row {
    padding-left: 5%;
    padding-right: 5%;
}

.footer-about {
    position: relative;
    background-color: #E4DAB9;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-about h4 {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 100%;
}

.footer-about h5 {
    font-size: 16px;
    color: #666666;
    line-height: 100%;
    margin-top: 0px;
    margin-bottom: 30px;
}

.footer-about .access {
    color: #666666;

}

.footer-about img {
    position: absolute;
    width: 160px;
    right: 30px;
    top: 60px;
}

.footer-link {
    display: flex;
    justify-content: center;
    background-color: #E0D3AB;
    padding-top: 30px;
}

.footer-link ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
}

.footer-link ul li {
    flex: 1;
    text-align: center;
}

.footer-link ul li a {
    color: white;
    display: block;
    padding: 10px;
}

.copyright {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.footer-menu-r {
    flex: 1;
    padding: 0px;
    overflow: hidden;
    height: 472px;
}


#page-top {
    bottom: -70px;
    position: fixed;
    right: 20px;
    background-color: #B62837;
    border-radius: 50px;
    text-align: center;
    width: 48px;
    height: 35px;
    padding-top: 12px;
    transition: 0.8s ease-in-out;
}


#page-top a span {
    color: #fff;
    margin-left: 8px;
}

#page-top.scrolled {
    bottom: 20px;
    opacity: 1;
}


.plx {
    opacity: 0;
    transform: translateY(50px);
    /* 初期位置を設定 */
    transition: opacity 1s, transform 1s;
}

/* スクロール位置に応じて要素を表示 */
.plx.show {
    opacity: 1;
    transform: translateY(0);
}


#mv-wrp {
    position: relative;
}

.mv {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 2s ease-in-out;
}

.mv.active {
    opacity: 1;
}

.sp {
    display: none;
}

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


    #lead1 {
        font-size: 40px;
        margin-bottom: 60px;
    }

    #lead2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    #lead3 {
        font-size: 16px;
        color: #666;
    }
}

@media screen and (max-width: 800px) {
    .wrp {
        width: 96%;
    }

    .main {
        padding-top: 0px;
    }

    .main .box {
        align-item: top;
    }
}

@media screen and (max-width: 600px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .wrp {
        width: 94%;
    }

    #header-wrp {
        width: 96%;
    }

    header {
        /* background-color: transparent;*/
        height: 70px;
    }

    #logo {
        line-height: 159%;
        ;
    }

    #logo h1 {
        font-size: 22px;
        margin-top: 15px;
        letter-spacing: 2px;
    }

    #logo span {
        font-size: 11px;
        transition: 0.5s ease-in-out;
    }

    header.scrolled {
        height: 60px;
        padding-top: 0px;
        background-color: #B62837;
    }


    header.scrolled h1 {
        font-size: 20px !important;
        margin-top: 10px !important;
    }

    header.scrolled span {
        font-size: 10.2px !important;
    }

    .navi-bt {
        top: 5px;
        right: 0px;
        transform: scale(0.9);
    }

    .navi-bt.scrolled {
        top: 2px !important;
        right: 0px;
    }

    main {}

    .main {
        min-height: initial;
        display: block;
        width: 100% !important;
        margin-bottom: 0px;
    }



    .box {
        /* すでにあるスタイル */
        border-top: 1px solid #B62837;
        background-color: #fff;
        padding: 20px 15px;
        flex: none;
    }

    .box h3 {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .box p {
        line-height: 200%;
        font-size: 14px;
    }

    .box p.link {}

    .box p.link a {
        font-size: 14px;
        position: relative;
    }

    .box p.link a span {
        font-size: 14px;
        position: ab5olute;
        right: -30px;
        top: 1px;
    }

    .box p.link.left-icon a span {
        position: relative;
        left: 0px;
        margin-right: 0px;
        top: 3px;
    }

    .sub-ttl {

        font-size: 26px;
        padding-bottom: 7px;
        color: #333;
        margin-bottom: 15px;

    }

    .sub-ttl span {
        font-size: 18px;
        color: #333;
        margin-left: 20px;
        padding-bottom: 4px;
    }



    #lead1 {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
        color: #fff;
        font-size: 34px;
        line-height: 150%;
        letter-spacing: 2px;
        margin-bottom: 90px;
    }

    #lead2 {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
        color: #fff;
        font-size: 18px;
        line-height: 150%;
    }

    #lead3 {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
        color: #fff;
        font-size: 11px;
    }


    #mv-wrp::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.25);
        /* 黒い背景と10%の透明度 */
        z-index: 2;
        /* レイヤーをmv-wrpの下に配置 */
    }

    .secondary {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 0px;
        padding-top: 90px;
    }



    h2 {
        text-align: center;
        font-size: 22px !important;
    }

    h2 span {
        display: block;
        font-size: 14px !important;
        margin-left: 0px !important;
    }

    article {
        font-size: 13px;
    }

    .rep-img {
        margin-top: 45px;
    }

    #rep {
        font-size: 14px;
        margin-top: 5px;
    }

    .ttl {
        margin-bottom: 0px;
        width: 100%;
    }

    .first {
        margin-top: 0px;
        padding-top: 0px;
    }

    h3 {
        font-size: 14px !important;
    }

    .news .news-row:first-child {
        border-top: none;
    }

    .news-row .date {
        font-size: 11px;
        width: 100%;
    }

    .news-row .title {
        display: block;
        width: 100%;
    }

    .news-row .title a {
        font-size: 13px;
    }


    .bt-primary-outline {
        padding: 6px;
        width: 200px;
        margin: 30px auto;
        font-size: 14px;
    }




    .service-ttl {
        border-bottom-width: 0px;
        font-size: 20px !important;
        margin-bottom: 0px;
    }

    .services {
        margin: 0px;
    }

    .services:first-child {
        margin-top: 60px;
    }

    .services:nth-child(even) .r {
        display: none;
    }

    .services:nth-child(odd) .l {
        display: none;
    }

    .blog {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0px;
        padding-bottom: 0px;
        margin-top: 60px;
    }

    .blog-col {
        flex: 0 0 calc(50% - 20px);
        margin-left: 30px;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        /* 行ごとのマージンを追加 */
    }

    .blog-col * {
        text-decoration: none;
        color: #333;
    }

    .blog-col:nth-child(odd) {
        margin-left: 0;
    }

    .blog-col:nth-child(even) {
        margin-left: auto;
    }

    .blog-col img {
        width: 100%;
        height: auto;
    }

    .blog-image {
        max-width: 100%;
        height: auto;
    }

    .blog-image img {
        width: 100%;
        height: auto;
    }

    .blog-date {
        margin-top: 12px;
        font-weight: bold;
        color: #666;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .blog-title {
        margin-top: 5px;
        font-size: 14px;
    }

    .blog-content {
        margin-top: 10px;
        font-size: 11px;
    }

    footer {
        margin-top: 60px;
    }

    .col2-tb {
        margin: 0px auto;
    }

    .col2-tb td.col2-tb-l {
        width: initial;
        display: block;
        margin-bottom: 30px;
    }

    .col2-tb td.col2-tb-r {
        width: initial;
        display: block;
    }

    .col2-tb td.col2-tb-spacer {
        display: none;
    }



}