@charset "UTF-8";
/* CSS Document */
:root {
    --main-color: #007902;
    --main-bg-color: #E8F2E4;
}

html {
    font-size: 62.5%;
}

body{
    color: #333;
    overflow-x: hidden;
    font-family: "メイリオ", "Meiryo", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    margin: 0;
    -webkit-text-size-adjust: 100%;
    background-color: #F6F6F6;
}

main {
    padding-top: 220px;
}

.contents {
    max-width: 1000px;
    width: calc(100% - 8rem);
    margin: 0 auto;
}

a {
    color: #4183D7;
    text-decoration: underline;
}

a:hover {
    opacity: 0.7;
}

p {
    font-size: 1.6rem;
    line-height: 1.8;
}

@media (max-width: 790px) {
    main {
        padding-top: 130px;
    }

    .contents {
        width: 95%;
    }
}

.btn {
    margin: 0 auto;
    width: fit-content;
}

.btn a {
    background-color: #EE7800;
    color: white;
    font-size: 1.8rem;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
}

/*
ヘッダー
 */
header {
    padding-bottom: 5px;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: var(--main-bg-color);
}

.header-wrap {
    display: flex;
    align-items: center;
}

.header-logo {
    width: 30%;
    padding: 13px 30px;
}

.header-logo img {
    width: 100%;
}

.header-title h1 {
    padding-left: 20px;
}

.header-title h1 a {
    font-size: 3rem;
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
    line-height: 1.3;
}

.header-nav {
    background-color: var(--main-color);
    padding: 12px 0;
    color: white;
}

.header-nav a {
    color: white;
}

.header-nav a:hover {
    color: #FFFF00;
    opacity: 1;
}

.header-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.header-menu ul li {
    list-style: none;
}

.header-menu ul li a {
    font-size: 1.6rem;
    text-decoration: none;
}

.header__hamburger {
    display: none;
}

@media (max-width: 790px) {
    .header-wrap {
        flex-direction: column;
    }

    .header-logo {
        padding: 10px 0 0;
    }

    .header-title h1 {
        text-align: center;
        margin: 0.5em 0 0.2em;
        padding: 0;
    }

    .header-title h1 a {
        font-size: 1.6rem;
    }

    .header-nav {
        background-color: inherit;
        padding: 0;
    }

    .header__hamburger {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 6rem;
        height: 4.5rem;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1000;
        border: none;
        cursor: pointer;
        background-color: var(--main-color);
        padding: 10px 15px;
    }

    .header__hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* ハンバーガーの変形 */
    .header__hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 8px);
    }
    .header__hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .header__hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -9px);
    }

    /* ナビゲーションの初期状態 */
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background-color: var(--main-color);
        opacity: 0.95;
        color: #fff;
        display: flex;
        flex-direction: column;
        padding-top: 10rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    /* ナビゲーション表示 */
    .header-menu.active {
        display: flex;
        right: 0;
    }

    .header-menu ul {
        flex-direction: column;
        gap: 3rem;
    }

    .header-menu ul li a {
        color: #fff;
        font-size: 1.8rem;
        text-decoration: none;
    }
}

@media (max-width: 380px) {
    .header-title h1 a {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .header-title h1 a {
        font-size: 1.5rem;
    }
}

/* フッター */
.footer-contents {
    text-align: center;
}

.footer-contents h2 {
    background-color: inherit;
    color: var(--main-color);
    border-bottom: 4px solid #F6F6F6;
    font-size: 2.8rem;
}

.footer-contents h3 {
    font-size: 1.6rem;
    font-weight: bold;
}

.footer-contents .tel {
    font-size: 2.0rem;
    color: red;
    font-weight: bold;
    text-decoration: none;
}

footer {
    background-color: var(--main-color);
}

#page-top a {
    position: fixed;
    right: 5px;
    bottom: 5px;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    background-color: #C0DA87;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.6rem;
    color: var(--main-color);
}

@media (max-width: 790px) {
    .contents-wrapper.footer-contents {
        margin-right: 30px;
        margin-left: 30px;
    }

    .footer-contents h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 380px) {
    #page-top a {
        width: 50px;
        height: 50px;
        border-radius: 50px;
        font-size: 1.4rem;
    }
}

/*-------------------------------------------

ローディング画面

-------------------------------------------*/
.load-display {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.9;
    z-index: 9999999;
}

.load-display-img {
    width: 30%;
    margin: auto;
}

.load-display-img img {
    width: 100%;
}

.course_setting {
    padding: 0 45px;
}
