@charset "UTF-8";

:root {
    --main-black: #2B2730;
    --blue: #0D62A5;
    --pink: #F06292;
    --en: "Montserrat", sans-serif;
    --mar_bottom: 80px;
}

body {
    font-family: "Noto Sans JP", "Noto Sans", sans-serif;
    font-size: 14px;
    line-height: 2em;
    color: var(--main-black);
    font-weight: normal;
    background: #F9FAFB;
    position: relative;
    min-height: 100vh;
}

img {
    width: 100%;
    max-width: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

.thumbnail {
    height: auto;
    margin-bottom: 32px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    display: inline-block;
}

a:hover {
    opacity: 0.8;
}

.container {
    overflow: hidden;
    position: relative;
    padding-bottom: 80px;
}

.container::before {
    position: absolute;
    content: "";
    width: 300px;
    height: 300px;
    background-image: url(../img/back_ball.png);
    background-size: contain;
    transform: rotate(11deg);
    bottom: 0;
    right: -60px;
    z-index: -1;
}

.wrapper {
    width: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}

.flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.en {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 2em;
    line-height: 120%;
}

.blue {
    color: var(--blue);
}

.pink {
    color: var(--pink);
}

.center {
    text-align: center;
}

/* h2 .section_title */
h2,
.sub-title {
    font-family: var(--en);
    font-size: 1.5em;
    font-weight: 600;
    width: 80%;
    padding-top: 60px;
    position: relative;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.sec_blue {
    border-bottom: 3px solid var(--blue);
}

.sec_pink {
    border-bottom: 3px solid var(--pink);
}

h2 .en,
.sub-title .en {
    opacity: 0.2;
    position: absolute;
    bottom: 8px;
}

.sec_blue .en {
    color: var(--blue);
}

.sec_pink .en {
    color: var(--pink);
}

h2::after,
.sub-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 80px;
    left: 100%;
    bottom: -3px;
    background-position: bottom left;
    background-size: contain;
}

.sec_pink::after {
    width: 70px;
    height: 70px;
}

/* btn */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #fff;
    transition: all 0.3s;
    position: relative;
    font-size: 1.25em;
    max-width: 280px;
    margin: 0 auto 8px;
}

.btn:hover,
.btn:active {
    position: relative;
    transform: translateY(2px);
    box-shadow: none;
    opacity: 1;
}

.blue_btn {
    background-image: linear-gradient(36deg, #0d62a5 14%, #6198c3);
    ;
    border: 1px solid #fff;
    box-shadow: 6px 6px 0 #0D62A5;
}

.blue_btn span {
    width: 50px;
}

.pink_btn {
    background: var(--pink);
    box-shadow: 6px 6px 0 rgb(240, 98, 146, 0.2);
    padding-block: 20px;
}

.pink_btn span {
    width: 25px;
    padding-bottom: 4px;
}

/* ==========================
    form
==========================*/
.form {
    max-width: 600px;
    margin-inline: auto;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
    width: 100%;
    border: 1px solid var(--main-black);
    border-radius: 5px;
    padding: 8px;
    margin-block: 8px 24px;
    background: #fff;
    font-size: 14px;
}

textarea {
    height: 10em;
}

.form input[type="submit"] {
    width: 160px;
    border-radius: 5px;
    padding: 8px;
    color: #fff;
    border: 2px solid var(--blue);
    font-size: 1.25em;
    transition: all 0.3s;
}

.form label {
    font-weight: bold;
}

.form .required {
    display: inline-block;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    line-height: 160%;
    margin-left: 8px;
}

.form p {
    line-height: 160%;
}

.form .privacypolicy,
.form_member .privacypolicy {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/Foreign.png);
    margin-left: 10px;
    margin-bottom: -3px;
}

.privacypolicy a{
    width: 100%;
    height: 100%;
}

.agree {
    margin-top: 30px;
}

.agree a {
    color: var(--main-black);
    font-weight: bold;
}

.wpcf7-not-valid-tip {
    margin-top: -27px;
}

/* --------------------------------------------

loading
---------------------*/
.ld_container {
    background: #F9FAFB;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s;
    transition-timing-function: var(--ease_in_out_quint);
}

/* 通常コンテンツは最初は隠す */
.is-loading .kv,
.is-loading .word {
    opacity: 0;
}

/* 読み込み完了後 */
body.is-loaded .ld_container {
    opacity: 0;
    pointer-events: none;
}

body.is-loaded .kv,
body.is-loaded .word {
    opacity: 1;
    transform: translateY(0);
}

span img {
    width: 50px;
}

/* 中央配置 */
.load_body {
    display: flex;
    align-items: baseline;
    gap: 4px;
    transition: .5s;
}

/* 各文字を弾ませる */
.loading-text span {
    display: inline-block;
    font-size: 18px;
    animation: bounceChar 2s infinite ease-in-out;
}

/* 各文字に時間差を付ける */
.loading-text span:nth-child(1) {
    animation-delay: 0s;
}

.loading-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.loading-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.loading-text span:nth-child(5) {
    animation-delay: 0.4s;
}

.loading-text span:nth-child(6) {
    animation-delay: 0.5s;
}

.loading-text span:nth-child(7) {
    animation-delay: 0.6s;
}

.loading-text span:nth-child(8) {
    animation-delay: 0.7s;
}

.loading-text span:nth-child(9) {
    animation-delay: 0.8s;
}

/* 弾むアニメーション */
@keyframes bounceChar {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(0);
    }
}

/* ドット */
.dots {
    display: flex;
    gap: 3px;
    margin-left: 4px;
}

.dot {
    opacity: 0.2;
    animation: blink 1.2s infinite;
}



.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}


/* 点滅アニメーション */
@keyframes blink {

    0%,
    80%,
    100% {
        opacity: 0.2;
    }

    40% {
        opacity: 1;
    }
}

/* --------------------------------------------

loading Responsive
---------------------*/
@media screen and (max-width: 1070px) {
    .loading-text span {
        font-size: 14px;
    }
}




/* =========================
    header
============================*/

header {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 10;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    padding: 5px 20px;
}

header.open {
    padding-block: 20px;
    box-shadow: none;
}

.logo_pc {
    display: none;
}

.logo_sp,
.toggle-btn {
    display: inline-block;
}

.logo_sp {
    width: 180px;
}

.open .logo_sp {
    display: none;
}

.toggle-btn {
    width: 40px;
    cursor: pointer;
    position: relative;
    z-index: 30;
}

.open .toggle-btn {
    height: 40px;
}

.toggle-btn span {
    display: none;
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    left: 0;
}

.open .toggle-btn img {
    display: none;
}

.open .toggle-btn span:nth-child(2) {
    display: block;
    transform: rotate(-45deg);
    position: absolute;
    top: 12px;
}

.open .toggle-btn span:nth-child(3) {
    display: block;
    transform: rotate(45deg);
    position: absolute;
    top: 12px;
}

nav {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
}

.open nav {
    visibility: visible;
    opacity: 1;
    width: 100%;
    top: 80px;
    padding: 40px 20px 20px;
    overflow-y: auto;
    z-index: 20;
    transition: top 0.5s ease-in-out;

}

nav a:hover {
    transform: scale(1.05);
    opacity: 1;
}

.nav {
    margin-top: 16px;
}

.nav li {
    width: 220px;
    margin-inline: auto;
    margin-bottom: 16px;
}

.nav li a {
    display: block;
    background: linear-gradient(90deg, #0D62A5 0%, #5686ae 50%, #0D62A5 100%);
    background-size: 200% 100%;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 1.125em;
    font-weight: 300;
    line-height: 48px;
    transition: .5s cubic-bezier(0.45, 0, 0.55, 1);
}

.nav li a:hover {
    background-position: 100% 0;
}

nav li span {
    font-family: var(--en);
    font-size: 1.5rem;
    font-weight: 300;
    display: inline-block;
    width: 48px;
    text-align: center;
    border-right: 1px solid #fff;
    margin-right: 12px;
}

.sns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.mask {
    visibility: hidden;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #F9FAFB;
    transition: all 0.3s ease-in-out;
}

.open .mask {
    visibility: visible;
}

/* ======================
    main
========================*/

.mainvs {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding-top: 65px;
}


/* news */
#news {
    margin-bottom: var(--mar_bottom);
    padding-top: 60px;
}

#news h2::after {
    background-image: url(../img/title_icon_1.png);
    left: 94%;
}

.news {
    border-top: 1px solid #DEDBE3;
}

.news li {
    border-bottom: 1px solid #DEDBE3;
    padding: 16px 8px;
}

.news .category {
    display: inline-block;
    width: 100px;
    text-align: center;
    line-height: 33px;
    margin-left: 24px;
    padding: 0 16px;
    background-color: var(--blue);
    color: #fff;
    font-weight: bold;
    font-size: 0.875em;
    border-radius: 5px;
}

.news a {
    display: block;
    margin-top: 8px;
    color: var(--main-black);
}

.news .more_btn {
    text-align: right;
    border: none;
}

.more_btn a {
    margin-right: 24px;
    position: relative;
}

.more_btn a::after {
    content: "";
    width: 22px;
    height: 1px;
    background-color: var(--blue);
    margin-left: 8px;
    position: absolute;
    top: 60%;
}

.more_btn a::before {
    content: "";
    width: 8px;
    height: 1px;
    background-color: var(--blue);
    transform: rotate(45deg);
    position: absolute;
    right: -30px;
    top: 48%;
}


/* partner */
.partner h2::after {
    background-image: url(../img/title_icon_2.png);
}

.partner_logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}

.partner_logos li {
    width: 40%;
}


/* set_up */
#set_up {
    padding-top: var(--mar_bottom);
}

.throw_word {
    position: relative;
    margin-bottom: 32px;
}

.throw_word span {
    display: block;
    max-width: 650px;
    height: 110px;
    margin-inline: auto;
    border-radius: 50px;
    background: rgb(13, 98, 165, 0.4);
    filter: blur(40px);
}

.throw_word p {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 2rem;
    z-index: 5;
}

#set_up .center {
    margin-bottom: var(--mar_bottom);
}

#set_up h2::after {
    background-image: url(../img/title_icon_3.png);
    left: 96%;
}

#set_up .flex {
    align-items: center;
    margin-bottom: 48px;
}

#set_up .flex p,
#set_up .flex img {
    width: 100%;
}

#set_up .flex:nth-of-type(3) {
    flex-direction: column-reverse;
}


#set_up .center:last-of-type {
    font-size: 1.125rem;
}

.why {
    text-align: center;
    background: rgba(251, 207, 222, 0.22);
    padding: 0 16px var(--mar_bottom);
    margin-top: -1px;
}

.squea_pink {
    width: 100%;
    height: 150px;
    background-image: url(../img/squea_pink.png);
    background-position: bottom center;
    background-size: cover;
    margin-top: -100px;
}

.why h2 {
    position: static;
    width: 100%;
    font-size: 1.5rem;
    color: var(--pink);
}

.why h2::after {
    display: none;
}

.why_item {
    width: 320px;
    margin-inline: auto;
    background-image: url(../img/why_ball_img.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.why_item h3 {
    margin-top: 5px;
    font-size: 1.25em;
}

.why_item p {
    line-height: 2rem;
    padding-inline: 8px;
}

.why ul {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 24px;
}

.why ul li {
    margin-inline: auto;
}


/* achievement 活動実績 */
.achievement {
    margin-bottom: var(--mar_bottom);
}

.achievement h2 {
    border: none;
    width: 100%;
    padding-left: 170px;
    padding-top: 8px;
    margin-bottom: 50px;
}

.achievement h2::after {
    display: none;
}

.achievement h2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    background-image: url(../img/title_sec3.png);
    background-size: contain;
    left: 0;
    top: -3px;
}

.achievement .en {
    left: 180px;
    bottom: -35px;
    text-align: right;
}

.achievement .achieve_list {
    background-image: none;
    padding-top: 50px;
}

.achieve_list .flex {
    margin-bottom: 48px;
    align-items: center;
}

.reverse {
    flex-direction: column-reverse;
}

.achieve_list .flex:last-child {
    margin-bottom: 24px;
}

.achieve_list h3 {
    font-size: 1.25rem;
    font-weight: bold;
    font-family: var(--en);
    line-height: 2rem;
}

.achievement_text {
    margin-block: 48px;
}


/* cooperation */

.cooperation h2::after {
    background-image: url(../img/title_icon_4.png);
    left: 97%;
}

.cooperation ul {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 48px;
}

.cooperation ul li {
    margin-bottom: 16px;
}


/* contact */
#contact {
    padding-top: var(--mar_bottom);
    margin-bottom: var(--mar_bottom);
}

#contact h2::after {
    background-image: url(../img/title_icon_5.png);
    left: 99%;
}

#contact .required,
#contact .submit_btn {
    background: var(--blue);
}

#contact .submit_btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background-color: #F9FAFB;
}


.wpcf7 form .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid var(--blue);
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #c61111;
}

.wpcf7-list-item.first label,
.wpcf7-list-item.last label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-spinner {
    display: none;
}

/* =========================
    footer
=========================*/
footer {
    padding-bottom: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.to-top {
    color: var(--main-black);
    background: #fff;
    width: 60px;
    font-size: 0.85em;
    font-weight: bold;
    border-top: 1px solid var(--main-black);
    border-inline: 1px solid var(--main-black);
    position: fixed;
    bottom: 50px;
    right: 5%;
}

.to-top::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 30px solid transparent;
    border-top: 8px solid #fff;
    left: 0;
    top: 100%;
    z-index: 50;
}

.to-top::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 31px solid transparent;
    border-top: 9px solid var(--main-black);
    z-index: 40;
    left: -1px;
    top: 100%;
}

.to-top::before footer p {
    font-size: 0.75em;
}


@media (min-width: 600px) {
    :root {
        --mar_bottom: 120px;
    }

    body {
        font-size: 16px;
        line-height: 2rem;
    }

    .container::before {
        width: 500px;
        height: 500px;
        right: -100px;
    }


    /* 共通 */

    .wrapper {
        max-width: 1000px;
        padding-inline: 24px;
    }

    .flex {
        flex-direction: row;
        justify-content: space-between;
    }

    .btn {
        min-width: 320px;
    }


    /* h2 */
    h2 {
        width: 60%;
        font-size: 2em;
        padding-bottom: 8px;
        margin-bottom: 48px;
    }

    h2::after {
        width: 120px;
        height: 114px;
    }

    .sec_pink::after {
        width: 80px;
        height: 80px;
    }




    /* news */
    .news {
        width: 50%;
    }

    .insta {
        width: 45%;
    }

    #news h2::after {
        left: 96%;
    }

    /* set_up */
    #set_up .flex {
        gap: 4%;
    }

    #set_up .flex:nth-of-type(3) {
        flex-direction: row;
    }

    #set_up .flex p,
    #set_up .flex img {
        width: 46%;
    }


    /* partner */
    .partner_logos li {
        width: 45%;
    }

    .why_item {
        width: 348px;
        padding: 60px 32px 55px;
    }


    /* achievement */
    .achievement h2 {
        padding-left: 250px;
    }

    .achievement h2::before {
        height: 140px;
    }

    .achievement .en {
        left: 270px;
    }

    .achievement .achieve_list {
        background-image: url(../img/blue_way.png);
        background-position: center top;
        background-size: cover;
        padding-top: 100px;
    }

    .img_flex {
        gap: 0;
    }

    .achieve_list img {
        width: 50%;
    }

    .achieve_list .text {
        width: 47%;
    }


    /* cooperation */
    .cooperation ul {
        font-size: 1.25rem;
        margin-bottom: 100px;
    }


    /* footer */

    .to-top {
        width: 90px;
    }

    .to-top::after {
        border: 45px solid transparent;
        border-top: 16px solid #fff;
    }

    .to-top::before {
        border: 46px solid transparent;
        border-top: 17px solid var(--main-black);
    }


}

@media (min-width: 1000px) {
    /* header */

    header {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 280px;
        height: 100vh;
        padding: 20px 20px 0;
    }

    .logo_pc {
        display: block;
        width: 180px;
    }

    .logo_sp,
    .toggle-btn {
        display: none;
    }

    nav {
        visibility: visible;
        opacity: 1;
        position: static;
        height: auto;
    }


    .nav {
        margin-top: 16px;
    }

    nav .nav li {
        margin-bottom: 8px;
    }

    .sns {
        margin-top: 24px;
    }

    .mask {
        display: none;
    }

    .mainvs {
        height: auto;
        padding-top: 0;
    }

    .container {
        margin-left: 280px;
        padding-bottom: 120px;
    }

    footer {
        margin-left: 280px;
    }


    /* why */
    .why ul {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .why ul li {
        margin-inline: 0;
    }


    /* achievement */
    .achievement h2 {
        padding-left: 340px;
    }

    .achievement h2::before {
        height: 200px;
    }

    .achievement .en {
        left: 360px;
    }

}





/* ============================
    下層ページ共通 
=============================*/

/* sub-mainimg */

.sub-vs {
    padding-top: 60px;
    opacity: 0.7;
}

.sub_mainvs {
    position: relative;
    padding-top: 60px;
}

.sub_mainvs h1 {
    font-size: 3em;
    width: 100%;
    text-align: center;
    position: absolute;
    color: #fff;
    top: 50%;
}

.sub_mainvs p {
    font-size: 3em;
    width: 100%;
    text-align: center;
    position: absolute;
    color: #fff;
    top: 50%;
}

.sub-img {
    opacity: 0.7;
}

#about .sec_pink::after,
.organization .sec_pink::after {
    background-image: url(../img/title_icon_6.png);
}

#about h2 .en,
.organization h2 .en {
    width: 150%;
}

#about .sec_blue::after,
.organization .sec_blue::after {
    background-image: url(../img/title_icon_6_blue.png);
}


@media(min-width: 600px) {
    .sub-vs {
        padding-top: 0;
        margin-bottom: 40px;
    }

    .sub_mainvs {
        padding-top: 0;
    }

}

@media(min-width: 1000px) {
    .sub-vs {
        margin-bottom: 80px;
    }

}

#page-numbers {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-block: 40px var(--mar_bottom);

}

#page-numbers a,
#page-numbers span {
    display: block;
    padding: 0 10px;
    line-height: 2em;
    color: #ffffff;
    background: #6198C3;
    border-radius: 5px;
}

/* #page-numbers.current {
    background: var(--blue);
    color: #fff;
} */
#page-numbers .current {
    background: var(--blue);
    color: #fff;
}

.pegination {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    padding: 5px 24px;
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    gap: 0 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: 24px 0;
}

.home::after {
    content: "＞";
    color: #fff;
    margin-left: 10px;
}


/* ============================
    news.html
=============================*/
.post-thumbnail {
    margin-block: 0 24px;
}

.news-list a,
aside li a {
    color: var(--main-black);
    display: block;
}

.news-title::after {
    background-image: url(../img/title_icon_1.png);
    left: 94%;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.grid li {
    border: 1px solid #cdcccc;
    border-radius: 10px;
    padding: 20px 20px;
}

.grid img {
    height: 150px;
}

aside h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

aside ul {
    background: rgba(216, 233, 246, 0.6);
    padding: 0 15px;
    border-radius: 10px;
}

aside li {
    padding-block: 15px;
    border-bottom: 1px solid #9c9c9c;
    position: relative;
}

aside li:last-child {
    border-bottom: none;
}

aside li::after {
    position: absolute;
    content: "〉";
    right: 0;
    top: 20px;
}

aside h3:last-of-type {
    margin-top: 40px;
}

aside .archive-box form {
    margin: 0;
}

aside .archive-box select {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: #f8f8f8;
    font-size: 18px;
    appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #999 50%),
        linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 15px) calc(1em + 4px), calc(100% - 10px) calc(1em + 4px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

aside .archive-box select:focus {
    outline: none;
}

@media(min-width: 600px) {
    .news-title::after {
        left: 96%;
    }

    .news-list {
        width: 78%;
    }


    aside {
        width: 20%;
    }
}

@media(min-width: 1000px) {
    .pegination {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 5px;
        margin-left: 0;
    }
}


/* ====================
single-news
===================== */
#single-news {
    padding-top: 65px;
}

.single-news .category {
    display: inline-block;
    width: 100px;
    text-align: center;
    line-height: 33px;
    padding: 0 16px;
    background-color: var(--blue);
    color: #fff;
    font-weight: bold;
    font-size: 0.875em;
    border-radius: 5px;
}

.newspage-title {
    padding-top: 24px;
    font-size: 1.2em;
    margin-bottom: 0;
}

.blog-pagenetion {
    display: flex;
    justify-content: center;
    padding-block: 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 0.65rem;
    gap: 16px;
    margin-block: var(--mar_bottom);
}

.blog-pagenetion a {
    color: #4d4c4c;
}

.blog-pagenetion li {
    display: flex;
    align-items: center;
}

.blog-pagenetion li:first-child,
.blog-pagenetion li:last-child {
    position: relative;
}

.blog-pagenetion li:first-child {
    border-right: 1px solid #888;
}

.blog-pagenetion li:last-child {
    border-left: 1px solid #888;
}

.blog-pagenetion li:first-child::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333333;
    border-left: 2px solid #333333;
    transform: rotate(-45deg);
    left: -15px;
}

.blog-pagenetion li:last-child::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(45deg);
    right: -15px;
}

.blog-pagenetion li a {
    padding-inline: 10px;
}

@media (min-width:600px) {
    .single-news {
        width: 78%;
    }

    .blog-pagenetion {
        font-size: 1em;
        gap: 20px;
    }

    .blog-pagenetion li a {
        padding-inline: 20px;
    }

}


/* =========================
    about
==========================*/


.about_hon {
    margin-bottom: var(--mar_bottom);
}

.about_hon .flex {
    margin-bottom: 40px;
    align-items: center;
}

.about_hon .flex:nth-of-type(3) {
    margin-top: 80px;
}

.slide-image {
    display: flex;
    /* width: max-content; */
    margin-bottom: 120px;
    animation: slideImages 40s linear infinite both;
    margin-block: 48px;
}

.about_hon .slide-image img {
    width: 150px;
    height: auto;
    flex-shrink: 0;
}

.coffe-shop {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.coffe-shop a {
    color: var(--main-black);
}

.coffe-shop span img {
    width: 20px;
    margin-left: 8px;
    margin-bottom: 5px;
}

@keyframes slideImages {
    0% {
        transform: translateX(-200px);
    }

    100% {
        transform: translateX(-200%);
    }
}

.now .flex {
    gap: 48px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    overflow-x: auto;
    text-align: center;
    line-height: 160%;
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
}

th,
td {
    padding: 12px 8px;
}

thead th:nth-child(2) {
    background: var(--blue);
    color: #fff;
    font-size: 1.25em;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

thead th:nth-child(3) {
    background: #6198C3;
    color: #fff;
    font-size: 1.25em;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

tbody td {
    border: 1px solid #0D62A5;
}

.back_blue {
    background: #6198C3;
}

.back_blue td:nth-child(n+2) {
    font-size: 1.25em;
}

.open-tab {
    font-weight: normal;
    cursor: pointer;
}

.open-tab span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/Foreign.png);
    margin-left: 10px;
    margin-bottom: -3px;
}

.active .open-tab span {
    background-image: url(../img/arrow_top.png);
}

.reference-sites ul {
    font-size: 0.85em;
    padding: 40px;
    background: rgb(13, 98, 165, 0.2);
    display: none;
}

.active.reference-sites ul {
    display: block;
}

.reference {
    margin-top: 20px;
}

.video {
    height: 50vh;
}

.now .flex p.center {
    font-size: 1.25em;
    font-weight: bold;
}


#policy {
    padding-top: var(--mar_bottom);
}

#policy h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
}

.policy-img {
    position: relative;
    margin-block: 40px;
}

.policy-img img {
    height: 200px;
}

.policy-img p {
    position: absolute;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    line-height: 120%;
    left: 0;
    right: 0;
    bottom: 10%;
    margin-inline: auto;
}

.vision .flex {
    align-items: center;
    margin-top: 10px;
}


.project {
    margin-block: 40px var(--mar_bottom);
}

.project dl {
    display: flex;
    flex-wrap: wrap;
    border: 5px solid var(--blue);
}

.project dl dt {
    width: 120px;
    font-size: 1.25em;
    font-weight: bold;
    color: #fff;
    position: relative;
    border-bottom: 5px solid var(--blue);
}

.project dl dt span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.project dl dt::before {
    position: absolute;
    content: "";
    width: 110px;
    height: 20px;
    /* background: var(--blue); */
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    bottom: -19px;
    left: 5px;
    z-index: 5;
}

.project dl dt span::after {
    position: absolute;
    content: "";
    width: 110px;
    height: 20px;
    background: #fff;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    bottom: -19px;
    z-index: 2;
    left: 5px;
}

.project dl dt::after {
    position: absolute;
    content: "";
    width: 125px;
    height: 22px;
    background: var(--blue);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}



.project dl dt:nth-of-type(1),
.project dl dt:nth-of-type(1)::before {
    background: rgba(13, 98, 165, 0.3);
}


.project dl dt:nth-of-type(2),
.project dl dt:nth-of-type(2)::before {
    background: rgba(13, 98, 165, 0.5);
}

.project dl dt:nth-of-type(3),
.project dl dt:nth-of-type(3)::before {
    background: rgba(13, 98, 165, 0.7);
}

.project dl dt:nth-of-type(4),
.project dl dt:nth-of-type(4)::before {
    background: var(--blue);
}

.project dl dt:nth-of-type(4)::after {
    bottom: -30px;
}

.project dl dd {
    width: calc(100% - 120px);
    padding: 24px 16px;
    border-left: 5px solid var(--blue);
}

.project dl dd:nth-of-type(-n+3) {
    border-bottom: 5px solid var(--blue);
}


@media (min-width: 600px) {

    .about_hon .flex {
        margin-bottom: 80px;
    }

    .about_hon img {
        width: 50%;
    }

    .about_hon .text {
        width: 45%;
    }

    .about_hon .slide-image img {
        width: 250px;
    }

    .now .flex {
        flex-direction: column;
    }

    .policy-img {
        margin-block: 80px;
    }

    .policy-img img {
        height: auto;
    }

    .policy-img p {
        font-size: 1.85em;
        bottom: 20%;
        text-shadow: 1px 1px 3px var(--main-black);
    }

    .project {
        margin-top: 80px;
    }

    .vision .flex img {
        width: 50%;
    }


}

@media (min-width: 1000px) {
    .project dl dt:nth-of-type(4)::after {
        bottom: -31px;
    }
}



/* =================
    support
====================*/

.organization dl {
    display: flex;
    flex-wrap: wrap;
}


.organization dt {
    width: 15%;
}

.organization dd {
    width: 85%;
}

#support {
    padding-top: var(--mar_bottom);
    margin-bottom: var(--mar_bottom);
}

#support .sec_pink::after {
    background-image: url(../img/title_icon_6.png);
}

.support-content {
    margin-bottom: var(--mar_bottom);
}

.support-content .member-area .wpcf7-not-valid-tip{
    margin-top: 0;
}

#support h3 {
    margin-bottom: 32px;
    font-size: 1.5em;
}

#support h3 img {
    width: 25px;
    padding-bottom: 2px;
    margin-right: 5px;
}

#support .flex {
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mar_bottom);
    gap: 40px;
}

.men-table {
    width: 320px;
    border-bottom-left-radius: 20px;
}

#support table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

}

#support thead th {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: var(--pink);
    color: #fff;
    font-size: 1.5em;
    padding-block: 24px;
}

#support tbody td {
    border: 1px solid var(--pink);
}


#support table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

#support table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.men-table {
    font-size: 0.85em;
}

#support table span {
    font-size: 1.5em;
}

#support .center {
    line-height: 140%;
    margin-top: 16px;
}

.form_member {
    background: rgba(251, 207, 222, 0.2);
    border-radius: 20px;
}

.form-name {
    background: var(--pink);
    color: #fff;
    font-size: 1.25em;
    padding: 8px 24px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 24px;
}

.form_member .form {
    padding: 24px;
}

.member-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--main-black);
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #d16a8a;
    margin: 0;
    /* ラジオボタン色（対応ブラウザ） */
}

.form_member .required {
    background: var(--pink);
}

.form p {
    font-weight: bold;
}

.pink-submit-btn {
    background: var(--pink);
    color: #ffffff;
    font-size: 1.25em;
    padding: 20px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: 6px 6px 0 rgb(240, 98, 146, 0.2);
    width: 200px;
    margin-block: 30px 48px;
    background-image: url("../img/arrow_pink.svg");
    background-repeat: no-repeat;
    background-position: 160px center;
    background-size: 23px;

}

.pink-submit-btn:hover,
.pink-submit-btn:active {
    position: relative;
    transform: translateY(2px);
    box-shadow: none;
    opacity: 1;
}

.program-content {
    border: 1px solid var(--main-black);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 450px;
    margin-inline: auto;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.program-title {
    font-size: 1.25em;
    font-weight: bold;
}

.support-content .more-btn {
    padding: 8px 16px;
    background: var(--blue);
    color: #fff;
    border-radius: 5px;
}


@media(min-width: 600px) {

    #support h3 {
        margin-bottom: 32px;
    }

    .form_member .form {
        padding: 48px;
    }

}

/* =========================
    404.php
========================*/

/****************************** mobile,cpmmon ******************************/
.nfBg {
    background: #ffffff;
    width: 100%;
    height: 100vh;
    position: relative;
}

.nfCon {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nfHead {
    margin-bottom: 20px;
    color: var(--main-black);
}

.nfHeadFc {
    display: block;
    font-weight: 600;
    font-size: 60px;
    line-height: 100%;
}

.nfHeadSc {
    display: block;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
}

.nfText {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 30px;
    margin-bottom: 60px;
}

.nfTopAnchor {
    border: 1px solid var(--main-black);
    height: 45px;
    width: 240px;
    line-height: 45px;
    margin: 0 auto;
    font-size: 14px;
    letter-spacing: 1px;
}

@media (min-width: 1000px) {
    .nfTopAnchor:hover {
        background: var(--main-black);
        color: #ffffff;
        transition: 0.3s;
    }

    .nfHeadFc {
        font-size: 80px;
    }

    .nfHeadSc {
        font-size: 24px;
    }
}