@charset "UTF-8";

/*共通部分 ---------------------------------*/

body {
    background-color: #F6F6F6;
    scroll-behavior: smooth;
    font-family: "Mukta", serif;
    font-weight: 200;
    font-style: normal;
}

.wrapper {
    width: 100%;
    max-width: 70%;
    margin-right: auto;
    margin-left: auto;
}

p {
    font-size: 1rem;
    font-weight: 200;
    font-style: normal;
    color: #686868;
}

a {
    /* font-size: 1rem; */
    position: relative;
    text-decoration: none;
    color: #686868;
}

.hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #686868;
    transition: width 0.3s ease-in-out;
}

/* ホバー時のアニメーション */
.hover:hover::after {
    width: 100%;
}

h2 {
    font-size: 1.3rem;
    font-weight: normal;
}

h3 {
    position: relative;
    margin-top: 9.375rem;
    margin-bottom: 3.125rem;
    font-weight: normal;
    font-size: 1.5rem;
    color: #686868;
    z-index: 1;
}

.h4 {
    font-weight: normal;
    color: #686868;
}

.next-page a {
    font-size: 1.2rem;
    display: flex;
    justify-content: flex-end;
    margin-top: 3.125rem;
    animation: blink 1s infinite alternate;
    /* 点滅アニメーション */
}

/* 点滅アニメーションの定義 */
@keyframes blink {
    0% {
        opacity: 1;
    }

    /* 完全に表示 */
    100% {
        opacity: 0.3;
    }

    /* 透明度を下げる */
}

.japanese {
    font-family: "M PLUS 1p", serif;
    font-weight: 400;
    font-style: normal;
    color: #686868;
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    text-shadow: 3px 3px 12px rgba(83, 83, 83, 0.3);
}

/* 背景アニメーション --------------------------*/

html,
body {
    height: 100%;
    /*高さを100%にして描画エリアをとる*/
}

#particles-js {
    position: fixed;
    z-index: -1;
    /*描画を一番下に*/
    width: 100%;
    height: 100%;
}

#wrapper {
    position: relative;
    /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
    z-index: 1;
    /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
    width: 100%;
    /* height: 100%; */
}

/* ローディング画面 ----------------------------*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    text-align: center;
    color: #686868;
    background-color: #fff;
}

.loading-image {
    position: absolute;
    top: 44%;
    /* ラインの上に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    /* 画像サイズ調整 */
    z-index: 9999;
}

/* Loading画像中央配置　*/
#splash_text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    color: #686868;
    width: 100%;
}

/* header ------------------------------------*/

.header {
    position: fixed;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
    z-index: 96;
}

.header h1,
.header-contact {
    font-size: 1.5rem;
    padding: 0 3rem;
    font-family: "Mukta", serif;
    font-weight: 600;
    font-style: normal;
}

h1 img {
    height: 60px;
}

/* ハンバーガーメニュー */

ul {
    list-style: none;
}

li {
    color: #fff;
}

#menu-btn-check {
    display: none;
}

.menu-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    content: "";
    display: block;
    width: 2rem;
    height: 0.2rem;
    background-color: #354835;
    transition: all 0.3s linear;
    position: relative;
}

.menu-btn span::before {
    position: absolute;
    top: 10px;
}

.menu-btn span::after {
    position: absolute;
    bottom: 10px;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: transparent;
    /* background-color: rgba(0, 0, 0, 0.5); */
}

#menu-btn-check:checked~.menu-btn span::before {
    rotate: 45deg;
    top: 0;
}

#menu-btn-check:checked~.menu-btn span::after {
    rotate: -45deg;
    bottom: 0;
}


.menu-content {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 100%;
    background: linear-gradient(to bottom, #ffffff, #b4b4b4);
    width: 100%;
    height: 100vh;
    text-align: center;
    padding-top: 3rem;
    transition: all 0.3s linear;
}

.menu-content-sentence {
    font-size: 1rem;
    margin: .5rem;
}

.menu-content-sentence li {
    list-style: none;
}

.menu-content-sentence a {
    text-decoration: none;
}

.menu-content-sentence .block {
    display: flex;
    margin-top: 2rem;
    margin-left: 4rem;
    margin-left: 50%;
}

.menu-content-sentence li {
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

#menu-btn-check:checked~.menu-content {
    left: 0;
}

.block {
    font-size: 1rem;
    width: fit-content;
}

/* navi ----------------------------*/

.navi {
    max-width: 90%;
    width: 100%;
    position: fixed;
    top: 11rem;
    left: 50%;
    z-index: 99;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    /* 非表示 */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navi.visible {
    opacity: 1;
    /* 表示 */
    visibility: visible;
}

.navi-2-continer {
    position: fixed;
    left: 5%;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

.navi-2-return {
    margin-top: 2rem;
    transition: 0.3s;
    animation: blink 1s infinite alternate;
}

.info {
    position: fixed;
    right: 5%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    z-index: 20;
}

.navi h2 {
    font-size: 1.5rem;
}

.info a {
    margin-bottom: 0.5rem;
}

/* footer ----------------------------*/

.copylight {
    height: 180px;
    line-height: 180px;
    text-align: center;
    background-color: #686868;
    color: #fff;
}

/* モーダル --------------------------------------*/

.modal {
    display: none;
    /* 初期状態では非表示 */
    position: fixed;
    /* 画面全体に固定 */
    z-index: 9999;
    /* 他の要素より前面に表示 */
    left: 0;
    top: 0;
    width: 100%;
    /* 幅を100%に設定 */
    height: 100%;
    /* 高さを100%に設定 */
    overflow: auto;
    /* コンテンツが画面を超える場合にスクロール可能にする */
    background-color: rgba(255, 255, 255, 1);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    animation-name: zoom;
    animation-duration: 0.6s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 6rem;
}

.modal-content-1 {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 6rem;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #686868;
    font-size: 3rem;
    transition: 0.3s;
    animation: blink 1s infinite alternate;
    /* 点滅アニメーション */
}

/* 点滅アニメーションの定義 */
@keyframes blink {
    0% {
        opacity: 1;
    }

    /* 完全に表示 */
    100% {
        opacity: 0.3;
    }

    /* 透明度を下げる */
}


.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.2);
    transition: 0.3;
}

#caption {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: #686868;
    padding-top: 2rem;
}