/* ==================================

    Index - トップページ
    ・ローディング
    ・トップ画像
    ・アンカーリンク位置ズレ解消

================================== */

/* ==================================
    アンカーリンク位置ズレ解消
    ヘッダーの高さと合わせる
================================== */

/*#s1, #s2, #s3, #s4, #s5 {
    margin-top: -40px;
    padding-top: 40px;
}*/




/* ==================================

    Loading - ローディング

================================== */

/*#is-loading {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 99;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 40%;
    max-width: 400px;
    margin: 0 auto;
}*/



/* ==================================

    SECTION

================================== */

section {
    width: calc(100% - 16px);
    max-width: 980px;
    margin: 0 auto 128px;
}



/* ==================================

    h - hタグ

================================== */

h1 {
    font-weight: 600;
    font-style: normal;
    font-style: italic;
    color: #FFFFFF;
    font-size: 3.0rem;
    line-height: 3.0;
}

h2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
}

h3 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
}

h4 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
}

h5 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 64px;
}

h6 {
    text-align: center;
    font-size: 1.8rem;
}

.under_h {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    padding-bottom: 64px;
}



/* ==================================

    Top - トップ画像

================================== */

#s0 {
    margin: 64px auto;
}

.top-img-box {
    max-width: 500px;
    width: 40%;
}

.top-text {
    padding-top: 16px;
}


/* ==================================

    Message - メッセージ

================================== */

#s1 {
    max-width: 980px;
    margin: 0 auto 128px;
}

.message-box {
    width: calc(100% - 48px);
    margin: 0 auto;
}

.message-border {
    width: 70px;
    border: none;
    border-top: 1px solid #FFFFFF;
    margin: 64px auto 64px 0;
}

/* 左右いっぱいに伸びた横線 */
.message-no {
    align-items: center; /* 横線を上下中央 */
    display: flex; /* 文字と横線を横並び */
    font-size: 2.4rem;
    font-weight: 600;
}

.message-no::before,
.message-no::after {
    background-color: #FFFFFF; /* 横線の色 */
    border-radius: 5px; /* 横線の両端を丸く */
    content: "";
    flex-grow: 1; /* 横幅いっぱい */
    height: 1px; /* 横線の高さ */
}

.message-no::before {
    margin-right: 30px; /* 文字との余白 */
}

.message-no::after {
    margin-left: 30px; /* 文字との余白 */
}

.message-text-box {
    margin: 48px auto;
}

.message-text-box p {
    line-height: 2.4;
}

.message-text-box ul {
    padding: 8px 0;
}

.message-text-box ul li:before {
    content: "・";
}

.message-text-box ul li {
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
}



/* ==================================

    COURSE - 3つのコース

================================== */

.sub-title-box {
    border-bottom: 1px solid #FFFFFF;
    width: calc(100% - 48px);
    padding-bottom: 4px;
    margin: 0 auto 48px;
}

.sub-title-box p {
    color: #999999;
}

.sub-title-box p:before {
    content: "●";
    padding-right: 4px;
}

.course-title p {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
}

.course-title p span {
    font-size: 1.8rem;
}

.course-box {
    text-align: center;
    margin: 64px 0;
}

.course-title-box span {
    color: #999999;
    font-size: 1.4rem;
}

.course-title-box p {
    font-size: 2.8rem;
    line-height: 1.0;
    font-weight: 700;
}

.course-detail-box {
    margin: 48px auto;
}

hr.course-line {
    width: 20%;
    margin: 0 auto;
    border-bottom: 1px solid #FFFFFF;
}

.accordion-one {
    max-width: 640px;
    margin: 0 auto 8px;
}

.accordion-header {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: bold;
    padding: 16px;
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition-duration: 0.2s;
    background-color: rgba(255, 255, 255, 0.2);
}

.accordion-header span {
    display: block;
}

.accordion-header::after {
    border-right: solid 2px #FFFFFF;
    border-top: solid 2px #FFFFFF;
    content: "";
    display: block;
    height: 8px;
    position: absolute;
    right: 24px;
    top: 38%;
    transform: rotate(135deg);
    transition: transform .3s ease-in-out, top .3s ease-in-out;
    width: 8px;
}

.accordion-header.open::after {
    top: 45%;
    transform: rotate(-45deg);
}

.accordion-header:hover {
    opacity: .8;
}

.accordion-inner {
    display: none;
    padding: 32px 32px;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    box-sizing: border-box;
}

.accordion-inner a.text {
    display: block;
    margin-top: 24px;
    text-decoration: underline;
    color: #000000;
}

.box-one ul li {
    text-align: left;
}

.box-one ul li:before {
    content: "・";
}



/* ==================================

    PROGRAM FROW - 全体の流れ

================================== */

.program-box {
    margin: 64px auto;
    text-align: center;
}

.program-box ol {
    margin: 64px auto;
}

.program-box ol li:not(:last-child):after {
    content: "↓";
    display: block;
}



/* ==================================

    INTRODUCTION - 友人紹介制度

================================== */

.intro-box {
    margin: 64px auto;
    text-align: center;
}

.highlight {
    color: #d9e021;
    font-size: 1.8rem;
    padding: 0 4px;
}



/* ==================================

    CONTACT - お問い合わせ

================================== */

#s6 {
    text-align: center;
}

.contact-title {
    font-size: 4.0rem;
    line-height: 1;
}

.contact-line-img-box {
    width: 50px;
    margin: 32px auto;
}

.contact-tokuten-box {
    margin: 64px auto;
}

.contact-tokuten-box p {
    font-size: 2.4rem;
}

.contact-tokuten-box ul li:before {
    content: "・";
    padding-right: 16px;
}

.contact-tokuten-box ul li:after {
    content: "・";
    padding-left: 16px;
}

.contact-box {
    width: calc(100% - 48px);
    margin: 0 auto;
    max-width: 500px;
}

.contact-box a {
    width: 10%;
    max-width: 50px;
    display: block;
    margin: 0 24px;
}

.contact-box p {
    margin-top: 48px;
    text-align: center;
}

.button {
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 120px;
    height: 50px;
    border: none;
    background-color:rgba(0,0,0,0);
    color: #FFFFFF;
/*    background-image: linear-gradient(45deg, #333333 0%, #333333 100%);*/
    background-color: #0092ff;
    padding: 8px;
}

.button::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition-duration: .3s;
    opacity: 0;
    background-image: linear-gradient(135deg, #DDDDDD 100%, #DDDDDD 100%);
}

.button:hover {
    cursor: pointer;
}


