/* ========================================================
   Custom Properties
=========================================================*/
:root {
    --text-color: #222;
    --main-color: #0169B7;
    --sub-color: rgba(244, 215, 48, 0.40);
    --gray-color: #F6F6F4;

    --margin-xl: 80px;
    --margin-l: 60px;
    --margin-m: 48px;
    --margin-s: 24px;
}

@media (max-width: 767.98px) {
    :root {
        --margin-xl: 60px;
        --margin-l: 40px;
        --margin-m: 32px;
        --margin-s: 16px;
    }
}

/* ========================================================
   Common
=========================================================*/
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "ヒラギゴ ProN W3", Arial, nc3Jp, sans-serif;
    background: #FFFEF8;
    color: var(--text-color);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.7;
    overflow-x: hidden;
}

section {
    position: relative;
}

p {
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    p {
        line-height: 1.7;
    }
}

@media (min-width: 576px) {
    .xs {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .xsnon {
        display: none !important;
    }
}


@media (min-width: 992px) {
    .sp {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .pc {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .sp_left {
        text-align: left;
    }
}

.flex_columns {
    display: flex;
    gap: 5vw;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .flex_columns {
        flex-wrap: wrap;
        gap: 24px;
    }

    .flex_column {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .row_reverse {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767.98px) {
    .col_reverse {
        flex-direction: column-reverse;
    }
}


/* ========================================================
   Components
=========================================================*/

/* Container
-----------------------------------*/
.container {
    width: 90%;
    max-width: 83.33vw;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .container {
        max-width: 90vw;
    }
}

/* Button
-----------------------------------*/

/* Title
-----------------------------------*/
.section_title {
    font-size: clamp(28px, calc((44 / 1440) * 100vw), 44px);
    font-weight: 700;
    text-align: center;
    display: inline-block;
    margin-bottom: 32px;
}

@media (max-width: 767.98px) {
    .section_title {
        font-size: clamp(24px, calc((24 / 380) * 100vw), 28px);
    }
}

.yellow_ballon_txt {
    background: #FBEDB9;
    padding: 8px 24px;
    border-radius: 100vmax;
    font-size: clamp(16px, calc((18 / 1440) * 100vw), 20px);
    position: relative;
    text-align: center;
}

@media (max-width: 767.98px) {
    .yellow_ballon_txt {
        font-size: clamp(14px, calc((14 / 380) * 100vw), 16px);
    }
}

.yellow_ballon_txt::after {
    content: '';
    position: absolute;
    display: inline-block;
    background: url(../images/ballon_arrow.svg) no-repeat center center / contain;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,90%);
    width: 29px;
    aspect-ratio: 29 / 21;
}


/* ========================================================
   Animation
=========================================================*/
.js-anime {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================================
   Header
=========================================================*/
header {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 2.64vw;
    transition: .2s ease;
    background: var(--main-color);
}

header h1 {
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 767.98px) {
    header h1{
        font-size: clamp(14px, calc((14 / 380) * 100vw), 18px);
    }
}

/* ========================================================
   Footer
=========================================================*/
.foot_banners{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px 0;
}

.foot_banners a img{
    width: 100%;
    max-width: 300px;
}

@media (max-width: 767.98px) {
    .foot_banners a img{
        width: 90%;
        max-width: 180px;
    }
}

footer .copyright {
    background: var(--main-color);
    padding: 20px 80px;
}

.copyright {
    color: #FFF;
    text-align: center;
    font-size: 14px;
}

/* ========================================================
   TOP
=========================================================*/
/* Kekka
-----------------------------------*/
.kekka{
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.kekka img{
    max-width: 1000px;
    margin: 0 auto;
}

/* FV
-----------------------------------*/
.fv .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--margin-m);
    padding-top: var(--margin-xl);
}

.heading_main {
    display: inline-block;
    font-size: clamp(40px, calc((50 / 1440) * 100vw), 50px);
    font-weight: 700;
    background: linear-gradient(transparent 60%, var(--sub-color) 40%);
}

@media (max-width: 767.98px) {
    .heading_main {
        font-size: clamp(26px, calc((26 / 380) * 100vw), 40px);
    }
}

.main_text {
    text-align: center;
    font-size: clamp(16px, calc((18 / 1440) * 100vw), 18px);
    line-height: 2;
    font-weight: 500;
}

@media (max-width: 599.98px) {
    .main_text {
        font-size: clamp(14px, calc((14 / 380) * 100vw), 16px);
        letter-spacing: 0.05em;
    }
}

.people_img {
    width: 26.53vw;
    max-width: 360px;
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .people_img {
        width: 43vw;
        max-width: 360px;
    }
}

.separator {
    position: relative;
    z-index: 1;
    margin-top: -20px;
}

/* MAP
-----------------------------------*/
.map {
    background: var(--gray-color);
    padding-bottom: var(--margin-xl);
}

@media (max-width: 767.98px) {
    .map {
        padding-top: var(--margin-l);
    }
}

.map .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map_area{
    max-width: 880px;
    margin: 0 auto;
}



/* Banners
-----------------------------------*/
.banners{
    padding: 40px 0;
    background: #FFF;
}
.banners .container{
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.banner_wrap{
   overflow: hidden;
}

.banner_wrap a img{
    transition: .2s ease;
}

.banner_wrap a img:hover{
    transform: scale(1.03);
    opacity: .8;
}

@media (max-width: 767.98px) {
    .banners .container{
        gap: 16px;
    }
}

/* HOWTO
-----------------------------------*/
.howto{
    background: var(--gray-color);
    padding: var(--margin-xl) 0;
}

.howto .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vote_method{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--margin-m);
}

@media (max-width: 767.98px) {
    .vote_method{
        flex-direction: column;
    }
}

.vote_method_title{
    color: var(--main-color);
    font-size: clamp(24px, calc((28 / 1440) * 100vw), 28px);
    font-weight: 700;
    position: relative;
    padding: 8px 4px; 
}

@media (max-width: 767.98px) {
    .vote_method_title{
        font-size: clamp(18px, calc((18 / 380) * 100vw), 18px);
    }
}

.vote_method_title::after{
    position: absolute;
    content: "";
    display: inline-block;
    bottom: 0;
    height: 4px;
    left: 0;
    width: 100%;
    background: radial-gradient(circle closest-side, var(--main-color) 90%, #0000) 0 / 10px 100%;
}

/* kijitsumae
-----------------------------------*/
.kijitsumae{
    padding: var(--margin-xl) 0;
}

.kijitsumae .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.marker{
    background: linear-gradient(transparent 60%, var(--sub-color) 40%);
}

.reason_list{
    border: 8px solid #FCF3C2;
    border-radius: 15px;
    padding: 24px 32px;
    margin: 24px 0;
}

@media (max-width: 767.98px) {
    .reason_list{
        padding: 16px 24px;
    }
}

.reason_list ul{
    list-style: none;
}

.reason_list ul li{
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: clamp(14px, calc((18 / 1440) * 100vw),20px);
    line-height: 2;
}

.reason_list ul li::before{
    content: "●";
    color: #F9EB94;
    font-size: 14px;
    margin-right: 8px;
}

.calendar_title{
    display: inline-block;
    font-size: clamp(20px, calc((33 / 1440) * 100vw),33px);
    color: var(--main-color);
    font-weight: 700;
    position: relative;
    padding: 8px 4px;
    margin-top:var(--margin-m);
    margin-bottom: 40px;
}

.calendar_title::after {
    position: absolute;
    content: "";
    display: inline-block;
    bottom: 0;
    height: 4px;
    left: 0;
    width: 100%;
    background: radial-gradient(circle closest-side, var(--main-color) 90%, #0000) 0 / 10px 100%;
}

.calendar_img{
    max-width: 500px;
    width: 100%;
}

.calendar_note{
    background: var(--gray-color);
    padding: 24px 32px;
    margin-top: var(--margin-m);
}

@media (max-width: 575.98px) {
    .calendar_note{
        padding: 16px 24px;
    }
}

.note_list{
    list-style: none;
}

.note_list li{
    font-weight: 600;
    font-size: clamp(14px, calc((18 / 1440) * 100vw), 18px);
    line-height: 2;
}

@media (max-width: 575.98px) {
    .note_list li{
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

.red{
    color: #BB0000;
}

.montserrat{
    font-family: "Montserrat Alternates", serif;
    font-weight: 600;
    font-size: 110%;
}


/* Share
-----------------------------------*/
.share{
    background: var(--sub-color);
    padding: var(--margin-xl) 0;
}

.share .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.share_title{
    text-align: center;
    font-size: clamp(20px, calc((34 / 1440) * 100vw), 34px);
    font-weight: 700;
    margin-bottom: var(--margin-m);
}

@media (max-width: 767.98px) {
    .share_title{
        font-size: clamp(18px, calc((18 / 380) * 100vw), 24px);
    }
}

.share_button{
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.share_button_item{
    aspect-ratio: 1 / 1;
    width: 80px;
}

@media (max-width: 767.98px) {

    .share_button{
        gap: 16px;
    }

    .share_button_item{
        width: 48px;
    }
}
