/* トップページ（ほっきょく） */

.hkf {
    --hkf-main: #e8735a;
    --hkf-main-dark: #c95a43;
    --hkf-text: #474259;
    --hkf-muted: #77728a;
    --hkf-soft: #fff6f1;
    --hkf-pink: #fdecec;
    --hkf-navy: #2b3a5c;
    --hkf-line: #06c755;
    --hkf-radius: 16px;
    color: var(--hkf-text);
    font-family: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.85;
}

/* テーマの幅制限を外して、全幅で並べる */
body.home {
    background: #ffffff !important;
}

body.home #content.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home #content > .tg-container {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Cenote の「#primary は幅70%・右に余白」より強く指定して、全幅にする */
body.home #primary.hkf {
    float: none;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}

.hkf-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hkf-section {
    padding: 80px 0;
}

/* 見出し：英語の小見出し＋日本語 */
.hkf-heading {
    margin: 0 0 40px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--hkf-text);
}

.hkf-heading__en {
    display: block;
    margin-bottom: 6px;
    font-family: "Catamaran", "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--hkf-main);
}

.hkf-heading--small {
    margin-bottom: 28px;
    font-size: 1.15rem;
}

.hkf-heading--left {
    text-align: left;
}

.hkf-heading--light,
.hkf-heading--light .hkf-heading__en {
    color: #ffffff;
}

/* ボタン */
.hkf-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hkf-buttons--center {
    justify-content: center;
}

.hkf .hkf-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--hkf-main);
    border-radius: 999px;
    background: var(--hkf-main);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hkf .hkf-btn:hover {
    background: var(--hkf-main-dark);
    border-color: var(--hkf-main-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.hkf .hkf-btn--outline {
    background: #ffffff;
    color: var(--hkf-main-dark);
}

.hkf .hkf-btn--outline:hover {
    background: var(--hkf-main);
    color: #ffffff;
}

.hkf .hkf-btn--ghost {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.hkf .hkf-btn--ghost:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--hkf-text);
}

.hkf .hkf-btn--line {
    background: var(--hkf-line);
    border-color: var(--hkf-line);
}

.hkf .hkf-btn--line:hover {
    background: #05a948;
    border-color: #05a948;
}

.hkf .hkf-btn--big {
    padding: 16px 48px;
    font-size: 1.15rem;
}

/* スライダー */
.hkf-hero {
    position: relative;
    height: min(78vh, 680px);
    min-height: 420px;
    overflow: hidden;
    background: var(--hkf-navy);
}

.hkf-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hkf-hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hkf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 30, 40, 0.68) 0%, rgba(43, 30, 40, 0.28) 60%, rgba(43, 30, 40, 0.05) 100%);
}

.hkf-hero__text {
    position: absolute;
    z-index: 1;
    left: max(20px, calc(50% - 530px));
    bottom: 80px;
    max-width: 620px;
    color: #ffffff;
}

.hkf-hero__sub {
    margin: 0 0 8px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

.hkf-hero__catch {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hkf-hero__catch-part {
    display: inline-block;
    margin-right: 0.3em;
}

.hkf-hero__lead {
    margin: 14px 0 0;
    font-size: 1.05rem;
}

.hkf-hero__dots {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hkf .hkf-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hkf .hkf-hero__dot.is-active {
    background: #ffffff;
}

/* お知らせ */
.hkf-news {
    background: var(--hkf-pink);
}

.hkf-news__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hkf-news__card {
    overflow: hidden;
    border-radius: var(--hkf-radius);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(232, 115, 90, 0.12);
}

.hkf-news__image {
    display: block;
    background: var(--hkf-soft);
}

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

.hkf-news__body {
    padding: 24px;
}

.hkf-news__label {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 999px;
    background: var(--hkf-main);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.hkf .hkf-news__title {
    margin: 10px 0 14px;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--hkf-text);
}

.hkf-news__info {
    margin: 0;
}

.hkf-news__info div {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #f1cfc4;
}

.hkf-news__info dt {
    flex: 0 0 4em;
    font-weight: 700;
    color: var(--hkf-main-dark);
}

.hkf-news__info dd {
    margin: 0;
    font-weight: 700;
}

.hkf-news__text {
    margin: 16px 0 0;
}

/* 1件だけのときは、チラシを左・説明を右に並べる */
.hkf-news__list.is-single {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.hkf-news__list.is-single .hkf-news__card.has-image {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;
}

.hkf-news__list.is-single .hkf-news__body {
    padding: 36px;
}

.hkf .hkf-news__list.is-single .hkf-news__title {
    font-size: 1.7rem;
}

/* ほっきょくとは */
.hkf-about__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hkf-about__text p {
    margin: 0 0 1em;
}

.hkf-about__photo {
    display: flex;
    justify-content: center;
}

.hkf-about__photo img {
    width: 100%;
    max-width: 380px;
    height: auto;
}

/* 活動内容 */
.hkf-service {
    background: var(--hkf-soft);
}

.hkf-service__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hkf-service__cards li {
    padding: 28px 22px;
    border-top: 4px solid var(--hkf-main);
    border-radius: var(--hkf-radius);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(232, 115, 90, 0.1);
}

.hkf-service__en,
.hkf-join__en {
    display: block;
    font-family: "Catamaran", "Roboto", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--hkf-main);
}

.hkf-service__title,
.hkf-join__title {
    display: block;
    margin: 6px 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.hkf-service__text,
.hkf-join__text {
    display: block;
    font-size: 0.9rem;
    color: var(--hkf-muted);
}

/* 活動レポート */
.hkf-report__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hkf-report__list a {
    display: block;
    color: var(--hkf-text);
    text-decoration: none;
}

.hkf-report__thumb {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    background: var(--hkf-pink);
}

.hkf-report__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.hkf-report__list a:hover .hkf-report__thumb img {
    transform: scale(1.05);
}

.hkf-report__body {
    display: block;
    padding-top: 10px;
}

.hkf-report__date {
    display: block;
    font-size: 0.8rem;
    color: var(--hkf-muted);
}

.hkf-report__title {
    display: block;
    font-weight: 700;
    line-height: 1.6;
}

.hkf-report__list a:hover .hkf-report__title {
    color: var(--hkf-main-dark);
}

/* Instagram */
.hkf-insta {
    background: var(--hkf-soft);
}

/* 関わり方 */
.hkf-join__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hkf-join__cards li {
    padding: 28px 22px;
    border: 1px solid #f1dcd4;
    border-radius: var(--hkf-radius);
    background: #ffffff;
}

/* 支援者様 */
.hkf-supporters {
    border-top: 1px solid #f1e6e1;
}

/* ロゴは今のトップと同じ幅（--w px）。画面がせまいときは同じ割合で小さくする */
.hkf-supporters {
    --hkf-logo-scale: 1;
}

.hkf-supporters__rows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hkf-supporters__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 48px;
}

.hkf-supporters__logo {
    display: block;
    width: calc(var(--w) * 1px * var(--hkf-logo-scale));
    max-width: 100%;
    height: auto;
}

.hkf-supporters__logo.is-fixed {
    height: calc(var(--h) * 1px * var(--hkf-logo-scale));
    object-fit: cover;
}

.hkf-supporters__name {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}

.hkf-campfire {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.hkf-campfire iframe {
    width: 245px;
    height: 365px;
    border: 0;
}

/* お問い合わせ */
.hkf-contact {
    background: linear-gradient(135deg, #f08a6c 0%, var(--hkf-main-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.hkf-contact__text {
    margin: 0;
}

.hkf-contact__sub {
    margin: 24px 0 0;
    font-size: 0.9rem;
}

.hkf-contact__sub a {
    color: #ffffff;
    text-decoration: underline;
}

/* タブレット */
@media (max-width: 960px) {
    .hkf-service__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hkf-report__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマホ */
@media (max-width: 680px) {
    .hkf-section {
        padding: 44px 0;
    }

    .hkf-inner {
        padding: 0 16px;
    }

    .hkf-heading {
        margin-bottom: 24px;
        font-size: 1.4rem;
    }

    .hkf-hero {
        height: 62vh;
        min-height: 380px;
    }

    .hkf-hero::after {
        background: linear-gradient(0deg, rgba(43, 30, 40, 0.78) 0%, rgba(43, 30, 40, 0.2) 70%);
    }

    .hkf-hero__text {
        left: 16px;
        right: 16px;
        bottom: 56px;
    }

    .hkf-hero__lead {
        font-size: 0.95rem;
    }

    .hkf .hkf-btn {
        padding: 10px 22px;
    }

    .hkf .hkf-btn--big {
        padding: 14px 32px;
        font-size: 1.05rem;
    }

    .hkf-about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hkf-news__list,
    .hkf-news__list.is-single .hkf-news__card.has-image {
        grid-template-columns: 1fr;
    }

    .hkf-news__body,
    .hkf-news__list.is-single .hkf-news__body {
        padding: 20px 18px;
    }

    .hkf .hkf-news__title,
    .hkf-news__list.is-single .hkf-news__title {
        font-size: 1.3rem;
    }

    .hkf-about__photo img {
        max-width: 240px;
    }

    .hkf-service__cards,
    .hkf-join__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hkf-service__cards li,
    .hkf-join__cards li {
        padding: 18px;
    }

    /* 活動レポート：写真を左、タイトルを右にした横長の一覧にする */
    .hkf-report__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hkf-report__list a {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hkf-report__thumb {
        flex: 0 0 120px;
        width: 120px;
        height: 80px;
        aspect-ratio: auto;
        border-radius: 8px;
    }

    .hkf-report__body {
        flex: 1;
        min-width: 0;
        padding: 0;
    }

    .hkf-report__title {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hkf-supporters {
        --hkf-logo-scale: 0.6;
    }

    .hkf-supporters__rows {
        gap: 20px;
    }

    .hkf-supporters__row {
        gap: 14px 22px;
    }

    .hkf-supporters__name {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hkf-hero__slide {
        transition: none;
    }
}
