@charset "UTF-8";

/* 共通 */
@font-face {
    font-family: "Noto Sans JP";
    font-weight: normal;
    src: url("../fonts/Noto_Sans_JP/NotoSansJP-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Noto Sans JP";
    font-weight: bold;
    src: url("../fonts/Noto_Sans_JP/NotoSansJP-Bold.ttf") format("truetype");
}

html {
    font-family: 'Noto Sans JP',Hiragino Kaku Gothic ProN,Meiryo,'Helvetica Neue',Arial,sans-serif;
    color: #282828;
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    position: relative;
}

figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 100%;
    height: auto;
}

p {
	line-height: 1.4;
}

a {
    display: inline-block;
    color: #282828;
    cursor: pointer;
}

a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
}

@media screen and (max-width: 767px) {
    a[href*="tel:"] {
        pointer-events: auto;
        cursor: pointer;
    }
}

a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    background-color: #FFCB29;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
}

a.button[disabled] {
    background-color: #999999;
    pointer-events: none;
}

a.button.no_disp {
    display: none;
}

@media screen and (max-width: 980px) {
    a.button.no_disp {
        display: flex;
        visibility: hidden;
    }
}

@media screen and (max-width: 767px) {
    a.button.no_disp {
        display: none;
    }
}

@media (hover: hover) {
    a:not([disabled]):hover {
        opacity: .6;
        transition: .4s;
    }
}
@media (hover: none) {
    a:not([disabled]):active {
        opacity: .6;
    }
}

:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

@media screen and (max-width: 980px) {
    :target::before {
        height: 80px;
        margin-top: -80px;
    }
}

@media screen and (max-width: 767px) {
    :target::before {
        height: 72px;
        margin-top: -72px;
    }
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    width: 100%;
    height: 100px;
    background-color: #FFFFFF;
    z-index: 100;
}

@media screen and (max-width: 980px) {
    header {
        padding: 0 30px;
        height: 80px;
    }
}

@media screen and (max-width: 767px) {
    header {
        padding: 0 20px;
        height: 72px;
    }
}

header > h1 {
    width: 260px;
}

@media screen and (max-width: 767px) {
    header > h1 {
        width: 200px;
    }
}

header > .menu {
    width: 60px;
    height: 60px;
    background-color: #FFCB29;
    border-radius: 30px;
    cursor: pointer;
}

@media screen and (max-width: 980px) {
    header > .menu {
        width: 48px;
        height: 48px;
    }
}

header > .menu > figure {
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

@media screen and (max-width: 980px) {
    header > .menu > figure {
        width: 48px;
        height: 48px;
    }
}

header > .menu > figure > img {
    width: 30px;
}

@media screen and (max-width: 980px) {
    header > .menu > figure > img {
        width: 24px;
    }
}

/* メニュー */
.menu_wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    z-index: 1000;
}

.menu_wrapper.is-active {
    display: block;
    opacity: 0;
}

.menu_wrapper > .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, .7);
}

.menu_wrapper > nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 160px 40px 40px 40px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: #FFFFFF;
    border-radius: 200px 0 0 0;
}

@media screen and (max-width: 980px) {
    .menu_wrapper > nav {
        padding: 160px 30px 30px 30px;
    }
}

@media screen and (max-width: 767px) {
    .menu_wrapper > nav {
        padding: 90px 20px 20px 20px;
        width: 100%;
        border-radius: 0;
    }
}

.menu_wrapper .close {
    position: fixed;
    right: 40px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FFCB29;
    border-radius: 30px;
    cursor: pointer;
}

@media screen and (max-width: 980px) {
    .menu_wrapper .close {
        top: 16px;
        right: 30px;
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width: 767px) {
    .menu_wrapper .close {
        top: 12px;
        right: 20px;
    }
}

.menu_wrapper .close img {
    display: flex;
}

.menu_wrapper .close img {
    width: 30px;
}

@media screen and (max-width: 980px) {
    .menu_wrapper .close img {
        width: 24px;
    }
}

.menu_wrapper > nav > div {
    display: grid;
    align-content: space-between;
    row-gap: 30px;
    height: 100%;
    overflow-y: auto;
}

.menu_wrapper > nav ul {
    list-style: none;
    width: 100%;
}

.menu_wrapper > nav ul a {
    display: flex;
    padding: 10px 20px 10px 50px;
    min-height: 60px;
    font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width: 980px) {
    .menu_wrapper > nav ul a {
        padding: 16px 16px 16px 50px;
    }
}

.menu_wrapper > nav ul.menu li {
    border-bottom: solid 2px rgba(255, 203, 41, .3);
}

.menu_wrapper > nav ul.menu a {
    position: relative;
    padding: 20px 60px 20px 30px;
    color: #282828;
}

@media (hover: hover) {
    .menu_wrapper > nav ul.menu a:not([disabled]):hover {
        background-color: #EEEEEE;
        opacity: 1;
        transition: .4s;
    }
}
@media (hover: none) {
    .menu_wrapper > nav ul.menu a:not([disabled]):active {
        background-color: #EEEEEE;
        opacity: 1;
    }
}

.menu_wrapper > nav ul.menu a::after {
    position: absolute;
    top: 50%;
    right: 16px;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background-color: #FFCB29;
    background-image: url(../images/common/arrow_right.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    border-radius: 12px;
    content: '';
}

.menu_wrapper > nav ul.menu a.pdf {
    font-weight: normal;
}

.menu_wrapper > nav ul.menu a.pdf::after {
    background-image: url(../images/common/icon_pdf.svg);
}

.menu_wrapper .contact {
    display: grid;
    row-gap: 20px;
}

.menu_wrapper .contact a {
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #FFEFBC;
    font-size: 20px;
}

.menu_wrapper .contact a::before {
    position: absolute;
    top: 50%;
    left: 16px;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background-color: #FFCB29;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    border-radius: 12px;
    content: '';
}

.menu_wrapper .contact a.mail::before {
    background-image: url(../images/common/icon_mail.svg);
}

.menu_wrapper .contact a.phone::before {
    background-image: url(../images/common/icon_phone.svg);
}

.menu_wrapper .contact a.mail img {
    height: 20px;
}

/* メインコンテンツ */
main {
    padding-top: 100px;
}

@media screen and (max-width: 980px) {
    main {
        padding-top: 80px;
    }
}

@media screen and (max-width: 767px) {
    main {
        padding-top: 72px;
    }
}

main > section {
    position: relative;
    width: 100%;
}

main > section > div {
    margin: 0 auto;
    padding: 50px;
    width: 100%;
    max-width: 900px;
}

@media screen and (max-width: 980px) {
    main > section > div {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 767px) {
    main > section > div {
        padding: 40px 20px;
    }
}

main > section > div.wide {
    max-width: 1300px;
}

main > section > div > h2,
main > section > div > p {
    margin-bottom: 50px;
    text-align: center;
}

@media screen and (max-width: 980px) {
    main > section > div > h2,
    main > section > div > p {
        margin-bottom: 40px;
        text-align: center;
    }
}

main > section > div > h2 {
    font-size: 24px;
}

/* お申込みのブロック */
main .apply_box_wrapper {
    display: grid;
    gap: 20px;
}

@media screen and (max-width: 980px) {
    main .apply_box_wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    main .apply_box_wrapper {
        grid-template-columns: 1fr;
    }
}

main .apply_box {
    display: grid;
    align-items: center;
    grid-template-columns: 220px 1fr auto;
    padding: 20px 40px;
    width: 100%;
    min-height: 100px;
    background-color: #FFFFFF;
    border: solid 2px #FF8AA7;
    border-image: linear-gradient(to right, #FF8AA7, #FFCB29) 1;
}

@media screen and (max-width: 980px) {
    main .apply_box {
        grid-template-columns: auto;
        grid-template-rows: 60px 1fr auto;
        row-gap: 20px;
        justify-content: center;
        padding: 20px;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 767px) {
    main .apply_box {
        grid-template-columns: 100%;
        padding: 20px 0;
    }
}

main .apply_box.manaable {
    position: relative;
    border-color: #52B765;
    border-image: none;
}

main .apply_box.manaable::after {
    position: absolute;
    left: -42px;
    bottom: -60px;
    width: 120px;
    height: 120px;
    background-image: url(../images/common/dr-bull.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

@media screen and (max-width: 980px) {
    main .apply_box.manaable::after {
        left: -10px;
        bottom: -36px;
        width: 100px;
        height: 100px;
    }
}

main .apply_box > h3 img {
    width: 200px;
}

main .apply_box > p {
    text-align: center;
}

main .apply_box > p span {
    display: block;
    margin-top: 8px;
}

main .apply_box > div.button_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    justify-items: center;
    column-gap: 20px;
}

@media screen and (max-width: 1080px) {
    main .apply_box > div.button_wrapper {
        grid-template-columns: auto;
        row-gap: 10px;
        align-items: center;
        height: 110px;
    }
}

@media screen and (max-width: 767px) {
    main .apply_box > div.button_wrapper {
        padding: 0 20px;
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 1080px) {
    main .apply_box a.button {
        width: 200px;
    }
}

@media screen and (max-width: 980px) {
    main .apply_box a.button {
        width: 100%;
        max-width: 200px;
    }
}

main .apply_box a.button.tokyo {
    background-color: #FF8AA7;
}

main .apply_box a.button.resister {
    background-color: #FFFFFF;
    color: #52B765;
    border: solid 2px #52B765;
}

main .apply_box a.button.login {
    background-color: #52B765;
}

main .apply_box a.button[disabled] {
    background-color: #AAAAAA;
}

/* お申し込みはこちら */
main > .apply_button {
    display: none;
    position: fixed;
    top: 50%;
    right: 0;
    margin-top: -170px;
    width: 100px;
    height: 340px;
    background-color: #FF8AA7;
    z-index: 100;
    opacity: 0;
    transition-duration: .4s;
}

main > .apply_button.is-active {
    display: block;
    transition-duration: .4s;
}

@media screen and (max-width: 980px) {
    main > .apply_button {
        top: auto;
        right: 0;
        bottom: 0;
        margin-top: 0;
        width: 100%;
        height: 60px;
    }
}

main > .apply_button > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/common/text_apply_vertical.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 80%;
    overflow: hidden;
    text-indent: -1000px;
}

@media screen and (max-width: 980px) {
    main > .apply_button > a {
        background-image: url(../images/common/text_apply_horizontal.svg);
        background-size: auto 50%;
    }
}

main > .apply_button > a::before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 88px;
    height: 328px;
    border: dotted 3px #FFFFFF;
    content: '';
}

@media screen and (max-width: 980px) {
    main > .apply_button > a::before {
        top: 6px;
        left: 6px;
        width: calc(100% - 12px);
        height: 48px;
        border: dotted 2px #FFFFFF;
    }
}

/* ページトップへのリンク */
main > .to_top {
    position: relative;
    width: 100%;
    height: 100px;
}

@media screen and (max-width: 980px) {
    main > .to_top {
        display: none;
    }
}

main > .to_top > a {
    position: absolute;
    top: -10px;
    right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 6px;
    width: 80px;
    height: 80px;
    color: #282828;
    text-decoration: none;
    font-size: 12px;
    border: solid 1px #282828;
    border-radius: 40px;
}

main > .to_top > a figure {
    margin-bottom: 10px;
    width: 20px;
    height: 20px;
}

/* フッター */
footer {
    border-top: solid 2px #FFCB29;
}

@media screen and (max-width: 980px) {
    footer {
        padding-bottom: 60px;
    }
}

footer > .footer_main {
    display: flex;
    justify-content: space-between;
    padding: 50px;
}

@media screen and (max-width: 980px) {
    footer > .footer_main {
        padding: 40px;
    }
}

@media screen and (max-width: 767px) {
    footer > .footer_main {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }
}

footer > .footer_main > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    footer > .footer_main > div.access {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 980px) {
    footer > .footer_main > div.access > figure {
        width: 240px;
    }
}

@media screen and (max-width: 767px) {
    footer > .footer_main > div.access > figure {
        margin-bottom: 10px;
    }
}

footer ul {
    list-style: none;
}

footer .contact {
    margin-bottom: 16px;
    font-size: 32px;
    text-align: right;
}

@media screen and (max-width: 980px) {
    footer .contact {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {
    footer .contact {
        margin-bottom: 8px;
        font-size: 20px;
        text-align: center;
    }
}

footer .contact a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

footer .contact a::after {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

@media screen and (max-width: 980px) {
    footer .contact a::after {
        width: 18px;
        height: 18px;
    }
}

footer .contact a.mail::after {
    margin-left: 8px;
    background-image: url(../images/common/footer_icon_mail.svg);
}

footer .contact a.phone::after {
    margin-top: 6px;
    width: 32px;
    height: 32px;
    background-image: url(../images/common/footer_icon_phone.svg);
    background-position: 6px center;
}

@media screen and (max-width: 980px) {
    footer .contact a.phone::after {
        width: 28px;
        height: 28px;
    }
}

footer .contact a.mail img {
    width: auto;
    height: 32px;
}

@media screen and (max-width: 980px) {
    footer .contact a.mail img {
        height: 24px;
    }
}

@media screen and (max-width: 767px) {
    footer .contact a.mail img {
        height: 20px;
    }
}

footer .menu {
    text-align: right;
}

@media screen and (max-width: 767px) {
    footer .menu {
        text-align: center;
    }
}

footer .menu a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

footer .menu a.pdf::after {
    display: inline-block;
    margin-left: 8px;
    width: 24px;
    height: 24px;
    background-image: url(../images/common/footer_icon_pdf.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

@media screen and (max-width: 980px) {
    footer .menu a.pdf::after {
        width: 18px;
        height: 18px;
    }
}

footer > .copyright {
    padding: 10px;
    background-color: #FFCB29;
}

footer > .copyright > p {
    font-size: 14px ;
    text-align: center;
}
