@charset "UTF-8";


/*==============================================================================
1.共通事項
2.header
3.footer
4.下層
5.パンクズ
6.404ページ
==============================================================================*/

/*============================================================================================================================================================
==============================================================================================================================================================

	1.共通事項

==============================================================================================================================================================
============================================================================================================================================================*/
html {
    font-size: 10px;
}

body {
    min-width: var(--max-width);
    font-size: var(--fontsize-base);
    font-family: var(--font-base);
    color: var(--color-font);
    letter-spacing: var(--letter-spacing);
    line-height: var(--lingh-height);
}

.logo{
    display: none;
}

#bodywrap {
    overflow: hidden;
}

.inner {
    margin: 0 auto;
    width: var(--min-width);
}

/*============ リンク ============*/
a {
    font-family: var(--font-base);
    color: var(--color-main);
    transition: 500ms;

    &:hover {
        opacity: 0.6;
        color: var(--color-main);
    }
}

/*============ フォント ============*/
[lang="en"] {
    font-family: var(--font-en);
}

/*============ selection ============*/
::selection {
    background: var(--color-sub);
    color: var(--color-font);
}

/*============ disc_list ============*/
ul.disc_list li {
    position: relative;
    padding-left: 1em;

    &::before {
        content: "";
        width: 0.3em;
        height: 0.3em;
        position: absolute;
        left: 0;
        top: 0.8em;
        background-color: var(--font-black);
        border-radius: 100%;
    }
}


/*============ flex-wrap ============*/
.flex-wrap{
    display: flex;
}


/*============ ボタン ============*/
.button {
    width: 320px;
    max-width: 100%;
    padding: 15px 0 17px;
    display: inline-block;
    text-align: center;
    font-size: 1.6rem;
    font-weight: var(--weight-bold);
    color: #fff;
    background-color: var(--color-main);
    line-height: 1.6;
    border-radius: 8px;
    position: relative;
    transition: 500ms;

    &::after {
        content: "";
        width: 10px;
        height: 12px;
        position: absolute;
        top: 50%;
        right: 20px;
        background-color: #fff;
        transform: translateY(-50%);
        clip-path: polygon(0 0, 0% 100%, 100% 50%);
        transition: 500ms;
    }

    /* ========== ボタン 左向き ========== */
    &.left {
        &::after {
            left: 20px;
            right: unset;
            clip-path: polygon(100% 0, 0 50%, 100% 100%);
        }
    }

    &:hover {
        opacity: 0.6;
        color: #fff;
    }

    /* ========== ボタン 白 ========== */
    &.white {
        background-color: #fff;
        color: var(--color-main);

        &::after {
            background-color: var(--color-main);
        }
    }

    /* ========== ボタン 黒 ========== */
    &.black {
        background-color: var(--color-font);
    }

    /* ========== ボタン 別窓 ========== */
    &.window {
        &::after {
            right: 20px !important;
            width: 10px;
            height: 10px;
            background-color: transparent;
            background-image: url(../1_img/base/icon-window.svg);
            clip-path: unset;
        }

        /* ========== ボタン 別窓 白 ========== */
        &.window-white::after {
            background-image: url(../1_img/base/icon-window-white.svg);
        }
    }
}


@media all and (min-width: 769px) {
    &.button {
        padding: 20px 0;
        line-height: 1;
    }
}

/*================================    inner内に入れても画面100%にする   ================================*/
.inner-100vw {
    width: 100vw;
    transform: translateX(calc((-100vw + var(--min-width)) / 2));
}

@media all and (max-width: 980px) and (min-width: 769px) {

    /* max-widthの値はvar(--min-width)と同じ */
    .inner-100vw {
        width: 100%;
        transform: translateX(0);
    }
}

@media all and (max-width: 768px) {
    .inner-100vw {
        width: calc(100% + 40px);
        transform: translateX(-20px);
    }
}

/*================================    clearfix   ================================*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/*================================    表示・非表示   ================================*/
@media all and (min-width: 769px) {
    .only-sp {
        display: none !important;
    }
}

@media all and (max-width: 768px) {
    .only-pc {
        display: none !important;
    }
}

/*================================    animate   ================================*/
.animate {
    opacity: 0;
    transform: translateY(20%);
    transition: all 0.9s ease;

    &.started {
        opacity: 1;
        transform: translateY(0);
    }
}

/*================================    スマホ   ================================*/
@media all and (max-width: 768px) {
    body {
        min-width: auto;
    }

    .inner {
        margin: auto;
        padding: 0 20px;
        width: auto;
    }
}

/*================================    スライダーのチラ見え防止   ================================*/
.slider {
	visibility: hidden;
	opacity: 0;
}
.slider.slick-initialized{
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s ease;
}

/*================================    カルーセルのチラ見え防止   ================================*/
.carousel-wrap .carousel {
    display: none;
}

/*============================================================================================================================================================
==============================================================================================================================================================

	2.header

==============================================================================================================================================================
============================================================================================================================================================*/
@media (min-width: 769px) {
    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transition: 500ms;
        z-index: 9999;

        & .header-inner {
            margin: 0 auto;
            padding: 0 0 0 20px;
            max-width: var(--min-width);
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: stretch;
            border-radius: 0 0 20px 20px;
            background-color: var(--color-main);
        }
    }

    /* ========== ロゴの周り logo-wrap ========== */
    header .logo-wrap {
        display: flex;
        align-items: center;
        gap: 0 20px;

        & .logo {
            margin: 20px 0;
            width: 80px;
            height: 98px;
            background-size: 100% auto;
            background-repeat: no-repeat;
            background-image: url(../1_img/base/logo.svg);
            transition: 500ms;

            & a {
                width: 100%;
                height: 100%;
                display: block;
                font-size: 0;
                color: transparent;
            }
        }

        & p {
            width: 14em;
            font-size: 1.6rem;
            font-weight: var(--weight-black);
            color: #fff;
        }
    }

    /* ========== navの設定 ========== */
    header .nav-wrap {
        padding-right: 50px;
        display: flex;
        align-items: center;

        & nav {
            height: 100%;
        }
    }

    /* ========== ベースメニュー ========== */
    header .nav-wrap nav ul.nav-menu-base {
        height: 100%;
        display: flex;
        position: relative;
        gap: 0;

        & > li {
            height: 100%;
            transition: 500ms;

            &.current,
            &:hover {
                color: var(--color-font);
                background-color: var(--color-sub);

                & > a {
                    color: var(--color-font);
                }
            }

            /* === homeはsp用なので消しておく === */
            &.nav-menu-base-home {
                display: none;
            }

            & > a {
                padding: 0 15px;
                height: 100%;
                display: flex;
                align-items: center;
                color: #fff;
                opacity: 1;
                transition: 500ms;

                & span {
                    display: block;
                    text-align: center;

                    &[lang="en"] {
                        font-size: 2rem;
                        font-weight: var(--weight-bold);
                    }

                    &[lang="ja"] {
                        font-size: 1rem;
                        font-weight: var(--weight-bold);
                    }
                }
            }
        }

        & > li:last-child {
            /* border-radius: 0 0 20px 0; */
        }
    }

    /* ========== サブメニュー ========== */
    header nav ul.nav-menu-sub {
        width: calc(100% - 20px);
        position: absolute;
        top: calc(100%);
        left: 0;
        background-color: var(--color-sub);
        border-radius: 0 0 10px 10px;
        opacity: 0;
        transition: 500ms;
        pointer-events: none;

        & li {
            & a {
                padding: 10px;
                display: block;
                color: var(--color-font);
                font-size: 1.2rem;
                line-height: 1.6;
            }

            & +li {
                border-top: 1px solid var(--color-font);
            }
        }
    }

    /* ベースでhover時の動き */
    header nav ul.nav-menu-base li:hover ul.nav-menu-sub {
        opacity: 1;
        pointer-events: all;
    }

    /*======== トップページのスクロール時と下層 だけの設定 =========*/
    .front header.on .logo,
    .underlayer header .logo {
        width: 50px;
        height: 61px;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    header .logo-wrap p {
        width: 14em;
        font-size: 1.4rem;
    }
}

/*==============================================================================

	header スマホ

==============================================================================*/
@media all and (max-width: 768px) {
    header {
        padding: 5px 10px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transition: 800ms;
        z-index: 9999;
        background-color: var(--color-main);
        box-shadow: 0 4px 4px rgba(135, 135, 135, 0.1);
    }

    /* ========== ロゴの周り logo-wrap ========== */
    header .logo-wrap {
        display: flex;
        align-items: center;
        gap: 0 15px;
        color: #fff;

        & p {
            font-size: 1.1rem;
            letter-spacing: 0.15em;
        }

        & .logo {
            width: 30px;
            height: 37px;

            & a {
                width: 100%;
                height: 100%;
                display: block;
                font-size: 0;
                color: transparent;
                background: url(../1_img/base/logo.svg) no-repeat top center / 100% auto;
            }
        }
    }


    /* ========== navの設定 ========== */
    header .nav-wrap {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        transition: 800ms;
        z-index: 9999;
        background-color: #fff;
        filter: drop-shadow(0px -5px 5px rgba(135, 135, 135, 0.1));
        padding: 0 10px;

        &::before {
            content: "";
            width: 85px;
            height: 21px;
            position: absolute;
            left: 50%;
            top: -21px;
            background: url(../1_img/base/deco-menu.svg);
            transform: translateX(-50%);
            filter: drop-shadow(0px -3px 2px rgba(135, 135, 135, 0.1));
        }
    }

    /* ========== ベースメニュー ========== */
    header nav ul.nav-menu-base {
        display: flex;
        justify-content: space-around;

        /* crttentなしの設定 */
        & >li {
            width: 60px;

            & >a {

                padding-top: 30px;
                padding-bottom: 5px;
                display: block;
                position: relative;
                font-size: 1rem;
                letter-spacing: 0.15em;
                text-align: center;
                background-size: 20px auto;
                background-position: top 9px center;
                background-repeat: no-repeat;
                color: var(--color-font);

                & span {
                    display: block;

                    &[lang="ja"] {
                        display: none;
                    }
                }
            }

            &:nth-child(1) a {
                background-image: url(../1_img/base/menu-about.svg);
            }

            &:nth-child(3) a {
                background-image: url(../1_img/base/menu-service.svg);
            }
        }

        /* crttent時の設定 */
        & >li.current {
            & >a {
                color: var(--color-main);
            }

            &:nth-child(1) a {
                background-image: url(../1_img/base/menu-about-on.svg);
            }

            &:nth-child(2) a {
                background-image: url(../1_img/base/menu-service-on.svg);
            }

            &:nth-child(4) a {
                background-image: url(../1_img/base/menu-works-on.svg);
            }

            &:nth-child(5) a {
                background-image: url(../1_img/base/menu-blog-on.svg);
            }
        }

        /* homeのアイコン */
        & >li.nav-menu-base-home>a::before {
            content: "";
            position: absolute;
            width: 30px;
            height: 30px;
            top: -5px;
            left: 50%;
            transform: translateX(-50%);
            background-image: url(../1_img/base/menu-home.svg);
            background-size: 100% auto;
        }
    }

    /* サブメニュー */
    header nav ul.nav-menu-sub {
        display: none;
    }
}

/*============================================================================================================================================================
==============================================================================================================================================================

	3.footer

==============================================================================================================================================================
============================================================================================================================================================*/

footer {
    margin-top: 80px;
}


footer {

    & h2 {
        margin-bottom: 20px;
        text-align: center;

        & img {
            width: 250px;
        }

        & span{
            display: none;
        }
    }

    & address {
        font-size: 1.5rem;
        font-weight: var(--weight-bold);
        text-align: center;
    }

    & .btn_wrap {
        margin-top: 25px;
        text-align: center;
    }

    & #copyright {
        margin-top: 50px;
        padding-top: 25px;
        padding-bottom: 35px;
        background-color: var(--color-font);
        color: #fff;
        text-align: center;
        font-size: 1rem;
        font-weight: var(--weight-bold);
    }
}


/*==============================================================================

	footer PC

==============================================================================*/
@media all and (min-width: 769px) {

    footer {
        margin-top: 100px;

        & h2 {
            text-align: center;

            & img {
                width: 380px;
            }
        }
    }

    /*================================   copyright   ================================*/
    footer #copyright {
        margin-top: 80px;
        padding-top: 40px;
        padding-bottom: 50px;
    }
}


/*============================================================================================================================================================
==============================================================================================================================================================

	4.下層

==============================================================================================================================================================
============================================================================================================================================================*/

/*================================   下層 title   ================================*/
#title {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background-color: #fff;
    background-size: cover;
    background-position: center;

    & span {
        display: block;
        color: var(--color-main);
        font-weight: var(--weight-bold);

        &[lang="ja"] {
            font-size: 2rem;
            color: var(--color-font);
        }

        &[lang="en"] {
            font-size: 1.2rem;
        }
    }
}

/*================================   下層 title-lv2   ================================*/
.title-lv2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
}

/*================================   下層 content   ================================*/
.underlayer .content {
    padding: 50px 0 100px;
    border-bottom: 2px solid #000;

    & >section+section {
        margin-top: 50px;
    }
}

/*==============================================================================

	下層 PC

==============================================================================*/
@media all and (min-width: 769px) {

    /*================================   title   ================================*/
    #title {
        padding: 120px 0;

        & span {
            &[lang="ja"] {
                font-size: 3.2rem;
            }

            &[lang="en"] {
                font-size: 1.8rem;
            }
        }

        & .inner {
            width: 1200px;
        }
    }

    /*================================   下層 content   ================================*/
    .underlayer .content {
        padding: 100px 0;

        & >section+section {
            margin-top: 100px;
        }
    }
}

/*============================================================================================================================================================
==============================================================================================================================================================

	5.パンクズ

==============================================================================================================================================================
============================================================================================================================================================*/
#pankuzu {
    margin-top: 10px;

    & ul {
        margin: auto;
        width: var(--min-width-s);
        display: flex;
        list-style: none;
        font-size: 1rem;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;

        & li {
            margin: 0;
            font-weight: 400;

            &:not(:first-child) {
                margin-left: 13px;
                padding-left: 22px;
                position: relative;

                &::before {
                    content: ">";
                    position: absolute;
                    font-size: 1.3rem;
                    top: 50%;
                    transform: translateY(-50%);
                    left: 0px;
                    line-height: 0;
                }
            }

            &:last-child {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                max-width: 15em;
            }
        }
    }
}


/*============================================================================================================================================================
==============================================================================================================================================================

	6.404ページ

==============================================================================================================================================================
============================================================================================================================================================*/
#nopage {
    padding: 100px 20px;
    font-size: 1.8rem;
    text-align: center;
}

#nopage .to-top {
    margin-top: 30px;
}

/*==============================================================================

	404ページ PC

==============================================================================*/
@media all and (min-width: 769px) {
    #nopage {
        margin: 0 auto;
        padding: 200px 0px;
        width: 980px;
        font-size: 1.8rem;
    }

    #nopage .to-top {
        margin-top: 50px;
    }
}

/*==============================================================================
	モーダルウィンドウ
==============================================================================*/
.remodal {
    background-color: #21445b;
    border-radius: 20px;
    color: #fff;
}

.remodal-close {
    width: 30px;
    height: 30px;
    background: url(../1_img/base/close.svg);
    top: 20px;
    left: unset;
    right: 20px;
}

.remodal-close::before {
    content: none;
}

#nopage .btn_wrap {
    margin-top: 50px;
}