@charset "UTF-8";

body {
    background-color: #1a1a1b;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.wrapper {
    margin: 0 auto;
}

li {
    list-style: none;
}


.wrapper {
    margin: 0 auto;
    max-width: 800px;
}

.sec-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    padding-bottom: 100px;
}

p {
    color: #fff;
    font-size: 14px;
}

/*header*/

#header {
    display: flex;
    position: absolute;
    /* 動画エリア内で重ねる */
    background: rgba(0);
    /* 半透明で動画が透ける */
    justify-content: space-between;
    /* 左右に配置 */
    align-items: center;
    padding: 10px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

#header h1 {
    width: 180px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    font-family: 'Oswald', sans-serif;
    margin-left: 20px;
    font-size: 20px;
}

.hamburger {
    display: none;
}

#mask {
    display: none;
}

/*main-video*/

#video {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 画面の高さいっぱい */
    overflow: hidden;
    margin-bottom: 100px;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画面いっぱいに拡大トリミング */
    z-index: -1;
    /* 背景に配置 */
}

#video .content {
    position: relative;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}


/*about*/

.about {
    padding-bottom: 100px;
}

/*sutaff*/

.sutaff {
    padding-bottom: 100px;
}

.sutaff-content {
    align-items: center;
    width: 100%;
    display: flex;
    padding-bottom: 80px;
    padding-right: 50px;
}

.sutaff-content img {
    width: 50%;
}

.sutaff-text {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-left: 50px;
}

.sutaff-text p {
    padding-bottom: 30px;
}

/* From Uiverse.io by cssbuttons-io */
button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more {
    width: 12rem;
    height: auto;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button:hover .circle {
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button:hover .button-text {
    color: #fff;
}


/*sub-visual*/

.sub-visual {
    padding-bottom: 100px;
}

.sub-visual img {
    width: 100%;
    height: 600px;
    opacity: 0.7;
}

.fade-img {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}


/*menu*/

.menu {
    padding-bottom: 100px;
}

.menu-list dl {
    color: #fff;
    display: flex;
    font-size: 20px;
}

.menu-list dd {
    width: 80%;
    padding-bottom: 5%;
    padding-top: 10px;
    border-bottom: 1px solid #fff;
}

.menu-list dt {
    width: 20%;
    padding-bottom: 5%;
    padding-top: 10px;
    text-align: right;
    border-bottom: 1px solid #fff;
}

/*instagram*/

.instagram {
    background: #1a1a1b;
    padding: 60px 20px;
    text-align: center;
    padding-bottom: 100px;
}

.instagram-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.instagram-list img {
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
}

.instagram-list img:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/*map*/

.access {
    padding-bottom: 100px;
}

.access-map {
    width: 100%;
    height: 450px;
    padding-bottom: 50px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
}



/*footer*/

footer {
    background-color: #c0c0c0;
    height: 60px;
    opacity: 0.5;
}

footer p {
    font-size: 0.85rem;
    color: #1a1a1b;
    text-align: center;
    padding: 20px 0;
}

.to-top {
    width: 50px;
    height: 50px;
    background-color: #1a1a1b;
    border: solid 1px white;
    border-radius: 50%;
    position: fixed;
    right: 25px;
    bottom: 25px;
}

/*
中の三角は疑似要素で作成
*/
.to-top::after {
    content: "";
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid white;
    position: relative;
    left: 17px;
    bottom: 3px;
}




@media (max-width: 960px) {

    .wrapper {
        margin: 0 auto;
        max-width: 400px;
        padding: 0 20px;
    }

    #header {
        padding: 10px 10px;
    }

    #header h1 {
        width: 90px;
    }

    .hamburger {
        cursor: pointer;
        display: block;
    }

    .hamburger input {
        display: none;
    }

    .hamburger svg {
        /* The size of the SVG defines the overall size */
        height: 3em;
        /* Define the transition for transforming the SVG */
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line {
        fill: none;
        stroke: white;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        /* Define the transition for transforming the Stroke */
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line-top-bottom {
        stroke-dasharray: 12 63;
    }

    .hamburger input:checked+svg {
        transform: rotate(-45deg);
    }

    .hamburger input:checked+svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
    }

    .open .hamburger .line {
        stroke: black;
    }

    #mask {
        display: none;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        /* 半透明の黒 */
        z-index: 5;
    }

    /* ナビは左に隠しておく */
    .navi {
        position: absolute;
        top: 0;
        right: -300px;
        /* ←初期は画面外 */
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7); 
        padding: 40px 20px;
        transition: 0.5s;
        z-index: 200;
        overflow-y: auto;
    }

    /* open が付いたら表示 */
    .open .navi {
        right: 0;
    }

    .open .navi a {
        color: white;
    }

    .open .nav-list {
        display: flex;
        flex-direction: column;
    }

    .open .nav-list li {
        margin-bottom: 15px;
    }

    /* ハンバーガー */
    .hamburger {
        width: 30px;
        height: 30px;
        position: fixed;
        top: 20px;
        right: 20px;
        cursor: pointer;
        z-index: 300;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        margin: 6px 0;
        background: #121212;
        border-radius: 3px;
        transition: 0.5s;
    }

    /* ×印に変化 */
    /* .open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.open .hamburger span:nth-child(2) {
    opacity: 0;
}
.open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
} */

    /* マスク（背景を覆う） */
    #mask {
        display: none;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

    /*インスタグラム*/

    .instagram-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 横2枚 */
        gap: 10px;
        /* 隙間 */
        max-width: 800px;
        /* 横幅調整（お好みで） */
        margin: 0 auto;
    }

    .instagram-list img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        /* トリミングで整えるなら */
    }

    .sutaff-content {
        flex-direction: column;
        padding-right: 0;
    }

    .sutaff-text {
        padding-left: 0;
        padding-top: 30px;
    }


}

@media (max-width: 360px) {
    .wrapper {
        margin: 0 auto;
        max-width: 400px;
    }

    .sutaff-content img {
        width: 80%;
    }
}