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


img {
    width: 100%;
}

article {
    color: #707070;
    line-height: 250%;
    font-size: 16px;
}

header {
    width: 100%;
    margin: 0px auto;
    position: relative;
    margin-bottom: 30px;
    position: fixed;
    background-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;
}

#logo {
    color: #000;

    text-decoration: none;
}

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

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

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

header.scrolled span {
    font-size: 12px !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: #666;
    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: #fff;
    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 dotted #aaa;
}



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

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

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


#menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* 下線の高さ */
    background-color: #E4DAB9;
    /* 下線の色 */
    transition: 0.4s;
    /* アニメーションの速度 */
    visibility: hidden;
    /* 初期状態では非表示 */
}

#menu a:hover::before {
    width: 100%;
    visibility: visible;
    /* ホバー時に表示 */
}

main {
    padding-top: 80px;
}

footer {
    margin-top: 200px;
}



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

.first {
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 60px auto;
}

.secondary {
    background-color: #FbFbFb;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 60px auto;
}

.box {
    display: flex;
}

.box .col6 {
    flex-basis: 60%;
    position: relative;
}

.box .col5 {
    flex-basis: 50%;
    position: relative;
}

.box .col4 {
    flex-basis: 40%;
    position: relative;
}

.box .l {
    padding-right: 4%;
}

.box .r {
    padding-left: 4%;
}


.ttl {
    text-align: center;
    border-bottom: 1px solid #E4DAB9;
    padding-bottom: 10px;
    width: 80%;
    margin: 90px auto 60px auto;
}

.ttl h2 {
    font-size: 28px;
}

.ttl h3 {
    font-size: 22px;
    color: #777777;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
    min-height: 800px;
}

.main .box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.main .box .l {
    flex-basis: 50%;
    padding-right: 4%;
}

.main .box .r {
    flex-basis: 50%;
    padding-left: 4%;
}


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

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

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

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

#rep-ttl span {
    font-size: 22px;
    color: #777777;
    margin-left: 20px;
    padding-bottom: 4px;
}

#rep {
    font-size: 24px;
    text-align: right;
    right: 0px;
    bottom: 30px;
    color: #333;
    margin-top: 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;
    flex-wrap: wrap;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 60px;
}

.blog-col {
    flex: 0 0 calc(33.33% - 40px);
    /* 3列レイアウト用に調整 */
    margin-left: 50px;
    /* 最初のカラム以外の左マージン */
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    text-decoration: none;
}

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

.blog-col:nth-child(3n+1) {
    margin-left: 0;
    /* 3列目の要素は左マージンを0に */
}

.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-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;
    background-color: #E0D3AB;
    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: #E9DEBE;
    border-radius: 50px;
    text-align: center;
    width: 50px;
    height: 35px;
    padding-top: 12px;
    transition: 0.8s ease-in-out;
}

#page-top img {
    color: #666;
    width: 25px;
}

#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: #fff;
    }


    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 {
        padding-top: 0px;
    }

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

    .main .box {
        display: block;
        position: relative;
        width: 100%;
    }

    .main .box .l {
        padding-right: 0;
        position: absolute;
        z-index: 2;
        color: #fff;
        margin-top: 26%;
    }


    #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;
    }


    .main .box .r {
        padding-left: 0;
        position: absolute;
        width: 100%;
        z-index: 1;

    }

    #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;
    }



    .box {
        display: flex;
        flex-wrap: wrap;
        /* レスポンシブ対応のためにflex-wrapを追加 */
    }

    .box .col6,
    .box .col5,
    .box .col4 {
        flex-basis: 100%;
        /* .l と .r を横幅100%に設定 */
        position: relative;
    }

    .box .l,
    .box .r {
        padding: 0;
        /* パディングをリセット */
    }

    .box .r {
        order: -1;
        /* .r を上に配置 */
    }

    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 {
        max-width: 100%;
    }

    .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;
        color: #333;
    }


    .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 {
    }

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

    .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;
    }


    .footer-contact-ttl {
        font-size: 20px;
        margin: 0px auto 15px auto;
    }

    .footer-contact-tel {
        font-size: 16px;
        margin: 15px auto 30px auto;
    }

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


    .footer-menu {
        display: block;
    }

    .footer-menu-l {
        display: block;
        padding-right: 0px;
    }

    .footer-menu-r {
        display: block;
        padding-left: 0px;
        height: initial;
    }

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




    .footer-about h4 {
        font-size: 16px;
    }

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

    .footer-about .access {
        font-size: 11px;
    }

    h6 {
        font-size: 11px;
        font-weight: bold;
    }

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

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

    .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;
    }

}