@charset "utf-8";

/* 基本要素の設定------------------------------------------------------------ */
/* Google Fontから */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Kiwi+Maru:wght@300;400;500&family=Noto+Serif+JP:wght@200..900&family=Sawarabi+Mincho&family=Zen+Maru+Gothic:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Kiwi+Maru:wght@300;400;500&family=Klee+One&family=Noto+Serif+JP:wght@200..900&family=Sawarabi+Mincho&family=Zen+Maru+Gothic:wght@700&display=swap');

html{
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: "Klee One", serif;
    color: #393939;
}

/* 共通 ------------------------------------------------------------- */
/* 背景 */
body {
    position: relative;
    background-image: url(../images/doodad.png);
    background-size: auto;
}

/* フェードイン */
.fadein {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ヘッダー----------------------------------------------------------------- */
#header-wrapper {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: #6FBF8F;
    border: 10px double #E4F7EB;
}

.logo {
    width: 400px;
    height: 100px;
}

.logo img {
    height: 100%;
    padding: 20px 50px;
}

#nav-menu {
    margin-right: 0px;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.header-nav li {
    width: fit-content;
    height: auto;
    margin: auto 0;
    padding: 0 60px;
    text-align: center;
    line-height: .7;
}

.header-nav li a {
    color: #E4F7EB;
    text-shadow: 4px 4px 4px rgba(79, 158, 123, 0.8);
    font-size: 40px;
    font-family: "Caveat", serif;
    font-weight: 700;
    transition: .4s;
}

.header-nav li a:hover {
    color: #FFE479;
}

/* ハンバーガーボタンのスタイル */
.openbtn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 101;
    width: 45px;
    height: 40px;
    cursor: pointer;
}

.openbtn span {
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #E4F7EB;
    border: .5px solid #393939;
    transition: all 0.4s;
}

.openbtn.active span:nth-of-type(1) {
    transform: translateY(15px) rotate(45deg);
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    transform: translateY(-15px) rotate(-45deg);
}

/* メインコンテンツ共通 ------------------------------------------------------------ */
/* タイトル */
.h2 {
    margin-bottom: 50px;
    text-align: center;
    color: #393939;
}

h2 {
    font-family: "Caveat", serif;
    font-weight: 700;
    font-size: 70px;
    line-height: .7;
}

/* タイトルの小文字 */
.h2 span {
    font-size: 20px;
}

/* フッター-------------------------------------------------------------------- */
.footer-section {
    position: relative;
    width: 100%;
    height: auto;
}

#footer {
    width: 100%;
    height: auto;
    background-color: #393939;
    font-size: 17px;
}

.small-text {
    padding: 50px;
    text-align: center;
    font-size: 15px;
    color: #E4F7EB;
}

/* 背景の図形 基本設定 ------------------------------------------------- */
.background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -100;
}

/* スマホ対応　 ------------------------------------------------------- */
@media (max-width: 440px) {

    /* ハンバーガーメニュー -------------------------------------------- */
    .openbtn {
        display: block;
    }

    nav {
        display: none;
    }

    /* ヘッダー----------------------------------------------------------------- */
    #header-wrapper {
        position: relative;
        z-index: 100;
        display: flex;
        width: 100%;
        height: 70px;
        margin: 0 auto;
        background-color: unset;
        border: none;
    }

    .logo {
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        height: 70px;
    }

    .logo img {
        height: 100%;
        padding: 10px;
    }

    /* 点線 */
    .hero-line {
        display: none;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 70%;
        margin: 120px 0;
    }

    .header-nav li {
        width: fit-content;
        height: auto;
        margin: auto;
        text-align: center;
        line-height: .7;
    }

    .header-nav li a {
        color: #E4F7EB;
        text-shadow: 4px 4px 4px rgba(79, 158, 123, 0.8);
        font-size: 40px;
        font-family: "Caveat", serif;
        font-weight: 700;
        transition: .4s;
    }

    .header-nav li a:hover {
        color: #FFE479;
    }

    /* ナビ（モバイル用） */
    #nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        margin: 0;
        background: #6FBF8F;
        text-shadow: 4px 4px 4px rgba(79, 158, 123, 0.8);
        z-index: 100;
    }

    #nav-menu.active {
        display: block;
    }

    #nav-menu ul li {
        text-align: center;
    }

    #nav-menu ul li a {
        color: #E4F7EB;
        font-weight: 700px;
        font-size: 40px;
    }

    /* メインコンテンツ共通 ------------------------------------------------------------ */
    /* タイトル */
    .h2 {
        margin: 10px 0;
        text-align: center;
        color: #393939;
    }

    h2 {
        font-family: "Caveat", serif;
        font-weight: 700;
        font-size: 40px;
        line-height: .7;
    }

    /* タイトルの小文字 */
    .h2 span {
        font-size: 15px;
    }

    /* フッター-------------------------------------------------------------------- */
    .footer-section {
        position: relative;
        width: 100%;
        height: auto;
    }

    #footer {
        width: 100%;
        height: auto;
        background-color: #393939;
        font-size: 17px;
    }

    .small-text {
        padding: 50px;
        text-align: center;
        font-size: 13px;
        color: #E4F7EB;
    }

    /* 背景の図形 基本設定 ------------------------------------------------- */
    .background {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -100;
    }
}