.const_ex,
.const_ex * {
    box-sizing: border-box;
}

.const_ex {
    padding: 40px 24px 32px;
    background: #fff7db;
    position: relative;
    isolation: isolate;
    color: #222;
    margin-top: 60px;
}

.const_ex__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.const_ex__background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.const_ex__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.const_ex__heading {
    padding: 0 40px;
    margin: 0 0 26px;
}

.const_ex__catch {
    position: relative;
    display: table;
    margin: 0 0 22px;
    padding: 12px 30px;
    border: 2px solid #ffb329;
    border-radius: 999px;
    background: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.const_ex__catch::after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: -9px;
    width: 15px;
    height: 12px;
    background: #fff;
    border-left: 2px solid #ffb329;
    border-bottom: 2px solid #ffb329;
    transform: skewY(-40deg);
}

/* 吹き出し右上のアクセント */
.const_ex__catch::before {
    content: "";
    position: absolute;
    top: -17px;
    right: -15px;
    width: 32px;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%23ff762c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 10L10 3M17 15L23 9M22 24L30 22'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

.const_ex__catch span {
    color: #ff762c;
}

.const_ex .const_ex__title {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #222;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.const_ex .const_ex__title::before {
    content: none;
}

.const_ex .const_ex__title::after {
    content: "";
    display: block;
    position: static;
    width: 72px;
    margin-top: 6px;
    border-top: 5px dotted #ff762c;
    background: none;
    height: 0;
}

.const_ex__description {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 500;
}

.const_ex__description a {
    display: inline;
    color: #1687b8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.const_ex .const_ex__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.const_ex .const_ex__item {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.const_ex__link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.38;
    border: 3px solid #fff;
    border-radius: 7px;
    box-shadow: 0 2px 4px #0002;
    color: #fff;
    text-decoration: none;
    background: #ddd;
}

/* .const_ex__link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
} */

/* PC/SP thumbnail image wrapper */
.const_ex__picture {
    display: block;
    position: absolute;
    inset: 0;
}

.const_ex__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.const_ex__name {
    position: absolute;
    z-index: 1;
    left: 12px;
    right: 33px;
    bottom: 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 4px #0009;
}

.const_ex__arrow {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 13px;
    width: 25px;
    height: 25px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.const_ex__arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3L11 8L6 13' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translate(-50%, -50%);
}

.const_ex__link:focus-visible {
    outline: 3px solid #1687b8;
    outline-offset: 3px;
}

/* ホバー */
@media (hover: hover) {
    .const_ex__link:hover .const_ex__image {
        transform: scale(1.04);
    }
}

/* PC：幅769〜1100px */
@media (min-width: 769px) and (max-width: 1100px) {
    .const_ex__name {
        font-size: 16px;
        left: 9px;
    }

    .const_ex__heading {
        padding: 0 20px;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .const_ex {
        padding: 24px 16px 28px;
        margin-top: 30px;
    }

    .const_ex__heading {
        text-align: center;
        padding: 0;
        margin-bottom: 18px;
    }

    .const_ex__catch {
        margin: 0 auto 14px;
        padding: 7px 17px;
        font-size: clamp(11px, 4.0vw, 16px);
        border-width: 1px;
    }

    /* .const_ex__catch::after {
        width: 10px;
        height: 10px;
        bottom: -6px;
        border-width: 1px;
    } */

    .const_ex__catch::after {
        content: "";
        position: absolute;
        left: 51px;
        background: #fff;
        border-left: 2px solid #ffb329;
        border-bottom: 2px solid #ffb329;
        transform: scaleY(1.8) rotate(-45deg);
        width: 7px;
        height: 7px;
        bottom: -5px;
        border-width: 1px;
    }

    /* 吹き出し右上のアクセント */
    .const_ex__catch::before {
        content: "";
        position: absolute;
        top: -17px;
        right: -15px;
        width: 32px;
        height: 30px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%23ff762c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 10L10 3M17 15L23 9M22 24L30 22'/%3E%3C/svg%3E") center / contain no-repeat;
        pointer-events: none;
        top: -12px;
        right: -11px;
        width: 24px;
        height: 23px;
    }

    .const_ex .const_ex__title {
        font-size: clamp(19px, 5.5vw, 28px);
        letter-spacing: 0;
        white-space: nowrap;
    }

    .const_ex .const_ex__title::after {
        content: none;
    }

    .const_ex__description {
        max-width: 480px;
        margin: 9px auto 0;
        font-size: 11px;
        line-height: 1.8;
    }

    .const_ex .const_ex__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .const_ex__link {
        aspect-ratio: 2.65;
        border-width: 2px;
        border-radius: 6px;
    }

    .const_ex__name {
        left: 8px;
        right: 25px;
        bottom: 7px;
        font-size: clamp(11px, 3.1vw, 16px);
    }

    .const_ex__arrow {
        right: 6px;
        bottom: 7px;
        width: 18px;
        height: 18px;
        border-width: 1.5px;
    }

    .const_ex__arrow::after {
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        border: none;
    }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
    .const_ex__image {
        transition: none;
    }
}

/* PCでは改行しない */
.const_ex__br-sp {
    display: none;
}

/* スマホのみ改行 */
@media (max-width: 768px) {
    .const_ex__br-sp {
        display: inline;
    }
}