@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
    --eng-font: 'Questrial', sans-serif;
    --default-font-size: 19px;
    --default-letter-spacing: 3px;
    --bg-grey: #F2F2F2;
    --bg-color-content-width: 1000px;
    --bg-color-content-margin: 0 auto;
    --bg-color-content-padding: 1.5rem 0;
    --default-font-color: #717071;
    --site-color: #036EB7;
    --hd-letter-spacing: 3px;
    --container-margin-top: 9.5rem;
    --inner-width: 1000px;
    --default-font-weight: 400;
    --line-none: 1.1;
}

html,
body {
    font-size: var(--default-font-size);
    font-weight: var(--default-font-weight);
}

body {
    color: var(--default-font-color);
    font-size: var(--default-font-size);
    letter-spacing: var(--default-letter-spacing);
    line-height: 1.65;
}

.container {
    /* 1200pxを親要素の幅が下回ったときに margin:auto によるセンタリングが崩れ、
       .full-widthのブレイクアウト計算(left:50%; margin-left:-50vw)がズレて
       左側に余白ができてしまうため、幅は画面より広くならないようにする */
    width: min(1200px, 100%);
}

.page-post .container,
.single-post .container {
    margin-top: 8rem;
}

header > div.pc {
    background-color: #fff;
}

header > div.pc {
    font-weight: normal;
}

header .header-menu a,
header .header-menu a:visited {
    color: var(--default-font-color);
}

.inner-container {
    /* site.cssの古い width: 1200px が残っているため、ここで width: 100% を指定して
       上書きする。無指定(auto)のままだと site.css の値が使われ、画面幅が
       max-width を下回っても縮まらず margin:auto のセンタリングが崩れてしまう */
    width: 100%;
    max-width: var(--inner-width);
    margin: 0 auto;
}

.container {
    margin-top: 0rem;
}

.page-mt .container {
    margin-top: 6rem;
}

.section-margin {
    margin-bottom: 5rem;
}

.lead-desc {
    line-height: 1.9;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
}

.font-weight-normal {
    font-weight: normal;
}

ul li {
    list-style: none;
}

.mv {
    position: relative;
}

.mv-img {
    width: 100%;
    line-height: 0;
}

.mv-img img {
    width: 100%;
}

.mv-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: max-content;
    max-width: 90%;
}

.mv-title h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.mv-title .eng {
    font-family: var(--eng-font);
}

.page-mt h2.eng {
    margin: 3rem auto 3rem auto;
    font-size: 2.8rem;
}

.page-mt h2 span {
    font-size: 1.2rem;
}

.mascot-photo {
    width: 700px;
    margin: 0 auto;
}

h3 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
}

/* 下部の青い線 */
h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1e63b7;
}

h2.mb-0 {
    margin-bottom: 0;
}

h2 {
    margin: 3rem auto 1.7rem auto;
}

h2::before {
    display: none;
}

h2.pink {
    font-size: 3.5rem;
    color: #EF858C;
    line-height: 1;
}

h2.eng {
    font-family: var(--eng-font);
    font-size: 3.5rem;
    color: var(--site-color);
    font-weight: 700;
    line-height: 0.7;
}

h2 > span {
    color: var(--default-font-color);
    font-size: 1.5rem;
}

a,
a:visited {
    color: var(--default-font-color);
}

.breadcrumb {
    font-size: 0.55rem;
    color: var(--default-font-color);
    margin: 1.5rem 0;
}

.breadcrumb a,
.breadcrumb a:visited {
    color: var(--default-font-color);
}

.bg-grey {
    background-color: var(--bg-grey);
}

.bg-grey > div {
    background-color: #fff;
    border-radius: 15px;
}

.bg-color {
    padding: 1rem 0;
}

.line-none {
    line-height: var(--line-none);
}

.btn-bg-white {
    margin: 1rem auto;
    width: 400px;
    background-color: #fff;
    padding: 1em 2em;
    display: block;
    text-decoration: none;
    border: solid 1px var(--default-font-color);
}

a.btn-bg-white,
a.btn-bg-white:visited {
    color: var(--default-font-color);
}

.btn-bd-grey {
    margin: 1rem auto;
    width: 480px;
    padding: 1rem 2rem;
    display: block;
    text-decoration: none;
    border: solid 2px var(--default-font-color);
    letter-spacing: 1px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-bd-grey:hover {
    background-color: var(--site-color);
    color: #fff;
    border-color: var(--site-color);
}

/* ブログ */
.blog-aside {
    width: 210px;
}

.blog-aside > ul > li > a,
.blog-aside > ul > li > a:visited {
    color: var(--default-font-color);
}

.blog-container > div:last-child {
    width: calc(100% - 210px - 10px);
}

.card-lists ul li {
    width: calc((100% - 40px) / 3);
}

.card-lists .category {
    font-size: 0.8rem;
}

.category-topics .category,
.category-topics .category a,
.category-topics .category a:visited {
    background-color: #22B573;
    color: #fff;
}

.category-info .category,
.category-info .category a,
.category-info .category a:visited {
    background-color: #FFF33F;
}

.category-notice .category,
.category-notice .category a,
.category-notice .category a:visited {
    background-color: #1654A4;
    color: #fff;
}

.card-lists h2 {
    font-size: 1.2rem;
    margin: 1rem auto 1rem auto;
}
.card-lists .title {
    height: 130px;
}

.card-lists .more {
    width: 175px;
    font-size: 0.8rem;
}

.post-content {
    padding: 10px;
}

.ellipsis {
    -webkit-line-clamp: 2;
}

.card-lists .main-image {
    border-bottom: solid 1px #ccc;
}

.card-lists .wp-block-post-date {
    font-size: 0.75rem;
}

.blog-content h2 {
    margin: 0rem auto 2rem auto;
}


/**
 * スクロールバー
 */
 #scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#scroll-top img {
    width: 110px;
    cursor: pointer;
}


 @media only screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }
    .container {
        width: 100%;
    }

    .sp-side-padding {
        padding: 0 4rem !important;
    }

    .page-mt .container {
        margin-top: 5rem;
    }
    .inner-container {
        max-width: 100%;
    }

    .bg-color {
        padding: 1rem 0.5rem;
    }

    .bg-grey > div {
        padding: 1.5rem 0.5rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h2.eng {
        line-height: 1;
        font-size: 2rem;
    }

    .mascot-photo {
        width: 100%;
    }

    .mv-title h1 {
        font-size: 1.6rem;
    }

    .mv-img {
        height: 200px;
    }

    .mv-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .breadcrumb {
        margin: 1rem 0;
    }
 }