/* ヒーローセクション - 横画面いっぱい、1440×600 */
.hero {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-family: "Yu Gothic Pr6N", "Yu Gothic", "游ゴシック", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

@media (min-width: 934px) {
    .hero {
        width: 100vw;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero {
        width: 100vw;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero {
        max-width: 100%;
    }
}

.hero-image {
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 934px) {
    .hero-image {
        width: 100vw;
        max-width: 100vw;
        height: 60vh;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-image {
        width: 100vw;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: auto;
        max-width: 100%;
    }
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-img-pc {
    display: block;
}

@media (max-width: 768px) {
    .hero-img-pc {
        display: none;
    }
}

.hero-img-sp {
    display: none;
}

@media (max-width: 768px) {
    .hero-img-sp {
        display: block;
        position: relative;
        object-fit: contain;
        height: auto;
        width: 100%;
        top: auto;
        left: auto;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 934px) {
    .hero-overlay {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10%;
        padding-right: 0;
        align-items: flex-end;
        justify-content: flex-start;
        padding-bottom: 60px;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-overlay {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10%;
        padding-right: 0;
        align-items: flex-end;
        justify-content: flex-start;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        align-items: flex-end;
        padding-bottom: 80px;
    }
}

.hero-copy {
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

@media (min-width: 934px) {
    .hero-copy {
        text-align: left;
        padding: 0;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-copy {
        text-align: left;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .hero-copy {
        width: 100%;
        text-align: left;
        padding: 0 16px;
    }
}

.hero-title {
    color: #fff;
    font-size: 5.5vw;
    font-weight: bold;
    font-family: "Yu Gothic Pr6N", "Yu Gothic", "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-weight: 600;
    text-align: center;
    padding: 0;
    line-height: 1.4;
    text-shadow: 0 4px 4px rgba(5, 16, 0, 0.15);
}

@media (min-width: 934px) {
    .hero-title {
        font-size: 3.47vw;
        text-align: left !important;
        line-height: 1.6;
        white-space: normal;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title {
        font-size: 4.5vw;
        text-align: left !important;
        line-height: 1.6;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 6.5vw;
        padding: 0;
        font-family: "Yu Gothic Pr6N", "Yu Gothic", "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
        text-shadow: 0 4px 4px rgba(5, 16, 0, 0.15);
        text-align: left;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 7.2vw;
    }
}

.hero-subtitle {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.9;
    margin-top: 18px;
    text-shadow: 0 3px 6px rgba(5, 16, 0, 0.24);
}

@media (min-width: 934px) {
    .hero-subtitle {
        font-size: 1.35vw;
        line-height: 1.9;
        margin-top: 18px;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.75;
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 13px;
    }
}

.hero-badges {
    display: flex;
    /* justify-content: flex-end; */
    gap: 12px;
    margin-top: 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 138px;
    min-height: 60px;
    padding: 10px 14px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 18px rgba(18, 90, 48, 0.12);
    text-align: left;
    backdrop-filter: blur(4px);
}

.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    min-width: 26px;
    height: 26px;
    background-color: #0E6D3B;
    mask: var(--hero-badge-icon) center / contain no-repeat;
    -webkit-mask: var(--hero-badge-icon) center / contain no-repeat;
}

.hero-badge-icon-award {
    --hero-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='m8 13-2 8 6-3 6 3-2-8'/%3E%3C/svg%3E");
}

.hero-badge-icon-search {
    --hero-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}

.hero-badge-icon-check {
    --hero-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.hero-badge strong {
    display: block;
    color: #0E6D3B;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-badge small {
    display: block;
    color: #4f6d5d;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
    margin-top: 2px;
}

@media (max-width: 1200px) {
    .hero-badges {
        gap: 10px;
    }

    .hero-badge {
        min-width: 128px;
        min-height: 56px;
        padding: 9px 12px;
    }

    .hero-badge strong {
        font-size: 16px;
    }

    .hero-badge small {
        font-size: 11px;
    }
}

@media (max-width: 933px) {
    .hero-badges {
        gap: 8px;
        margin-top: 14px;
    }

    .hero-badge {
        min-width: 112px;
        min-height: 50px;
        gap: 7px;
        padding: 8px 10px;
    }

    .hero-badge-icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }

    .hero-badge strong {
        font-size: 14px;
    }

    .hero-badge small {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .hero-badges {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 10px;
    }

    .hero-badge {
        min-width: 30%;
        min-height: 44px;
        border-radius: 10px;
        gap: 4px;
        padding: 6px 5px;
    }

    .hero-badge-icon {
        width: 17px;
        min-width: 17px;
        height: 17px;
    }

    .hero-badge strong {
        font-size: 11px;
        white-space: nowrap;
    }

    .hero-badge small {
        font-size: 8px;
        white-space: nowrap;
    }
}

.hero-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 270px;
    min-height: 54px;
    margin-top: 18px;
    padding: 0 30px;
    border-radius: 999px;
    background: #F5A623;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.28);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.hero-contact-button:hover {
    transform: translateY(-2px);
    background-color: #F6B642;
    box-shadow: 0 14px 30px rgba(245, 166, 35, 0.34);
}

@media (max-width: 1200px) {
    .hero-contact-button {
        min-width: 250px;
        min-height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 933px) {
    .hero-contact-button {
        min-width: 230px;
        min-height: 50px;
        margin-top: 14px;
        font-size: 14px;
    }

}

@media (max-width: 768px) {
    .hero-contact-button {
        display: none;
    }

}

/* 一文字ずつアニメーション用 */
.hero-title .char {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-title .hero-text-pc {
    display: none;
}

@media (min-width: 934px) {
    .hero-title .hero-text-pc {
        display: block !important;
        white-space: normal;
        font-size: 4vw;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title .hero-text-pc {
        display: block !important;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-title .hero-text-pc {
        display: none;
    }
}

.hero-title .hero-text-sp {
    display: block;
}

@media (min-width: 934px) {
    .hero-title .hero-text-sp {
        display: none !important;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title .hero-text-sp {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-title .hero-text-sp {
        display: block;
        line-height: 1.35;
    }
}

.hero-title .hero-br-pc {
    display: none;
}

@media (min-width: 934px) {
    .hero-title .hero-br-pc {
        display: block !important;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title .hero-br-pc {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero-title .hero-br-pc {
        display: none;
    }
}

.hero-title .hero-br-sp {
    display: block;
}

@media (min-width: 934px) {
    .hero-title .hero-br-sp {
        display: none !important;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title .hero-br-sp {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-title .hero-br-sp {
        display: block;
    }
}

@media (min-width: 934px) {
    .hero-title .hero-no-wrap {
        white-space: nowrap;
    }
}

@media (max-width: 933px) and (min-width: 769px) {
    .hero-title .hero-no-wrap {
        white-space: nowrap;
    }
}

/* 導入セクション */
.intro {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    --parallax-y: 0%;
}

.intro::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 160%;
    background-image: url('../img/image_top-bg_pc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
    transform: translateY(var(--parallax-y));
}

@media (min-width: 769px) {
    .intro {
        width: 100vw;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .intro {
        padding: 40px 0;
    }

    .intro::before {
        background-image: url('../img/image_top-bg_sp.png');
    }
}

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

.intro-logo {
    margin-bottom: 1rem;
}

.intro-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.intro-org-name {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 500;
}

.intro-title {
    font-size: 32px;
    color: #4C9A2A;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 24px;
        line-height: 1.3;
    }
}

.intro-title .sp-br {
    display: none;
}

@media (max-width: 768px) {
    .intro-title .sp-br {
        display: block;
    }
}

@media (max-width: 480px) {
    .intro-title .sp-br {
        display: block;
    }
}

.intro-text {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 18px;
        line-height: 1.8;
    }
}

.intro-text .pc-br {
    display: block;
}

@media (max-width: 768px) {
    .intro-text .pc-br {
        display: none;
    }
}

@media (max-width: 480px) {
    .intro-text .pc-br {
        display: none;
    }
}

.intro-text .sp-br-text {
    display: none;
}

@media (max-width: 768px) {
    .intro-text .sp-br-text {
        display: block;
    }
}

/* 情報カードセクション */
.info-cards {
    padding: 60px 0;
    background-color: #f0f7f2;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 769px) {
    .info-cards {
        position: relative;
        width: 100vw;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
    }

    .info-cards .container {
        max-width: 100%;
        padding: 0;
    }
}

@media (max-width: 1100px) {
    .info-cards {
        padding: 40px 0;
        position: relative;
        width: 100vw;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        overflow: hidden;
    }

    .info-cards .container {
        padding: 0;
        max-width: 100%;
        overflow: visible;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 1rem;
    justify-content: space-between;
    align-items: stretch;
    max-width: 913px;
    margin: 0 auto;
    justify-items: stretch;
}

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        max-width: 760px;
        padding: 0 18px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.info-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
}

@media (max-width: 1100px) {
    .info-card {
        width: 100%;
        height: auto;
        min-height: 360px;
        background-color: #fff !important;
    }
}

@media (max-width: 480px) {
    .info-card {
        min-height: auto;
    }
}

.info-card::before {
    display: none;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    margin: 1.5rem 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-title-jp {
    font-size: 24px;
    color: #4a9b5f;
    font-weight: bold;
    line-height: 1.2;
}

.card-title-en {
    font-size: 0.9rem;
    color: #F6C144;
    font-weight: 600;
    line-height: 1.2;
}

.card-text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    padding: 0;
    min-height: 5em;
}

@media (max-width: 480px) {
    .card-text {
        min-height: initial;
    }
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: #4C9A2A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.card-link:hover {
    background-color: #3d7a22;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-link .menu-arrow {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    position: relative;
    width: 10px;
    height: 10px;
}

.card-link .menu-arrow::before,
.card-link .menu-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 6px;
    height: 2px;
    background-color: #fff;
    transform-origin: right center;
}

.card-link .menu-arrow::before {
    transform: translateY(-50%) rotate(-45deg);
}

.card-link .menu-arrow::after {
    transform: translateY(-50%) rotate(45deg);
}

.partner-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 920px;
    margin: 34px auto 0;
    padding: 30px 34px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f7a30 0%, #4C9A2A 64%, #78b850 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(76, 154, 42, 0.28);
    overflow: hidden;
    position: relative;
}

.partner-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner-banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.partner-banner-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-banner h3 {
    color: #fff;
    font-size: 26px;
    line-height: 1.45;
    margin-bottom: 8px;
}

.partner-banner p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.partner-banner-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 270px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: #F6C144;
    color: #2f6120;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.partner-banner-link .menu-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    position: relative;
}

.partner-banner-link .menu-arrow::before,
.partner-banner-link .menu-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 6px;
    height: 2px;
    background-color: #2f6120;
    transform-origin: right center;
}

.partner-banner-link .menu-arrow::before {
    transform: translateY(-50%) rotate(-45deg);
}

.partner-banner-link .menu-arrow::after {
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1100px) {
    .partner-banner {
        margin: 28px 18px 0;
    }
}

@media (max-width: 768px) {
    .partner-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .partner-banner-content {
        align-items: flex-start;
    }

    .partner-banner-badge {
        min-width: 68px;
        height: 68px;
        font-size: 12px;
    }

    .partner-banner h3 {
        font-size: 22px;
    }

    .partner-banner p {
        font-size: 14px;
    }

    .partner-banner-link {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .partner-banner-content {
        flex-direction: column;
        gap: 14px;
    }
}

/* お知らせセクション */
.news {
    padding: 60px 0;
    background-color: #fff;
}

@media (max-width: 768px) {
    .news {
        padding: 40px 0;
    }
}

.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem;
    }
}

.news-title {
    position: relative;
    padding-left: 1rem;
}

@media (max-width: 480px) {
    .news-title {
        padding-left: 0.8rem;
    }
}

.news-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #4a9b5f;
}

.news-list {
    list-style: none;
}

.news-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .news-item {
        gap: 1rem;
        padding: 0.8rem 0;
        align-items: flex-start;
    }
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 18px;
    color: #4C9A2A;
    min-width: 7rem;
    font-weight: 500;
    display: flex;
    justify-content: flex-end;
}

.news-text {
    color: #4C9A2A;
    flex: 1;
}
