.af-homecomposer:has(.afhc-hero-design) {
    container-type: inline-size;
}
.afhc-hero-design {
    box-sizing: border-box;
    display: grid;
    align-items: center;
    gap: var(--afhc-hero-gap);
    color: var(--afhc-hero-color);
    background: linear-gradient(var(--afhc-hero-angle), var(--afhc-hero-gradient-from), var(--afhc-hero-gradient-to) var(--afhc-hero-gradient-stop, 100%));
    border: var(--afhc-hero-frame-width, 0) solid var(--afhc-hero-frame-color, currentColor);
    border-radius: var(--afhc-hero-radius);
    padding: var(--afhc-hero-padding-y) var(--afhc-hero-padding-x);
}
@supports (width: 1cqw) {
    .afhc-hero-design[data-hero-width="max"],
    .afhc-hero-design[data-hero-width="max_edge"],
    .afhc-hero-design[data-hero-width="full"] {
        inline-size: var(--afhc-hero-used-width);
        max-inline-size: none;
        margin-inline: calc((100% - var(--afhc-hero-used-width)) / 2);
    }
    .afhc-hero-design[data-hero-width="max"] {
        --afhc-hero-used-width: min(var(--afhc-hero-width), calc(100cqw - 32px));
    }
    .afhc-hero-design[data-hero-width="max_edge"] {
        --afhc-hero-used-width: min(var(--afhc-hero-width), 100cqw);
    }
    .afhc-hero-design[data-hero-width="full"] {
        --afhc-hero-used-width: 100cqw;
    }
    @media (max-width: 779px) {
        .afhc-hero-design[data-hero-mobile-width="full"] {
            --afhc-hero-used-width: 100cqw;
            inline-size: var(--afhc-hero-used-width);
            max-inline-size: none;
            margin-inline: calc((100% - var(--afhc-hero-used-width)) / 2);
        }
    }
}
.afhc-hero-design-copy,
.afhc-hero-design-media {
    min-inline-size: 0;
}
.afhc-hero-design-copy {
    container-type: inline-size;
}
.afhc-hero-site-name {
    margin: 0 0 20px;
    padding-inline-start: 11px;
    border-inline-start: 2px solid currentColor;
    color: var(--afhc-hero-second-color);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .075em;
    overflow-wrap: anywhere;
}
.afhc-hero-title {
    margin: 0;
    min-inline-size: 0;
    color: inherit;
    font-size: 1em;
    letter-spacing: var(--afhc-hero-tracking, inherit);
    line-height: 1.2;
}
.afhc-hero-title-first,
.afhc-hero-title-second {
    display: block;
    overflow-wrap: anywhere;
    font-size: var(--afhc-hero-row-size);
    text-wrap: var(--afhc-hero-row-wrap, wrap);
}
.afhc-hero-title-first {
    --afhc-hero-row-size: var(--afhc-hero-first-size);
}
.afhc-hero-title-second {
    --afhc-hero-row-size: var(--afhc-hero-second-size);
    color: var(--afhc-hero-second-color);
    margin-block-start: .16em;
}
.afhc-hero-description {
    margin-block-start: .9rem;
    overflow-wrap: anywhere;
}
.afhc-hero-description > p {
    margin-block: 0 .75em;
}
.afhc-hero-description > p:last-child {
    margin-block-end: 0;
}
.afhc-hero-design-media {
    overflow: hidden;
    border-radius: var(--afhc-hero-image-radius);
    aspect-ratio: 16 / 10;
}
.afhc-hero-design-image {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}
.afhc-hero-design-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1.15rem;
    margin-block-start: 1.15rem;
}
.afhc-hero-design-actions > .af-animated-button-wrap {
    max-inline-size: 100%;
    margin-block: var(--af-animated-margin-before, 0) var(--af-animated-margin-after, 0);
}
.afhc-hero-design-actions .af-button:any-link {
    max-inline-size: 100%;
    color: var(--afhc-hero-primary-color);
    background: var(--afhc-hero-primary-background);
    border-color: transparent;
    box-shadow: 0 4px 0 rgb(0 0 0 / 24%);
    border-radius: .45rem;
    text-decoration: none;
    text-align: center;
}
.afhc-hero-design-actions .af-animated-button:any-link {
    text-decoration: none;
}
.afhc-hero-design-actions .afhc-text-link:any-link {
    color: var(--afhc-hero-secondary-color);
    align-self: flex-start;
    overflow-wrap: anywhere;
}
.afhc-hero-design[data-hero-primary-arrow="show"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link {
    gap: .75em;
}
.afhc-hero-design[data-hero-primary-shadow="layered"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link {
    box-shadow: 0 5px 0 rgb(0 0 0 / 32%), 0 11px 20px rgb(29 14 25 / 28%);
    box-shadow: 0 5px 0 color-mix(in srgb, var(--af-animated-background, var(--afhc-hero-primary-background)) 65%, black), 0 11px 20px rgb(29 14 25 / 28%);
}
.afhc-hero-design[data-hero-primary-shadow="none"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link {
    box-shadow: none;
}
.afhc-hero-design:is([data-hero-secondary-underline="hover"], [data-hero-secondary-underline="none"]) .afhc-hero-design-actions .afhc-text-link:any-link {
    text-decoration: none;
}
.afhc-hero-design[data-hero-secondary-underline="hover"] .afhc-hero-design-actions .afhc-text-link:any-link:is(:hover, :focus-visible) {
    text-decoration: underline;
}
.afhc-hero-design-actions :any-link:focus-visible {
    outline: 2px solid var(--afhc-hero-secondary-color);
    outline-offset: 2px;
}

@media (min-width: 780px) {
    .afhc-hero-design[data-hero-spacing="separate"] {
        padding: 0;
    }
    .afhc-hero-design[data-hero-spacing="separate"] > .afhc-hero-design-copy {
        padding: var(--afhc-hero-copy-padding-y, var(--afhc-hero-padding-y))
            var(--afhc-hero-copy-padding-x, var(--afhc-hero-padding-x));
    }
    .afhc-hero-design[data-hero-spacing="separate"] > .afhc-hero-design-media {
        margin: var(--afhc-hero-image-padding-y, var(--afhc-hero-padding-y))
            var(--afhc-hero-image-padding-x, var(--afhc-hero-padding-x));
    }
    .afhc-hero-design[data-hero-image-fit="stretch"]:not([data-hero-layout="stack"]) > .afhc-hero-design-media {
        align-self: stretch;
        justify-self: stretch;
    }
    .afhc-hero-design--image:not([data-hero-layout="stack"]) {
        grid-template-columns: minmax(0, var(--afhc-hero-copy-track)) minmax(0, var(--afhc-hero-image-track));
    }
    .afhc-hero-design--image[data-hero-layout="left"] {
        grid-template-columns: minmax(0, var(--afhc-hero-image-track)) minmax(0, var(--afhc-hero-copy-track));
    }
    .afhc-hero-design--image[data-hero-layout="left"] .afhc-hero-design-copy {
        grid-row: 1;
        grid-column: 2;
    }
    .afhc-hero-design--image[data-hero-layout="left"] .afhc-hero-design-media {
        grid-row: 1;
        grid-column: 1;
    }
    .afhc-hero-design[data-hero-ratio="auto"] .afhc-hero-design-media { aspect-ratio: auto; }
    .afhc-hero-design[data-hero-ratio="wide"] .afhc-hero-design-media { aspect-ratio: 16 / 9; }
    .afhc-hero-design[data-hero-ratio="double"] .afhc-hero-design-media { aspect-ratio: 2 / 1; }
    .afhc-hero-design[data-hero-ratio="square"] .afhc-hero-design-media { aspect-ratio: 1; }
    .afhc-hero-design[data-hero-wrap="balance"] { --afhc-hero-row-wrap: balance; }
    .afhc-hero-design:is([data-hero-actions="fill"], [data-hero-actions="stack"]) .afhc-hero-design-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .afhc-hero-design[data-hero-actions="fill"] .afhc-hero-design-actions :is(.af-button, .af-animated-button-wrap, .af-animated-button) {
        box-sizing: border-box;
        inline-size: 100%;
    }
    @supports (font-size: 1cqi) {
        .afhc-hero-design[data-hero-wrap="single"] :is(.afhc-hero-title-first, .afhc-hero-title-second) {
            font-size: min(var(--afhc-hero-row-size), calc(98cqi / var(--afhc-hero-glyphs)));
            white-space: nowrap;
        }
    }
}
@media (max-width: 779px) {
    .afhc-hero-site-name {
        margin-block-end: 13px;
        font-size: 11px;
    }
    .afhc-hero-design {
        border-radius: var(--afhc-hero-mobile-radius, var(--afhc-hero-radius));
        padding: var(--afhc-hero-mobile-padding-y) var(--afhc-hero-mobile-padding-x);
        gap: var(--afhc-hero-mobile-gap);
    }
    .afhc-hero-design[data-hero-mobile-spacing="separate"] {
        padding: 0;
    }
    .afhc-hero-design[data-hero-mobile-spacing="separate"] > .afhc-hero-design-copy {
        padding: var(--afhc-hero-mobile-copy-padding-y, var(--afhc-hero-mobile-padding-y))
            var(--afhc-hero-mobile-copy-padding-x, var(--afhc-hero-mobile-padding-x));
    }
    .afhc-hero-design[data-hero-mobile-spacing="separate"] > .afhc-hero-design-media {
        margin: var(--afhc-hero-mobile-image-padding-y, var(--afhc-hero-mobile-padding-y))
            var(--afhc-hero-mobile-image-padding-x, var(--afhc-hero-mobile-padding-x));
    }
    .afhc-hero-title-first { --afhc-hero-row-size: var(--afhc-hero-mobile-first-size); }
    .afhc-hero-title-second { --afhc-hero-row-size: var(--afhc-hero-mobile-second-size); }
    .afhc-hero-design[data-hero-mobile-ratio="auto"] .afhc-hero-design-media { aspect-ratio: auto; }
    .afhc-hero-design[data-hero-mobile-ratio="wide"] .afhc-hero-design-media { aspect-ratio: 16 / 9; }
    .afhc-hero-design[data-hero-mobile-ratio="double"] .afhc-hero-design-media { aspect-ratio: 2 / 1; }
    .afhc-hero-design[data-hero-mobile-ratio="square"] .afhc-hero-design-media { aspect-ratio: 1; }
    .afhc-hero-design[data-hero-mobile-wrap="balance"] { --afhc-hero-row-wrap: balance; }
    .afhc-hero-design:is([data-hero-mobile-actions="fill"], [data-hero-mobile-actions="stack"]) .afhc-hero-design-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .afhc-hero-design[data-hero-mobile-actions="fill"] .afhc-hero-design-actions :is(.af-button, .af-animated-button-wrap, .af-animated-button) {
        box-sizing: border-box;
        inline-size: 100%;
    }
    @supports (font-size: 1cqi) {
        .afhc-hero-design[data-hero-mobile-wrap="single"] :is(.afhc-hero-title-first, .afhc-hero-title-second) {
            font-size: min(var(--afhc-hero-row-size), calc(98cqi / var(--afhc-hero-glyphs)));
            white-space: nowrap;
        }
    }
}

.afhc-hero-title { line-height: var(--afhc-hero-heading-leading, 1.2); }
.afhc-hero-description { line-height: var(--afhc-hero-body-leading, inherit); }
.afhc-hero-design-image {
    object-position: var(--afhc-hero-image-focus-x, 50%) var(--afhc-hero-image-focus-y, 50%);
}
.afhc-hero-design[data-hero-image-blend] .afhc-hero-design-media { position: relative; }
.afhc-hero-design[data-hero-image-blend] .afhc-hero-design-media::after {
    content: '';
    pointer-events: none;
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--afhc-hero-image-blend, 0%);
    background: linear-gradient(to right, var(--afhc-hero-image-blend-color, var(--afhc-hero-gradient-to)), transparent);
}
.afhc-hero-design[data-hero-image-blend][data-hero-layout="left"] .afhc-hero-design-media::after {
    inset: 0 0 0 auto;
    background: linear-gradient(to left, var(--afhc-hero-image-blend-color, var(--afhc-hero-gradient-to)), transparent);
}
.afhc-hero-design[data-hero-image-blend][data-hero-layout="stack"] .afhc-hero-design-media::after {
    inset: 0 0 auto;
    width: auto;
    height: var(--afhc-hero-image-blend, 0%);
    background: linear-gradient(to bottom, var(--afhc-hero-image-blend-color, var(--afhc-hero-gradient-to)), transparent);
}
.afhc-hero-design-actions .afhc-text-link > span { margin-inline-start: .4em; }
@media (max-width: 779px) {
    .afhc-hero-title { line-height: var(--afhc-hero-mobile-heading-leading, var(--afhc-hero-heading-leading, 1.2)); }
    .afhc-hero-description { line-height: var(--afhc-hero-mobile-body-leading, var(--afhc-hero-body-leading, inherit)); }
    .afhc-hero-design-image {
        object-position: var(--afhc-hero-mobile-image-focus-x, var(--afhc-hero-image-focus-x, 50%))
            var(--afhc-hero-mobile-image-focus-y, var(--afhc-hero-image-focus-y, 50%));
    }
    .afhc-hero-design[data-hero-image-blend] .afhc-hero-design-media::after,
    .afhc-hero-design[data-hero-image-blend][data-hero-layout] .afhc-hero-design-media::after {
        inset: 0 0 auto;
        width: auto;
        height: var(--afhc-hero-mobile-image-blend, var(--afhc-hero-image-blend, 0%));
        background: linear-gradient(to bottom, var(--afhc-hero-image-blend-color, var(--afhc-hero-gradient-to)), transparent);
    }
}

.afhc-hero-design[data-hero-heading-font="serif"] .afhc-hero-title { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; }
.afhc-hero-design[data-hero-secondary-mode="outline"] .afhc-hero-design-actions > .afhc-text-link:any-link {
    display: inline-flex; align-items: center; justify-content: center; align-self: auto; text-align: center;
    border: 1px solid currentColor; border-radius: .45rem; min-height: var(--afhc-hero-button-min-height, 49px);
    padding: var(--afhc-hero-button-padding-y, 12px) var(--afhc-hero-button-padding-x, 24px); text-decoration: none;
}
.afhc-hero-design[style*="--afhc-hero-button-min-height:"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link { min-height: var(--afhc-hero-button-min-height); }
.afhc-hero-design[style*="--afhc-hero-button-padding-x:"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link { padding-inline: var(--afhc-hero-button-padding-x); }
.afhc-hero-design[style*="--afhc-hero-button-padding-y:"] .afhc-hero-design-actions :is(.af-button, .af-animated-button):any-link { padding-block: var(--afhc-hero-button-padding-y); }
.afhc-hero-design[style*="--afhc-hero-button-gap:"] .afhc-hero-design-actions { gap: var(--afhc-hero-button-gap); }
