@charset "UTF-8";
/* ====================================
   Japan Map Block - CSS
   Author: WEBDESIGNBUILD
==================================== */

/* Body fixed for overlay */
body.japan-map-fixed {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ========== PC ========== */
@media print, screen and (min-width: 769px) {
    .sp { display: none; }

    .section_map {
        padding: 40px 30px 50px;
        background: #F5EDE4;
        border-radius: 16px;
    }

    .section_map_inner {
        position: relative;
        width: 705px;
        margin: 0 auto;
    }

    .section_map .map_block {
        position: absolute;
        z-index: 2;
        top: 17px;
        left: 17px;
    }

    .section_map .map_block_inner {
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        min-width: 324px;
        min-height: 200px;
        padding: 35px 40px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .section_map .map_title {
        text-align: center;
    }

    .section_map .map_title::after {
        content: "";
        display: block;
        width: 100px;
        height: 1px;
        margin: 18px auto 0;
        border-top: 1px solid #4A3F35;
    }

    .section_map .map_title span {
        display: table;
        margin: 0 auto;
        font-weight: 600;
        font-size: 1.6em;
        line-height: 1;
        color: #4A3F35;
    }

    .section_map .map_text {
        margin-top: 22px;
        text-align: center;
        font-size: 1em;
        line-height: 2;
        color: #4A3F35;
    }

    .section_map .jp_map {
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
        z-index: 1;
        max-width: 705px;
        height: 570px;
        margin: 0 auto;
    }

    .section_map .jp_map ul.region_list {
        display: none;
    }

    .section_map .jp_map .overlay {
        display: block !important;
    }

    .section_map .jp_map h3.region_title {
        display: none;
    }

    .section_map .jp_map .close_btn {
        display: none;
    }

    .section_map .jp_map ul.prefecture_list {
        margin: 0;
        padding: 0;
    }

    .section_map .jp_map ul.prefecture_list li {
        display: block;
        position: absolute;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .section_map .jp_map ul.prefecture_list li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-align: center;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 700;
        color: #fff;
        line-height: 1;
        border-radius: 6px;
        transition: all 0.2s;
    }

    /* 北海道 */
    .section_map .jp_map ul.hokkaido li a { background-color: rgba(30, 80, 141, 1.0); }
    .section_map .jp_map ul.hokkaido li a:hover { background-color: rgba(30, 80, 141, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.hokkaido li.hokkaido { top: 8px; left: 567px; width: 130px; height: 132px; }

    /* 東北 */
    .section_map .jp_map ul.tohoku li a { background-color: rgba(28, 125, 142, 1.0); }
    .section_map .jp_map ul.tohoku li a:hover { background-color: rgba(28, 125, 142, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.tohoku li.aomori { top: 159px; left: 567px; width: 96px; height: 40px; }
    .section_map .jp_map ul.tohoku li.iwate { top: 201px; left: 616px; width: 47px; height: 40px; }
    .section_map .jp_map ul.tohoku li.miyagi { top: 243px; left: 616px; width: 47px; height: 40px; }
    .section_map .jp_map ul.tohoku li.akita { top: 201px; left: 567px; width: 47px; height: 40px; }
    .section_map .jp_map ul.tohoku li.yamagata { top: 243px; left: 567px; width: 47px; height: 40px; }
    .section_map .jp_map ul.tohoku li.fukushima { top: 285px; left: 567px; width: 96px; height: 40px; }

    /* 関東 */
    .section_map .jp_map ul.kanto li a { background-color: rgba(90, 188, 137, 1.0); }
    .section_map .jp_map ul.kanto li a:hover { background-color: rgba(90, 188, 137, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.kanto li.ibaraki { top: 369px; left: 616px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kanto li.tochigi { top: 327px; left: 616px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kanto li.gunma { top: 327px; left: 567px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kanto li.saitama { top: 369px; left: 567px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kanto li.chiba { top: 411px; left: 616px; width: 47px; height: 82px; }
    .section_map .jp_map ul.kanto li.tokyo { top: 411px; left: 567px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kanto li.kanagawa { top: 453px; left: 567px; width: 47px; height: 40px; }

    /* 中部 */
    .section_map .jp_map ul.chubu li a { background: rgba(247, 188, 0, 1.0); }
    .section_map .jp_map ul.chubu li a:hover { background-color: rgba(247, 188, 0, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.chubu li.niigata { top: 285px; left: 518px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.toyama { top: 285px; left: 469px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.ishikawa { top: 285px; left: 420px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.fukui { top: 327px; left: 420px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.yamanashi { top: 411px; left: 518px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.nagano { top: 327px; left: 518px; width: 47px; height: 82px; }
    .section_map .jp_map ul.chubu li.gifu { top: 327px; left: 469px; width: 47px; height: 82px; }
    .section_map .jp_map ul.chubu li.shizuoka { top: 453px; left: 518px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chubu li.aichi { top: 411px; left: 469px; width: 47px; height: 40px; }

    /* 近畿 */
    .section_map .jp_map ul.kinki li a { background-color: rgba(250, 124, 4, 1.0); }
    .section_map .jp_map ul.kinki li a:hover { background-color: rgba(250, 124, 4, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.kinki li.mie { top: 411px; left: 420px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.shiga { top: 369px; left: 420px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.kyoto { top: 369px; left: 371px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.osaka { top: 411px; left: 322px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.hyogo { top: 369px; left: 322px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.nara { top: 411px; left: 371px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kinki li.wakayama { top: 453px; left: 322px; width: 96px; height: 40px; }

    /* 中国 */
    .section_map .jp_map ul.chugoku li a { background-color: rgba(210, 47, 32, 1.0); }
    .section_map .jp_map ul.chugoku li a:hover { background-color: rgba(210, 47, 32, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.chugoku li.tottori { top: 369px; left: 273px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chugoku li.shimane { top: 369px; left: 224px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chugoku li.okayama { top: 411px; left: 273px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chugoku li.hiroshima { top: 411px; left: 224px; width: 47px; height: 40px; }
    .section_map .jp_map ul.chugoku li.yamaguchi { top: 369px; left: 175px; width: 47px; height: 82px; }

    /* 四国 */
    .section_map .jp_map ul.shikoku li a { background-color: rgba(181, 97, 179, 1.0); }
    .section_map .jp_map ul.shikoku li a:hover { background-color: rgba(181, 97, 179, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.shikoku li.tokushima { top: 512px; left: 224px; width: 47px; height: 40px; }
    .section_map .jp_map ul.shikoku li.kagawa { top: 470px; left: 224px; width: 47px; height: 40px; }
    .section_map .jp_map ul.shikoku li.ehime { top: 470px; left: 175px; width: 47px; height: 40px; }
    .section_map .jp_map ul.shikoku li.kochi { top: 512px; left: 175px; width: 47px; height: 40px; }

    /* 九州 */
    .section_map .jp_map ul.kyushu li a { background-color: rgba(107, 62, 153, 1.0); }
    .section_map .jp_map ul.kyushu li a:hover { background-color: rgba(107, 62, 153, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.kyushu li.fukuoka { top: 369px; left: 57px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kyushu li.saga { top: 369px; left: 8px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kyushu li.nagasaki { top: 411px; left: 8px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kyushu li.kumamoto { top: 411px; left: 57px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kyushu li.oita { top: 369px; left: 106px; width: 47px; height: 40px; }
    .section_map .jp_map ul.kyushu li.miyazaki { top: 411px; left: 106px; width: 47px; height: 82px; }
    .section_map .jp_map ul.kyushu li.kagoshima { top: 453px; left: 8px; width: 96px; height: 40px; }

    /* 沖縄 */
    .section_map .jp_map ul.okinawa li a { background-color: rgba(107, 62, 153, 1.0); }
    .section_map .jp_map ul.okinawa li a:hover { background-color: rgba(107, 62, 153, 0.7); transform: scale(1.02); }
    .section_map .jp_map ul.okinawa li.okinawa { top: 522px; left: 8px; width: 47px; height: 40px; }
}

/* ========== SP ========== */
@media screen and (max-width: 768px) {
    .pc { display: none; }

    .section_map {
        position: relative;
        padding: 10vw 0 10vw;
        background: #F5EDE4;
        border-radius: 12px;
    }

    .section_map_inner {
        position: relative;
    }

    .section_map .map_block {
        position: absolute;
        z-index: 2;
        top: 30px;
        left: 16px;
    }

    .section_map .map_block_inner {
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        width: 218px;
        height: 175px;
        padding: 25px 10px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .section_map .map_title {
        text-align: center;
    }

    .section_map .map_title::after {
        content: "";
        display: block;
        width: 88px;
        height: 1px;
        margin: 15px auto 0;
        border-top: 1px solid #4A3F35;
    }

    .section_map .map_title span {
        display: table;
        margin: 0 auto;
        font-weight: 600;
        font-size: 1.4rem;
        line-height: 1;
        color: #4A3F35;
    }

    .section_map .map_text {
        margin-top: 10px;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.7;
        color: #4A3F35;
    }

    .section_map .jp_map {
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        width: 100vw;
        height: 84vw;
        background: url("jp_map.png") center center no-repeat;
        background-size: contain;
    }

    .section_map .jp_map ul.region_list {
        margin: 0;
        padding: 0;
    }

    .section_map .jp_map ul.region_list li {
        box-sizing: border-box;
        position: absolute;
        width: 20.4vw;
        height: 16vw;
        padding-top: 4vw;
        text-align: center;
        font-size: 3.8vw;
        font-weight: 700;
        color: #4A3F35;
        line-height: 1;
        background-image: url("speech_bubble_d.png");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
        list-style: none;
    }

    .section_map .jp_map ul.region_list li.region01 { top: -2vw; right: 5.26vw; }
    .section_map .jp_map ul.region_list li.region02 { top: 24.8vw; right: 12.26vw; }
    .section_map .jp_map ul.region_list li.region03 { top: 60vw; right: 12.26vw; padding-top: 7vw; background-image: url("speech_bubble_u.png"); }
    .section_map .jp_map ul.region_list li.region04 { top: 40vw; right: 29.8vw; }
    .section_map .jp_map ul.region_list li.region05 { right: 38vw; bottom: 3.4vw; padding-top: 7vw; background-image: url("speech_bubble_u.png"); }
    .section_map .jp_map ul.region_list li.region06 { top: 43vw; left: 21vw; }
    .section_map .jp_map ul.region_list li.region07 { bottom: -6vw; left: 21.93vw; padding-top: 7vw; background-image: url("speech_bubble_u.png"); }
    .section_map .jp_map ul.region_list li.region08 { top: 57vw; left: 2.26vw; }

    .section_map .jp_map .overlay {
        box-sizing: border-box;
        overflow-y: auto;
        display: none;
        position: fixed;
        z-index: 100;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 30px 16px;
        background: rgba(74, 63, 53, 0.95);
    }

    .section_map .jp_map h3.region_title {
        text-align: center;
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        line-height: 1;
        margin: 0;
    }

    .section_map .jp_map h3.region_title:not(:first-child) {
        margin-top: 30px;
    }

    .section_map .jp_map ul.prefecture_list {
        display: flex;
        flex-wrap: wrap;
        margin: 20px 0 0 0;
        padding: 0;
    }

    .section_map .jp_map ul.prefecture_list li {
        width: calc((100% - 10px) / 2);
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .section_map .jp_map ul.prefecture_list li:nth-child(even) {
        margin-left: 10px;
    }

    .section_map .jp_map ul.prefecture_list li:nth-child(n+3) {
        margin-top: 10px;
    }

    .section_map .jp_map ul.prefecture_list li a {
        box-sizing: border-box;
        display: block;
        padding: 20px;
        text-align: center;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
        color: #4A3F35;
        background: #fff;
        border-radius: 6px;
    }

    .section_map .jp_map .close_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
        cursor: pointer;
    }

    .section_map .jp_map .close_btn span {
        display: block;
        padding: 15px 40px;
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
        line-height: 1;
        border: 2px solid #fff;
        border-radius: 30px;
    }
}
