@charset "UTF-8";

.bg {
    position: fixed;
    z-index: -1;
}

.bg img {
    width: 100%;
}

.pagemain {
    background-image: url(/assets/img/footer_photo.png);
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    z-index: -2;
}

.pagemain_ttl {
    width: 520px;
    height: 80px;
    padding: 0;
    font-size: 33px;
    font-weight: 500;
    color: white;
    letter-spacing: 0.2em;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #D93751;
    position: relative;
    z-index: 0;
    bottom: -65px;
    /*これ目分量だから後で確認してもらう*/
}

.subttl {
    padding-top: 100px;
    margin: 0;
    text-align: center;
    font-size: 27px;
    letter-spacing: 0.2em;
}

.logo3 {
    text-align: center;
    padding: 30px 0px;
    width: 100%;
    height: auto;
}

.logo3 img {
    width: 85px;
    height: auto;
}

.atagu {
    color: #4b6cb3;
    font-size: max(1.05vw, 20px);
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.atagu::after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #4b6cb3;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

.atagu:hover::after {
    transform: scale(1, 1);
}

/* 以下box1 */
.cnt_01 {
    margin-top: 132.5px;
    display: flex;
    justify-content: center;
}

.cnt_02 {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.cnt01_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4%;
    width: 70%;
    max-width: 1000px;
}

.cnt01_stc p {
    margin: 0;
    font-size: 1.05rem;
    /* width: 75%; */

}

/* 以下 box2 */

.cnt_02 {
    display: flex;
    justify-content: center;
}

.cnt02_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7%;
    max-width: 1100px;
}

.cnt02_stc p {
    margin: 0;
    font-size: 1.05rem;
    width: 90%;
}

/* 以下box3 */

.cnt_03 {
    display: flex;
    justify-content: center;
}

.cnt03_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 70px;
}

.cnt03_stc p {
    margin: 0;
    font-size: 1.05rem;
}

.otoiawase {
    line-height: 40px;
}

/* news用css */

.news p {
    margin: 0;
    font-size: 1.1vw;
    white-space: nowrap;
}

_:lang(x)::-internal-media-controls-overlay-cast-button,
.news p {
    padding-bottom: 2px;
}

_:lang(x)+_:-webkit-full-screen-document,
.news p {
    font-size: max(1.1vw, 10px);
    padding-top: 4px;
}

.news p:not(.open, .update) {
    line-height: 30px;
}

.news_contents_top {
    background-color: #ffffff;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    margin: 132.5px auto 0;
    padding: 2%;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_contents {
    background-color: #ffffff;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    margin: 40px auto 0;
    padding: 2%;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_link {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news_link_big {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.news_link:not(.news_link:first-child),
.news_link_big:not(.news_link_big:first-child) {
    margin-top: 30px;
}

.news_date {
    width: max(14.1vw, 76px);
    display: flex;
    justify-content: flex-end;
}

.news_type {
    width: 12vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_type_big {
    width: 12vw;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_type p,
.news_type_big p {
    width: 7vw;
    min-width: 50px;
    text-align: center;
    color: #ffffff;
}

.news_type .update,
.news_type_big .update {
    background-color: #D93751;
}

.news_type .open,
.news_type_big .open {
    background-color: #4b6cb3;
}

.news_paragraph {
    width: max(41.5vw, 330px);
}

.p_align {
    padding-left: 0.6em;
    text-indent: -0.6em;
}

.half_space_cancel {
    margin-left: -0.3vw;
}

.news_atagu {
    color: #4b6cb3;
    position: relative;
}

.news_atagu::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #4b6cb3;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

_:lang(x)+_:-webkit-full-screen-document,
.news_atagu::after {
    bottom: -2px;
}

.news_atagu:hover::after {
    transform: scale(1, 1);
}