:root {
    --hg-bg: #f4f5f0;
    --hg-card: #ffffff;
    --hg-surface: #e8ecef;
    --hg-ink: #1a2431;
    --hg-muted: #5f6975;
    --hg-border: #d7dde3;
    --hg-accent: #d6f25b;
    --hg-accent-dark: #6f8520;
    --hg-font-ja: 'Noto Sans JP', sans-serif;
    --hg-font-en: 'Montserrat', sans-serif;
    --hg-header-height: 80px;
    --hg-page-max: 1160px;
}

body {
    background: var(--hg-bg);
    color: var(--hg-ink);
    font-family: var(--hg-font-ja);
}

/* モバイルナビ展開時のスクロールロック */
body.is-nav-open {
    overflow: hidden;
}

/* style.css のグローバル button スタイルをリセット */
button {
    display: revert;
    box-shadow: none;
    transform: none;
    padding: revert;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(215, 221, 227, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(21, 38, 63, 0.12);
}

.site-header__inner {
    max-width: var(--hg-page-max);
    height: var(--hg-header-height);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    text-decoration: none;
    color: var(--hg-ink);
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.site-brand__ja {
    font-size: 1.05rem;
    font-weight: 700;
}

.site-brand__en {
    font-family: var(--hg-font-en);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hg-muted);
    text-transform: uppercase;
}

.site-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hg-border);
    border-radius: 8px;
    background: #fff;
    padding: 0;
}

.site-header__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--hg-ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    font-family: var(--hg-font-en);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--hg-ink);
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
    color: var(--hg-accent-dark);
}

/* <button> で出力されるトグル用リセット */
button.site-nav__link--toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--hg-font-en);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    color: inherit;
    text-align: left;
}

.site-nav__link[aria-current="page"] {
    color: var(--hg-accent-dark);
}

.site-nav__caret {
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.site-nav__item--has-children:hover>.site-nav__link>.site-nav__caret,
.site-nav__item--has-children:focus-within>.site-nav__link>.site-nav__caret {
    transform: rotate(-135deg) translateY(-1px);
}

.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 210px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--hg-border);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(18, 35, 58, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ボタンとドロップダウンの隙間をカバーする透明ブリッジ */
.site-nav__dropdown::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.site-nav__item--has-children:hover>.site-nav__dropdown,
.site-nav__item--has-children:focus-within>.site-nav__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav__dropdown-link {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: var(--hg-ink);
    border-radius: 8px;
    font-size: 0.92rem;
}

.site-nav__dropdown-link--overview {
    position: relative;
    margin-bottom: 8px;
    padding: 12px 40px 12px 14px;
    background: linear-gradient(135deg, rgba(18, 35, 58, 0.08), rgba(18, 35, 58, 0.02));
    border: 1px solid rgba(18, 35, 58, 0.12);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-nav__dropdown-link--overview::before {
    content: 'Overview';
    display: block;
    margin-bottom: 4px;
    color: var(--hg-accent-dark);
    font-family: var(--hg-font-en);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav__dropdown-link--overview::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.site-nav__dropdown-link:hover,
.site-nav__dropdown-link:focus {
    background: #f1f5f8;
}

.site-nav__dropdown-link--overview:hover,
.site-nav__dropdown-link--overview:focus {
    background: linear-gradient(135deg, rgba(18, 35, 58, 0.12), rgba(18, 35, 58, 0.04));
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--hg-ink);
    background: var(--hg-ink);
    color: #fff;
    font-family: var(--hg-font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header__cta:hover,
.site-header__cta:focus {
    background: #fff;
    color: var(--hg-ink);
}

.front-page--rebuild {
    margin-top: var(--hg-header-height);
}

/* ── Hero: 緑背景 + 右キャラクター ── */
.front-hero {
    position: relative;
    min-height: calc(100vh - var(--hg-header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to right, #6a9f6e 0%, #8bbe8d 35%, #b5dbb7 65%, #dceedd 100%);
}

.front-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--hg-page-max);
    width: 100%;
    margin: 0 auto;
    padding: 88px 20px;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 40px;
    overflow: hidden;
}

.front-hero__content {
    flex: 1 1 45%;
    min-width: 0;
}

/* 右側キャラクター画像 → 全サイズ背景化 */
.front-hero__visual {
    display: none;
}

.front-hero__inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20px;
    left: 45%;
    background: url('../images/hero.png') right bottom / contain no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* 下部ウェーブ境界 */
.front-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.front-hero__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.front-eyebrow {
    margin: 0;
    font-family: var(--hg-font-en);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.front-hero__title {
    margin: 14px 0 18px;
    color: #fff;
    font-size: clamp(2.1rem, 6vw, 4.4rem);
    line-height: 1.15;
    font-weight: 700;
}

.front-hero__title::after {
    display: none;
}

.front-hero__lead {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.9;
}

.front-hero__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.front-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    height: 46px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--hg-font-en);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.front-btn--primary {
    background: var(--hg-accent);
    color: var(--hg-ink);
}

.front-btn--primary:hover,
.front-btn--primary:focus {
    background: #fff;
}

.front-btn--ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.front-btn--ghost:hover,
.front-btn--ghost:focus {
    background: #fff;
    border-color: #fff;
    color: var(--hg-ink);
}

.front-section {
    max-width: var(--hg-page-max);
    margin: 0 auto;
    padding: 78px 20px;
}

.front-section__head {
    margin-bottom: 24px;
}

.front-section__en {
    margin: 0;
    font-family: var(--hg-font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hg-muted);
}

.front-section__ja {
    margin: 7px 0 0;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.4;
    font-weight: 700;
}

.front-purpose__text {
    margin: 0;
    padding: 10px 0;
    font-size: clamp(1.3rem, 2.45vw, 1.72rem);
    line-height: 1.9;
    letter-spacing: 0.02em;
    font-weight: 700;
    text-align: right;
}

.front-purpose .front-section__en {
    font-size: 1.02rem;
    font-weight: 800;
}

.front-purpose .front-section__ja {
    font-size: clamp(1.96rem, 3.3vw, 2.9rem);
    font-weight: 800;
}

.front-purpose {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.front-purpose__ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.front-purpose__orb {
    position: absolute;
    display: block;
    border-radius: 56% 44% 62% 38% / 45% 55% 47% 53%;
    opacity: 0.5;
    filter: blur(0.8px);
    will-change: transform, border-radius, opacity, box-shadow;
}

.front-purpose__orb--1 {
    width: 126px;
    height: 72px;
    right: clamp(26px, 8vw, 140px);
    top: 8%;
    background: var(--hg-accent);
    color: var(--hg-accent);
    animation: front-purpose-wave-a 11.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.front-purpose__orb--2 {
    width: 156px;
    height: 86px;
    right: clamp(8px, 4vw, 72px);
    top: 34%;
    background: var(--hg-surface);
    color: var(--hg-surface);
    animation: front-purpose-wave-b 13.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -2.8s;
}

.front-purpose__orb--3 {
    width: 108px;
    height: 62px;
    right: clamp(138px, 12vw, 220px);
    top: 58%;
    background: var(--hg-border);
    color: var(--hg-border);
    animation: front-purpose-wave-c 10.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -5.1s;
}

.front-purpose__orb--4 {
    width: 148px;
    height: 80px;
    right: clamp(28px, 6vw, 110px);
    top: 72%;
    background: var(--hg-accent);
    color: var(--hg-accent);
    animation: front-purpose-wave-d 14.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -1.6s;
}

.front-purpose .front-section__head,
.front-purpose__text {
    position: relative;
    z-index: 1;
}

@keyframes front-purpose-wave-a {

    0% {
        transform: translate3d(0, 0, 0) scale(0.78) rotate(-10deg);
        border-radius: 56% 44% 62% 38% / 45% 55% 47% 53%;
        opacity: 0.32;
        box-shadow: 0 0 0 0 currentColor;
    }

    45% {
        transform: translate3d(28px, -16px, 0) scale(1.08) rotate(4deg);
        border-radius: 44% 56% 40% 60% / 58% 42% 56% 44%;
        opacity: 0.58;
        box-shadow: 0 0 0 18px transparent;
    }

    100% {
        transform: translate3d(48px, -6px, 0) scale(0.82) rotate(12deg);
        border-radius: 62% 38% 58% 42% / 43% 57% 49% 51%;
        opacity: 0.28;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-purpose-wave-b {

    0% {
        transform: translate3d(0, 0, 0) scale(0.74) rotate(7deg);
        border-radius: 48% 52% 44% 56% / 56% 44% 58% 42%;
        opacity: 0.24;
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        transform: translate3d(30px, 10px, 0) scale(1.16) rotate(-5deg);
        border-radius: 59% 41% 57% 43% / 41% 59% 43% 57%;
        opacity: 0.5;
        box-shadow: 0 0 0 22px transparent;
    }

    100% {
        transform: translate3d(54px, 20px, 0) scale(0.88) rotate(-12deg);
        border-radius: 42% 58% 48% 52% / 53% 47% 55% 45%;
        opacity: 0.22;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-purpose-wave-c {

    0% {
        transform: translate3d(0, 0, 0) scale(0.72) rotate(-8deg);
        border-radius: 60% 40% 53% 47% / 40% 60% 45% 55%;
        opacity: 0.2;
        box-shadow: 0 0 0 0 currentColor;
    }

    45% {
        transform: translate3d(-18px, 14px, 0) scale(1.02) rotate(-16deg);
        border-radius: 41% 59% 39% 61% / 63% 37% 62% 38%;
        opacity: 0.42;
        box-shadow: 0 0 0 16px transparent;
    }

    100% {
        transform: translate3d(-34px, 26px, 0) scale(0.8) rotate(-20deg);
        border-radius: 64% 36% 58% 42% / 46% 54% 44% 56%;
        opacity: 0.16;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-purpose-wave-d {

    0% {
        transform: translate3d(0, 0, 0) scale(0.76) rotate(10deg);
        border-radius: 57% 43% 61% 39% / 39% 61% 41% 59%;
        opacity: 0.3;
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        transform: translate3d(26px, -12px, 0) scale(1.12) rotate(20deg);
        border-radius: 45% 55% 42% 58% / 59% 41% 60% 40%;
        opacity: 0.54;
        box-shadow: 0 0 0 20px transparent;
    }

    100% {
        transform: translate3d(46px, 8px, 0) scale(0.84) rotate(30deg);
        border-radius: 63% 37% 56% 44% / 48% 52% 50% 50%;
        opacity: 0.26;
        box-shadow: 0 0 0 0 currentColor;
    }
}

.front-purpose .front-section__head {
    text-align: right;
}

.front-purpose__text>span {
    display: block;
}

.front-purpose__text .wb {
    display: inline-block;
}

.front-purpose__signature {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hg-accent-dark);
}

.front-company {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.front-company__media img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    border-radius: 16px;
}

.front-company__lead {
    margin: 0;
    line-height: 2;
    color: #303a46;
}

.front-link {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hg-ink);
    text-decoration: none;
    font-weight: 700;
}

.front-link::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

/* ── Culture wrap (ウェーブ + 背景) ── */
.front-culture-wrap {
    position: relative;
    background: linear-gradient(to right, #6a9f6e 0%, #8bbe8d 35%, #b5dbb7 65%, #dceedd 100%);
}

.front-culture__wave {
    position: relative;
    line-height: 0;
    z-index: 1;
}

.front-culture__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.front-culture__wave--top {
    margin-bottom: -1px;
}

.front-culture__wave--bottom {
    margin-top: -1px;
}

.front-culture__fade-bottom {
    height: 160px;
    background: linear-gradient(to bottom, transparent 0%, transparent 10%, rgba(244, 245, 240, 0.15) 30%, rgba(244, 245, 240, 0.45) 55%, rgba(244, 245, 240, 0.8) 80%, var(--hg-bg) 100%);
}

/* Culture セクション見出し白文字 */
.front-culture .front-section__en,
.front-culture .front-section__ja {
    color: #ffffff;
}

.front-culture__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.front-culture__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #2d3a2e;
    padding: 36px 28px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.22, .68, 0, 1.2),
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    box-shadow: 0 4px 16px rgba(20, 38, 62, 0.07);
    position: relative;
    overflow: hidden;
}

.front-culture__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a8b4f, #6ec47a);
    border-radius: 3px;
    transition: width 0.35s cubic-bezier(.22, .68, 0, 1.2);
}

.front-culture__card:hover,
.front-culture__card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 38, 62, 0.15);
    border-color: rgba(106, 159, 110, 0.4);
    background: rgba(255, 255, 255, 1);
}

.front-culture__card:hover::after,
.front-culture__card:focus-visible::after {
    width: 60%;
}

.front-culture__card:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 20px rgba(20, 38, 62, 0.12);
}

.front-culture__image-wrap {
    margin: 0 auto 20px;
    width: 180px;
    height: 180px;
    transition: transform 0.35s cubic-bezier(.22, .68, 0, 1.2);
}

.front-culture__card:hover .front-culture__image-wrap {
    transform: scale(1.06);
}

.front-culture__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.front-culture__card h3 {
    margin: 0 0 16px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.front-culture__card:hover h3 {
    color: #3d7c42;
}

.front-culture__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a9f6e, #4a8b4f);
    color: #fff;
    transition: transform 0.3s cubic-bezier(.22, .68, 0, 1.2),
        box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 139, 79, 0.3);
    flex-shrink: 0;
}

.front-culture__card:hover .front-culture__arrow {
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(74, 139, 79, 0.45);
}

.front-service__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.front-service__card {
    --card-accent: #d6f25b;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--hg-card);
    border: 2px solid var(--hg-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.front-service__card:hover,
.front-service__card:focus {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(20, 38, 62, 0.12);
    border-color: var(--card-accent);
}

.front-service__illust {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px 10px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 18%, transparent), color-mix(in srgb, var(--card-accent) 6%, transparent));
    border-bottom: 2px dashed color-mix(in srgb, var(--card-accent) 40%, transparent);
}

.front-service__illust img {
    width: 164px;
    height: 164px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.front-service__card:hover .front-service__illust img {
    transform: scale(1.08) rotate(-3deg);
}

.front-service__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 24px 24px;
}

.front-service__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-accent);
    font-family: var(--hg-font-en);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hg-ink);
    margin: 0 0 10px;
}

.front-service__title {
    margin: 0 0 10px;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.4;
}

.front-service__text {
    margin: 0;
    color: var(--hg-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    flex: 1;
}

.front-service__more {
    margin-top: 16px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--hg-accent-dark);
    transition: color 0.2s;
}

.front-service__card:hover .front-service__more {
    color: var(--hg-ink);
}

/* ── Initiatives ── */
.front-initiatives__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 280px 280px;
    gap: 10px;
}

.front-initiatives__item:nth-child(1) {
    grid-column: 1 / 8;
}

.front-initiatives__item:nth-child(2) {
    grid-column: 8 / 13;
}

.front-initiatives__item:nth-child(3) {
    grid-column: 1 / 6;
}

.front-initiatives__item:nth-child(4) {
    grid-column: 6 / 13;
}

.front-initiatives__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    counter-increment: initiative;
}

.front-initiatives__num {
    position: absolute;
    top: 16px;
    left: 20px;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hg-accent);
    font-family: var(--hg-font-en);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--hg-ink);
    letter-spacing: -0.02em;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.front-initiatives__item:hover .front-initiatives__num {
    transform: scale(1.1);
}

.front-initiatives__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.front-initiatives__item:hover .front-initiatives__img {
    transform: scale(1.06);
}

.front-initiatives__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px 28px;
    background: linear-gradient(to top,
            rgba(10, 18, 30, 0.75) 0%,
            rgba(10, 18, 30, 0.2) 60%,
            transparent 100%);
    transition: background 0.35s ease;
}

.front-initiatives__item:hover .front-initiatives__overlay {
    background: linear-gradient(to top,
            rgba(10, 18, 30, 0.82) 0%,
            rgba(10, 18, 30, 0.25) 60%,
            transparent 100%);
}

.front-initiatives__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.front-initiatives__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.front-initiatives__item:hover .front-initiatives__arrow {
    background: var(--hg-accent);
    color: var(--hg-ink);
    transform: translateX(4px);
}

.front-initiatives__cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.front-initiatives__cta .front-btn {
    min-width: 240px;
}

.front-topics__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.front-topics__tab {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--hg-border);
    background: var(--hg-card);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hg-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.front-topics__tab:first-child {
    border-radius: 14px 0 0 14px;
}

.front-topics__tab:last-child {
    border-radius: 0 14px 14px 0;
    border-left: 0;
}

.front-topics__tab.is-active {
    background: var(--hg-accent);
    border-color: var(--hg-accent);
    color: var(--hg-ink);
}

.front-topics__tab:hover:not(.is-active) {
    background: #f0f3f6;
}

.front-topics__panel {
    display: none;
}

.front-topics__panel.is-active {
    display: block;
}

.front-topics__group {
    background: var(--hg-card);
    border: 1px solid var(--hg-border);
    border-radius: 14px;
    padding: 20px;
}

.front-topics__group--lower {
    margin-top: 16px;
}

.front-topics__group-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
}

.front-topics__grid {
    display: grid;
    gap: 10px;
}

.front-topics__item {
    display: block;
    padding: 22px;
    border: 1px solid var(--hg-border);
    border-radius: 12px;
    text-decoration: none;
    background: var(--hg-card);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.front-topics__item:hover,
.front-topics__item:focus {
    background: #fbfcfd;
    border-color: #c0cad4;
}

.front-topics__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--hg-muted);
    font-family: var(--hg-font-en);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.front-topics__item h4 {
    margin: 8px 0 0;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

.front-topics__empty {
    margin: 0;
}

.front-topics__more {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hg-ink);
    text-decoration: none;
    font-weight: 700;
}

.front-topics__more::after {
    content: "";
    width: 20px;
    height: 1px;
    background: currentColor;
}

/* 日々のあれこれ: カードグリッド */
.front-topics__card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.front-topics__card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hg-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: var(--hg-card);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.front-topics__card:hover,
.front-topics__card:focus {
    border-color: #c0cad4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.front-topics__card-thumb {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f0f3f6;
}

.front-topics__card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-topics__card-noimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hg-muted);
    font-size: 0.85rem;
    font-family: var(--hg-font-en);
}

.front-topics__card-body {
    padding: 16px;
    flex: 1;
}

.front-topics__card-body h4 {
    margin: 6px 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--hg-ink);
}

.front-recruit {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto 86px;
    border-radius: 18px;
    background: linear-gradient(130deg, #0a3d2a 0%, #062e1f 52%, #0d4a33 100%);
    color: #fff;
}

.front-recruit .front-section__en,
.front-recruit .front-section__ja,
.front-recruit__text {
    color: #fff;
}

.front-recruit__text {
    margin: 0;
    line-height: 2;
}

.front-recruit__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.front-recruit .front-btn--ghost {
    border-color: rgba(255, 255, 255, 0.6);
}

.front-recruit .front-btn--ghost:hover,
.front-recruit .front-btn--ghost:focus {
    color: #18202a;
}

.scrolltop_button {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 850;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #1f2f42;
    color: #fff;
    font-size: 0.72rem;
    font-family: var(--hg-font-en);
    letter-spacing: 0.06em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.scrolltop_button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Footer CTA ─────────────────────── */
.footer-cta {
    background: linear-gradient(135deg, #f0f7f1 0%, #e8f5e9 50%, #f5faf5 100%);
    padding: 72px 24px;
    text-align: center;
}

.footer-cta__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-cta__heading {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hg-ink);
}

.footer-cta__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 2;
    color: #556b6e;
}

.footer-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 44px;
    border-radius: 999px;
    background: var(--hg-ink);
    color: #fff;
    text-decoration: none;
    font-family: var(--hg-font-en);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    transition: background 0.3s, box-shadow 0.3s;
}

.footer-cta__btn svg {
    transition: transform 0.3s;
}

.footer-cta__btn:hover {
    background: #2a3c50;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.footer-cta__btn:hover svg {
    transform: translateX(4px);
}

/* ── Footer ─────────────────────────── */
.site-footer {
    position: relative;
    background: #111b27;
    color: #8a9baa;
}

.site-footer__inner {
    max-width: var(--hg-page-max);
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

/* ── ブランド ── */
.site-footer__brand-block {
    display: flex;
    flex-direction: column;
}

.site-footer__logo {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer__logo-en {
    margin: 4px 0 0;
    font-family: var(--hg-font-en);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}

.site-footer__tagline {
    margin: 20px 0 0;
    font-size: 0.82rem;
    line-height: 1.8;
    color: #9aaebb;
    letter-spacing: 0.02em;
}

.site-footer__address {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: normal;
    font-size: 0.78rem;
    line-height: 2;
    color: #9aaebb;
}

.site-footer__address-label {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__tel {
    margin: 6px 0 0;
    font-size: 0.78rem;
}

.site-footer__tel a {
    color: #9aaebb;
    text-decoration: none;
    transition: color 0.25s;
}

.site-footer__tel a:hover {
    color: #fff;
}

/* ── ナビゲーション ── */
.site-footer__nav {
    display: flex;
    justify-content: flex-end;
    align-items: start;
    padding-top: 6px;
}

.site-footer__nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 44px;
}

.site-footer__nav-list li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.site-footer__nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hg-accent);
    transition: width 0.3s;
}

.site-footer__nav-list li a:hover::after {
    width: 100%;
}

.site-footer__nav-en {
    color: #e0e8ee;
    font-family: var(--hg-font-en);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.25s;
}

.site-footer__nav-ja {
    color: #4e6070;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0;
    transition: color 0.25s;
}

.site-footer__nav-list li a:hover .site-footer__nav-en {
    color: var(--hg-accent);
}

.site-footer__nav-list li a:hover .site-footer__nav-ja {
    color: #8a9baa;
}

/* ── ボトムバー ── */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 24px;
}

.site-footer__bottom-inner {
    max-width: var(--hg-page-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__privacy {
    color: #4e6070;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    transition: color 0.25s;
}

.site-footer__privacy:hover {
    color: #fff;
}

.site-footer__copy {
    color: #3a4d5c;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

/* ── PAGE TOP ── */
.site-footer__pagetop {
    position: absolute;
    top: -20px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #8a9baa;
    transition: color 0.25s, transform 0.25s;
}

.site-footer__pagetop svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 13px;
    border-radius: 50%;
    background: #1e2d3d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s, border-color 0.25s;
}

.site-footer__pagetop span {
    font-family: var(--hg-font-en);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__pagetop:hover {
    color: #fff;
    transform: translateY(-3px);
}

.site-footer__pagetop:hover svg {
    background: var(--hg-accent);
    border-color: var(--hg-accent);
    color: #111b27;
}

@media screen and (max-width: 1080px) {
    .site-header__toggle {
        display: inline-block;
        margin-left: auto;
    }

    .site-header__toggle.is-active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header__toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .site-header__toggle.is-active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        top: var(--hg-header-height);
        left: 0;
        right: 0;
        padding: 20px;
        background: #fff;
        border-bottom: 1px solid var(--hg-border);
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        max-height: calc(100vh - var(--hg-header-height));
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav__list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav__item {
        width: 100%;
        border-top: 1px solid #edf1f4;
    }

    .site-nav__link {
        width: 100%;
        padding: 12px 0;
    }

    .site-nav__dropdown {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0 0 12px 10px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        min-width: 0;
        display: none;
    }

    .site-nav__dropdown-link--overview {
        margin: 6px 0 8px;
    }

    .site-nav__item--has-children:hover>.site-nav__dropdown,
    .site-nav__item--has-children:focus-within>.site-nav__dropdown {
        /* モバイルではホバーで開かない（JSの.is-openのみ） */
        display: none;
    }

    .site-nav__item--has-children.is-open>.site-nav__dropdown {
        display: block;
    }

    .site-nav__item--has-children.is-open>.site-nav__link>.site-nav__caret {
        transform: rotate(-135deg) translateY(-1px);
    }

    .site-header__cta {
        width: 100%;
    }

    .front-culture__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
        margin-inline: auto;
    }

    .front-culture__card {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        text-align: left;
        padding: 20px 24px;
        gap: 20px;
    }

    .front-culture__image-wrap {
        flex-shrink: 0;
        width: 120px;
        height: 120px;
        margin: 0;
    }

    .front-culture__card h3 {
        flex: 1;
        margin-bottom: 0;
    }

    .front-culture__arrow {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .front-service__grid {
        grid-template-columns: 1fr;
    }

    .front-initiatives__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }

    .front-initiatives__item:nth-child(1),
    .front-initiatives__item:nth-child(2),
    .front-initiatives__item:nth-child(3),
    .front-initiatives__item:nth-child(4) {
        grid-column: 1 / -1;
    }

    .site-footer__inner {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        gap: 32px;
        padding: 48px 24px 40px;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }

    .site-footer__nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 40px;
    }

    .front-service__grid {
        max-width: 640px;
        margin-inline: auto;
        gap: 20px;
    }

    .front-service__card {
        flex-direction: row;
    }

    .front-service__illust {
        flex-shrink: 0;
        width: 160px;
        padding: 12px 8px;
        border-bottom: none;
        border-right: 2px dashed color-mix(in srgb, var(--card-accent) 40%, transparent);
    }

    .front-service__illust img {
        width: 132px;
        height: 132px;
    }

    .front-service__body {
        padding: 20px 24px;
    }

    .front-company {
        gap: 24px;
    }

    .front-company__media img {
        min-height: 260px;
    }

    /* タブレット時のヒーロー調整 */
    .front-hero__inner {
        gap: 20px;
    }

    .front-hero__inner::before {
        left: 50%;
    }

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

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

    /* ヒーロー: レスポンシブ時は画像を背景に */
    .front-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 20px 100px;
    }

    .front-hero {
        background: linear-gradient(to right, #6a9f6e 0%, #7aad7d 35%, #8bbe8d 65%, #6a9f6e 100%);
    }

    .front-hero__inner::before {
        left: auto;
        right: -30%;
        width: 100%;
        bottom: 15px;
        background: url('../images/hero.png') right bottom / contain no-repeat;
        opacity: 0.6;
    }

    .front-hero__inner {
        overflow: visible;
    }

    .front-hero__content {
        flex: 1 1 100%;
    }

    .front-hero__wave svg {
        height: 50px;
    }

    .front-culture__wave svg {
        height: 50px;
    }

    .front-culture__grid {
        max-width: none;
    }

    .front-culture__card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 12px;
    }

    .front-culture__image-wrap {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .front-culture__arrow {
        width: 36px;
        height: 36px;
    }

    .front-service__grid {
        max-width: none;
    }

    .front-service__card {
        flex-direction: column;
    }

    .front-service__illust {
        width: auto;
        padding: 16px 12px 8px;
        border-right: none;
        border-bottom: 2px dashed color-mix(in srgb, var(--card-accent) 40%, transparent);
    }

    .front-service__illust img {
        width: 150px;
        height: 150px;
    }

    .front-purpose__text {
        padding: 0;
        line-height: 1.9;
    }

    .front-purpose__text>span {
        display: inline;
    }

    .front-purpose__text .wb {
        display: inline;
    }

    .front-purpose__text>.front-purpose__signature {
        display: block;
    }

    .front-purpose__ornaments {
        inset: 0;
        opacity: 0.95;
    }

    .front-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .front-recruit {
        margin-bottom: 70px;
        border-radius: 14px;
    }

    .front-company {
        grid-template-columns: 1fr;
    }

    .front-company__media img {
        min-height: 220px;
        max-height: 320px;
    }

    .front-topics__card-grid {
        grid-template-columns: 1fr;
    }

    .u-sp-hide {
        display: none;
    }

    /* ── フッター SP ── */
    .footer-cta {
        padding: 48px 16px;
    }

    .footer-cta__lead {
        font-size: 0.84rem;
    }

    .footer-cta__btn {
        height: 48px;
        padding: 0 32px;
        font-size: 0.82rem;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        padding: 36px 16px 28px;
        gap: 32px;
    }

    .site-footer__nav {
        order: -1;
    }

    .site-footer__brand-block {
        order: 1;
    }

    .site-footer__nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 14px;
    }

    .site-footer__nav-en {
        font-size: 0.8rem;
    }

    .site-footer__nav-ja {
        font-size: 0.64rem;
    }

    .site-footer__nav-list li a::after {
        display: none;
    }

    .site-footer__bottom {
        padding: 16px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer__pagetop {
        right: 16px;
        top: -18px;
    }

    .site-footer__pagetop svg {
        width: 36px;
        height: 36px;
        padding: 11px;
    }
}

/* =============================================
   Loading Screen
   ============================================= */
.loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hg-bg);
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading.loaded {
    opacity: 0;
    pointer-events: none;
}

.loading__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    animation: loading-fadein 0.5s ease both;
}

.loading__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.loading__brand-ja {
    font-family: var(--hg-font-ja);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--hg-ink);
    letter-spacing: 0.14em;
}

.loading__brand-en {
    font-family: var(--hg-font-en);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--hg-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--hg-border);
    border-top-color: var(--hg-ink);
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loading-fadein {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Instagram Feed (Mock) ===== */
.front-instagram {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.front-instagram__ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.front-instagram__orb {
    position: absolute;
    display: block;
    border-radius: 56% 44% 62% 38% / 45% 55% 47% 53%;
    opacity: 0.5;
    filter: blur(0.8px);
    will-change: transform, border-radius, opacity, box-shadow;
}

/* 左上 */
.front-instagram__orb--1 {
    width: 120px;
    height: 68px;
    left: clamp(8px, 4vw, 60px);
    top: 12%;
    background: var(--hg-accent);
    color: var(--hg-accent);
    animation: front-ig-wave-a 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* 右上 */
.front-instagram__orb--2 {
    width: 140px;
    height: 78px;
    right: clamp(12px, 5vw, 80px);
    top: 18%;
    background: var(--hg-surface);
    color: var(--hg-surface);
    animation: front-ig-wave-b 13.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -3s;
}

/* 左下 */
.front-instagram__orb--3 {
    width: 100px;
    height: 58px;
    left: clamp(30px, 6vw, 100px);
    bottom: 16%;
    background: var(--hg-border);
    color: var(--hg-border);
    animation: front-ig-wave-c 10.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -5.4s;
}

/* 右下 */
.front-instagram__orb--4 {
    width: 132px;
    height: 72px;
    right: clamp(20px, 5vw, 90px);
    bottom: 10%;
    background: var(--hg-accent);
    color: var(--hg-accent);
    animation: front-ig-wave-d 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -1.8s;
}

.front-instagram .front-section__head,
.front-instagram__feed {
    position: relative;
    z-index: 1;
}

@keyframes front-ig-wave-a {
    0% {
        transform: translate3d(0, 0, 0) scale(0.76) rotate(-8deg);
        border-radius: 56% 44% 62% 38% / 45% 55% 47% 53%;
        opacity: 0.3;
        box-shadow: 0 0 0 0 currentColor;
    }

    45% {
        transform: translate3d(22px, -12px, 0) scale(1.06) rotate(6deg);
        border-radius: 44% 56% 40% 60% / 58% 42% 56% 44%;
        opacity: 0.55;
        box-shadow: 0 0 0 16px transparent;
    }

    100% {
        transform: translate3d(40px, -4px, 0) scale(0.8) rotate(14deg);
        border-radius: 62% 38% 58% 42% / 43% 57% 49% 51%;
        opacity: 0.26;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-ig-wave-b {
    0% {
        transform: translate3d(0, 0, 0) scale(0.72) rotate(6deg);
        border-radius: 48% 52% 44% 56% / 56% 44% 58% 42%;
        opacity: 0.22;
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        transform: translate3d(-26px, 8px, 0) scale(1.14) rotate(-6deg);
        border-radius: 59% 41% 57% 43% / 41% 59% 43% 57%;
        opacity: 0.48;
        box-shadow: 0 0 0 20px transparent;
    }

    100% {
        transform: translate3d(-48px, 18px, 0) scale(0.86) rotate(-14deg);
        border-radius: 42% 58% 48% 52% / 53% 47% 55% 45%;
        opacity: 0.2;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-ig-wave-c {
    0% {
        transform: translate3d(0, 0, 0) scale(0.7) rotate(-6deg);
        border-radius: 60% 40% 53% 47% / 40% 60% 45% 55%;
        opacity: 0.18;
        box-shadow: 0 0 0 0 currentColor;
    }

    45% {
        transform: translate3d(16px, -10px, 0) scale(1.0) rotate(-14deg);
        border-radius: 41% 59% 39% 61% / 63% 37% 62% 38%;
        opacity: 0.4;
        box-shadow: 0 0 0 14px transparent;
    }

    100% {
        transform: translate3d(30px, -20px, 0) scale(0.78) rotate(-18deg);
        border-radius: 64% 36% 58% 42% / 46% 54% 44% 56%;
        opacity: 0.14;
        box-shadow: 0 0 0 0 currentColor;
    }
}

@keyframes front-ig-wave-d {
    0% {
        transform: translate3d(0, 0, 0) scale(0.74) rotate(8deg);
        border-radius: 57% 43% 61% 39% / 39% 61% 41% 59%;
        opacity: 0.28;
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        transform: translate3d(-22px, -10px, 0) scale(1.1) rotate(18deg);
        border-radius: 45% 55% 42% 58% / 59% 41% 60% 40%;
        opacity: 0.52;
        box-shadow: 0 0 0 18px transparent;
    }

    100% {
        transform: translate3d(-40px, 6px, 0) scale(0.82) rotate(28deg);
        border-radius: 63% 37% 56% 44% / 48% 52% 50% 50%;
        opacity: 0.24;
        box-shadow: 0 0 0 0 currentColor;
    }
}

.front-instagram__feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 720px;
    margin: 32px auto 0;
}

.front-instagram__item {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--hg-bg-sub, #f0f0f0);
    border-radius: 4px;
    overflow: hidden;
}

.front-instagram__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hg-font-en);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hg-muted, #999);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    transition: opacity 0.3s ease;
}

.front-instagram__placeholder::before {
    content: "\f16d";
    /* Instagram icon (Font Awesome) */
    font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", sans-serif;
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.75rem;
    color: var(--hg-muted, #aaa);
    opacity: 0.5;
}

@media (max-width: 640px) {
    .front-instagram__feed {
        max-width: 100%;
        gap: 4px;
    }
}