@charset "UTF-8";

/*==============================================================================================
●共通
==============================================================================================*/
* {
    box-sizing: border-box;
}

* a {
    transition: all 0.2s ease-in-out;
}

* a:hover {
    transition: all 0.2s ease-in-out;
}

:root {
    --color-black-1: #333333;

    --color-gray-1: #f5f5f5;
    --color-gray-2: #e6e6e6;
    --color-gray-3: #b3b3b3;
    --color-gray-4: #999999;

    --color-white-1: #ffffff;
    --color-white-2: #fafae6;
    --color-white-3: #fceecb;

    --color-green-1: #009844;
    --color-blue-1: #1d2087;
    --color-yellow-1: #fff4b6;
    --color-red-1: #ec7c84;

    --width-pc: 1200px;
    --width-tb: 90%;
    --width-sp: 90%;

}

body {
    color: var(--color-black-1);
    background: var(--color-white-2);
    width: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        url(../img/bg_pt1.png) top left / 20px auto repeat-y,
        url(../img/bg_pt1.png) top right / 20px auto repeat-y;
}

a:link,
a:visited {
    color: var(--color-black-1);
    text-decoration: none;
}

a:hover {
    color: var(--color-green-1);
}

.container {
    margin: auto;
}


/*/////////////////////////ヘッダー///////////////////////*/


/*/////////////////////////フッター///////////////////////*/
footer {
    width: 100%;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

footer .copyright {
    font-size: 0.8em;
}


/*/////////////////////////共通レイアウト///////////////////////*/
h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.3em;
}

h6 {
    font-size: 0.7em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
}

.main-content {
    width: 100%;
    padding: 0 20px;
}


/*/////////////ボタン/////////////*/

.button {
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3rem;
    min-height: 3.5em;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white-1);
    border-radius: 9999px;
}

.button:link,
.button:visited {
    color: var(--color-white-1);
    text-decoration: none;
}

.button:hover {
    transition: all 0.2s ease-in-out;
    color: var(--color-yellow-1);
}

.color-youthmate {
    background-color: var(--color-green-1);
}

.color-mainmate {
    background-color: var(--color-blue-1);
}

.color-detail {
    background-color: var(--color-white-3);
    color: var(--color-black-1);
}

.color-detail:link,
.color-detail:visited {
    color: var(--color-black-1);
}

.color-line-ymate {
    background-color: var(--color-white-1);
    color: var(--color-green-1);
    font-size: 1.3rem;
}

.color-line-ymate:link,
.color-line-ymate:visited {
    color: var(--color-green-1);
}

.color-line-mmate {
    background-color: var(--color-white-1);
    color: var(--color-blue-1);
    font-size: 1.3rem;
}

.color-line-mmate:link,
.color-line-mmate:visited {
    color: var(--color-blue-1);
}

.button2 {
    padding: 8px 20px;
    font-weight: 600;
    line-height: 1.3rem;
    min-height: 3.5em;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    margin: 5px 0;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.button2:hover {
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/*/////////////////////////トップページ///////////////////////*/

.kv-wrap {
    position: relative;
    overflow-x: clip;
    --kv-overlap: 0px;
}

.kv-visual {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    z-index: 2;
}


.kv-img img {
    width: 100%;
    height: auto;
    display: block;
}

.kv-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.kv-content::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: calc(-1 * var(--kv-overlap));
    height: calc(100% + var(--kv-overlap));
    background-color: var(--color-yellow-1);
    z-index: -1;
}


.kv-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kv-txt p span {
    font-size: 0.8rem;
    opacity: 0.6;
}

.kv-link {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
    margin-top: 50px;
}

.kv-link .button {
    position: relative;
    padding-left: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

/* ボタンアイコン */
.kv-link .button::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 28px;
    height: 28px;
    background: url("../img/icon_button.svg") center / contain no-repeat;
    transform: translateY(-50%) rotate(-90deg);
    transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
}

.kv-link .button:hover::before {
    transform: translateY(-50%) rotate(0deg);
}

.mate-wrap {
    display: flex;
    gap: 50px;
    margin: 200px auto 100px;
}

#youthmate,
#mainmate {
    position: relative;
}

#youthmate::before,
#mainmate::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translateX(-50%);
    z-index: 2;
}

#youthmate::before {
    background: url("../img/youth-icon.png") center / contain no-repeat;
}

#mainmate::before {
    background: url("../img/main-icon.png") center / contain no-repeat;
}


.mate {
    border-radius: 15px;
    color: var(--color-white-1);
    position: relative;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.mate h4 {
    text-align: center;
    font-size: 1.4em;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.mate hr {
    border: none;
    height: 0;
    background: none;
    border-top: 1px dashed var(--color-yellow-1);
    margin: 24px 0;
}

.title-volunteer {
    font-size: 1.4em;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 0 35px;
    margin-bottom: 30px;
    border-radius: 6px;
    position: relative;
}

.title-volunteer::before,
.title-volunteer::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 44px;
    background: url("../img/star.png") center / contain no-repeat;
    transform: translateY(-50%);
}

.title-volunteer::before {
    left: 0px;
}

.title-volunteer::after {
    right: 0px;
}

.infoBox {
    margin: 30px 0 50px;
}

.infoRow {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.infoRow+.infoRow {
    margin-top: 30px;
}

.infoLabel {
    width: 90px;
    font-weight: 500;
    letter-spacing: .03em;
    white-space: nowrap;
}

.infoValue {
    flex: 1;
    letter-spacing: .01em;
}

.mate-link {
    margin-top: auto
}

.mate-link p {
    font-size: 0.7em;
    text-align: center;
    margin-bottom: 1em;
}

.line-button {
    position: relative;
    margin-top: 50px;
    line-height: 1.3em;
}

.line-button::before {
    content: "";
    position: absolute;
    top: 50%;
    background: url("../img/icon-line.png") center / contain no-repeat;
    transform: translateY(-50%);
}

.etc-wrap {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
}

.etc-wrap h4 {
    letter-spacing: 0.2em;
    font-size: clamp(10px, 3.5vw, 20px);
    text-align: center;
    white-space: nowrap;
}

.etc-wrap .photos {
    border-radius: 15px;
    display: flex;
    overflow: hidden;
}

.etc-wrap a:link,
.etc-wrap a:visited {
    color: var(--color-green-1);
}

.etc-wrap a:hover {
    color: var(--color-black-1);
}








/*==============================================================================================
●PCサイズ
==============================================================================================*/

@media screen and (min-width: 1280px) {

    .sp,
    .tb,
    .tableTb {
        display: none !important;
    }

    .pc {
        display: block !important;
    }

    /*/////////////////////////ヘッダー///////////////////////*/


    /*/////////////////////////フッター///////////////////////*/
    footer {}



    /*/////////////////////////共通レイアウト///////////////////////*/

    .container {
        width: var(--width-pc);
    }



    /*/////////////////////////トップページ///////////////////////*/
    .kv-visual {
        width: 1100px;
        margin: 100px auto 0 auto;
        aspect-ratio: 1100 / 734;
        background-image: url("../img/kv1.png");
    }

    .kv-content {
        padding: 0px 20px 50px;
    }

    .kv-txt p {
        text-align: center;
    }

    .mate {
        width: 50%;
        padding: 130px 50px 50px 50px;
    }

    .line-button {}

    .line-button::before {
        left: 30px;
        width: 35px;
        height: 35px;
    }

    .etc-wrap .photos img {
        width: calc(100% / 3);
    }


}


/*==============================================================================================
●タブレットサイズ
==============================================================================================*/

@media screen and (min-width: 450px) and (max-width: 1279px) {

    .sp,
    .pc,
    .pcreserve,
    .tablePc {
        display: none !important;
    }

    .tb {
        display: block !important;
    }

    /*/////////////////////////ヘッダー///////////////////////*/





    /*/////////////////////////スマホメニュー///////////////////////*/


    /*/////////////////////////フッター///////////////////////*/
    footer {}


    /*/////////////////////////共通レイアウト///////////////////////*/

    .container {
        width: var(--width-tb);
    }


    /*/////////////////////////トップページ///////////////////////*/
    .kv-visual {
        max-width: 800px;
        aspect-ratio: 800 / 702;
        background-image: url("../img/kv2.png");
        margin: 100px auto 0 auto;
        width: calc(100% - 40px);
    }

    .kv-content {
        padding: 20px 20px 50px;
    }

    .infoRow {
        display: block;
    }

    .infoLabel {
        width: auto;
        margin-bottom: 6px;
    }

    .mate-wrap {
        flex-direction: column;
        gap: 200px;
    }

    .mate {
        width: 100%;
        max-width: 800px;
        padding: 130px 50px 50px 50px;
    }

    .line-button {
        padding-left: 60px;
    }

    .line-button::before {
        left: 20px;
        width: 25px;
        height: 25px;
    }

    .etc-wrap .photos img {
        width: calc(100% / 3);
    }


}


/*==============================================================================================
●スマホサイズ
==============================================================================================*/

@media screen and (max-width: 449px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .sp,
    .tb {
        display: block !important;
    }

    .pc {
        display: none !important;
    }

    /*/////////////////////////ヘッダー///////////////////////*/
    header {}



    /*/////////////////////////メニュー///////////////////////*/





    /*/////////////////////////フッター///////////////////////*/
    footer {}


    /*/////////////////////////共通レイアウト///////////////////////*/

    .container {
        width: var(--width-sp);
    }

    .button,
    .button2 {
        width: 100%;
    }

    /*/////////////////////////トップページ///////////////////////*/
    .kv-visual {
        aspect-ratio: 800 / 702;
        background-image: url("../img/kv2.png");
        margin: 50px auto 0 auto;
        width: calc(100% - 40px);
    }

    .kv-content {
        padding: 20px 20px 50px;
    }

    .infoRow {
        display: block;
    }

    .infoLabel {
        width: auto;
        margin-bottom: 6px;
    }

    .mate-wrap {
        flex-direction: column;
        gap: 200px;
    }

    .mate {
        width: 100%;
        padding: 130px 20px 50px 20px;
    }

    .line-button {
        padding: 15px 20px 15px 60px;
    }

    .line-button::before {
        left: 20px;
        width: 25px;
        height: 25px;
    }

    .etc-wrap .photos {
        flex-direction: column;
    }

    .etc-wrap .photos img {
        width: 100%;
    }

}