@charset "UTF-8";

:root {
    --Maincolor: #346DB0;
    --Subcolor: #C6B796;
    --Txtcolor: #3A3A3A;
}


body {
    color: var(--Txtcolor);
    text-align: center;
    font-size: 16px;
    font-family: "Zen Kaku Gothic New",
        "Yu Gothic",
        YuGothic,
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    min-width: auto;
    -webkit-text-size-adjust: 100%;
    background-color: #F3F0E8;
    position: relative;
}

body::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/common/noise.png");
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
}

html,
body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--Txtcolor);
}

a,
a img {
    transition: all 300ms 0s ease;
}

a:hover {
    color: var(--Maincolor);
}

a:hover img {
    opacity: .6;
}

a:focus,
*:focus {
    outline: none;
}

.underline {
    text-decoration: underline;
}

p {
    text-align: left;
    line-height: 1.8;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}


/*******************************
CommandCss
*******************************/
#wrap {
    position: relative;
}

.builder {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/*---fontStyle---*/
.bold {
    font-weight: bold;
}

/*---textLayout---*/
.txtright {
    text-align: right;
}

.txtleft {
    text-align: left;
}

.txtcenter {
    text-align: center;
}

ul.list-style-indent li {
    padding-left: 1em;
    text-indent: -1em;
    margin: 10px 0;
}

/*---layout---*/
.wrap-common {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.pc {
    display: block;
}

/*width 1024pxまで表示*/
.tablet {
    display: block;
}

/*width 768pxまで表示*/
.sp {
    display: none;
}

/*width 768pxから表示*/

/*---Flex---*/
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex.col2,
.flex.col3,
.flex.col4 {
    flex-wrap: nowrap;
    margin-right: -20px;
}

.flex.col2 .item,
.flex.col3 .item,
.flex.col4 .item {
    padding-right: 20px;
}

.flex.col2 .item {
    width: 50%;
}

.flex.col3 .item {
    width: 33.333%;
}

.flex.col4 .item {
    width: 25%;
}


/*==== tablet タブレット用css ===*/
@media screen and (max-width: 1024px) {
    .wrap-common {
        max-width: none;
        margin: 0 auto;
    }

    .pc {
        display: none;
    }

}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 768px) {
    .tablet {
        display: none;
    }

    .sp {
        display: block;
    }

    /*---Flex---*/
    .flex.col2,
    .flex.col3,
    .flex.col4 {
        flex-wrap: wrap;
    }

    .flex.col2 .item,
    .flex.col3 .item,
    .flex.col4 .item {
        width: 100%;
    }

}


/*******************************
LoadingCss
*******************************/
#loading {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff;
    opacity: 1.0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#loading.is-hidden {
    opacity: 0;
    pointer-events: none;
}

#loading .ball {
    border-radius: 100%;
    margin: 2px;
    border: 2px solid #000;
    border-bottom-color: transparent;
    height: 26px;
    width: 26px;
    display: inline-block;
    -webkit-animation: rotate .75s 0s linear infinite;
    animation: rotate .75s 0s linear infinite;
    position: absolute;
    top: 50%;
    left: 47%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}


/*******************************
BtnCss
*******************************/

/*******************************
HeaderCss
*******************************/
header {
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800;
}

header h1 {
    max-width: 250px;
    margin: 30px;
}

a.contact-btn {
    background-color: var(--Maincolor);
    color: #fff;
    display: inline-block;
    position: fixed;
    top: 75px;
    right: 110px;
    z-index: 800;
    line-height: 1em;
    font-size: 16px;
    font-family: "Cabin", sans-serif;
    letter-spacing: .1em;
    padding: 10px 30px;
    border-radius: 50px;
    transform: translateY(-50%);
}

a.contact-btn:hover {
    background-color: #fff;
    color: var(--Maincolor);
    font-size: 16px;
    font-family: "Cabin", sans-serif;
    letter-spacing: .1em;
}

a.insta-btn {
    display: none;
}

/*sp_btn*/
#spBtn {
    padding: 0;
    position: fixed;
    top: 60px;
    right: 50px;
    z-index: 999;
    cursor: pointer;
    transition: all 300ms 0s ease;
}

.header-fix-top.scroll #spBtn {
    top: 25px;
}

.header-fix-top.scroll a.contact-btn {
    top: 40px;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.menu-trigger {
    position: relative;
    width: 30px;
    height: 10px;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
}

.menu-trigger span:nth-of-type(1) {
    top: 0;
}

.menu-trigger span:nth-of-type(2) {
    bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
    transform: translateY(4px) rotate(-15deg);
    background-color: #fff;
}

.menu-trigger.active span:nth-of-type(2) {
    transform: translateY(-4px) rotate(15deg);
    background-color: #fff;
}

#navigation {
    background-color: var(--Maincolor);
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    z-index: 900;
    transform: translateX(110%);
    transition: 0.5s;
}

#navigation.active {
    transform: translateX(0);
    transition: 0.5s;
}

#navigation nav {
    padding: 20vh 20%;
}

#navigation nav a {
    font-size: 20px;
    color: #fff;
    display: block;
    text-align: left;
    margin-bottom: 40px;
    font-size: 20px;
    font-family: "Cabin", sans-serif;
    letter-spacing: .1em;
    position: relative;
}

#navigation nav a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    display: inline-block;
    transform: rotate(45deg);
    vertical-align: 1px;
    margin-left: 15px;
    transition: 0.5s;
}

#navigation nav a:hover::after {
    margin-left: 20px;
    transition: 0.5s
}

#navigation .nav-insta {
    width: 55px;
    position: absolute;
    bottom: 30px;
    right: 30px;
}

#insta-follow {
    position: fixed;
    bottom: 150px;
    left: 50px;
    z-index: 800;
    transform-origin: left top;
    transform: rotate(90deg);
}

#insta-follow span {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-family: "Cabin", sans-serif;
    letter-spacing: .1em;
    margin-right: 50px;
}

#insta-follow span::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: var(--Txtcolor);
    position: absolute;
    top: 50%;
    right: -45px;
}

#insta-follow img {
    width: 16px;
    height: auto;
    vertical-align: -3px;
    transform: rotate(-90deg);
}

#contact-fix {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 800;
    background-color: #fff;
    border-radius: 20px 0 0 0;

    transform: translateY(0);
    opacity: 1;
}

#contact-fix .layout {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

#contact-fix .layout:nth-child(1) {
    display: flex;
    flex-wrap: wrap;
    gap: auto;
}

#contact-fix .layout:nth-child(1) p {
    flex-basis: 100%;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid var(--Txtcolor);
    margin-bottom: 10px;
}

#contact-fix .layout:nth-child(1) span {
    font-size: 14px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
}

#contact-fix .layout:nth-child(1) span:nth-of-type(3) {
    border: 0;
    padding-left: 0;
    margin-right: 0;
}

.contact-footer-btn {
    display: block;
    background-color: var(--Maincolor);
    border: var(--Maincolor) 1px solid;
    color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 16px;
}

.contact-footer-btn:hover {
    color: #fff;
    opacity: 0.7;
}

.contact-footer-btn img {
    width: 16px;
    vertical-align: 0px;
    margin-right: 10px;
}




@media screen and (max-width: 768px) {
    header {
        width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 800;
        /*background-color: #fff;*/
    }

    header h1 {
        max-width: 200px;
        margin: 10px;
    }

    a.contact-btn {
        display: none;
    }

    a.insta-btn {
        display: block;
        position: fixed;
        top: 30px;
        right: 70px;
        z-index: 800;
    }

    .header-fix-top.scroll a.insta-btn {
        top: 25px;
    }

    a.insta-btn img {
        width: 25px;
    }

    /*sp_btn*/
    #spBtn {
        top: 30px;
        right: 20px;
    }

    .menu-trigger span {
        background-color: #000;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0);
    }

    #navigation {
        width: 70vw;
        height: 100vh;
    }

    #navigation nav {
        padding: 13vh 5% 13vh 20%;
    }

    #navigation nav a {
        margin-bottom: 35px;
        font-size: 16px;
    }

    #navigation .nav-insta {
        width: 40px;
        position: absolute;
        bottom: 30px;
        right: 30px;
    }

    #insta-follow {
        display: none;
    }

    #contact-fix {
        width: 70%;
        max-width: 270px;
    }

    #contact-fix .layout {
        gap: 10px;
        padding: 20px;
    }

    #contact-fix .layout:nth-child(1) p {
        font-size: 12px;
    }

    #contact-fix .layout:nth-child(1) span {
        font-size: 12px;
        padding: 3px 7px;
    }

    #contact-fix .layout .item:nth-child(2){
        width: 100%;
    }

    .contact-footer-btn {
        padding: 12px;
        font-size: 14px;
    }
}


/*******************************
FooterCss
*******************************/
footer {
    background-color: #EDE8DD;
    position: relative;
}

footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/common/noise.png");
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
}

footer .layout {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    padding: 80px 0;
}

footer .layout> :nth-child(1) {
    flex: 0 0 310px;
    text-align: left;
    line-height: 2.4em;
}

footer .layout .logo {
    margin-bottom: 30px;
}

footer .layout> :nth-child(2) {
    margin-left: auto;
}

footer .layout> :nth-child(3) {}

footer .layout nav a {
    display: block;
    text-align: left;
    font-size: 18px;
    font-family: "Cabin", sans-serif;
    letter-spacing: .1em;
    margin-bottom: 30px;
}

footer small {
    display: block;
    background-color: var(--Maincolor);
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

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

    footer .layout {
        display: block;
        align-items: inherit;
        gap: inherit;
        padding: 50px 5% 30px;
    }

    footer .layout> :nth-child(1) {
        flex: inherit;
        text-align: left;
        margin-bottom: 50px;
    }

    footer .layout .logo {
        margin-bottom: 30px;
    }

    footer .layout .company-info {
        display: none;
    }

    footer .layout nav a {
        font-size: 16px;
        margin-bottom: 25px;
    }

    footer .layout nav a::after {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 1px solid #3A3A3A;
        border-right: 1px solid #3A3A3A;
        display: inline-block;
        transform: rotate(45deg);
        vertical-align: 1px;
        margin-left: 10px;
        transition: 0.5s;
    }

    footer small {
        padding: 12px 0;
    }

}