@charset "UTF-8";

/*
ブレイクポイント
SP 〜519px
tab 520px ~ 959px (min-width:520px)
pc 960px~ (min-width:960px)
*/


/*======================
変数宣言
======================*/
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #eaf8fa;
    --size-sm: 1.2rem;
    --size-md: 1.6rem;
    --size-lg: 2.0rem;
    --size-xl: 4.2rem;
    --size-xxl: 5.1rem;
    --size-xxxl: 6.0rem;
    --font: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    --font-title: "Josefin Sans", sans-serif;
    --gutter-base: 10px;
    --contents-side-gutter: 20px;
    --section-gutter: 100px;
    --section-gutter-pc: 160px;
    --section-width: 1000px;
}


/*======================
基本設定
======================*/

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}



body {
    color: var(--text-color);
    font-size: var(--size-md);
    line-height: 1.75;
    font-family: var(--font);
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.pc {
    display: none;
}

.sp {
    display: block;
}

.en {
    font-family: var(--font-title);
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h2 {
    font-size: var(--size-xl);
    font-weight: 300;
}

h3 {
    font-size: var(--size-xl);
    font-weight: 300;
}

.title {
    text-align: center;
    margin: 60px 0;
}

.body {
    padding: 0 var(--contents-side-gutter);
}

/*======================
ボタン
======================*/
.btn {
    margin: 0 auto;
    text-align: center;
}

.btn a {
    display: inline-block;
    width: 250px;
    line-height: 60px;
    text-align: center;
    color: var(--text-color);
    background-color: var(--accent-color);
    position: relative;
}

.btn a::before {
    border-right: 2px solid var(--text-color);
    border-top: 2px solid var(--text-color);
    bottom: 0;
    content: "";
    height: 7px;
    width: 7px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    transform: rotate(45deg);
    transition: right .3s;
}

.btn a:hover::before {
    right: 25px;
}

/*======================
ヘッダー、ナビゲーション
======================*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 1000;
    transition: 3s;
}

header .logo {
    margin-top: var(--gutter-base);
    margin-left: var(--gutter-base);
    font-size: var(--size-lg);
}

header .logo a {
    transition: all .8s;
    display: inline-block;
}

header .logo a:hover {
    transform: translateY(-5px);
}

header nav {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--bg-color);
    width: 100%;
    height: 100vh;
    padding-top: calc(var(--gutter-base)*10);
    z-index: 100;
}

header .hum_menu {
    color: var(--text-color);
    padding: calc(var(--gutter-base)*2) var(--gutter-base);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: var(--gutter-base);
    z-index: 1000;
    position: fixed;
    top: 0;
    right: 0;
}

.on nav {
    opacity: 1;
    visibility: visible;
}

header .hum_menu .hum_menu_line::before,
header .hum_menu .hum_menu_line::after {
    content: '';
    background-color: var(--text-color);
    width: 40px;
    height: 2px;
    display: block;
    transition: 0.3s;
}

header .hum_menu .hum_menu_line::before {
    transform: translateY(-2px);
}

header .hum_menu .hum_menu_line::after {
    transform: translateY(4px);
}

.on .hum_menu .hum_menu_line::before {
    transform: translateY(2px) rotate(145deg);
}

.on .hum_menu .hum_menu_line::after {
    transform: translateY(0) rotate(-145deg);
}

header ul li {
    font-size: var(--size-lg);
    margin-bottom: 30px;
    text-align: center;
}

header ul li a {
    transition: all .8s;
    display: block;
    color: var(--text-color);
}

header ul li a:hover {
    transform: translateY(-5px);
}

/*======================
フッター
======================*/
footer {
    background-color: var(--accent-color);
    padding: 50px var(--contents-side-gutter);
    text-align: center;
}

footer .logo {
    margin: 30px auto;
}

footer .logo a {
    transition: all .8s;
    font-size: var(--size-lg);
}

footer .logo a:hover {
    opacity: 0.5;
}

footer nav {
    margin-bottom: var(--section-gutter);
}

footer nav li {
    margin: var(--gutter-base);
}

footer nav li a {
    color: var(--text-color);
    font-size: var(--size-md);
    transition: all .8s;
}

footer nav li a:hover {
    opacity: 0.5;
}

footer small {
    color: var(--text-color);
}

/* ===============ここからmin-width:520px=============== */
@media screen and (min-width:520px) {
    header nav {
        width: 70%;
        max-width: 500px;
    }

    header .hum_menu {
        padding: calc(var(--gutter-base)*3) calc(var(--gutter-base)*2);
    }

    header .hum_menu .hum_menu_line::before,
    header .hum_menu .hum_menu_line::after {
        content: '';
        background-color: var(--text-color);
        width: 80px;
        height: 3px;
        display: block;
        transition: 0.3s;
    }

    header .hum_menu .hum_menu_line::before {
        transform: translateY(-4px);
    }

    header .hum_menu .hum_menu_line::after {
        transform: translateY(8px);
    }

}

/* ===============ここまでmin-width:520px=============== */

/* ===============ここからmin-width:960px=============== */
@media screen and (min-width:960px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    .body {
        max-width: var(--section-width);
        margin: 0 auto;
    }

    h3 {
        font-size: var(--size-xl);
    }

    /*======================
    ヘッダー、ナビゲーション
    ======================*/
    header {
        padding: var(--contents-side-gutter);
    }

    header .header_inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header h1 {
        margin: 0;
    }

    header ul {
        display: flex;
        align-items: center;
        gap: calc(var(--gutter-base)*3);
    }

    header ul li {
        font-size: var(--size-lg);
        margin-bottom: 0;
    }

    header .hum_menu {
        display: none;
    }

    header nav {
        opacity: 1;
        visibility: visible;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background-color: transparent;
    }

    /*======================
    フッター
    ======================*/
    footer nav ul {
        display: flex;
        gap: 20px;
        margin: 0 auto;
    }
}

/* ===============ここまでmin-width:960px=============== */