:root {
    /* --ixs-blue: #004382; */
    --inner-width: 1000px;
    --ixs-blue: #182460;
    --ixs-blue-blight: #004382;
    --ixs-blue-text: #19427c;
    --ixs-blue-bg: #ecf0f6;
    --ixs-gray-border: #cecfcb;
    --ixs-gray-bg: #e6e5e2;
    --ixs-sky-bg: #77c5e5;
    --ixs-gray-light: #F7F7F7;
}

/* Header */
header {
    .anchor_links {
        flex-grow: 1;
        display: flex;
        align-items: center;
        padding: 0 1rem;
        background-color: #003366;

        ul {
            flex-grow: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: start;
            column-gap: 1.5rem;
            /* row-gap: 1rem; */
            padding: 0 1rem;
        }

        li {
            a {
                display: block;
                width: inherit;
                position: relative;
                padding-left: 20px;
                font-size: 1.4rem;

                br {
                    display: none;
                }
            }
        }

        a:before {
            bottom: 6px;
            content: "";
            position: absolute;
            left: 0px;
            width: 8px;
            height: 8px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            transform: rotate(134deg);
        }
    }

    .bl_navi__pc__sub {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        /* width: 58%; */
        min-width: 620px;
    }

    .header-sp-inner {
        a:not([href^="tel:"]) {
            br {
                display: none;
            }
        }
    }
}

/* Anchors (in main container) */
main {
    .anchor_links {
        background-color: #004382;

        ul {
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            margin: 0 auto;
            padding: 2rem;
            justify-content: center;
            align-items: center;
        }

        li {
            display: block;
            width: 40%;

            a {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                aspect-ratio: 1 / 1;
                height: 100%;
                background-image: url(../../lp_common/images/subnav_00.png);
                background-repeat: no-repeat;
                background-position: center;
                background-size: cover;
                color: white;
                font-weight: 600;
                text-align: center;
            }

            a:hover {
                opacity: 0.5;
                text-decoration: none;
            }

            a:after {
                bottom: 15px;
                content: "";
                position: absolute;
                left: 0px;
                right: 0;
                margin: auto;
                width: 8px;
                height: 8px;
                border-top: 2px solid #fff;
                border-right: 2px solid #fff;
                transform: rotate(134deg);
            }
        }
    }



    @media screen and (min-width: 640px) {
        .anchor_links {
            ul {
                justify-content: space-between;
                max-width: var(--inner-width);
            }

            li {
                width: auto;

                a {
                    width: 134px;
                }
            }
        }
    }
}

/* Spacer */
.mt_0 {
    margin-top: 0 !important;
}

.mt_2 {
    margin-top: 2rem !important;
}

.mt_4 {
    margin-top: 4rem !important;
}

.mt_8 {
    margin-top: 8rem !important;
}

.-mt_4 {
    margin-top: -4rem !important;
}

@media screen and (min-width: 640px) {
    .bl_cont_ttl {
        margin-bottom: 8rem;
    }
}


/* Text layout */
.text_center {
    text-align: center;
}

.mobile_hidden {
    display: none;
}

.mobile_show {
    display: inline;
}

em {
    font-style: normal;
}


@media screen and (min-width: 640px) {
    .mobile_hidden {
        display: inline;
    }

    .mobile_show {
        display: none;
    }
}

.with_sup {
    position: relative;
    display: inline-block;
}

h3.with_bg {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 2rem;
    background-color: var(--ixs-blue);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

sup {
    position: absolute;
    right: 0;
    top: -1rem;
    font-size: 1.5rem;
}

small {
    font-size: 1rem;
    line-height: 1.3;
}

.weight {
    color: var(--ixs-blue-text);
    font-weight: 600;
    font-size: 1.8rem;
}

/* Button */
.is_button {
    background-color: var(--ixs-blue-blight);
    color: #fff;
    text-decoration: none;
    padding: 2rem 2.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border-radius: 1rem;

    &:visited {
        color: #fff;
    }

    &:hover {
        text-decoration: none;
        opacity: 0.8;
        transition-duration: 0.4s;
    }

    &:before {
        content: "";
        display: inline-block;
        margin-right: 0.5em;
        vertical-align: middle;
        width: 0;
        height: 0;
        border-top: 0.5em solid transparent;
        border-bottom: 0.5em solid transparent;
        border-left: 0.8em solid #fff;
    }

    &.text_large {
        font-size: 2.4rem;
    }
}

/* Layout box */
section.overflow_hidden {
    overflow: hidden;
}

.container {
    padding: 80px 2rem 100px;
    margin-left: auto;
    margin-right: auto;
}

.columns_two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.columns_two_three,
.columns_two_four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: var(--inner-width);
    margin-left: auto;
    margin-right: auto;

    img {
        display: block;
        margin-top: 0.5rem;
    }
}

.columns_one_onetwo,
.columns_one_two,
.columns_one_three {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: var(--inner-width);
    margin-left: auto;
    margin-right: auto;
}


@media screen and (min-width: 640px) {
    .container {
        max-width: 1280px;

    }

    .inner_width {
        max-width: var(--inner-width);
        margin-left: auto;
        margin-right: auto;
    }

    .columns_one_onetwo {
        grid-template-columns: 1fr 2fr;
    }

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

    .columns_two {
        gap: 4rem;
    }

    .columns_two_four,
    .columns_one_four {
        grid-template-columns: repeat(4, 1fr);
    }

    .columns_two_three,
    .columns_one_three {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.with_floating {
    h3 {
        font-size: 2.4rem;
        color: #fff;
        line-height: 1.3;
    }

    .slide {
        margin-bottom: -5rem
    }

    .text {
        padding: 2rem;
        padding-top: 8rem;
        background-color: var(--ixs-sky-bg);
        margin-left: -2rem;
        margin-right: -2rem;
    }
}


@media screen and (min-width: 640px) {
    .with_floating {
        /* position: relative; */
        display: flex;
        flex-wrap: nowrap;
        gap: 6rem;
        margin-top: 16rem;

        h3 {
            font-size: 2.8rem;
        }

        .slide {
            position: relative;
            width: 45%;
            z-index: 3;
            margin-top: -8rem;
            margin-bottom: inherit;
        }

        .text {
            width: 50%;
            position: relative;
            right: 0;
            z-index: 2;
            padding: 6rem 1rem 10rem;
            font-size: 1.8rem;
            line-height: 1.5;
        }

        .text::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 120vw;
            height: 100%;
            background-color: var(--ixs-sky-bg);
            z-index: -1;
            pointer-events: none;
            transform: translateX(50%);
        }
    }
}

@media screen and (min-width: 769px) {
    .with_floating {
        h3 {
            font-size: 3.6rem;
        }
    }
}

figure {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--inner-width);
}

.slick-slide {
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    aspect-ratio: 1 / 0.667;

    img {
        width: 100%;
        height: 100%;
    }
}

.slick-dots {
    bottom: auto;
}

hr.spacer {
    border: 0;
    box-shadow: none;
    padding: 12rem 0;
}

.horizontal_block {
    display: flex;
    flex-direction: column;

    .photo {
        margin-top: 1rem;
    }

    .text {
        margin-top: 2rem;
        color: var(--ixs-blue);

        h3 {
            margin-top: 1rem;
            font-weight: 700;
            font-size: 2rem;
        }

        p {
            margin-top: 2rem;
        }
    }

    &.bg_grid {
        padding: 2rem;
        background-image: url(../../lp_common/images/bg_line_blue.png);
        background-repeat: repeat;
        background-size: 1280px 526px;

        h3 {
            margin-top: 0;
        }
    }
}

.flex {
    display: flex;
    align-items: start;
    column-gap: 1rem;

    span {
        display: block;
    }
}

.flex_column {
    flex-direction: column;
}


@media screen and (min-width: 640px) {
    .horizontal_block {
        max-width: var(--inner-width);
        margin: 4rem auto;
        flex-wrap: nowrap;
        flex-direction: row-reverse;
        align-items: start;

        .photo {
            margin-top: 0;
            padding: 2rem;
            width: 50%;
            flex-shrink: 0;
        }

        .text {
            padding: 1rem;
            flex-grow: 1;

            h3 {
                font-size: 2rem;
            }
        }
    }
}

@media screen and (min-width: 769px) {
    .horizontal_block {
        .text {
            padding: 2rem;

            h3 {
                font-size: 2.85rem;
            }
        }
    }
}

.with_blue_bg {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background-color: var(--ixs-blue-bg);
    color: var(--ixs-blue);
    font-weight: 600;
}

/* Table */
table.spec {
    max-width: var(--inner-width);
    margin-left: auto;
    margin-right: auto;
    color: var(--ixs-blue);
    font-size: 1.2rem;
    border: 2px solid var(--ixs-gray-border);
    background-color: #fff;

    tr {
        border: 1px solid var(--ixs-gray-border);
    }

    th,
    td {
        padding: 0.5rem 2rem;
        text-align: left;
        line-height: 1.5;
        font-weight: 500;
    }

    th {
        white-space: nowrap;
        background-color: var(--ixs-gray-bg);
    }
}



@media screen and (min-width: 640px) {
    table.spec {
        font-size: 1.8rem;
    }
}

/* Lists */
ul.caution {
    max-width: var(--inner-width);
    margin-left: auto;
    margin-right: auto;
    color: var(--ixs-blue);

    li {
        margin-top: 1rem;
        list-style: none;
        position: relative;
        padding-left: 1.5em;

        &:before {
            content: "※";
            position: absolute;
            left: 0;
            color: var(--ixs-blue);
            font-weight: bold;
        }
    }
}

ul.no_bullet,
ul.square_bullet {
    list-style: none;
    font-feature-settings: "palt";

    li {
        line-height: 1.2;
    }

    li:not(:first-of-type) {
        margin-top: 1.5rem;
    }
}

ul.square_bullet {
    list-style-type: square;
    padding-left: 2rem;

    li {
        line-height: 1.5;
    }
}

ul.disc_bullet {
    list-style-type: disc;
    padding-left: 2rem;

    li {
        margin-top: 0.5rem;
        line-height: 1.5;
    }
}

ol.li_circlenum {
    max-width: var(--inner-width);
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    counter-reset: circle-counter;
    padding-left: 0;

    li {
        display: flex;
        align-items: center;
        column-gap: 1.5rem;
        margin-top: 2rem;
        counter-increment: circle-counter;

        &:before {
            content: counter(circle-counter);
            /* position: absolute;
      left: 0;
      top: 0; */
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.3em;
            height: 1.3em;
            line-height: 1;
            border-radius: 50%;
            border: 2px solid var(--ixs-blue);
            color: #fff;
            font-weight: bold;
            font-size: 0.9em;
        }
    }

    &.white {
        li {
            color: #fff;

            &:before {
                border-color: #fff;
            }
        }
    }
}

@media screen and (min-width: 640px) {
    ol.li_circlenum {
        font-size: 2.6rem;
        margin-left: 7rem;
        font-weight: 600;
    }
}

@media screen and (min-width: 769px) {
    ol.li_circlenum {
        font-size: 3.3rem;
    }
}

.auto_fit {
    width: auto;
    height: auto;
}

/* YouTube */
.youtube-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.bl_about_slide__ph.crop {
    overflow: hidden;
    aspect-ratio: 1.7 / 1;

    video {
        width: 101%;
        max-width: inherit;
        height: auto;
        display: block;
        margin-left: -2px;
    }
}

.youtube-container {
    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    video {
        display: block;
    }
}


.footer_logo {
    width: 76px;
    margin-left: auto;
    margin-right: auto;
}