@charset "UTF-8";

/*
Theme Name: JA共済新潟フォーム
Theme URI: NA
Author: NA
Author URI: NA
Description: NA
Version: 0.0.0
*/

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    min-width: 320px;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'メイリオ', Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

picture {
    display: block;
    line-height: 0;
    position: relative;
}

picture.loading::before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(50% - 56px);
    width: 128px;
    padding: 4px;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    content: '読み込み中...';
    color: #000;
    background: #fff;
    border: solid 2px #00736d;
    background: linear-gradient(90deg, #fff, #00ccc2, #fff);
    animation: loading-indicator 4s linear infinite;
}

@keyframes loading-indicator {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 128px;
    }
}

/* overlay */

body.overlay-open {
    width: 100%;
    width: calc(100% - var(--sbw, 0));
    overflow: hidden;
    touch-action: none;
    -webkit-overflow-scrolling: none;
    overscroll-behavior: none;
    background: #000;
}

.overlay {
    display: none;
    align-items: flex-start;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: calc(100% - var(--sbw, 0));
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 9999;
    background: #000;
    overflow: auto;
    overscroll-behavior-y: contain;
}

.overlay:target {
    display: flex;
}

.overlay__backdrop {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    height: 100%;
    height: var(--overlay-window-height, 100%);
}

.overlay__backdrop::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cstyle%3Eline%7Bstroke:%23fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3E閉じる%3C/title%3E%3Cline x1='4' y1='4' x2='20' y2='20'/%3E%3Cline x1='20' y1='4' x2='4' y2='20'/%3E%3C/svg%3E");
    display: block;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: -webkit-sticky;
    position: sticky;
    top: 4px;
    margin-left: calc(100% - 36px);
    transition: transform 0.3s, padding 0.3s, border-radius 0.3s, margin-left 0.3s;
}

@media screen and (max-width: 1023px) {
    .overlay__backdrop::after {
        padding: 8px;
        border-radius: 20px;
        margin-left: calc(100% - 44px);
    }

    .overlay.header-exposed .overlay__backdrop::after {
        padding: 4px;
        border-radius: 4px;
        margin-left: calc(100% - 36px);
    }
}

.overlay__backdrop:active::after {
    transform: scale(0.8);
}

.overlay__window {
    display: block;
    position: relative;
}

.overlay__header {
    position: relative;
}

.overlay__title {
    pointer-events: none;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.overlay__footer {
    display: flex;
    justify-content: space-around;
    padding-bottom: 40px;
}

.overlay__footer>* {
    width: 31%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    line-height: 2;
    border-radius: 4px;
    margin-top: max(1vw, 6px);
}

.overlay__footer>a {
    background: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.overlay__footer>a:active {
    transform: scale(0.9);
}

.overlay__prompt {
    position: fixed;
    bottom: 8px;
    left: 50%;
    margin: 0 -32px;
    width: 64px;
    height: 64px;
    animation: 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s infinite normal none running manga-prompt;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.overlay.show-prompt .overlay__prompt {
    opacity: 1;
}

@keyframes manga-prompt {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* util */

.notes {
    list-style-type: '※';
    padding-left: 1em !important;
}

.nowrap {
    white-space: nowrap;
}

/* こども共済お見積り＆ご成約キャンペーン */

body.kodomocustomer .section__image {
    display: block;
    width: 100%;
    height: auto;
}

body.kodomocustomer .section__button {
    display: block;
    padding: 70px 0;
    text-align: center;
    line-height: 1;
}

body.kodomocustomer .section__button a {
    position: relative;
    z-index: 1;
    display: inline-block;
    border-radius: 999px;
    overflow: hidden;
}

@media(hover: hover) {
    body.kodomocustomer .section__button a:hover {
        filter: brightness(110%);
    }
}

body.kodomocustomer .section__button a:active {
    filter: brightness(80%);
}

body.kodomocustomer .section__button img {
    aspect-ratio: 1020 / 180;
    max-width: 504px;
    width: 100%;
    height: auto;
}

body.kodomocustomer .section--3 {
    padding-top: 4vw;
}

body.kodomocustomer .section--4 {
    margin-top: -6.4vw;
}

.kodomocustomer .section--form {
    border-top: solid 1px #42210b;
}

body.kodomocustomer .section--footer {
    border-top: solid 1px #42210b;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .section__button {
        width: 100%;
        padding: 5vw 0;
    }

    body.kodomocustomer .section__button img {
        max-width: none;
        width: 94vw;
    }

    body.kodomocustomer .section--3 {
        padding-top: 0;
    }

    body.kodomocustomer .section--4 {
        margin-top: 2vw;
    }
}

body.kodomocustomer .section__button img {
    aspect-ratio: 800 / 150;
}

body.kodomocustomer .section--1 .section__image {
    aspect-ratio: 1900 / 2087;
}

body.kodomocustomer .section--3 .section__image--a {
    aspect-ratio: 1900 / 600;
}

body.kodomocustomer .section--3 .section__image--b {
    aspect-ratio: 850.17 / 136.16;
    width: 93vw;
    margin-left: auto;
    margin-right: auto;
}

.kokuchi {
    text-align: center;
}

.kokuchi1 {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
}

.kokuchi2 {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
}

.kokuchi2:hover {
    opacity: 0.7;
}

body.kodomocustomer .section--3 .section__image--c {
    aspect-ratio: 1703 / 1301;
    width: 70vw;
    margin-top: 4vw;
    margin-left: auto;
    margin-right: auto;
}

body.kodomocustomer .section--4 .section__image {
    aspect-ratio: 1280 / 2233;
}

body.kodomocustomer .section--footer .section__image {
    aspect-ratio: 1201.25 / 245.97;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .section--1 .section__image {
        aspect-ratio: 768 / 2750;
    }

    body.kodomocustomer .section--3 .section__image--a {
        aspect-ratio: 768 / 600;
    }

    body.kodomocustomer .section--3 .section__image--b {
        aspect-ratio: 341.14 / 320.14;
        width: 88vw;
    }

    body.kodomocustomer .section--3 .section__image--c {
        aspect-ratio: 750 / 2448;
        width: 100%;
    }

    body.kodomocustomer .section--4 .section__image {
        aspect-ratio: 750 / 6857;
    }

    body.kodomocustomer .section--footer .section__image {
        aspect-ratio: 375 / 208.15;
    }

    .kokuchi1 {
        width: 100%;
    }

    .kokuchi2 {
        width: 100%;
    }
}

/*** overview(section 2) ***/

body.kodomocustomer .overview {
    --normal-gothic-font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'メイリオ', Meiryo, "Noto Sans JP", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --maru-gothic-font-family: 'M PLUS Rounded 1c', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --accent-color: #00a2de;
    --freebie01-color: #f4a000;
    --freebie02-color: #61aa31;
    background-color: #f9dbe1;
    background-image: url(assets/images/kodomocustomer/2025/sec02-background-pc.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center top;
    font-family: var(--normal-gothic-font-family);
    font-weight: 500;
    font-feature-settings: "palt";
    padding-bottom: 30px;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview {
        background-image: url(assets/images/kodomocustomer/2025/sec02-background-sp.png);
    }
}

/* header */

body.kodomocustomer .overview__header {
    position: relative;
    height: 48.3vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__header {
        height: 90vw;
    }
}

body.kodomocustomer .overview__title {
    margin: 0;
}

body.kodomocustomer .overview__title-image {
    display: block;
    aspect-ratio: 812.54 / 765.3;
    width: 76vw;
    height: auto;
    position: absolute;
    top: -20vw;
    left: 12vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__title-image {
        width: 93.6vw;
        top: -19vw;
        left: 2.5vw;
    }
}

body.kodomocustomer .overview__characters-image {
    display: block;
    aspect-ratio: 932.22 / 663.15;
    width: 72vw;
    height: auto;
    position: absolute;
    top: 9.5vw;
    right: 10vw;
    pointer-events: none;
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__characters-image {
        width: 98vw;
        top: 18vw;
        right: 1vw;
    }
}

body.kodomocustomer .overview__characters-logo {
    display: block;
    aspect-ratio: 211.12 / 89.47;
    width: 11.4vw;
    height: auto;
    position: absolute;
    top: 43vw;
    right: 53vw;
    pointer-events: none;
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__characters-logo {
        width: 43vw;
        top: 68vw;
        right: 32vw;
    }
}

/* contents */

body.kodomocustomer .overview__contents {
    width: 88vw;
    margin: 0 auto;
    padding: 2vw 2.2vw;
    background: #fff;
    border-radius: 2vw;
    display: flex;
    flex-direction: column;
    gap: 2vw;
    box-shadow: 1vw 1vw #eb6d80c0;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__contents {
        width: 90.8vw;
        padding: 4vw 4vw 5vw;
        border-radius: 8vw;
        gap: 4vw;
        box-shadow: 2.5vw 2.5vw #eb6d80c0;
    }
}

body.kodomocustomer .overview__copy {
    margin: 0;
    position: relative;
    display: block;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-family: var(--maru-gothic-font-family);
    font-weight: 800;
    font-size: 2.3vw;
    line-height: 2.8vw;
    text-align: center;
    color: var(--accent-color);
}

body.kodomocustomer .overview__copy::before,
body.kodomocustomer .overview__copy::after {
    content: '';
    position: absolute;
    top: 0;
    display: block;
    height: 5.6vw;
    width: 0.25vw;
}

body.kodomocustomer .overview__copy::before {
    left: 1.2vw;
    border-left: solid 0.25vw var(--accent-color);
    transform: rotate(-20deg);
}

body.kodomocustomer .overview__copy::after {
    right: 1.2vw;
    border-right: solid 0.25vw var(--accent-color);
    transform: rotate(20deg);
}

body.kodomocustomer .overview__copy--freebie01 {
    color: var(--freebie01-color);
}

body.kodomocustomer .overview__copy--freebie02 {
    color: var(--freebie02-color);
}

body.kodomocustomer .overview__copy small {
    font-size: 1.5vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__copy {
        font-size: 4.2vw;
        line-height: 6vw;
    }

    body.kodomocustomer .overview__copy::before,
    body.kodomocustomer .overview__copy::after {
        height: 26vw;
        width: 0.6vw;
    }

    body.kodomocustomer .overview__copy::before {
        left: 3vw;
        border-left-width: 0.6vw;
        transform: rotate(-6deg);
    }

    body.kodomocustomer .overview__copy::after {
        right: 3vw;
        border-right-width: 0.6vw;
        transform: rotate(6deg);
    }

    body.kodomocustomer .overview__copy small {
        font-size: 3vw;
    }
}

/* incentive */

body.kodomocustomer .incentive {
    display: grid;
    grid-template-columns: 41vw 1.6vw 41vw;
    grid-template-areas:
        "freebie01 addition freebie02"
        "notes notes notes"
        "banner banner banner";
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .incentive {
        grid-template-columns: 1fr;
        grid-template-rows: auto 14.2vw auto auto auto;
        grid-template-areas:
            "freebie01"
            "addition"
            "freebie02"
            "notes"
            "banner";
    }
}

body.kodomocustomer .incentive__freebie--01 {
    grid-area: freebie01;
    --freebie-color: var(--freebie01-color);
}

body.kodomocustomer .incentive__freebie-addition {
    grid-area: addition;
    align-self: center;
    z-index: 1;
    margin: 0 -3vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .incentive__freebie-addition {
        width: 15.4vw;
        align-self: unset;
        justify-self: center;
        margin: -2vw 0 1vw;
    }
}

body.kodomocustomer .incentive__freebie-addition-image {
    display: block;
    aspect-ratio: 142.06 / 142.06;
    width: 100%;
}

body.kodomocustomer .incentive__freebie--02 {
    grid-area: freebie02;
    --freebie-color: var(--freebie02-color);
}

body.kodomocustomer .freebie {
    border-left: solid 0.2vw var(--freebie-color);
    border-right: solid 0.2vw var(--freebie-color);
    border-bottom: solid 0.2vw var(--freebie-color);
    border-radius: 1vw;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .freebie {
        border-left: solid 0.6vw var(--freebie-color);
        border-right: solid 0.6vw var(--freebie-color);
        border-bottom: solid 0.6vw var(--freebie-color);
        border-radius: 2vw;
    }
}

body.kodomocustomer .freebie__headline {
    margin: 0;
    font-family: var(--maru-gothic-font-family);
    font-weight: 800;
    text-align: center;
    font-size: 1.9vw;
    line-height: 2.9vw;
    color: #fff;
    background: var(--freebie-color);
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .freebie__headline {
        font-size: 4.8vw;
        line-height: 7.8vw;
    }
}

body.kodomocustomer .freebie__figure {
    position: relative;
    margin: 0;
}

body.kodomocustomer .freebie__image {
    display: block;
    aspect-ratio: 1548 / 1065;
    width: 100%;
    position: absolute;
    inset: 0;
}

body.kodomocustomer .freebie__caption {
    position: relative;
}

body.kodomocustomer .freebie__caption-image {
    display: block;
    aspect-ratio: 773.58 / 532.08;
    width: 100%;
}

body.kodomocustomer .incentive__freebie-notes {
    margin: 0 0 -1.8vw;
    grid-area: notes;
    justify-self: end;
    font-size: 1vw;
    line-height: 1.8vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .incentive__freebie-notes {
        font-size: 2.8vw;
        line-height: 3.6vw;
        margin: 0 2.6vw -7.2vw;
    }
}

body.kodomocustomer .incentive__banner {
    margin: 2vw 0 0;
    grid-area: banner;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .incentive__banner {
        margin-top: 14.2vw;
    }
}

body.kodomocustomer .incentive__banner-anchor {
    display: block;
}

@media(hover: hover) {
    body.kodomocustomer .incentive__banner-anchor:hover {
        filter: brightness(110%);
    }
}

body.kodomocustomer .incentive__banner-anchor:active {
    filter: brightness(80%);
}

body.kodomocustomer .incentive__banner-image--kodomocm {
    aspect-ratio: 1582.31 / 206.58;
    width: 100%;
    margin-top: -1.2vw;
    margin-bottom: -0.5vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .incentive__banner-image--kodomocm {
        aspect-ratio: 309 / 148.31;
    }
}

/* details */

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details {
        margin-top: calc(14.2vw - 4vw);
    }
}

body.kodomocustomer .overview__details-headline {
    margin: 0;
    font-family: var(--maru-gothic-font-family);
    font-weight: 800;
    font-size: 1.6vw;
    line-height: 2.4vw;
    border-radius: 999px;
    text-align: center;
    background: var(--accent-color);
    color: #fff;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details-headline {
        font-size: 5.4vw;
        line-height: 7.2vw;
    }
}

body.kodomocustomer .overview__details-list {
    margin: 1.6vw 0 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1.6vw;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details-list {
        margin-top: 5vw;
        gap: 5vw;
    }
}

body.kodomocustomer .overview__details-title {
    font-size: max(1.5vw, 14px);
    line-height: 1.45;
    color: var(--accent-color);
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details-title {
        font-size: max(4vw, 14px);
    }
}

body.kodomocustomer .overview__details-title::after {
    content: '：';
}

body.kodomocustomer .overview__details-value {
    margin: 0;
    font-size: max(1.3vw, 12px);
    line-height: 1.4;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details-value {
        font-size: 3.6vw;
    }
}

body.kodomocustomer .overview__details-row--period {
    display: flex;
    align-items: center;
    padding: 0 1vw;
    gap: 1vw;
}

body.kodomocustomer .overview__details-row--period dt::after {
    content: none;
}

body.kodomocustomer .overview__details-title--period {
    width: calc(203.14% * 0.0685);
}

body.kodomocustomer .overview__details-value--period {
    width: calc(1256.4% * 0.0685);
}

body.kodomocustomer .overview__period-title-picture,
body.kodomocustomer .overview__period-value-picture {
    display: contents;
}

body.kodomocustomer .overview__period-title-image {
    display: block;
    aspect-ratio: 203.14 / 74.91;
    width: 100%;
}

body.kodomocustomer .overview__period-value-image {
    display: block;
    aspect-ratio: 1256.4 / 66.82;
    width: 100%;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__details-row--period {
        padding: 0;
        gap: 2vw;
    }

    body.kodomocustomer .overview__details-title--period {
        width: calc(81.65% * 0.33966);
    }

    body.kodomocustomer .overview__details-value--period {
        width: calc(212.76% * 0.33966);
    }

    body.kodomocustomer .overview__period-title-image {
        aspect-ratio: 81.65 / 58.9;
    }

    body.kodomocustomer .overview__period-value-image {
        aspect-ratio: 212.76 / 51.27;
    }
}

/* notes */

body.kodomocustomer .overview__notes {
    margin: 1.6vw 0 0;
    font-size: max(1vw, 12px);
    line-height: 1.6;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .overview__notes {
        margin-top: 5vw;
        font-size: max(3vw, 12px);
    }
}

/*** manga ***/

body.kodomocustomer .manga-index {
    width: 70vw;
    margin: 6vw auto 4vw auto;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .manga-index {
        margin-bottom: 6vw;
        ;
    }
}

body.kodomocustomer .manga-index__title {
    display: block;
    width: 100%;
}

body.kodomocustomer .manga-index__title img {
    aspect-ratio: 310 / 67.38;
}

body.kodomocustomer .manga-index__list {
    width: 100%;
    margin-top: 4vw;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
}

body.kodomocustomer .manga-index__listitem {
    display: block;
}

body.kodomocustomer .manga-index__listitem:nth-child(n+3) {
    margin-top: 2vw;
}

body.kodomocustomer .manga-index__link {
    color: #0388d4;
    text-decoration: none;
}

body.kodomocustomer .manga-index__figure {
    margin: 0;
    box-shadow: 0 0.4vw 0 0 rgba(0, 0, 0, 0.2);
    border: solid max(0.5vw, 4px) currentcolor;
    border-radius: max(1vw, 0.5rem);
    transition: transform 0.3s;
}

body.kodomocustomer .manga-index__link:active .manga-index__figure {
    transform: scale(0.97);
}

body.kodomocustomer .manga-index__image {
    width: 33vw;
    border-radius: max(1vw, 0.5rem) max(1vw, 0.5rem) 0 0;
    aspect-ratio: 500 / 400;
}

body.kodomocustomer .manga-index__caption {
    font-size: max(1.5vw, 1rem);
    line-height: 1.6;
    text-align: center;
    font-weight: bold;
}

body.kodomocustomer .manga-index__listitem--placeholder {
    /* pointer-events: none; */
    position: relative;
}

body.kodomocustomer .manga-index__listitem--placeholder::before {
    content: 'coming soon.';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    font-size: max(3vw, 2rem);
    font-style: italic;
    font-weight: bold;
    color: #0388d4;
}

body.kodomocustomer .manga-index__listitem--placeholder .manga-index__figure {
    /* opacity: 0.2;*/
    /*マンガ公開のときはコメントアウトする*/
    box-shadow: none;
}

@media screen and (max-width: 767px) {
    body.kodomocustomer .manga-index {
        width: 88vw;
    }

    body.kodomocustomer .manga-index__listitem {
        width: 100%;
    }

    body.kodomocustomer .manga-index__listitem:nth-child(n+2) {
        margin-top: max(2vw, 1rem);
    }

    body.kodomocustomer .manga-index__image {
        width: 100%;
    }
}

body.kodomocustomer .manga {
    min-width: 320px;
}

body.kodomocustomer .manga__image {
    width: 100%;
    max-width: 730px;
}

/*** banner ***/

body.kodomocustomer .banner-container {
    position: -webkit-sticky;
    position: sticky;
    bottom: 16px;
    pointer-events: none;
    z-index: 9998;
}

body.kodomocustomer .float-banner {
    margin-top: calc((4px + 225px + 4px + 14px + 4px + 16px) * -1);
    margin-left: auto;
    margin-right: 8px;
    margin-bottom: 16px;
    display: block;
    width: fit-content;
    border: solid 4px #d23b61;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px rgba(0, 0, 0, 0.15);
    background: #d23b61;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
    pointer-events: auto;
}

body.kodomocustomer .float-banner__image {
    display: block;
    width: 450px;
    height: 225px;
}

body.kodomocustomer .float-banner__caption {
    text-align: center;
    line-height: 1;
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 14px;
}

@media(hover: hover) {
    body.kodomocustomer .float-banner:hover {
        background-color: #fc4774;
        border-color: #fc4774;
    }
}

@media screen and (max-width: 1499px) {
    body.kodomocustomer .float-banner {
        margin-top: calc((4px + 150px + 4px + 14px + 4px + 16px) * -1);
    }

    body.kodomocustomer .float-banner__image {
        width: 300px;
        height: 150px;
    }
}

@media screen and (max-width: 1279px) {
    body.kodomocustomer .banner-container {
        bottom: 0;
        border-top: solid 1px #42210b;
        background: rgba(249, 219, 222, 0.8);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body.kodomocustomer .float-banner {
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        box-shadow: none;
    }

    body.kodomocustomer .float-banner__image {
        width: 600px;
        height: 150px;
    }

    body.kodomocustomer .float-banner__caption {
        display: none;
    }
}

@media screen and (max-width: 639px) {
    body.kodomocustomer .banner-container {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    body.kodomocustomer .float-banner {
        border-width: 2px;
        border-radius: 4px;
    }

    body.kodomocustomer .float-banner__image {
        width: 316px;
        height: auto;
    }
}