/*!
 * "Orbitron" licensed under the SIL Open Font License
 * https://fonts.google.com/
 */

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* ========================
 COMMON
 =========================== */

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #003b83;
}

/*
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-3,
.display-4,
.lead,
p,
ul {
    color: #003b83;
}
*/
a {
    text-decoration: none;
}

a:hover {
    color: #3d61ad;
    opacity: .8;
}

.bg-primary {
    background-color: #003b83 !important;
}

.main-ttl {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 28px;
    line-height: 2rem;
    letter-spacing: 0.2rem;
}

.ro-brush {
    font-family: ro-brush-std, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.num-font {
    font-family: 'Orbitron', sans-serif;
}

.card {
    border: none;
    background-color: transparent;
}

.bg-lightblue {
    background-color: #f2fbff;
}

.bg-skyblue {
    background-color: #6facc5;
}

.bg-plum {
    background-color: #da86bb;
}

.bg-asagi {
    background-color: #6098dd;
}

.bg-cream {
    background-color: #fffcee;
}

.bg-ocher {
    background-color: #9a8318;
}

.border-ocher {
    border-bottom: 3px solid #9a8318;
    padding-bottom: 29px;
}

li {
    text-indent: -1.3rem;
    padding-left: 1.3rem;
}

.note li {
    text-indent: -2rem;
    padding-left: 1.5rem;
}

/* ========================
HEADER
 =========================== */

.social {
    width: 40px;
}

header.border-bottom {
    border-bottom: 3px solid #003b83 !important;
}

/* ========================
 BALLOON
 =========================== */

.balloon {
    position: relative;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border: 2px solid #434343;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 5rem;
}

.balloon:after,
.balloon:before {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
}

.balloon:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-width: 50px;
    border-bottom-width: 50px;
    border-left-width: 16px;
    border-right-width: 16px;
    margin-left: -16px;
    border-top-color: #FFFFFF;
}

.balloon:before {
    border-color: rgba(102, 102, 102, 0);
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-left-width: 19px;
    border-right-width: 19px;
    margin-left: -19px;
    border-top-color: #434343;
}

.balloon h2 {
    margin-bottom: 0;
}

/* ========================
CONTENTS
 =========================== */

.counselor-img {
    width: 100px;
    height: 100px;

}

/* ========================
CURCLE
 =========================== */
.circle {
    margin: auto;
    border: solid 15px #fff;
    width: 120px;
    height: 120px;
}

/* ========================
TOTOP
 =========================== */

.page-top {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    font-size: 1.2rem;
    line-height: 1.2rem;
    background-color: #003b83;
    color: #fff;
    padding: 1rem;
    border: 2px solid #fff;
    border-radius: 50%;
}

.page-top:hover {
    opacity: unset;
    color: #fff;
}

/* ========================
CONTACT
 =========================== */

/* ========================
BUTTON
 =========================== */

.action-btn {
    color: #3d61ad;
    width: 600px;
    max-width: 100%;
    background-color: #FFF;
    border: solid #3d61ad 3px;
    display: block;
    position: relative;
    box-shadow: 0px 3px 2px #CCC;
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    line-height: 1.2;
    letter-spacing: 2px;
    transition-duration: .05s;
    user-select: none;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
}

.action-btn::after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    top: 38%;
    left: 3%;
    transform: rotate(45deg);
    border-color: #3d61ad;
    border-top-color: rgb(61, 97, 173);
    border-right-color: rgb(61, 97, 173);
    border-top: 2px solid;
    border-right: 2px solid;
}

.action-btn:hover {
    box-shadow: none !important;
    transform: translate3d(0, 1px, 0);
}

/* ========================
SUBMIT
 =========================== */

.policy {
    margin: 20px auto;
    text-align: center;
}
.form_btn {
    background: #005183;
    border: 1px solid #fff;
    color: #fff;
    width: 350px;
    max-width: 100%;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all .5s ease-out;
    position: relative;
}

.form_btn:hover {
    border: 1px solid #005183;
    background: #fff;
    color: #005183;
}

button[type="submit"][disabled] {
    background-color: #fff;
    color: #ccc;
    border-color: #ccc;
    cursor: default;
}

button[type="submit"][disabled]:hover {
    opacity: 1;
}

/* ========================
SLIDE BUTTON
 =========================== */

.slide-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 0;
    max-width: 100%;
    width: 100%;
    background-color: #003b83;
    box-sizing: border-box;
    z-index: 999;
}

.slide-link {
    display: flex;
    width: 80%;
    margin: 0 auto;
    height: 50px;
    color: #003b83;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #003b83;
    justify-content: center;
    align-items: center;
}

/* ========================
PRIVACY
 =========================== */

#privacy ul li {
    text-indent: -2.5rem;
    padding-left: 2rem;
}

/* ========================
ナビ追加
 =========================== */

.toc-hub {
    position: sticky;
    top: 0;
    z-index: 1020;
    /* headerより手前に */
    backdrop-filter: saturate(180%) blur(8px);
}
.toc-hub .btn {
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .toc-hub .btn {
        font-size: .8rem;
        padding: .2rem .5rem;
    }
}
/* アンカー位置のズレ対策（固定ヘッダー分のオフセット） */
:target::before {
    content: "";
    display: block;
    height: 70px;
    /* ヘッダー＋目次の高さに合わせて調整 */
    margin-top: -70px;
    visibility: hidden;
}