@charset "utf-8";
/* CSS Document */

* {
    line-height: 1;
}

html {
    scroll-padding-top: 50px;
    scroll-behavior: smooth;
}

img {
    border: 0;
    vertical-align: top;
    object-fit: cover;
}


/*clearfix*/
.clearfix:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
}

* html .clearfix {
    display: inline-block;
}

/* no ie mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.clearfix {
    overflow: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    word-wrap: break-word;
}

/*body*/

body {
    width: 100%;
    -webkit-text-size-adjust: 100%;
}


li {
    list-style-type: none;
}

a {
    text-decoration: none;
    transition: .5s;
}

a:hover {
    opacity: 0.75;
    transition: .5s;
}

/* basefont */
:root {
    --base-font: "Noto Sans JP", sans-serif;
    --base-font2: "Noto Serif JP", serif;
    --title-font: "Zen Old Mincho", serif;
    --subtitle-font: "Poppins", sans-serif;

    --base-font-size: 16px;

    --base-weight0: 300;
    --base-weight: 400;
    --base-weight2: 500;
    --base-weight3: 600;

    --color-base: #000;
    --color-main: #244565;
    --color-sub: #8495a1;
}


.contents-box {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    clear: both;
    margin-right: auto;
    margin-left: auto;
    line-height: 1;
}

.contents-box p {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.contents-box p br.sp-view {
    display: none;
}

.contents-box a {
    color: var(--color-base);
    font-weight: var(--base-weight);
}

.contents-box p a {
    color: var(--color-base);
    font-weight: var(--base-weight);
}


/* animation_box */

.animation_box {
    transition: 1s ease;
    opacity: 0;
    transition-delay: .5s;
    transform: translate(0px, 0px);
}

.animation_box-left {
    transform: translateX(-100px);
}

.animation_box-right {
    transform: translateX(100px);
}

.animation_box-top {
    transform: translateY(100px);
}

.animation_box-bottom {
    transform: translateY(-100px);
}

.animation_box2 {
    transition-delay: 1s;
}

.animation_box3 {
    transition-delay: 1.5s;
}

.animation_box4 {
    transition-delay: 2s;
}

.animation_box.effect {
    opacity: 1;
    transform: translate(0px, 0px);
}



/*header*/

.header-wrap {
    z-index: 9999999;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
}

.header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 20px;
    position: relative;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0px 35px;
}


/*メニュー部分*/
nav {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    left: 0;
    overflow: auto;
    background-color: var(--color-main);
}

nav .box-menu {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

nav .box-menu h2 {
    width: 50%;
    text-align: center;
}

nav .box-menu h2 img {
    height: 270px;
    width: auto;
}

nav .box-menu .box-inner {
    flex: 1;
}

nav .box-menu .box {
    width: 100%;
}

nav .box-menu .box:not(:last-child) {
    margin-bottom: 40px;
}

nav .box-menu .box a {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
}

nav .box-menu h4,
nav .box-menu h5 {
    font-weight: var(--base-weight0);
    color: #FFF;
}

nav .box-menu h4 {
    font-family: var(--subtitle-font);
    font-weight: 200;
    font-size: 32px;
    letter-spacing: 0.3em;
    width: 290px;
    line-height: 0.9;
}

nav .box-menu h5 {
    font-family: var(--title-font);
    font-size: 18px;
    letter-spacing: 0.2em;
    line-height: 1.2;
    padding-top: 5px;
}


/*開閉ボタン*/
#nav_toggle {
    width: 70px;
    height: 70px;
    position: relative;
    top: 10px;
    right: 10px;
    z-index: 10000000000;
    background-color: var(--color-sub);
    padding: 29px 18px;
    margin-right: 0px;
    margin-top: 0px;
    border-radius: 50%;
    cursor: pointer;
}

#nav_toggle div {
    position: relative;
}

#nav_toggle span {
    display: block;
    height: 1px;
    background: #FFF;
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

#nav_toggle span:nth-child(1) {
    top: 0px;
}

#nav_toggle span:nth-child(2) {
    top: 12px;
}

/*開閉ボタンopen時*/
.open #nav_toggle span:nth-child(1) {
    top: 6px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}

.open #nav_toggle span:nth-child(2) {
    top: 6px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}


/*main-img*/

.main-img {
    width: 100%;
    position: relative;
}

.main-img .box-img {
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-top: 70px;
}

.main-img .box-logo {
    position: absolute;
    left: 20px;
    top: 20px;
}

.main-img .box-logo img {
    height: 70px;
    width: auto;
}

.main-img .box-img img {
    height: 230px;
    width: auto;
}


/* contents */

.contents-wrap {
    width: 100%;
    padding: 60px 0px 80px;
}

.contents-wrap img {
    width: 100%;
    height: auto;
}

.contents-wrap p {
    line-height: 2;
}



/* lay */

.lay img {
    width: 100%;
    height: auto;
}

.lay p {
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.lay1000 {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.lay1100 {
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.lay1180 {
    width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.lay-85 {
    width: 85%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.lay-90 {
    width: 90%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}


/*pagetop_btn*/

.pagetop_btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 100;
}

.pagetop_btn a {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

.pagetop_btn a:hover {
    opacity: 0.75;
}

.pagetop_btn img {
    height: 65px;
    width: auto;
}

/*footer*/

footer {
    width: 100%;
    text-align: center;
    position: relative;
    background-color: var(--color-main);
}

footer::before {
    content: "";
    position: absolute;
    left: 15%;
    top: 0px;
    display: block;
    background-color: #FFF;
    width: 70%;
    height: 100px;
}

footer .box-inner {
    padding: 180px 0px 40px;
}

footer h2 img {
    height: 270px;
    width: auto;
}

footer h3 {
    padding: 70px 0px 90px;
}

footer h3 img {
    height: 35px;
    width: auto;
}

footer .contents-box p {
    font-size: 11px;
    line-height: 1.2;
    color: #FFF;
    font-weight: var(--base-weight);
}

/* btn-works */

.btn-works h6 a {
    font-weight: var(--base-weight0);
    color: #FFF;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.3em;
    display: block;
    background-color: var(--color-main);
    padding: 13px 0px;
    text-align: center;
}

.header-right .btn-works h6 a {
    min-width: 220px;
    display: inline-block;
}

.btn-works-footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    z-index: 99;
}

/**
 * for SmartPhone
 */
@media screen and (min-width: 768px) {

    body {
        min-width: 1400px;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }

    #header .sp-view {
        display: none;
    }


}

@media screen and (max-width: 767px) {
    body {}

    /* basefont */
    :root {
        --base-font-size: 14px;
    }

    .contents-box p br.sp-view {
        display: inline-block;
    }


    /*header*/

    .header {
        padding: 0px;
        align-items: center;
    }

    /*開閉ボタン*/
    #nav_toggle {
        width: 55px;
        height: 55px;
        padding: 21px 12px 0px;
    }

    nav .box-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 0px;
    }

    nav .box-menu h2 {
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        padding-top: 18%;
    }

    nav .box-menu h2 img {
        height: 130px;
        width: auto;
    }

    nav .box-menu .box-inner {
        width: 100%;
    }

    nav .box-menu .box {
        width: 70%;
        margin: 0px auto;
    }

    nav .box-menu .box:not(:last-child) {
        margin-bottom: 30px;
    }

    nav .box-menu h4 {
        font-size: 18px;
        width: 150px;
    }

    nav .box-menu h5 {
        font-size: 14px;
        padding-top: 2px;
    }

    /* lay */

    .lay1000,
    .lay1100,
    .lay1160,
    .lay-85 {
        width: 88%;
    }

    /*btn-top*/

    .pagetop_btn {
        bottom: 10px;
        right: 10px;
    }

    .pagetop_btn img {
        height: 50px;
    }


    /*footer*/

    footer::before {
        left: 10%;
        width: 80%;
        height: 40px;
    }

    footer .box-inner {
        padding: 80px 0px;
    }

    footer h2 img {
        height: 150px;
        width: auto;
    }

    footer h3 {
        padding: 50px 0px 50px;
    }

    footer h3 img {
        width: 62%;
        max-width: 400px;
        height: auto;
    }

    footer .contents-box p {
        font-size: 10px;
    }

}
