@charset "utf-8";

/********************** 設定CSS **********************/
:root {
    --sub-color: #A6864B;
    --ac-color: #756DA6;
    --fsize24: clamp(18px, 2vw, 1rem);
    --fsize30: clamp(24px, 2.3vw, 1.25rem);
    /* 2カラムのh3,その他 */
    /*--fsize50: clamp(35px, 2.7vw, 50px);*/
    --fsize50: clamp(30px, 2.4vw, 42px);
    /* 1カラムのh3 */
    /*--fsize90: clamp(40px, 4.5vw, 90px);*/
    --fsize90: clamp(35px, 2.7vw, 50px);
    /* h2 */
    --px16: clamp(12px, 1vw, 16px);
    --px24: clamp(16px, 1.5vw, 24px);
    --px30: clamp(20px, 1.8vw, 30px);
    --px40: clamp(28px, 2.2vw, 40px);
    /*--px50: clamp(35px, 2.7vw, 50px);*/
    --px50: clamp(30px, 2.4vw, 42px);
    --px90: clamp(70px, 5vw, 90px);
    --px100: clamp(80px, 5.5vw, 100px);
    --px120: clamp(90px, 6vw, 120px);
    --px140: clamp(100px, 7vw, 140px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 5px;
    font-family: "Shippori Mincho B1", serif;
    /*font-weight: bold;*/
    font-weight: normal;
}

#uni-toolbar:not(.uni-toolbar-disabled) #style_selector .style-toggle {
    z-index: 99999;
    opacity: 1;
}

#logoLink,
.logo img {
    width: 80px;
}

.pc_only {
    display: block !important;
}

.sp_only {
    display: none !important;
}

.page-indicator.pc_only,
.f_size_btn ul.pc_only {
    display: flex !important;
    ;
}

.f_size_btn.sp_only {
    position: unset;
}

body {
    margin: 0;
    color: #fff;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

a {
    color: #fff;
    text-decoration: none;
    display: block;
}

h1 {
    font-size: clamp(20px, 5vw, 65px);
    line-height: 1.5;
    writing-mode: vertical-rl;
    margin: 0.67em 0 0 auto;
}

h2 {
    font-size: 1.8rem;
    letter-spacing: 0.8rem;
}

button {
    border-radius: 5rem;
    position: relative;
    z-index: 9;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    background: none;
}

button:hover a {
    background: #fff;
    color: #756DA6;
}

button a {
    border-radius: 5rem;
    background: #756DA6;
    padding: 1rem 3rem;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 10px;
    transition: all 0.2s ease;
}

p {
    font-size: var(--fsize24);
    margin: 1.5rem 2rem;
    letter-spacing: 0.3rem;
}

/***************** header *****************/
header {
    display: flex;
    align-items: baseline;
    justify-content: right;
    gap: 2rem;
    padding: 2rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    height: 150px;
}

@supports (-webkit-touch-callout: none) {
    header {
        top: 0 !important;
        position: fixed;
    }
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

header nav ul a {
    font-size: 1.2rem;
}

.nav_active {
    color: #FFD138 !important;
}

header a:hover,
.menu a:hover {
    color: #FFD138;
}

.menu_wrap {
    width: 90%;
    margin: 0 auto;
}

.login_btn a:hover {
    color: #A6864B;
}

.f_size_btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.f_size_btn ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.f_size_btn li.active {
    font-weight: bold;
    color: #A6864B;
}

.f_size_btn li {
    width: 38px;
    height: 38px;
    background-color: #fff;
    border: 2px solid #A6864B;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    margin-bottom: 0.2rem;
    line-height: 0;
    padding: 0.8rem;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
    letter-spacing: 0;
    cursor: pointer;
}

.f_size_btn li:nth-of-type(2) {
    width: 38px;
    height: 38px;
    border: 2px solid #A6864B;
    padding: 0.8rem;
}

.f_size_btn li:nth-of-type(3) {
    width: 38px;
    height: 38px;
    border: 2px solid #A6864B;
    padding: 0.8rem;
}

.f_size_btn li:hover {
    background-color: #A6864B;
    color: #000;
}

body .login_btn a {
    background: url(../images/btn_bk.png) no-repeat center center;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    width: 240px;
    height: 55px;
    border: none;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
}

#hamburgerBtn,
#menu #closeBtn {
    transition: all 0.2s ease;
}

#hamburgerBtn.hidden,
#menu #closeBtn.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ハンバーガーボタン */
#hamburgerBtn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
    cursor: pointer;
}

#hamburgerBtn div span {
    display: block;
    width: 100%;
    height: 4px;
    background: #FFD138;
    border-radius: 2px;
    margin: 5px 0;
    box-shadow: 1px -1px 1px 1px rgba(0, 0, 0, 0.1);
}

#hamburgerBtn .hamburger_text {
    margin-top: 10px;
    color: #FFD138;
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1);
}

/* メニュー */
.menu {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 40%;
    height: 100vh;
    background: #7a73a5;
    padding: 3rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    z-index: 999;
    overflow: scroll;
}

.menu.open {
    right: 0;
}

.menu ul li {
    margin-bottom: 1.5rem;
}

.menu a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    display: inline-block;
    width: 100%;
    line-height: 2;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 閉じるボタン */
#closeBtn {
    position: absolute;
    top: 32px;
    right: 70px;
    font-size: var(--fsize24);
    color: #ffcc00;
    cursor: pointer;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeBtn div {
    margin-bottom: 1.5rem;
    position: relative;
    width: 35px;
}

#closeBtn div span {
    display: block;
    width: 35px;
    height: 4px;
    background: #FFD138;
    border-radius: 2px;
    margin: 5px 0;
    position: absolute;
    top: 5px;
    left: 0;
}

#closeBtn div span:first-child {
    transform: rotate(45deg);
    box-shadow: 1px -1px 1px 1px rgba(0, 0, 0, 0.1);
}

#closeBtn div span:last-child {
    transform: rotate(-45deg);
}

/* end ハンバーガーメニュー */

h1 span,
h2 span {
    opacity: 0;
    display: inline-block;
    transition: opacity 1s ease;
}

h1 span.show,
h2 span.show {
    opacity: 1;
}

/***************** end header *****************/



/********** footer **********/
footer {
    opacity: 0;
    transition: opacity 2s ease;
    background: #000;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    /* pointer-events: none; */
    padding: 1rem;
}

footer.show {
    opacity: 1;
    pointer-events: auto;
}

.footer_content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
}

.left_area {
    width: 40%;
}

footer .left_area li {
    margin-bottom: 0.5rem;
}

footer .left_area li:last-child {
    margin-bottom: 0;
}

footer .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

footer .logo span {
    font-size: 1.8rem;
}

footer .left_area ul a {
    text-decoration: underline;
    font-size: 0.9rem;
}

footer .left_area ul {
    width: 90%;
    margin-left: auto;
}

footer .right_area {
    margin-top: 0.4rem;
    text-align: left;
    width: 60%;
    font-size: 0.9rem;
}

footer .right_area a {
    display: inline-block;
}

footer .right_area div {
    margin-bottom: 1rem;
}

footer small {
    margin-top: 2rem;
    display: block;
    font-size: 0.5rem;
}

#page_top_btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 84px;
    z-index: 999;
}

@media screen and (max-width: 1280px) {
    .f_size_btn ul.pc_only {
        display: none !important;
    }

    .f_size_btn.sp_only {
        display: block !important;
    }

    .f_size_btn.sp_only #fontSizeSwitcher_sp {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: unset;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .pc_only {
        display: none !important;
    }

    .sp_only {
        display: block !important;
    }

    .page-indicator.pc_only {
        display: none;
    }

    .menu ul li {
        font-size: 1rem;
    }

    .f_size_btn.sp_only #fontSizeSwitcher_sp {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: unset;
        gap: 0.5rem;
    }

    .f_size_btn ul.pc_only {
        display: none !important;
    }

    .menu a {
        width: 100%;
        text-align: center;
    }

    .menu {
        width: 100%;
        padding: 5rem 1rem;
    }

    header {
        padding: 1.5rem 2rem;
        height: 80px;
    }

    footer {
        opacity: 1;
        position: relative;
    }

    .footer_content {
        gap: 1rem;
        flex-direction: column;
    }

    footer .left_area,
    footer .right_area {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    .f_size_btn li {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        padding: 0.7rem;
        margin-bottom: 0.2rem;
    }

    .f_size_btn li:nth-of-type(2) {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }

    .f_size_btn li:nth-of-type(3) {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        padding: 0.9rem;
    }

    .f_size_btn.sp_only {
        width: 100%;
    }

    #logoLink {
        width: 50px;
    }

    .f_size_btn li {
        width: 30px;
        height: 30px;
    }

    .f_size_btn li:nth-of-type(2) {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 1rem;
    }

    .f_size_btn li:nth-of-type(3) {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        padding: 1.1rem;
    }

    footer {
        padding: 1rem 0.5rem;
    }

    footer .logo {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    footer .logo span {
        font-size: 1.5rem;
    }

    footer .left_area .logo img {
        display: none;
    }

    footer .left_area ul {
        width: 100%;
        font-size: 0.8rem;
    }

    footer .left_area ul a,
    footer .right_area {
        font-size: 0.7rem;
    }

    #page_top_btn {
        position: fixed;
        bottom: 10px;
        right: 10px;
        width: 50px;
        z-index: 999;
    }
}