:root {
    --ink: #1a1a1a;
    --line: #e7e7e7;
    --accent: #e8380d;
}

/* ===== ヘッダー全体 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f5b720;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    height: 76px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ===== ロゴ（画像） ===== */
.logo {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
    width: 20%;
    max-width: 260px;
    min-width: 150px;
}
.logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== PCナビ ===== */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    padding: 10px 14px;
    border-radius: 8px;
    position: relative;
    transition: background 0.15s, color 0.15s;
}
.nav a:hover {
    background: #fff2ee;
    color: var(--accent);
}
.nav a.is-current {
    color: var(--accent);
}
.nav a.toph {
    font-size: 15px;
    letter-spacing: 1px;
}

/* ===== ハンバーガーボタン（PCでは非表示） ===== */
.hamburger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    position: absolute;
    left: 9px;
    width: 26px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }

/* 開いた状態：3本線 → 2本線のXへ */
.hamburger[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ===== メニュー外クリック用オーバーレイ ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.is-open {
    display: block;
    opacity: 1;
}

/* ===== スマホ対応 ===== */
@media (max-width: 1000px) {
    .header-inner {
        height: auto;
    }
    .hamburger {
        display: block;
    }
    .nav {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 20px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        z-index: 95;
    }
    .nav.is-open {
        transform: translateY(0);
    }
    .nav a {
        justify-content: flex-start;
        text-align: left;
        font-size: 16px;
        padding: 16px 8px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }
    .nav a:hover {
        background: transparent;
    }
    .nav a.toph {
        font-size: 16px;
    }
}

/* TOP
====================================================*/
.top-header {
    padding: 1% 8%;
}
.top {
    position: relative;
    overflow-x: hidden;
}
.top-navi {
    top: 8%;
    left: 8%;
    cursor: pointer;
    position: absolute;
    width: 7%;
    z-index: 9999;
}
.top-logo {
    position: absolute;
    width: 60%;
    top: 3%;
    right: 0;
    left: 0;
    margin: 0 auto;
}
.top-logo-thank {
    position: absolute;
    width: 90%;
    top: 6%;
    right: 0;
    left: 0;
    margin: 0 auto;
}
.top-text {
    bottom: 3%;
    right: 0;
    left: 0;
    margin: 0 auto;
    padding: 2% 0;
}
.main_t2 {
    padding: 1% 0;
    font-size: clamp(0.875rem, 0.3333rem + 2.8889vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.1vw;
    color: #fff;
    background: #ff0000;
    border-radius: 9999px;
    width: 75%;
    margin: 0 auto;
}
.main_t3 {
    margin-top: 10px;
    font-size: clamp(0.75rem, 0.4821rem + 0.8571vw, 1.125rem);
    font-weight: 400;
    line-height: 130%;
}
.top-bottom {
    background: #f5b720;
}
@media screen and (max-width: 500px) {
    .top-header {
        padding: 2% 8%;
    }
    .top img {
        width: 134%;
        margin: 0 -17%;
    }
    .top-navi {
        top: 5%;
        left: 5%;
        width: 10%;
    }
    .top-logo {
        width: 65%;
        top: 5%;
    }
    .top-logo-thank {
        width: 70%;
        top: 13%;
    }
    .main_t2 {
        width: 95%;
    }
    .main_t3 {
        margin-top: 5px;
    }
}

/* スライダー
====================================================*/
.topsider-wrap {
    margin: 5% 1%;
}
.swiper {
    width: 100%;
}
.swiper img {
    width: 82%;
}
.swiper img:hover {
    filter: brightness(1.1);
}
.swiper-button-prev,
.swiper-button-next {
    width: 40px; /* ボタンの幅 */
    height: 40px; /* ボタンの高さ */
    background-size: 40px 40px; /* 表示したいサイズ */
    transform: translateY(-50%);
    margin-top: 0;
}
@media screen and (max-width: 500px) {
    .swiper img {
        width: 77%;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 20px; /* ボタンの幅 */
        height: 20px; /* ボタンの高さ */
        background-size: 20px 20px; /* 表示したいサイズ */
    }
}
/* 次ページボタンのスタイル */
.swiper-button-next {
    background-image: url("./img/slider/arrow-topslider.png");
}
/* 前ページボタンのスタイル */
.swiper-button-prev {
    background-image: url("./img/slider/arrow-topslider.png");
    transform: translateY(-50%) scale(-1, 1); /* 左右反転 */
}
.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

/* 検索から探す
====================================================*/
.serchParentArea_name_form {
    position: absolute;
    top: 72%;
    left: 31%;
    transform: translateY(-50%);
    width: 50%;
}

.serchParentArea_name {
    width: 100%;
}

.serchParentArea_name_box {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid #f08200;
    border-radius: clamp(3px, 0.4vw, 5px);
    overflow: hidden;
}

.serchParentArea_name_input {
    flex: 1 1 auto;
    min-width: 0;
    padding: clamp(0.3rem, 0.9vw, 0.6rem) clamp(0.5rem, 1.2vw, 1rem);
    font-size: clamp(0.7rem, 1.1vw, 1rem);
    color: #333;
    background: #fff;
    border: none;
    outline: none;
}
.serchParentArea_name_input::placeholder {
    color: #b0b0b0;
}

.serchParentArea_name_btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(0.6rem, 1.4vw, 1.1rem);
    color: #fff;
    background: #f08200;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.serchParentArea_name_btn:hover {
    background: #d97400;
}
.serchParentArea_name_btn svg {
    width: clamp(13px, 1.4vw, 18px);
    height: clamp(13px, 1.4vw, 18px);
}
.serchParentArea_name_form のある section img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .serchParentArea_name_form {
        top: 73%;
        left: 33%;
        width: 58%;
    }
    .serchParentArea_name_box {
        border-width: 1px;
    }
}

/* 部門から探す 
====================================================*/
#content04 {
    width: 100%;
    padding: 4% 0 0;
}
.content04 {
    width: 75%;
    margin: 0 auto;
    text-align: center;
}
.content04_00_img {
    width: 98%;
}
.content04_box {
    width: 100%;
    padding: 3% 0 0;
}
.content04_box_in {
    width: 100%;
    font-size: 0;
    text-align: center;
}
.content04_box_bt {
    display: inline-block;
    vertical-align: middle;
    width: 18%;
    margin: 0 1% 2%;
}
.content04_box_bt_img {
    width: 100%;
}
@media screen and (max-width: 960px) {
    /*----- content04 -----*/
    #content04 {
        padding: 4vw 0 0;
    }
    .content04 {
        width: 90%;
    }
    .content04_t0 {
        margin-top: 1.5vw;
        font-size: 3.2vw;
    }
    .content04_box {
        padding: 3vw 0 0;
    }
    .content04_box_t1 {
        padding: 0.4vw 0 0.6vw;
        font-size: 2.4vw;
        letter-spacing: 0.5vw;
    }
    .content04_box_t2 {
        margin: 1.5vw 0 2vw;
        font-size: 2.1vw;
    }
    .content04_box_bt {
        width: 18%;
        margin: 0 1% 1vw;
    }
}

@media screen and (max-width: 500px) {
    /*----- content04 -----*/
    #content04 {
        padding: 4vw 0 0;
    }
    .content04_t0 {
        margin-top: 1.5vw;
        font-size: 4.4vw;
    }
    .content04_box {
        padding: 3vw 0 0;
    }
    .content04_box_t1 {
        padding: 1vw 0 1.2vw;
        font-size: 4vw;
        letter-spacing: 0.5vw;
    }
    .content04_box_t2 {
        margin: 2vw 0 3vw;
        font-size: 3.3vw;
        line-height: 140%;
    }
    .content04_box_bt {
        width: 23%;
        margin: 0 1% 1vw;
    }
}
/* エリアから探す
====================================================*/
#content03 {
    width: 100%;
    padding: 4% 0 6%;
}
.content03 {
    width: 75%;
    margin: 0 auto;
    text-align: center;
}
.content03_00_img {
    width: 98%;
}
.content03_box {
    width: 100%;
    padding: 3% 0 0;
}
.content03_box_in {
    width: 100%;
    font-size: 0;
    text-align: center;
}
.content03_box_bt {
    display: inline-block;
    vertical-align: middle;
    width: 23%;
    margin: 0 1% 2%;
}
.content03_box_bt_img {
    width: 100%;
}
@media screen and (max-width: 960px) {
    /*----- content03 -----*/
    #content03 {
        padding: 4vw 0 6vw;
    }
    .content03 {
        width: 90%;
    }
    .content03_t0 {
        margin-top: 1.5vw;
        font-size: 3.2vw;
    }
    .content03_box {
        padding: 3vw 0 0;
    }
    .content03_box_t1 {
        padding: 0.4vw 0 0.6vw;
        font-size: 2.4vw;
        letter-spacing: 0.5vw;
    }
    .content03_box_t2 {
        margin: 1.5vw 0 2vw;
        font-size: 2.1vw;
    }
    .content03_box_bt {
        width: 23%;
        margin: 0 1% 1vw;
    }
}

@media screen and (max-width: 500px) {
    /*----- content03 -----*/
    #content03 {
        padding: 4vw 0 6vw;
    }
    .content03_t0 {
        margin-top: 1.5vw;
        font-size: 4.4vw;
    }
    .content03_box {
        padding: 3vw 0 0;
    }
    .content03_box_t1 {
        padding: 1vw 0 1.2vw;
        font-size: 4vw;
        letter-spacing: 0.5vw;
    }
    .content03_box_t2 {
        margin: 2vw 0 3vw;
        font-size: 3.3vw;
        line-height: 140%;
    }
    .content03_box_bt {
        width: 23%;
        margin: 0 1% 1vw;
    }
}

/* 投票方法
====================================================*/
.voteStepArea {
    background-color: #ffffc7;
}
.vote-flex {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
}
.vote-flex-in {
    width: 48%;
}

/* 事務局お知らせ
====================================================*/

.news-area {
    margin: 2% 5%;
    background-color: #fff;
    padding: 3%;
    border-radius: 30px;
}
.news-header {
    text-align: center;
    position: relative;
}
.news-main-title {
    font-size: clamp(1rem, 0.4118rem + 2.9412vw, 2.25rem);
    font-weight: bold;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.news-main-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background: #ff7f00;
    margin: 10px auto 0;
    border-radius: 4px;
}
.news-header::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: #ff7f00;
    opacity: 0.08;
    border-radius: 50%;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
@media screen and (max-width: 500px) {
    .news-area {
        border-radius: 10px;
    }
}
.top-activity-in {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 2%;
    flex-wrap: wrap;
}
.top-activity-card {
    width: 23%;
    margin: 1%;
    display: flex;
    flex-direction: column;
}
.top-activity-card:hover {
    opacity: 0.7;
}
@media screen and (max-width: 500px) {
    .top-activity-card {
        width: 48%;
    }
}
.top-activity-img {
    position: relative;
}
.top-activity-img img {
    aspect-ratio: 250 / 150;
    object-fit: contain;
}
.top-activity-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3%;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.top-activity-title {
    color: #ff7f00;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left;
    padding: 3% 3% 0;
    min-height: clamp(3.375rem, 3.1705rem + 1.0227vw, 3.9375rem);
}
.top-activity-day {
    padding: 3% 0;
    font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem);
    text-align: right;
}
.member-morebutton {
    background: #ff7f00;
    width: fit-content;
    min-width: unset;
    padding: 0.5em 1.8em;
    box-shadow: none;
    color: #fff;
    border-radius: 999px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-size: clamp(0.5625rem, 0.4034rem + 0.7955vw, 1rem);
}
/* ランキング
====================================================*/
#content05 {
    width: 100%;
    background-color: #f5e2b3;
}
.content05_t0 {
    font-size: clamp(0.875rem, 0.3333rem + 2.8889vw, 2.5rem);
    color: #fff;
    background: #ff7f00;
    padding: 1% 0;
    margin-bottom: 2%;
}
.RankingBannerAreaImg {
    width: 70%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 5%;
    margin: 0 auto;
}
.content05_01_b {
    width: 30%;
    padding: 2% 0;
}
.content05_t1 {
    font-size: clamp(0.625rem, 0.5rem + 0.6667vw, 1rem);
    color: #fff;
    background: #ff7f00;
    padding: 1% 0;
    margin-top: 1%;
    border-radius: 50px;
    width: 70%;
    margin: 3% auto 0;
}
@media screen and (max-width: 500px) {
    .RankingBannerAreaImg {
        width: 90%;
    }
    .content05_t0 {
        padding: 2% 0;
    }
}

/* 関連リンク
====================================================*/
.supporterArea_t1 {
    font-size: clamp(1rem, 0.8125rem + 1vw, 1.5625rem);
    color: #ff7f00;
    font-weight: 700;
    padding-bottom: 1%;
}
.supporterArea_box{
    display: flex;
    justify-content: space-between;
    padding: 2% 13%;
    align-items: center;
}
.supporterArea_box_in {
    width: 48%;
}
@media screen and (max-width: 500px) {
    .supporterArea_box{
    padding: 2% 3%;
}
}

