:root {
    --c-01: #5a300d;
    --c-02: #54a330;
    --c-03: #757575;
    --c-04: #f3f6f8;
    --c-05: #fff;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color: var(--c-02);
    margin-top: auto;
    position: relative;
    padding: 20px;
    text-align: center;
}

.footer__copyright {
    color: var(--c-05);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.material-symbols-outlined {
    height: 1em;
    width: 1em;
}

.h-sp-block {
    display: none !important;
}

.h-container {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 15px;
}

.h-headline {
    color: #5a300d;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.h-note {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 50px;
    text-align: center;
}

.hc-banner img {
    height: auto;
    width: 100%;
}

.hc-msg {
    display: flex;
    column-gap: 50px;
    padding-block: 50px;
}

.hc-msg__col {
    width: calc(50% - 25px);
}

.hc-msg__img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .15) inset;
    height: auto;
    width: 100%;
}

.hc-msg__ttl {
    color: var(--c-01);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hc-msg__ttl span {
    display: block;
    color: var(--c-02);
    font-size: 16px;
    margin-bottom: 5px;
}

.hc-msg__txt {
    font-size: 16px;
    line-height: 1.5;
}

.hc-msg__txt mark {
    background-color: transparent;
    color: var(--c-01);
    font-weight: 700;
    padding: 0;
}

.hc-msg__desc {
    color: var(--c-02);
    font-size: 16px;
    line-height: 1.5;
    text-align: right;
}

.hc-msg__desc i {
    color: var(--c-01);
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.hc-msg__desc strong {
    display: block;
    color: var(--c-01);
    font-size: 18px;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    .hc-msg {
        flex-direction: column;
        padding-block: 30px;
        row-gap: 30px;
    }

    .hc-msg__col {
        width: 100%;
    }

    .hc-msg__ttl {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hc-msg__ttl span {
        font-size: 15px;
    }

    .hc-msg__txt {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hc-msg__desc {
        font-size: 14px;
    }

    .hc-msg__desc strong {
        font-size: 16px;
    }
}

.hc-achievement {
    background-color: var(--c-01);
    color: var(--c-05);
    padding-block: 30px;
}

.hc-achievement__row {
    column-gap: 20px;
    display: flex;
    flex-wrap: wrap;
}

.hc-achievement__item {
    align-items: center;
    column-gap: 10px;
    display: flex;
    width: calc((100% - 80px) / 5);
}

.hc-achievement__icon {
    align-items: center;
    background-color: var(--c-02);
    border-radius: 50%;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 24px;
    height: 75px;
    justify-content: center;
    width: 75px;
}

.hc-achievement__icon i {
    font-size: 40px;
}

.hc-achievement__ttl {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.hc-achievement__ttl strong {
    display: block;
    font-size: 25px;
    font-weight: 700;
}

@media only screen and (max-width: 1440px) {
    .hc-achievement__item {
        display: block;
        text-align: center;
    }

    .hc-achievement__icon {
        margin-bottom: 10px;
    }

    .hc-achievement__item br {
        display: none;
    }
}

@media only screen and (max-width: 1440px) {
    .hc-achievement__item {
        display: block;
        text-align: center;
    }

    .hc-achievement__icon {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .hc-achievement__ttl {
        font-size: 14px;
    }

    .hc-achievement__ttl strong {
        font-size: 20px;
    }

    .hc-achievement__icon {
        height: 50px;
        width: 50px;
    }

    .hc-achievement__icon i {
        font-size: 20px;
    }

    .hc-achievement__row {
        column-gap: 10px;
    }

    .hc-achievement__item {
        width: calc((100% - 40px) / 5);
    }
}

@media only screen and (max-width: 576px) {
    .hc-achievement__row {
        flex-direction: column;
    }

    .hc-achievement__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-block: 20px;
        width: 100%;
    }

    .hc-achievement__item:first-child {
        padding-top: 0;
    }

    .hc-achievement__item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hc-achievement__ttl {
        font-size: 16px;
    }

    .hc-achievement__ttl strong {
        font-size: 30px;
    }

    .hc-achievement__icon {
        height: 75px;
        width: 75px;
    }

    .hc-achievement__icon i {
        font-size: 30px;
    }
}

.hc-overview {
    padding-block: 50px;
}

.hc-overview__row {
    align-items: start;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.hc-overview__item {
    background-color: var(--c-05);
    border: 1px solid rgba(84, 163, 48, 0.25);
    border-left-width: 3px;
    border-right-width: 3px;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}

.hc-overview__item:first-child {
    grid-column: 1;
    grid-row: 1;
}

.hc-overview__item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.hc-overview__item:last-child {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    padding: 20px;
}

.hc-overview__item:last-child .hc-overview__info {
    padding: 0;
}

.hc-overview__info {
    flex: 1;
    padding: 20px;
}

.hc-overview__head {
    align-items: center;
    color: var(--c-02);
    display: flex;
    margin-bottom: 15px;
    font-size: 25px;
    text-transform: uppercase;
}

.hc-overview__head i {
    font-size: 30px;
    margin-right: 5px;
}

.hc-overview__ttl {
    align-items: center;
    display: flex;
    color: var(--c-01);
    font-size: 16px;
    margin-block: 20px 10px;
}

.hc-overview__ttl i {
    font-size: 16px;
    margin-right: 5px;
}

.hc-overview__img {
    width: 275px;
}

.hc-overview__txt {
    margin-bottom: 10px;
}

.hc-overview__txt:last-child {
    margin-bottom: 0;
}

.hc-overview__img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media only screen and (max-width: 1200px) {
    .hc-overview__row {
        column-gap: 20px;
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 1200px) {
    .hc-overview {
        padding-block: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .hc-overview__row {
        display: block;
    }

    .hc-overview__item {
        display: block;
        margin-bottom: 20px;
        padding: 30px 15px;
    }

    .hc-overview__item:last-child {
        height: auto;
        margin-bottom: 0;
        padding: 30px 15px;
    }

    .hc-overview__info {
        padding: 0;
    }

    .hc-overview__img {
        display: none;
    }

    .hc-overview__head {
        font-size: 20px;
    }

    .hc-overview__head i {
        font-size: 20px;
    }

    .hc-overview__ttl {
        font-size: 14px;
    }
}

.hc-board {
    padding-block: 50px;
}

.hc-board__row {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hc-board__row-3 {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hc-board__row-4 {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}

.hc-board__item {
    background-color: var(--c-05);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
    padding: 0 20px 20px;
    transition: filter 0.3s ease;
    width: calc((100% - 60px) / 4);
}

.hc-board__item:hover {
    filter: drop-shadow(0 0 14px rgba(84, 163, 48, .85));
}

.hc-board__img {
    height: auto;
    margin: 0 -20px 20px;
    width: calc(100% + 40px);
}

.hc-board__name {
    color: var(--c-02);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: left;
}

.hc-board__name strong {
    display: block;
    font-size: 25px;
    text-transform: uppercase;
}

.hc-board__pos {
    align-items: center;
    background-color: var(--c-01);
    border-radius: 8px;
    color: var(--c-05);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    padding: 7px 10px 5px;
    text-transform: uppercase;
}

.hc-board__txt {
    font-size: 14px;
    margin-bottom: 0;
}

@media only screen and (max-width: 1200px) {
    .hc-board__item {
        width: calc((100% - 40px) / 3);
    }

    .hc-board__pos {
        font-size: 13px;
    }
}

@media only screen and (max-width: 768px) {
    .hc-board {
        flex-direction: column;
        padding-block: 30px;
        row-gap: 30px;
    }

    .hc-board__item {
        width: calc(50% - 10px);
    }

    .hc-board__col {
        width: 100%;
    }

    .hc-board__ttl {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hc-board__ttl span {
        font-size: 15px;
    }

    .hc-board__txt {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 676px) {
    .hc-board__item {
        width: calc(100%);
    }
}

.hc-history {
    background-color: var(--c-04);
    padding-block: 50px;
}

.hc-history__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto 90px 100px 90px auto;
    column-gap: 30px;
    position: relative;
}

.hc-history__row::before {
    align-self: center;
    background-color: var(--c-02);
    content: "";
    grid-column: 1 / -1;
    grid-row: 3;
    height: 2px;
    margin-inline: auto 10px;
    width: calc(100% - 150px);
    z-index: 0;
}

.hc-history__row::after {
    border-top: 5px solid transparent;
    border-left: 10px solid var(--c-02);
    border-bottom: 5px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    z-index: 0;
}

.hc-history__item {
    display: contents;
}

.hc-history__item:nth-child(1)>* {
    grid-column: 1;
}

.hc-history__item:nth-child(2)>* {
    grid-column: 2;
}

.hc-history__item:nth-child(3)>* {
    grid-column: 3;
}

.hc-history__item:nth-child(4)>* {
    grid-column: 4;
}

.hc-history__ttl {
    grid-row: 2;
    align-self: end;
    justify-self: center;
    text-align: center;
    color: var(--c-03);
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 10px;
    width: 100%;
}

.hc-history__year {
    grid-row: 3;
    align-self: center;
    justify-self: center;
    z-index: 1;
    align-items: center;
    background: url(../img/img-shape.png) no-repeat center center/100%;
    color: var(--c-02);
    display: inline-flex;
    font-size: 20px;
    font-weight: 700;
    height: 100px;
    justify-content: center;
    width: 85px;
    z-index: 2;
    filter: drop-shadow(0 0 0 rgba(84, 163, 48, 0));
}

.hc-history__row.is-inview .hc-history__item:nth-child(1) .hc-history__year {
    animation: hcYearGlow 10s ease-in-out 0s infinite;
}

.hc-history__row.is-inview .hc-history__item:nth-child(2) .hc-history__year {
    animation: hcYearGlow 10s ease-in-out 2.5s infinite;
}

.hc-history__row.is-inview .hc-history__item:nth-child(3) .hc-history__year {
    animation: hcYearGlow 10s ease-in-out 5s infinite;
}

.hc-history__row.is-inview .hc-history__item:nth-child(4) .hc-history__year {
    animation: hcYearGlow 10s ease-in-out 7.5s infinite;
}

@keyframes hcYearGlow {

    0%,
    75%,
    100% {
        filter: drop-shadow(0 0 0 rgba(84, 163, 48, 0));
    }

    25% {
        filter: drop-shadow(0 0 14px rgba(84, 163, 48, .85));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-history__year {
        animation: none !important;
    }
}

.hc-history__ttl strong {
    color: var(--c-01);
    display: block;
    font-size: 25px;
    text-transform: uppercase;
}

.hc-history__img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .15) inset;
    grid-row: 5;
    align-self: start;
    justify-self: stretch;
    display: block;
    margin-top: -50px;
    position: relative;
    padding-top: calc(500 * 100% / 1000);
    z-index: 1;
}

.hc-history__img img {
    border-radius: 12px;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.hc-history__img::before {
    background-color: var(--c-01);
    content: "";
    display: block;
    height: 110px;
    left: 50%;
    position: absolute;
    top: -110px;
    transform: translateX(-50%);
    width: 2px;
    z-index: -1;
}

.hc-history__img::after {
    background-color: var(--c-05);
    border: 2px solid var(--c-01);
    border-radius: 50%;
    content: "";
    display: block;
    height: 10px;
    left: 50%;
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    width: 10px;
    z-index: 1;
}

.hc-history__item:nth-child(even) .hc-history__ttl {
    grid-row: 4;
    align-self: start;
    margin: 10px 0 0;
}

.hc-history__item:nth-child(even) .hc-history__img {
    grid-row: 1;
    align-self: end;
    margin-block: 0 -50px;
}

.hc-history__item:nth-child(even) .hc-history__img::before {
    top: auto;
    bottom: -110px;
}

.hc-history__item:nth-child(even) .hc-history__img::after {
    top: auto;
    bottom: -4px;
}

@media only screen and (max-width: 768px) {
    .hc-history {
        padding-block: 30px;
    }

    .hc-history__row {
        display: flex;
        flex-direction: column-reverse;
        row-gap: 60px;
    }

    .hc-history__row::before {
        left: 26px;
        top: 10px;
        height: calc(100% - 100px);
        margin-inline: 0;
        position: absolute;
        transform: translateX(0);
        width: 2px;
    }

    .hc-history__row::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 10px solid var(--c-02);
        left: 22px;
        right: inherit;
        top: 0;
        transform: translateY(0);
    }

    .hc-history__year {
        font-size: 16px;
        height: 60px;
        position: relative;
        width: 52px;
        z-index: 2;
    }

    .hc-history__year::before {
        background-color: var(--c-01);
        content: "";
        display: block;
        height: 2px;
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        z-index: -1;
    }

    .hc-history__year::after {
        background-color: var(--c-05);
        border: 2px solid var(--c-01);
        border-radius: 50%;
        content: "";
        display: block;
        height: 10px;
        position: absolute;
        right: -25px;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        z-index: 1;
    }

    .hc-history__ttl {
        font-size: 14px;
        text-align: left;
    }

    .hc-history__ttl strong {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .hc-history__item:nth-child(even) .hc-history__ttl {
        margin: 0 0 10px;
    }

    .hc-history__item,
    .hc-history__item:nth-child(even),
    .hc-history__item:nth-child(odd) {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 20px;
        align-items: start;
        text-align: left;
    }

    .hc-history__ttl,
    .hc-history__item:nth-child(even) .hc-history__ttl,
    .hc-history__item:nth-child(odd) .hc-history__ttl {
        order: 0;
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .hc-history__item .hc-history__year {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        margin: 0;
    }

    .hc-history__img,
    .hc-history__item:nth-child(even) .hc-history__img,
    .hc-history__item:nth-child(odd) .hc-history__img {
        order: 0;
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        width: 100%;
    }

    .hc-history__img::before,
    .hc-history__img::after,
    .hc-history__item:nth-child(even) .hc-history__img::before,
    .hc-history__item:nth-child(even) .hc-history__img::after {
        display: none;
    }
}

.hc-partner {
    background-color: var(--c-04);
    padding-block: 50px;
}

.hc-partner__row {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.hc-partner__row:last-child {
    margin-bottom: 0;
}

.hc-partner__ttl {
    color: var(--c-02);
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.hc-partner__item {
    border: 1px solid rgba(84, 163, 48, 0.25);
    border-left-width: 3px;
    border-right-width: 3px;
    border-radius: 12px;
    overflow: hidden;
    transition: filter 0.3s ease;
    width: calc((100% - 80px) / 5);
}

.hc-partner__item:hover {
    filter: drop-shadow(0 0 14px rgba(84, 163, 48, .85));
}

.hc-partner__item img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

@media only screen and (max-width: 768px) {
    .hc-partner__item {
        width: calc((100% - 60px) / 4);
    }

    .hc-partner__ttl {
        font-size: 18px;
    }
}

@media only screen and (max-width: 576px) {
    .hc-partner__row {
        gap: 10px;
    }

    .hc-partner__item {
        width: calc(50% - 5px);
    }
}

.hc-capability {
    display: flex;
}

.hc-capability__item {
    color: var(--c-05);
    font-size: 30px;
    font-weight: 700;
    overflow: hidden;
    position: relative;
    width: calc(100% / 3);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hc-capability.is-inview .hc-capability__item {
    opacity: 1;
    transform: translateY(0);
}

.hc-capability.is-inview .hc-capability__item:nth-child(1) {
    transition-delay: 0s;
}

.hc-capability.is-inview .hc-capability__item:nth-child(2) {
    transition-delay: 0.25s;
}

.hc-capability.is-inview .hc-capability__item:nth-child(3) {
    transition-delay: 0.5s;
}


.hc-capability__item::before {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.hc-capability__item img {
    height: 100%;
    object-fit: cover;
    position: relative;
    width: 100%;
    z-index: -2;
}

.hc-capability__item span {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    width: 100%;
    z-index: 1;
}

@media only screen and (max-width: 1200px) {
    .hc-capability__item {
        font-size: 20px;
    }
}

@media only screen and (max-width: 992px) {
    .hc-capability__item {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    .hc-capability {
        flex-direction: column;
    }

    .hc-capability__item {
        width: 100%;
    }
}

.hc-project {
    padding-block: 50px;
}

.hc-project__item {
    background-color: var(--c-05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .15) inset;
    border-radius: 12px;
    display: flex;
    margin-bottom: 50px;
    transition: filter 0.3s ease;
    overflow: hidden;
}

.hc-project__item:nth-child(even) {
    flex-direction: row-reverse;
}

.hc-project__item:last-child {
    margin-bottom: 0;
}

.hc-project__item:hover {
    filter: drop-shadow(0 0 14px rgba(84, 163, 48, .85));
}

.hc-project__col {
    width: calc(40% - 25px);
}

.hc-project__col:last-child {
    flex: 1;
    padding: 50px 40px;
}

.hc-project__img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hc-project__ttl {
    color: var(--c-02);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hc-project__head {
    color: var(--c-01);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hc-project__txt {
    font-size: 16px;
    line-height: 1.5;
}

.hc-project__txt i {
    font-size: 16px;
    margin-right: 3px;
    transform: translateY(2px);
}

.hc-project__txt mark {
    background-color: transparent;
    color: var(--c-01);
    font-weight: 700;
    margin-right: 5px;
    padding: 0;
}

.hc-project__list {
    font-size: 16px;
    line-height: 1.5;
    margin-top: -10px;
}

.hc-project__list mark {
    background-color: transparent;
    color: var(--c-01);
    font-weight: 700;
    margin-right: 5px;
    padding: 0;
}

@media only screen and (max-width: 768px) {
    .hc-project {
        padding-block: 30px;
    }

    .hc-project__item {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .hc-project__item:nth-child(even) {
        flex-direction: column;
    }

    .hc-project__col {
        width: 100%;
    }

    .hc-project__col:last-child {
        padding: 30px 15px;
    }

    .hc-project__ttl {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .hc-project__head {
        font-size: 18px;
    }

    .hc-project__txt {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hc-project__img img {
        height: auto;
    }
}

.hc-topbar {
    background-color: var(--c-01);
    color: var(--c-05);
}

.hc-topbar__container {
    display: flex;
}

.hc-topbar__address,
.hc-topbar__tel {
    align-items: center;
    color: var(--c-05);
    column-gap: 5px;
    font-size: 16px;
    display: inline-flex;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.hc-topbar__tel {
    font-weight: 700;
}

.hc-topbar__address:hover,
.hc-topbar__tel:hover {
    color: var(--c-05);
    opacity: 0.7;
}

.hc-topbar__address i,
.hc-topbar__tel i {
    color: currentColor;
    font-size: 16px;
}

.hc-topbar__info {
    align-items: center;
    column-gap: 20px;
    display: inline-flex;
    margin-left: auto;
}

@media only screen and (max-width: 992px) {
    .hc-topbar {
        display: none;
    }
}

@media only screen and (max-width: 768px) {

    .h-pc-block,
    .h-pc-inline {
        display: none !important;
    }

    .h-sp-block {
        display: block !important;
    }

    .h-headline {
        font-size: 20px;
    }

    .h-note {
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 992px) {
    .navbar .nav-item:hover .dropdown-menu {
        max-width: inherit;
    }
}