main {
    overflow: hidden;
}
@media screen and (min-width: 1366px) {/* 1366px以上～デスクトップUI */
    :root {
        --top-h1-left: -9px;
        --top-section2-padding-horizontal: 50px;
        --top-section2-left: 50%;
        --top-section2-title-fontsize: 30px;
        --top-section2-title-lineheight: 44px;
        --top-section2-caption-fontsize: 18px;
        --top-section2-caption-lineheight: 26px;
        --top-section3-h3-fontsize: 26px;
        --top-section3-h3-lineheight: 36px;
        --top-section3-h3-margin-top: 30px;
        --top-section3-h3-margin-bottom: 18px;
        --top-section3-h4-fontsize: 20px;
        --top-section3-h4-lineheight: 29px;
        --top-section3-caption-fontsize: 16px;
        --top-section3-caption-lineheight: 24px;
        --top-section3-category-width: 98px;
        --top-section3-category-height: 40px;
        --top-section3-category-fontsize: 14px;
        --top-section4-wrap: nowrap;
        --separator-height: 400px;
        --separator-margin-top: 180px;
        --separator-corner-width: 100px;
        --top-links-gap: 5px 40px;
        --top-link-icon-right-size: 50px;
        --top-link-icon-right-margin-left: 20px;
        --top-news-title-fontsize: 18px;
        --top-news-link-row-wrap: nowrap;
        --top-news-row-label-grow: 1;
        --top-news-row-label-width: auto;
        --top-news-row-icon-size: 40px;
    }
}
@media screen and (max-width: 1366px) {/* 767px～1366pxでタブレットUI */
    :root {
        --top-h1-left: -4px;
        --top-section2-padding-horizontal: 25px;
        --top-section2-left: 50%;
        --top-section2-title-fontsize: calc(2vw + 2.63px);
        --top-section2-title-lineheight: calc(3.01vw + 2.95px);
        --top-section2-caption-fontsize: calc(0.67vw + 8.88px);
        --top-section2-caption-lineheight: calc(1vw + 12.3px);
        --top-section3-h3-fontsize: 25px;
        --top-section3-h3-lineheight: calc(1vw + 22.3px);
        --top-section3-h3-margin-top: calc(1.67vw + 17.2px);
        --top-section3-h3-margin-bottom: calc(1.34vw - 0.24px);
        --top-section3-h4-fontsize: calc(0.67vw + 10.9px);
        --top-section3-h4-lineheight: calc(0.83vw + 17.6px);
        --top-section3-caption-fontsize: calc(0.33vw + 11.4px);
        --top-section3-caption-lineheight: calc(0.67vw + 14.9px);
        --top-section3-category-width: calc(1.67vw + 75.2px);
        --top-section3-category-height: calc(0.67vw + 30.9px);
        --top-section3-category-fontsize: 13px;
        --top-section4-wrap: nowrap;
        --separator-height: calc(33.4vw - 56.1px);
        --separator-margin-top: calc(15vw - 25.2px);
        --separator-corner-width: calc(8.35vw - 14px);
        --top-links-gap: 5px calc(1.67vw + 17.2px);
        --top-link-icon-right-size: calc(1.67vw + 27.2px);
        --top-link-icon-right-margin-left: calc(1.67vw - 2.8px);
        --top-news-title-fontsize: 17px;
        --top-news-link-row-wrap: nowrap;
        --top-news-row-label-grow: 1;
        --top-news-row-label-width: auto;
        --top-news-row-icon-size: calc(1.67vw + 17.2px);
    }
}
@media screen and (max-width: 767px) {/* 767px以下でスマホUI */
    :root {
        --top-h1-left: 0;
        --top-section2-padding-horizontal: 0;
        --top-section2-left: 0;
        --top-section2-title-fontsize: 18px;
        --top-section2-title-lineheight: 26px;
        --top-section2-caption-fontsize: 14px;
        --top-section2-caption-lineheight: 20px;
        --top-section3-h3-fontsize: 24px;
        --top-section3-h3-lineheight: 30px;
        --top-section3-h3-margin-top: 20px;
        --top-section3-h3-margin-bottom: 10px;
        --top-section3-h4-fontsize: 16px;
        --top-section3-h4-lineheight: 24px;
        --top-section3-caption-fontsize: 14px;
        --top-section3-caption-lineheight: 20px;
        --top-section3-category-width: 88px;
        --top-section3-category-height: 36px;
        --top-section3-category-fontsize: 12px;
        --top-section4-wrap: wrap;
        --separator-height: 200px;
        --separator-margin-top: 90px;
        --separator-corner-width: 50px;
        --top-links-gap: 5px 30px;
        --top-link-icon-right-size: 40px;
        --top-link-icon-right-margin-left: 10px;
        --top-news-title-fontsize: 16px;
        --top-news-link-row-wrap: wrap;
        --top-news-row-label-grow: 0;
        --top-news-row-label-width: 100%;
        --top-news-row-icon-size: 30px;
    }
    .sp-hidden {
        display: none;
    }
}


main .contents #section1 h1 {
    padding-top:107px;
    margin-left: var(--top-h1-left);
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: #818181;
    mix-blend-mode: difference;
}
main .contents #section1 .title2 {
    font-size: 35px;
    color: #040000;
    /* mix-blend-mode: difference; */
    line-height: 51px;
    font-weight: bold;
    opacity: 0.7;
}
main .contents #section1 .title3 {
    margin-top: 50px;
    font-size: 40px;
    line-height: 55px;
}
main .contents #section1 .title3 .bg-gray {
    display: inline-block;
    padding: 8px 30px 7px 30px;
    background-color: black;
    color: white;
    opacity: 0.7;
    margin-right: 2px;
    height: 70px;
}
@media screen and (max-width: 767px) {/* スマホUI */
    main .contents #section1 h1 {
        padding-top: 123px;
        font-size: 48px;
        line-height: 48px;
    }
    main .contents #section1 .title2 {
        width: 144px;
        font-size: 18px;
        line-height: 26px;
        opacity: 0.7;
    }
    main .contents #section1 .sp-br {
        display: block;
    }
    main .contents #section1 .title3 {
        font-size: 21px;
        line-height: 28px;
    }
    main .contents #section1 .title3 .bg-gray {
        padding: 4px 16px;
        height: 38px;
    }
}

main .contents h2 {
    margin: 0;
    text-transform: uppercase;
    color: #808080;
}
main .contents h2 + .caption {
    font-size: var(--h2-caption-size);
    line-height: var(--h2-caption-hight);
    color: var(--main-color-black);
    font-weight: bold;
}
main .contents h2 + .caption::before {
    content: "";
    display: inline-block;
    height: 0;
    width: 15px;
    border-top: solid 1px black;
    margin-bottom: 4px;
    margin-right: 5px;
}

main .contents #section2 {
    padding: 0 var(--top-section2-padding-horizontal);
    margin-left: var(--top-section2-left);
}

#section2 .title1 {
    font-size: var(--top-section2-title-fontsize);
    line-height: var(--top-section2-title-lineheight);;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
main .contents #section2 .title2 {
    font-size: var(--top-section2-caption-fontsize);
    line-height: var(--top-section2-caption-lineheight);
    margin-bottom: 30px;
}

main .contents .links {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 26px;
    gap: var(--top-links-gap);
    flex-wrap: wrap;
}
main .contents .links a {
    display: block;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    color: var(--main-color-black);
}

@media screen and (max-width: 767px) {/* スマホUI */
    #section2 {
        height: auto;
        background-size: 300px;/*48.6vw;*/
        background-position-x: -100px;
        background-position-y: bottom;
        margin-top: 100px;
    }
}

main .contents #section3 section {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 45px;
    flex-wrap: wrap;
}
main .contents #section3 section > div {
    min-width: 145px;
}
main .contents #section3 .title {
    border-top: solid 3px black;
    flex: 1;
}
main .contents #section3 h3 {
    font-size: var(--top-section3-h3-fontsize);
    line-height: var(--top-section3-h3-lineheight);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: var(--top-section3-h3-margin-top);
    margin-bottom: var(--top-section3-h3-margin-bottom);
}
main .contents #section3 h4 {
    margin: 20px 0 15px 0;
    font-size: var(--top-section3-h4-fontsize);
    line-height: var(--top-section3-h4-lineheight);
    font-weight: bold;
}
main .contents #section3 .business-list {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}
@media screen and (max-width: 767px) {/* スマホUI */
    main .contents #section3 section {
        margin-top: 50px;
    }
    main .contents #section3 .business-list {
        min-width: 200px;
        grid-template-columns: 1fr;
    }
}
main .contents #section3 .business-list > div {
    min-width: 145px;
    width: 100%;
    flex: 1;
    font-size: var(--top-section3-caption-fontsize);
    line-height: var(--top-section3-caption-lineheight);
}
main .contents #section3 .business-list .business-link-button {
    margin-top: 19px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
main .contents #section3 .business-list .business-link-button a {
    position: relative;
    display: inline-block;
    border: solid 1px #E6E6E6;
    background-color: white;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    color: black;
    padding: 10px 21px;
    border-radius: 21px;
    margin-bottom: 10px;
    white-space: nowrap;
}

main .contents #section3 .business-list .business-link-button a:hover {
    color: white;
    border-color: var(--main-color-blue);
    background-color: var(--main-color-blue);
}

main .contents #section3 .thumbnail {
    width: 100%;
}
main .contents a:hover .thumbnail {
    filter:contrast(0.9) brightness(1.2);
}
main .contents #section3 h2 {
    font-weight: 600;
    text-transform: uppercase;
}
main .contents #section3 .title .caption {
    width: var(--top-section3-category-width);
    height: var(--top-section3-category-height);
    display: inline-flex;
    background-color: black;
    color: white;
    opacity: 0.7;
    font-size: var(--top-section3-category-fontsize);
    font-weight: bold;
    justify-content: center;
    align-items: center;
}
main .contents #section3 #section3_3 {
    width: 100%;
    justify-content: right;
}
main .contents #section3 #section3_3 a {
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #040000;
}


main .contents a .link-icon-left {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 3px;
    width: 7px;
    height: 8px;
    background-color: var(--main-color-blue);
    mask-image: url("../img/link_icon.png");
    mask-size: 7px 8px;
    mask-repeat: no-repeat;
    vertical-align: middle;
}
main .contents a .link-icon-left-ext {
    display: inline-block;
    margin-right: 10px;
    width: 11px;
    height: 11px;
    background-color: var(--main-color-blue);
    mask-image: url("../img/link_icon2.png");
    mask-size: 11px 11px;
    mask-repeat: no-repeat;
}
main .contents a:hover .link-icon-left {
    display: inline-block;
    margin-right: 10px;
    width: 7px;
    height: 8px;
    background-color: white;
    mask-image: url("../img/link_icon.png");
    mask-size: 7px 8px;
    mask-repeat: no-repeat;
}
main .contents a:hover .link-icon-left-ext {
    display: inline-block;
    margin-right: 10px;
    width: 11px;
    height: 11px;
    background-color: white;
    mask-image: url("../img/link_icon2.png");
    mask-size: 11px 11px;
    mask-repeat: no-repeat;
}
main .contents .link-icon-right {
    display: inline-block;
    width: var(--top-link-icon-right-size);
    height: var(--top-link-icon-right-size);
    background-color: var(--main-color-blue);
    background-image: url("../img/link_icon.png");
    background-size: 25%;
    background-position: 52% center;
    background-repeat: no-repeat;
    border-radius: calc(var(--top-link-icon-right-size) * 0.5);
    margin-left: var(--top-link-icon-right-margin-left);
}

main .contents .separator {
    margin-top: var(--separator-margin-top);
    position:relative;
    width: 100%;
    height: var(--separator-height);
    background-image: url("../img/separator1.png");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--separator-corner-width) 100%, 0 55%);
}


main .contents #section4 {
    position: relative;
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    gap: 4px;
    flex-wrap: var(--top-section4-wrap);
}
@media screen and (max-width: 767px) {/* 767px以下でスマホUI */
    main .contents #section4 {
        margin-top: 50px;
    }
}
main .contents #section4_1 {
    width: 256.5px;
}
main .contents #section4_1 h2 {
    margin-top: 0;
}
main .contents #section4_2 {
    width: 950px;
}

main .contents .news-link-table ul {
    list-style: none;
}
main .contents .news-link-table {
    margin: 18px 0;
    position: relative;
    width: 100%;
    display: flex;
    padding: 0;
    flex-direction: column;
    border-bottom: solid 1px #CECECE;
}
main .contents .news-link-table .news-link-row {
    margin: 0;
    position: relative;
    border-top: solid 1px #CECECE;
    width: 100%;
    font-size: 18px;
    padding: 30px 0;
    background: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,0.25));
    display: flex;
    flex-wrap: var(--top-news-link-row-wrap);
    justify-content: flex-start;
    align-items: center;
    gap: 9px 30px;
}
main .contents .news-link-row > li {
    height: auto;
}
main .contents .news-link-table .news-link-row > li:nth-child(3) {
    padding-right: 50px;
    position: relative;
    flex-grow: var(--top-news-row-label-grow);
    width: var(--top-news-row-label-width);
}
main .contents .news-link-table .news-link-row > li:nth-child(3) a {
    display: inline-block;
    width: 100%;
    font-weight: bold;
    color: var(--main-color-black);
    font-size: var(--top-news-title-fontsize);
    white-space: wrap;
    word-break: break-all;
}
main .contents .news-link-table .news-link-row a:any-link:hover {
    color: var(--main-color-blue);
}

main .contents .news-link-table .news-category {
    background-color: #CCCCCC;
    color: white;
    font-size: 14px;
    line-height: 20px;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: bold;
}
main .contents .news-link-table .news-link-row > li:nth-child(4) {
    position: absolute;
    display: block;
    width: var(--top-news-row-icon-size);
    height: var(--top-news-row-icon-size);
    background-color: var(--main-color-blue);
    background-image: url("../img/link_icon.png");
    background-size: 30%;
    background-position: 52% center;
    background-repeat: no-repeat;
    border-radius: 20px;
    right: 0;
    top: calc(50% - 20px);
}
main .contents .news-link-table .news-link-row > li:nth-child(4) a {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
}

main .contents #section4_2 > a,
main .contents #section5_2 > a {
    display: block;
    width: 100%;
    height: 50px;
    font-size: 18px;
    line-height: 26px;
    border: solid 1px #CECECE;
    padding: 12px;
    text-align: center;
    color: #222222;
    background-color: white;
}
main .contents #section4_2 > a:hover,
main .contents #section5_2 > a:hover {
    background-color: var(--main-color-blue);
    border-color: var(--main-color-blue);
    color: white;
}

main .contents #section5 {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    padding-top: 150px;
    padding-bottom: 200px;
}
main .contents #section5_1 {
    width: 372px;
    text-align: right;
}
@media screen and (max-width: 767px) {/* スマホUI */
    main .contents #section5 {
        flex-wrap: wrap;
        flex-direction: row;
    }
    main .contents #section5_1 {
        text-align: left;
    }
}

main .contents #section5_2 {
    width: 788px;
    padding-top: 200px;
}


main::after {
    content: "";
    width: 0;
    height: 0;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 0;
    background-image: none;
    background-size: none;
    background-repeat: no-repeat;
}
