@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    color: #4d4d4d;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 13px;
}

img {
    width: 100%;
    vertical-align: bottom;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    width: 100%;
    overflow-x: hidden;
}

.title {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
}

.pc {
    display: none;
}

@media (min-width: 767px) {
    * {
        font-size: 15px;
    }
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
}


/* header */

.inner-header {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0;
    z-index: 1000;
    padding: 10px 10px 0 25px;
}

.header-img img {
    display: block;
    height: 25px;
    width: auto;
    max-width: 70vw;
}

@media (min-width: 767px) {
    .header-img img {
        display: block;
        height: 35px;
    }
}

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

/* ハンバーガーボタン */

.sp-menu-btn {
    background: transparent;
    border: none;
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
}

.sp-menu-btn .line {
    display: block;
    position: absolute;
    width: 30px;
    height: 1px;
    right: 15px;
    background: #4d4d4d;
    transition: 0.3s ease-in-out;
}

.sp-menu-btn span:nth-child(1) {
    top: 20px;
}
.sp-menu-btn span:nth-child(2) {
    top: 28px;
}
.sp-menu-btn span:nth-child(3) {
    top: 36px;
}

/* メニューが開いているときのボタン */
.sp-menu-btn.active span:nth-child(1) {
    top: 28px;
    transform: rotate(-45deg);
}

.sp-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.sp-menu-btn.active span:nth-child(3) {
    top: 28px;
    transform: rotate(45deg);
}

/* SP NAV内容 */
.nav.sp nav {
    z-index: 3;
    position: fixed;
    top: -20%;
    left: -20%;
    background: #f2f0df;
    width: 140%;
    height: 140%;
    border-radius: 70vw;
    transform: translateX(100%) translateY(-100%);
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav.sp nav.active {
    transform: translateX(0) translateY(0);
}

.nav.sp nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav.sp nav li {
    margin-bottom: 30px;
    width: fit-content;
}

.nav.sp nav li a {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
    color: #4d4d4d;
    display: flex;
    flex-direction: column;
    font-size: 28px;
    font-weight: bolder;
    text-align: center;
}

.nav.sp nav li a .small {
    font-size: 0.4em;
    line-height: 0;
}

/* pc-nav */
nav.pc ul {
    display: flex;
    justify-content: right;
    align-items: center;
    border: none;
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 1000;
}

nav.pc ul li a {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
    color: #4d4d4d;
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    margin: 0px 20px;
    line-height: 1;
}
nav.pc li a .small {
    font-size: 0.4em;
}


/* ↓スクロールトップ */
main {
    position: relative;
}

.scroll_top {
    display: none;
    position: fixed;
    z-index: 2;
    right: 25px;
    bottom: 20px;
    cursor: pointer;
    animation: arrowmove 1.5s ease-in-out infinite;
}

.scroll_top.is-stop {
    position: absolute;
    right: 25px;
    bottom: 0;
    animation: arrowmove 1.5s ease-in-out infinite;
}

.scroll_top a {
    position: absolute;
    left: -28px;
    bottom: 20px;
    color: #4d4d4d;
    font-size: 13px;
    font-weight: bolder;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

.scroll_top:before {
    content: "";
    position: absolute;
    bottom: 50px;
    right: 4px;
    width: 2px;
    height: 20px;
    background: #4d4d4d;
    transform: skewX(31deg);
}

.scroll_top:after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 10px;
    width: 2px;
    height: 65px;
    background: #4d4d4d;
}

@keyframes arrowmove {
    0% {
        bottom: 0%;
    }
    50% {
        bottom: 15px;
    }
    100% {
        bottom: 0%;
    }
}

/* main */

main {
    margin: 80px 0 0;
}

section {
    padding: 0 0 100px 0;
}

section:last-of-type {
    padding-bottom: 50px;
}

.inner-section {
    margin: 0 10%;
}

h1 {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
    width: fit-content;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
}

h1 span {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
    font-size: 20px;
    padding: 2px 0 0 10px;
}

h3 {
    width: fit-content;
    background-color: #f2c33594;
    font-size: 25px;
    font-weight: bold;
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
}

h3 span {
    font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
    font-size: 15px;
}

@media (min-width: 767px) {
    main {
        margin: 100px 0 0;
    }

    h1 {
        text-align: center;
        font-size: 50px;
    margin: 0 auto 30px;
    }

    h1 span {
        font-family: "Alumni Sans Pinstripe", "Zen Maru Gothic", sans-serif;
        font-size: 30px;
            padding: 7px 0 0 20px;
    }

    h3 {
        font-size: 35px;
    }
    h3 span {
        font-size: 20px;
    }
}

/* footer */
footer {
    background-color: #cfcfcf;
}

footer img {
    display: block;
    width: 40%;
    padding: 20px 0 50px;
    margin: 0 auto;
}

footer p {
    text-align: center;
    padding: 0 0 10px;
}

footer a {
    display: block;
    box-shadow: 3px 5px 0px #7adcab;
    border: 2px solid #4d4d4d;
    border-radius: 100px;
    background-color: #4d4d4d;
    color: #f4f4f4;
    width: 80%;
    padding: 1em 0 1.3em;
    margin: 0 auto;
    font-weight: bold;
    letter-spacing: 0.3em;
    text-align: center;
    transition: 0.3s;
}

footer a:hover {
    background-color: #f4f4f4;
    color: #4d4d4d;
    border: 2px solid #7adcab;
}

footer p:last-child {
    font-size: 10px;
    width: fit-content;
    padding: 80px 0 10px;
    margin: 0 auto;
}

@media (min-width: 767px) {
    footer img {
        width: 300px;
        padding: 30px 0 50px;
    }

    footer p {
        padding: 0 0 20px;
    }

    footer a {
        width: 600px;
    }

    footer p:last-child {
        font-size: 12px;
        padding: 50px 0 10px;
    }
}
