@charset "UTF-8";

body, ul, h1, h3 {
    margin: 0;
    padding: 0;
    font-family: 'ZCOOL XiaoWei', sans-serif;
    font-weight: 400;

}

::selection {
    color: #fff;
    background: #585858;
}

a, p, dd, h5 {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

h4, span, dt {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 600;
}

main {
    overflow-x: hidden;
}

li {
    list-style: none;
}

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

ul {
    display: flex;
}

header {
    width: 80%;
    min-width: 920px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    inset: 0;
    z-index: 5;
    mix-blend-mode: darken;
}

.logo {
    color: #fff;
    font-size: 34px;
    font-family: 'ZCOOL XiaoWei', sans-serif;
    font-weight: 400;
    transition: .6s;
}

.logo.color {
    color: #989898;
}

header ul li {
    margin-top: 10px;
    width: 90px;

}

header .menu {
    width: 30px;
    height: 30px;
    margin: 10px auto 5px;
    stroke: #585858;
    stroke-width: 1;
    transition: .5s;
}

header ul li a {
    color: #585858;
    text-align: center;
    font-size: 11px;
    transition: .5s;
}

section:first-of-type {
    margin-top: 110px;
}

.taiken {
    margin: 10px 12px 0;
    justify-content: center;
    width: 65px;
    height: 65px;
    border: solid 1px #585858;
    border-radius: 3px;
    transition: all 1s ease;
    /* background-color: #fff; */
}

.kinou:hover a {
    color: #97E4FC;
}

.kinou:hover .menu {
    stroke: #97E4FC;
}

.option:hover a {
    color: #8AB9FF;
}

.option:hover .menu {
    stroke: #8AB9FF;
}

.riyou:hover a {
    color: #C1ABFF;
}

.riyou:hover .menu {
    stroke: #C1ABFF;
}

.contact:hover a {
    color: #E7A4FF;
}

.contact:hover .menu {
    stroke: #E7A4FF;
}

.taiken:hover {
    transition: all 1s ease;
    border: solid 1px #8AB9FF;
    animation: fadein 1.25s;
    animation-direction: alternate;
    background: linear-gradient(135deg, #97E4FC -14.94%, #8AB9FF 34.45%, #A4A8FF 71.92%, #E7A4FF 95.32%);
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.taiken:hover a {
    color: #fff;
}

.taiken:hover .menu {
    stroke: #fff;
}

h1 {
    padding: 40px 10% 30px;
    color: #423939;
    font-size: 70px;
    font-weight: 100;
}

.top {
    margin-top: 30px;
    height: 410px;
    background-image: url(../img/top_bg.png);
    background-repeat: no-repeat;
    background-size: 85% 410px;
    background-position: right;

}

.loopSlide {
    position: relative;
    display: flex;
    width: 100vw;
    overflow: hidden;
}

.loopSlide ul {
    margin-top: 100px;
    width: 100vw;
    flex-shrink: 0;
}

.loopSlide ul:first-child {
    animation: slide1 60s -30s linear infinite;
}

.loopSlide ul:last-child {
    animation: slide2 60s linear infinite;
}

.loopSlide ul li {
    display: block;
    margin: 0 auto;
    align-items: center;
    transition: 1s all;
}

/* .loopSlide:hover ul {
    animation-play-state: paused;
} */
.loopSlide img {
    transition: 0.6s all;
    width: 80%;
    max-width: 110px;
    min-width: 60px;
}

.loopSlide img:hover {
    width: 90%;
    position: relative;
}

/* アニメーション動く */
@keyframes slide1 {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes slide2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

.scroll {
    position: absolute;
    font-size: 12px;
    top: 580px;
    left: 10.5%;
    color: #585858;
}

.scroll p {
    margin-left: 4px;
}

.scroll::before {
    content: '';
    display: inline-block;
    position: absolute;
    background-color: #585858;
    bottom: 5px;
    transform: translateX(-50%);
    left: -5px;
    width: 1px;
    height: 55px;
    animation: scroll 2.5s infinite;
}

@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.deco {
    position: absolute;
    margin-top: 42px;
    left: 10.5%;
    z-index: 1;
    color: #FDFBF9;
    font-size: 105px;
}

.about {
    margin-top: 150px;
    background-color: #F8F2EA;
}

.content {
    position: relative;
    z-index: 2;
    width: 70%;
    min-width: 920px;
    margin: 0 auto;
    padding: 60px 0;
}

.content p, dd {
    text-align: justify;
    text-justify: inter-ideograph;
    line-height: 2em;
    font-size: 16px;
}

.content h4 {
    color: #B89839;
    font-size: 22px;
}

span {
    color: #766339;
    font-size: 17px;

}

h4 span::after {
    margin: 0 6% 0 10px;
    display: inline-block;
    content: '';
    color: #766339;
    border-top: solid 1px;
    width: 10%;
    vertical-align: middle;

}

h3 {
    font-size: 64px;
    color: #D8D8D8;
    text-align: center;
    margin-bottom: 50px;
}

h3 span {
    display: block;
}

dl {
    width: 26%;
    min-width: 267px;
}

dl img {
    width: 100%;
}

dt {
    text-align: center;
    font-size: 20px;
    margin-top: 17px;
    margin-bottom: 5px;
    letter-spacing: .2px;
}

dd {
    font-size: 16px;
    line-height: 1.8em;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    width: 100%;
    min-width: 920px;
    margin: 50px auto;
    position: relative;
}

.feature {
    background-color: #f7f7f7;
    display: flex;
}

.feature p {
    text-align: center;
}

svg {
    display: block;
    margin: 0 auto 10px;
}

.feature ul {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    min-width: 920px;
    margin: 50px auto;
}

.feature li {
    display: table;
    width: 30%;
    height: 200px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 45px;
    transition: .5s;
}

.feature li a {
    display: table-cell;
    vertical-align: middle;
    font-weight: 600;
    transition: .5s;
}

.feature li:last-of-type {
    background: none;
}


.feature li .menu {
    stroke: #D5C49C;
    stroke-width: 1.7;
    width: 62px;
    transition: .5s;
}

.feature li:hover {
    filter: drop-shadow(0 5px 10px #d2f0f8);
    transition: .5s;
}

.feature li:hover a {
    color: #97E4FC;
}

.feature li:hover .menu {
    stroke: #97E4FC;
}

.feature .next a {
    text-align: center;
    font-weight: 400;
}

.next a:hover .arrow {
    transition: .5s;
    transform: translate(7px, 0);
    stroke: #97E4FC;
}

.next a .arrow {
    margin: 0;
    margin-left: 10px;
    display: inline;
    vertical-align: middle;
}

.extension {
    background: linear-gradient(to top, transparent 0%, transparent 65%, #f7f7f7 100%), url(../img/top_bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
}



.extension h3 {
    text-align: justify;
    color: #fff;
    width: 30%;
    margin-bottom: 20px;
}

.extension h3 a {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 2px;
}

.extension h3 span {
    color: #B89839;
}
.ex-a{
    width: 64%;
    display: block;
    height: 140px;
}

.extension ul {
    width: 100%;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    transition: .5s;
}
.extension ul:first-child{
    height: 140px;
}

.arrow {
    margin-left: 10px;
    display: inline;
    vertical-align: middle;
    transition: .5s;
    width: 36px;
    stroke: #989898;
    stroke-width: 1;
}

a:hover .arrow {
    transform: translate(7px, 0);
}

.extension p {
    font-size: 14px;
    line-height: 1.25em;
    text-align: center;
    transition: .5s;
}

.extension li {
    display: inline;
    vertical-align: middle;
    width: 25%;
    min-width: 140px;
    margin: auto;
    height: 90px;
    /* background-color: #fff; */
    /* border-radius: 5px; */
    transition: .5s;
    border-right: solid 1px #D8D8D8;
}

.extension li:last-of-type {
    border-right: none;
}

.menu2 {
    width: 65px;
    stroke: #585858;
    stroke-width: 1.25;
    margin-bottom: 0;
    transition: .5s;
}

.extension ul:hover {
    filter: drop-shadow(0 3px 5px #8ab9ff8a);
    cursor: pointer;
}

.extension ul:hover .menu2 {
    stroke: #8AB9FF;
}

.extension ul:hover p {
    color: #8AB9FF;
}

.extension ul:hover .text {
    color: #585858;
}

.extension .custom {
    width: 100%;
}

.extension .custom li {
    display: flex;
    width: 100%;
    height: 155px;
}

.extension .custom li a {
    width: 15%;
    text-align: center;
}

.extension .custom div {
    width: 11%;
    margin: auto 25px;
}

.extension .custom .text {
    font-size: 16px;
    text-align: justify;
    margin: auto auto auto 0;
    line-height: 1.5em;
    width: 79%;
}

.extension .custom .text a {
    font-size: 14px;
    display: block;
    color: #B89839;
    width: 210px;
    line-height: 40px;
    border: solid 1px #B89839;
    border-radius: 3px;
    margin: 5px 0 0 auto;
    transition: .7s;
}

.extension .custom .text a:hover {
    background-color: #B89839;
    color: #fff;
    letter-spacing: 1px;
}

.flow p {
    text-align: center;
    line-height: 1.8em;
    margin-top: 10px;
}

.nagare {
    display: grid;
    text-align: center;
    width: 27%;
    border-radius: 6px;
    background: #F8F2EA;
    align-items: center;
    font-weight: 500;
    color: #766339;
}

.nagare span {
    color: #B89839;
}
.nagare p:nth-child(2){
    font-weight: 400;
    font-size: 14px;
    color: #585858;
    margin: 10px 30px 20px;
    text-align: justify;
}

.yaji {
    content: '';
    width: 8px;
    height: 8px;
    border-top: solid 1px #423939;
    border-right: solid 1px #423939;
    margin: 50px auto 0;
    transform: rotate(45deg);
}

.introduce {
    background-color: #F8F2EA;
    background-image: url(../img/foot_bg.jpg);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.introduce h3 {
    color: #fff;
}

.introduce p {
    text-align: center;
    line-height: 1.8em;
}

.banner {
    width: 49%;
    opacity: 0.9;
    background: #FFF;
    text-align: center;
}

.banner h3 {
    margin: 30px 0 20px;
    font-size: 52px;
    color: #F0E8DC;
}

.banner:last-of-type h3 {
    color: #E0E0E0;
    ;
}

.banner:last-of-type span {
    color: #585858;
}

.banner a {
    display: inline-block;
    width: 50%;
    line-height: 45px;
    color: #B89839;
    border: solid 1px #B89839;
    margin: 20px 0 40px;
    border-radius: 3px;
    transition: .6s;
}

.banner:last-of-type a {
    color: #989898;
    border: solid 1px #989898;
}

.banner a:hover {
    color: #fff;
    background-color: #B89839;
}

.banner:last-of-type a:hover {
    color: #fff;
    background-color: #989898;
}

footer .flexbox {
    margin: 0 auto;
    padding: 35px 0;
    line-height: 45px;
    width: 80%;
}

footer {
    background-color: #423939;
}

footer h1 {
    color: #fff;
    font-size: 33px;
    padding: 0;
}

footer ul {
    width: 55%;
    max-width: 750px;
    min-width: 580px;
    justify-content: space-between;
}

footer a {
    color: #fff;
}

footer ul li:before {
    display: inline-block;
    line-height: 12px;
    content: '';
    width: .8em;
    height: .8em;
    background: #5E5757;
    border-radius: 50%;
    margin-right: 8px;
}

.foot {
    line-height: 35px;
    background: #5E5757;
}

.foot .flexbox {
    padding: 0;
}

.foot a {
    font-size: 13px;
    color: #D8D8D8;
}

.foot p {
    font-size: 12px;
    color: #D8D8D8;
}

a.btn {
    display: block;
    width: 100%;
    line-height: 45px;
    border: solid 1px #fff;
    text-align: center;
    transition: .5s;
}

a.btn:hover {
    background-color: #fff;
    color: #423939;
}

a.btn:first-of-type {
    margin-right: 20px;
}

.btnarea {
    width: 30%;
    display: flex;
}

.square {
    display: inline-block;
    margin-left: 5px;
    width: 11px;
    height: 11px;
    border: solid 1px #D8D8D8;
    filter: drop-shadow(3.5px 3.5px 0 #D8D8D8);
}

.foot li::before {
    display: none;
}

.foot ul {
    justify-content: flex-start;
    width: 550px;
}

.foot li {
    margin-right: 20px;
}

.foot li::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #D8D8D8;
    position: relative;
    top: 4px;
    margin-left: 25px;
}

.foot li:last-child:after {
    content: none;
}

.nav {
    display: none;
}

.drawer_hidden {
    display: none;
}


@media (max-width: 920px) {
    header {
        width: 100%;
        min-width: 270px;
        padding: 0 6%;
        mix-blend-mode: normal;
    }

    .logo {
        font-size: 25px;
        margin: 15px 0;
    }

    h1 {
        font-size: 55px;
        padding-top: 25px;
    }

    h3 {
        font-size: 3em;
        margin-bottom: 30px;
    }

    .top {
        margin-top: 70px !important;
        height: 265px;
    }

    .loopSlide ul {
        margin-top: 50px;
        width: 200vw;
    }

    .nav {
        display: block;
    }

    .drawer_open {
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 100;
        cursor: pointer;
        right: 2%;
    }

    /* ハンバーガーメニューのアイコン */
    .drawer_open span,
    .drawer_open span:before,
    .drawer_open span:after {
        content: '';
        display: block;
        height: 1px;
        width: 25px;
        border-radius: 3px;
        background: #5E5757;
        transition: 0.5s;
        position: absolute;
    }

    /* 三本線の一番上の棒の位置調整 */
    .drawer_open span:before {
        bottom: 8px;
    }

    /* 三本線の一番下の棒の位置調整 */
    .drawer_open span:after {
        top: 8px;
    }

    /* アイコンがクリックされたら真ん中の線を透明にする */
    #drawer_input:checked~.drawer_open span {
        background: rgba(255, 255, 255, 0);
    }

    /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
    #drawer_input:checked~.drawer_open span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #drawer_input:checked~.drawer_open span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* メニューのデザイン*/
    .nav_content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        /* メニューを画面の外に飛ばす */
        z-index: 99;
        background: #fff;
        transition: .5s;
    }

    #drawer_input:checked~.nav_content {
        left: 0;
        /* メニューを画面に入れる */
    }

    .nav_list {
        display: block;
        margin-top: 50px;
    }

    .nav_list li {
        width: 75%;
        margin: 0 auto;
        text-align: center;
        border-top: solid 1px #E0E0E0;
    }

    .nav_list li:last-of-type {
        border-bottom: solid 1px #E0E0E0;
    }

    .nav_list li a {
        font-size: 16px;
        line-height: 60px;
    }

    .content {
        width: 88%;
        min-width: 270px;
        padding: 40px 0;
    }

    .flexbox {
        display: block;
        width: 100%;
        min-width: 230px;
        margin: 20px auto;
    }

    dl {
        width: 100%;
        margin-bottom: 50px;
    }

    dl img {
        height: 140px;
        object-fit: cover;
    }

    .scroll {
        top: 433px;
    }

    .about {
        margin-top: 100px;
    }

    .about h4 {
        text-align: justify;
    }

    .about h4 span {
        display: block;
    }

    .deco {
        margin-top: 35px;
        font-size: 87px;
    }

    .feature ul {
        min-width: 270px;
        margin-bottom: 0;
    }

    .feature li {
        width: 48%;
        height: 140px;
    }

    .feature li p {
        font-size: 14px;
    }

    .feature li .menu {
        width: 55px;
    }

    .extension {
        background: linear-gradient(to top, transparent 0%, transparent 90%, #f7f7f7 100%), url(../img/top_bg.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% 100%;
    }

    .extension .flexbox {
        margin: 0 auto;
    }

    .extension h3 {
        text-align: center;
        width: 100%;
        margin: 0 auto 20px;
    }

    .extension ul {
        flex-flow: wrap;
        width: 100%;
        margin-bottom: 10px;
    }
    .ex-a{
        display: inline;
    }
    .extension ul:first-child{
        height: 100%;
    }
    .plus {
        display: inline-block;
        color: #D8D8D8;
        width: 15%;
        height: .5px;
        background: currentColor;
        position: relative;
        top: -20%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: -153px 0;
        z-index: 5;
    }

    .plus::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: inherit;
        transform: rotate(90deg);
        bottom: 0;
        left: 0;
    }

    .extension li {
        width: 48%;
        min-width: 130px;
        margin: 30px auto;
        border: none;
    }

    .extension .custom li {
        display: block;
        height: fit-content;

    }

    .extension .custom div {
        width: 100%;
        margin: 10px 0;
    }

    .extension .custom li a {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .extension .custom .text {
        margin: auto;
    }

    .extension .custom .text a {
        margin: 10px auto;
    }

    .nagare {
        width: 90%;
        margin: 0 auto;
    }

    .yaji {
        display: block;
        transform: rotate(135deg);
        margin: 10px auto;
    }

    .introduce {
        background-size: cover;
    }

    .banner {
        width: 95%;
        margin: 10px auto;
        padding: 20px 0;
    }

    .banner h3 {
        margin: 0;
        margin-bottom: 20px;
        font-size: 45px;
    }

    .banner a {
        width: 80%;
        margin-bottom: 0;
    }

    .none {
        display: none;
    }

    .foot p {
        text-align: center;
        line-height: 2em;
        padding-bottom: 10px;
    }

    .foot ul {
        width: 100%;
        min-width: 270px;
        justify-content: center;
    }

    .foot p span {
        display: block;
    }

    .foot li:nth-last-child(2) {
        margin: 0;
    }

    .foot li:nth-last-child(2):after {
        content: none;
    }

    .arrow {
        width: 30px;
    }
}