@charset "utf-8";

/*--京home.css--*/
/* ##########PC########## */
.contents {
    padding-bottom: 0;
}

/*mainvisual*/
.mainvisual {
    box-sizing: border-box;
    background-color: #f8f5ee;
    background-image: url('../shared/home/bg_home_catch.png');
    background-position: center bottom;
    background-size: auto 13.75rem;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    height: 600px;
    padding-top: 7.5rem;
}

.mainvisual img {
    max-width: 100%;
    height: auto;
}

.mainvisual>.box_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.mainvisual>.box_inner h1 {
    width: 39.375rem;
    margin-bottom: 3rem;
    position: relative;
}

.mainvisual>.box_inner h1::before {
    content: "";
    display: block;
    width: 13.125rem;
    height: 7.1875rem;
    background-image: url('../shared/home/fig_home_catch_illust1.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -5.5rem;
    left: 7.5rem;
}

.mainvisual>.box_inner .lbl2 {
    width: 33.125rem;
    margin-bottom: 2rem;
}

.mainvisual>.box_inner .lbl3 {
    width: 27rem;
    margin-bottom: 3rem;
}

.mainvisual>.box_inner .lbl4 {
    width: 20.625rem;
}

.mainvisual>.box_footer {
    position: relative;
    z-index: 4;
}

.mainvisual>.box_footer .btn_goto_apply {
    width: 16.5rem;
    height: 16.5rem;
    position: absolute;
    top: -6rem;
    right: calc(50% - 35rem);
}

.mainvisual>.box_footer .btn_goto_apply a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: .4s all ease;
}

.mainvisual>.box_footer .btn_goto_apply a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.mainvisual>.box_footer .btn_goto_apply a .fig {
    position: relative;
    display: block;
}

.mainvisual>.box_footer .btn_goto_apply a .text {
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    bottom: 1rem;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    font-size: 1rem;
    line-height: 1.4;
    padding-bottom: 1.7em;
}

.mainvisual>.box_footer .btn_goto_apply a .text_b {
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    bottom: 1.4rem;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    font-size: 1rem;
    line-height: 1.4;
    padding-bottom: 1.7em;
}

/* .mainvisual>.box_footer .btn_goto_apply a .text .lbl1 {
    font-size: 0.8em;
    margin-bottom: 0.3em;
    background: #2b405a;
    color: #fff;
    padding: 0.1em 0.5em 0.15em;
} */

.mainvisual>.box_footer .btn_goto_apply a .text .lbl2 {
    text-align: center;
    font-size: 1.1em;
    width: 100%;
}

.mainvisual>.box_footer .btn_goto_apply a .text .lbl2 .line {
    font-size: 0.8em;
    margin-bottom: 0.3em;
    background: #2b405a;
    color: #fff;
    padding: 0.1em 0.5em 0.15em;
}

.mainvisual>.box_footer .btn_goto_apply a .text_b .lbl2 {
    text-align: center;
    font-size: 1.1em;
    width: 100%;
}

/* 20250707追加分 */
.mainvisual>.box_footer .btn_goto_apply a .text .lbl4 {
    text-align: center;
    font-size: 1.3em;
    color: #8b0000;
    width: 100%;
}




.mainvisual .fig_home_catch1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url('../shared/home/bg_home_catch1.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.mainvisual .fig_home_catch2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-image: url('../shared/home/bg_home_catch2.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

/*overview_box*/
.overview_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../shared/home/bg_overview.jpg');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
    padding: 5rem 0 2.75rem 0;
    margin: 1.5rem 0;
}

.overview_box img {
    max-width: 100%;
    height: auto;
}

.overview_box>.box_header {
    margin-bottom: 4rem;
}

.overview_box>.box_header .lbl_overview {
    width: 47.5rem;
}

.overview_box>.box_inner {}

.overview_box>.box_inner ul {
    display: flex;
}

.overview_box>.box_inner ul li {
    margin-right: 3vw;
}

.overview_box>.box_inner ul li:last-child {
    margin-right: 0;
}

.overview_box>.box_inner ul li a {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2b3f58;
    width: 17.5rem;
    height: 3.875rem;
    border-radius: 1.9375rem;
    color: #2b3f58;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
    overflow: hidden;
    transition: .4s all ease;
}

.overview_box>.box_inner ul li a:hover {
    background: #2b3f58;
    color: #fff;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.overview_box>.box_inner ul li a::after {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../shared/icon_arrow.png');
    width: 0.75rem;
    height: 0.875rem;
    top: calc(50% - 0.4375rem);
    right: 1.5rem;
    transition: .4s all ease;
}

.overview_box>.box_inner ul li a:hover::after {
    filter: brightness(0) invert(1);
}

.overview_box>.box_inner ul li a.file_pdf::after {
    content: none;
}

.overview_box>.box_inner ul li a .lbl {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.overview_box>.box_inner ul li a.file_pdf .lbl::after {
    content: "";
    display: inline-block;
    background-image: url('../shared/icon_pdf.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.875rem;
    height: 1.125rem;
    position: absolute;
    top: 0;
    right: -2.75rem;
}

/*common_box*/
.common_box {}

.common_box>.box_header {}

.common_box>.box_header h2 {
    display: flex;
    flex-direction: column;
}

.common_box>.box_header h2 .lbl_en {
    text-transform: uppercase;
    color: #2b405a;
    font-family: "Montserrat", system-ui;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.common_box>.box_header h2 .lbl_ja img {
    max-width: 100%;
    height: auto;
}

/*outline_box*/
.outline_box_wrapper {
    box-sizing: border-box;
    background-image: url('../shared/home/bg_outline.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-bottom: 1.25rem;
    padding: 3rem 0 0 0;
    height: 740px;
    overflow: hidden;
}

.outline_box {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.outline_box img {
    max-width: 100%;
    height: auto;
}

.outline_box>.box_header {
    position: absolute;
    top: 3.5rem;
    left: calc(50% - 35rem);
    z-index: 1;
    width: 26rem;
}

.outline_box>.box_header h2 {
    margin-bottom: 2rem;
}

.outline_box>.box_header h2 .lbl_ja {
    width: 25.625rem;
}

.outline_box>.box_header p {
    line-height: 2;
    font-size: 1.2em;
    color: #2b405a;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.outline_box>.box_header p.notes {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0;
}

.outline_box>.box_header .more {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.outline_box>.box_header .more a,
.news_box>.box_footer a {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2b3f58;
    width: 17.5rem;
    height: 3.75rem;
    border-radius: 1.875rem;
    color: #2b3f58;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96em;
    transition: .4s all ease;
}

.outline_box>.box_header .more a:hover,
.news_box>.box_footer a:hover {
    background: #2b3f58;
    color: #fff;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.outline_box>.box_header .more a::after,
.news_box>.box_footer a::after {
    content: "";
    display: inline-block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../shared/icon_arrow.png);
    width: 0.75rem;
    height: 0.875rem;
    top: calc(50% - 0.4375rem);
    right: 1.5rem;
    transition: .4s all ease;
}

.outline_box>.box_header .more a:hover::after,
.news_box>.box_footer a:hover::after {
    filter: brightness(0) invert(1);
}

.outline_box>.box_inner {
    z-index: 0;
}

.outline_box>.box_inner .fig_kumamoto_wrapper {
    position: relative;
}

.outline_box>.box_inner .fig_kumamoto {
    width: 51.25rem;
    position: relative;
    left: 0;
    z-index: 0;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul {
    position: relative;
    width: 100%;
    height: 100%;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li {
    width: 19.375rem;
    position: absolute;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li.fig_outline_aso {
    top: -2%;
    right: 5%;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li.fig_outline_kumamoto {
    top: 32.5%;
    right: 15%;
}

.outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li.fig_outline_seaside {
    top: 41.5%;
    left: 12.5%;
}

/*news_box*/
.news_box_wrapper {
    background-color: #f8f5ee;
    background-image:
        url('../shared/home/fig_news_illust2.png'),
        url('../shared/home/fig_news_illust1.png');
    background-size:
        33.125rem auto,
        13.125rem auto;
    background-position:
        left bottom,
        right calc(50% - 29rem) top 2rem;
    background-repeat:
        no-repeat,
        no-repeat;
    margin-bottom: 1rem;
    padding: 4rem 0;
}

.news_box {}

.news_box>.box_header {
    margin-bottom: 3.5rem;
}

.news_box>.box_header h2 {
    align-items: center;
}

.news_box>.box_header h2 .lbl_ja {
    width: 17.1875rem;
}

.news_box>.box_inner {
    max-width: 1080px;
    margin: 0 auto 1rem;
}

.news_box>.box_footer {
    display: flex;
    justify-content: center;
}

/*contents_nav_box*/
.contents_nav_box {
    background-image: url('../shared/home/bg_contents_nav.jpg');
    background-size: 90rem auto;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.contents_nav_box>.box_inner {}

.contents_nav_box>.box_inner ul {
    display: flex;
    justify-content: center;
}

.contents_nav_box>.box_inner ul li {
    width: 18.75rem;
    margin: 0 5vw 0 0;
}

.contents_nav_box>.box_inner ul li:last-child {
    margin-right: 0;
}

.contents_nav_box>.box_inner ul li a {
    display: block;
    text-decoration: none;
    color: #2b405a;
}

.contents_nav_box>.box_inner ul li a dl {}

.contents_nav_box>.box_inner ul li a dl dt {
    margin-bottom: 1rem;
    transform-origin: center bottom;
    transition: .4s all ease;
}

.contents_nav_box>.box_inner ul li a:hover dl dt {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.contents_nav_box>.box_inner ul li a dl dt img {
    max-width: 100%;
    height: auto;
}

.contents_nav_box>.box_inner ul li a dl dd {
    line-height: 1.6;
    font-size: 0.94em;
    font-weight: 500;
}

/*links_box*/
.links_box {
    background: #ebf6fa;
    position: relative;
}

.links_box::before {
    content: "";
    display: block;
    height: 3.125rem;
    width: 100%;
    position: absolute;
    top: -3.125rem;
    left: 0;
    background-image: url('../shared/home/line_blue.png');
    background-size: auto 100%;
    background-position: center center;
}

.links_box>.box_header {
    padding: 2rem 0;
}

.links_box>.box_header ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
    line-height: 1.4;
    font-size: 0.94em;
}

.links_box>.box_header ul li {
    margin: 0 3.5em 1em 0;
}

.links_box>.box_header ul li a {
    display: inline-block;
    color: #2b405a;
    text-decoration: none;
    position: relative;
    padding-right: 1.2em;
}

.links_box>.box_header ul li a:hover {
    text-decoration: underline;
}

.links_box>.box_header ul li a::after {
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    background-image: url('../shared/icon_ext_link.png');
    background-size: contain;
    position: absolute;
    right: 0;
    top: 0.3em;
}

.links_box>.box_inner {}

/*instagram_box*/
.instagram_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.instagram_box>.box_header {}

.instagram_box>.box_header h2 {
    width: 12.5rem;
}

.instagram_box>.box_header h2 a {
    display: block;
    transition: .3s all ease;
}

.instagram_box>.box_header h2 a:hover {
    filter: brightness(1.2);
}

.instagram_box>.box_header h2 img {
    max-width: 100%;
    height: auto;
}

.instagram_box>.box_inner {
    width: 960px;
}

.feed-powered-by-es.feed-powered-by-es-feed-img.es-widget-branding {
    opacity: 0;
}




@media screen and (min-width:1px) and (max-width:1400px) {}

@media screen and (min-width:1px) and (max-width:1200px) {}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px) {
    .mainvisual {
        height: 45vw;
        padding-top: 5rem;
    }

    .mainvisual>.box_inner h1 {
        width: 30rem;
        margin-bottom: 2rem;
    }

    .mainvisual>.box_inner h1::before {
        width: calc(30rem / 1260 * 420);
        height: auto;
        aspect-ratio: 42/23;
        top: -4rem;
        left: 6rem;
    }

    .mainvisual>.box_inner .lbl2 {
        width: calc(30rem / 1260 * 1060);
        margin-bottom: 1.5rem;
    }

    .mainvisual>.box_inner .lbl3 {
        width: calc(30rem / 1260 * 864);
        margin-bottom: 2.5rem;
    }

    .mainvisual>.box_inner .lbl4 {
        width: calc(30rem / 1260 * 660);
    }

    .mainvisual .fig_home_catch1 {
        background-position: left -6vw center;
    }

    .mainvisual .fig_home_catch2 {
        background-position: right -6vw center;
    }

    .mainvisual>.box_footer .btn_goto_apply {
        width: 14rem;
        height: 14rem;
        right: 2.5rem;
    }

    .mainvisual>.box_footer .btn_goto_apply a .text {
        font-size: 0.84rem;
    }


    .overview_box {
        margin: 1rem 0;
        padding: 3.5rem 0 2.5rem 0;
    }

    .overview_box>.box_header {
        margin-bottom: 2.5rem;
    }

    .overview_box>.box_inner {
        box-sizing: border-box;
        width: 100%;
        padding: 0 7vw;
    }

    .overview_box>.box_inner ul li {
        width: calc((100% - 4vw) / 3);
        margin-right: 2vw;
    }

    .overview_box>.box_inner ul li a {
        width: auto;
    }

    .outline_box_wrapper {
        height: 65vw;
        margin-bottom: 1rem;
    }

    .outline_box>.box_header {
        left: 7vw;
    }

    .outline_box>.box_inner .fig_kumamoto {
        width: 60vw;
    }

    .outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li {
        width: 15rem;
    }

    .news_box_wrapper {
        background-size: 25rem auto, calc(25rem / 1060 * 420) auto;
        background-position: left bottom, right 2rem top 2rem;
    }

    .news_box>.box_header {
        margin-bottom: 2.5rem;
    }

    .news_box>.box_inner {
        max-width: auto;
        max-width: initial;
        padding: 0 7vw;
    }

    .contents_nav_box {
        box-sizing: border-box;
        width: 100%;
        padding-top: 3rem;
        padding-right: 7vw;
        padding-left: 7vw;
    }

    .contents_nav_box>.box_inner ul li {
        width: calc((100% - 8vw) / 3);
        margin-right: 4vw;
    }

    .links_box>.box_header {
        padding: 1.5rem 7vw;
    }

    .links_box>.box_header ul li {
        margin-right: 2em;
    }

    /*instagram_box*/
    .instagram_box {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }

    .instagram_box>.box_inner {
        width: 80vw;
    }

    .feed-powered-by-es.feed-powered-by-es-feed-img.es-widget-branding {
        opacity: 0;
    }

    .mainvisual>.box_footer .btn_goto_apply a .text_b {
        font-size: 0.84rem;
    }

}

/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    .mainvisual {
        height: 50vw;
        padding-top: 3rem;
        background-size: 200% auto;
    }

    .mainvisual>.box_inner h1 {
        width: 16rem;
        margin-bottom: 1rem;
    }

    .mainvisual>.box_inner h1::before {
        width: calc(16rem / 1260* 420);
        top: -2.2rem;
        left: 3rem;
    }

    .mainvisual>.box_inner .lbl2 {
        width: calc(16rem / 1260* 1060);
        margin-bottom: 0.5rem;
    }

    .mainvisual>.box_inner .lbl3 {
        width: calc(16rem / 1260* 864);
        margin-bottom: 1rem;
    }

    .mainvisual>.box_inner .lbl4 {
        width: calc(16rem / 1260* 660);
    }

    .mainvisual>.box_footer .btn_goto_apply {
        width: 7.5rem;
        height: 7.5rem;
        right: 0.5rem;
        top: -5rem;
    }

    .mainvisual>.box_footer .btn_goto_apply a .text {
        font-size: 0.45rem;
    }

    .mainvisual .fig_home_catch1 {
        background-position: left -12vw center;
    }

    .mainvisual .fig_home_catch2 {
        background-position: right -12vw center;
    }

    .overview_box {
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
        background-size: 200% auto;
    }

    .overview_box>.box_header .lbl_overview {
        width: 90vw;
    }

    .overview_box>.box_inner {
        padding: 0 5vw;
    }

    .overview_box>.box_inner ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .overview_box>.box_inner ul li {
        width: calc((100% - 0.75rem) / 2);
        margin: 0 0.75rem 0.75rem 0;
    }

    .overview_box>.box_inner ul li:nth-child(2n) {
        margin-right: 0;
    }

    .overview_box>.box_inner ul li a {
        height: 3.5rem;
        border-radius: 1.75rem;
    }

    .common_box>.box_header h2 .lbl_en {
        font-size: 0.9em;
    }

    .outline_box_wrapper {
        height: auto;
        padding: 3rem 5vw 2rem;
        background-size: 200% auto;
        background-color: #ebf6fc;
        background-position: center top;
    }

    .outline_box {
        flex-direction: column;
    }

    .outline_box>.box_header {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin-bottom: 1.5rem;
    }

    .outline_box>.box_header h2 .lbl_ja {
        width: 19rem;
    }

    .outline_box>.box_header p {
        font-size: 1.05em;
        line-height: 1.6;
    }

    .outline_box>.box_header p.notes {
        font-size: 0.9em;
    }

    .outline_box>.box_header .more {
        margin-top: 1.5rem;
    }

    .outline_box>.box_header .more a,
    .news_box>.box_footer a {
        height: 3.5rem;
        border-radius: 1.75rem;
        width: 60vw;
    }

    .outline_box>.box_inner .fig_kumamoto {
        width: auto;
    }

    .outline_box>.box_inner .fig_kumamoto_wrapper .area_list ul li {
        width: 10rem;
    }

    .news_box_wrapper {
        padding: 2.5rem 0 6rem;
    }

    .news_box>.box_header {
        margin-bottom: 1.5rem;
    }

    .news_box>.box_header h2 .lbl_ja {
        width: calc(19rem / 820 * 550);
    }

    .news_box>.box_inner {
        padding: 0 5vw;
    }

    .contents_nav_box {
        padding: 1.5rem 5vw 3rem 5vw;
    }

    .contents_nav_box>.box_inner ul {}

    .contents_nav_box>.box_inner ul li {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .contents_nav_box>.box_inner ul li:last-child {
        margin-bottom: 0;
    }

    .contents_nav_box>.box_inner ul li a dl {
        display: flex;
        align-items: center;
    }

    .contents_nav_box>.box_inner ul li a dl dt {
        margin-bottom: 0;
        width: 30vw;
    }

    .contents_nav_box>.box_inner ul li a dl dd {
        flex: 1;
        padding-left: 1em;
        font-size: 0.9em;
    }

    .links_box>.box_header {
        padding-top: 0.5rem;
    }

    .links_box>.box_header ul li {
        margin: 0 2em 0.7em 0;
        font-size: 0.82em;
    }

    .links_box>.box_header ul li a::after {
        width: 0.65rem;
        height: 0.65rem;
    }

    .instagram_box>.box_header h2 {
        width: 10rem;
    }

    .instagram_box>.box_inner {
        width: 90vw;
    }

    /* 20250707追加分 */
    .mainvisual>.box_footer .btn_goto_apply a .text {
        bottom: 0.5rem;
    }

    .mainvisual>.box_footer .btn_goto_apply a .text_b {
        font-size: 0.45rem;
        bottom: 0.8rem;
    }

}


/* ##########印刷用########## */
@media print {}