@charset "utf-8";

/* ==================================
	mobile css (default)
================================== */

/* #region css-variable */
:root {
    --header-height: 12.5vw;
    --fontSize: 16px;
    --sectionPaddingBlock: 20px;
    --sectionPaddingInline: 5%;
    --fontColor: #333;
    --contentWidth: 480px;
}

/* #endregion */

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

/* #region flame */
.wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
}

.section-wrapper {
    width: 100%;
}

.content-frame {
    width: 100%;
    padding-block: var(--sectionPaddingBlock);
    padding-inline: var(--sectionPaddingInline);
    margin-inline: auto;
}

.content {
    width: 100%;
}

/* #endregion */

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

/* #region base */
html {
    font-size: var(--fontSize);
    color: var(--fontColor) !important;
}
img {
    pointer-events: none !important;
}
a:hover {
    opacity: 0.8;
    transition: all 0.2s;
}
h1, h2, h3 {
    text-align: center;
}
h3 {
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
}
.center {
    text-align: center;
}
.fit-content {
    width: fit-content;
    margin-inline: auto;
}
.large {
    font-size: 1.2rem;
}
.small {
    font-size: 0.6rem;
}
.note {
    color: #ff3030;
}
.wbr {
    word-break: keep-all;
}
.none {
    display: none;
}
.fw900 {
    font-weight: 900;
}
.fw700 {
    font-weight: 700;
}
.fw500 {
    font-weight: 500;
}

/* #endregion */

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

/* #region go-top-btn */
.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 10vw;
    height: 10vw;
    max-width: 100px;
    max-height: 100px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50% 50%;
    z-index: 10;
}
.go-top-btn::before {
    content: "\f0d8";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    inset: 45% auto auto 50%;
    translate: -50% -50%;
    color: #fff;
    font-size: 1.5rem;
}
.go-top-btn::after {
    content: "TOP";
    font-weight: 900;
    position: absolute;
    top: 57.5%;
    left: 50%;
    translate: -50% 50%;
    color: #fff;
    font-weight: 900;
    font-size: clamp(6px, 0.5vw + 0.5vh, 10px);
}
.go-top-btn:hover {
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s;
}

/* #endregion */

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

/* #region header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}
header.section-wrapper {
    padding-bottom: 0;
}
header .content-frame {
    padding: 0;
}

.header__content {
    position: relative;
}

.top-logo {
    padding-block: 6px;
}
.top-logo__image {
    display: block;
    margin-inline: auto;
    margin-bottom: 10px;
    width: 35%;
}
.top-logo__text {
    font-size: 0.7rem;
    font-weight: 900;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 100%;
    width: calc(var(--header-height) + 12px);
    transition-duration: 0.3s;
    background: #333;
    cursor: pointer;
}
.menu-btn:hover {
    opacity: 0.7;
    translate: 4px -4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.8);
}
.menu-btn i {
    color: #fff;
    font-size: clamp(18px, 1.5vw + 1.5vh, 36px);
    transform: translateY(clamp(-10px, -0.25vw - 0.25vh, 0px));
}
.menu-btn i::after {
    content: "MENU";
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50% 100%;
    font-size: clamp(6px, 0.5vw + 0.5vh, 12px);
    letter-spacing: 0.25em;
    text-align: center;
}

/* #endregion */

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

/* #region modal */
.modal {
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    height: 100vh;
    width: 100vw;
    z-index: 20;
    top: 0;
    left: 0;
    transition-duration: 0.3s;
}
.modal.hidden {
    transform: translateX(-100vw);
}

.global-navi {
    margin-top: 6vh;
}

.nav-btn {
    width: 40%;
    margin-block: 14px;
    margin-inline: auto;
    padding-block: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.nav-btn:hover {
    cursor: pointer;
    background: #fff;
    color: #333;
    opacity: 0.8;
    transition-duration: 0.2s;
}

/* #endregion */

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

/* #region main base-design */
main .content-frame {
    margin-inline: auto;
    background: #fff;
    position: relative;
    z-index: 0;
}
main .bg-color:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: skewY(-5deg);
    transform-origin: top left;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #005584;
}
main .bg-color .content {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 60px;
}
main .bg-none .content {
    margin-top: 20px;
    margin-bottom: 48px;
}

.main-section__title {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.main-section__subtitle {
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
}
.main-section__subtitle.decoration {
    position: relative;
    margin-bottom: 24px;
}
.main-section__subtitle.decoration:before {
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    margin-inline: auto;
    content: '';
    width: 25%;
}
section.bg-none .main-section__subtitle.decoration:before {
    border-bottom: 2px solid #005584;
}
section.bg-color .main-section__subtitle.decoration:before {
    border-bottom: 1px solid #fff;
}

main section p {
    font-size: 0.85rem;
    line-height: 1.35rem;
    margin-block: 10px;
}

.btn {
    display: block;
    width: 60%;
    margin-inline: auto;
    margin-bottom: 10px;
    border-radius: 30px;
    border: 1px solid #333;
    box-shadow: 4px 4px 0 rgba(51, 51, 51, 0.8);
    /* background: #f3f4ff; */
    background: #F4F7F9;
    font-size: 0.8rem;
    font-weight: 900;
    transition: 0.2s;
    cursor: pointer;
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
    padding-block: 14px;
    position: relative;
}
.btn a{
    color: #333;
}

.btn:hover {
    opacity: 0.6;
}
.btn:active {
    translate: 0 4px;
    box-shadow: none;
}
.btn:not(.disable)::after {
    position: absolute;
    content: "\f061";
    font-family: 'Font Awesome 6 Free';
    top: 50%;
    right: 10%;
    translate: 0 -50%;
}
.btn.disable {
    background: #333;
    color: #fff;
}
.btn.disable:hover {
    opacity: 1;
    cursor: default;
}
.btn.disable:active {
    translate: 0 0;
    box-shadow: 4px 4px 0 rgba(51, 51, 51, 0.7);
}
/* #endregion */

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

/* #region main top-image */
main {
    position: relative;
    animation: load 1s;
}
@keyframes load {
    0% {
        opacity: 0;
        top: -100px;
    }
    50%{
        opacity: 1;
    }
    100% {
        top: 0;
    }
}

.top-image.content-frame {
    height: 70vh;
    padding: 0;
    background: linear-gradient(0, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)), url("img/mainimage_bg.webp") no-repeat center top / cover;
}
.top-image img {
    width: 100%;
    background-size: contain;
    padding-top: calc(var(--header-height) + 50px);
    animation: open 2s;
}
@keyframes open {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* #endregion */

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

/* #region main news */
.news__title {
    position: relative;
    margin-bottom: 28px;
    margin-inline: auto;
    font-weight: 900;
}
.news__title:before {
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    margin-inline: auto;
    content: '';
    width: 30%;
    border-bottom: 3px solid #333;
}

.news__list {
    max-width: 85%;
    max-height: 10vh;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-inline: auto;
}
.news__list li {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px dotted #333;
    font-size: 0.7rem
}
.news__list li:last-child {
    border-bottom: none;
}
.news__list time {
    margin-right: 6px;
    font-size: 0.6rem;
}
.news__label {
    display: inline-block;
    margin-right: 6px;
    padding: 4px;
    border-radius: 2px;
    font-size: 0.6rem;
    color: #fff;
}
.news__label.priority-first {
    background: #ff3030;
}
.news__label.priority-second {
    background: #005584;
}
.news__label.priority-normal {
    background: #555;
}

/* #endregion */

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

/* #region ather */
#photo {
    width: 100%;
    margin-inline: auto;
    border-radius: 4px;
}
#photo.fade {
    animation: fade 1s;
}
@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.category-title {
    width: fit-content;
    min-width: 160px;
    margin-inline: auto;
    padding-block: 12px;
    padding-inline: 20px;
}
.category-title.color {
    margin-top: 20px;
    border: 1px solid #fff;
}
.category-title.white {
    margin-top: 14px;
    /* border: 1px solid #005584; */
    background: #00558418;
    /* color: #005584; */
    /* border: 1px solid #005584; */
    /* background: #005584; */
    /* color: #fff; */
}

/* .class_title {
    min-width: 170px;
} */
.class_description {
    text-align: center;
    margin-bottom: 16px;
}

.banner {
    margin-bottom: 20px;
}
.banner img {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
}

#jrc .content {
    margin-bottom: 32px;
}
.jrc__image {
    width: 100%;
    margin-inline: auto;
}

/* #endregion */

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

/* #region footer */
footer {
    background: #005584;
    color: #fff;
}

footer .content-frame {
    padding-block: calc(var(--sectionPaddingBlock) + 20px);
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 2.5rem;
}
.adress {
    font-size: 0.9rem;
    line-height: 1.35rem;
}

.btn.mail {
    /* background: #f3f4ff; */
    margin-block: 20px;
}

.copyright {
    font-size: 0.8rem;
    text-align: center;
}
/* #endregion */