@charset "UTF-8";
/* CSS Document */

/*  */

#box_breadcrumbs {
    z-index: 0;
}

/*  */

#main_content {
    background-color: transparent;
    width: 100%;
}

#main_content div.wrap {
    background-color: #fff;
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 80px;
}

#main_content div.wrap::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 80px;
    left: 0;
    background-image: url(/img_common/bg_yuru_wave_patern.svg);
    background-repeat: no-repeat;
    background-position: 0 -198px;
    bottom: -80px;
}

/*  */

#box_kv {
    width: 100%;
    position: relative;
    overflow: hidden;
}

#box_kv div.inner {
    width: 1696px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    left: 50%;
    margin-left: -848px;
}

#kv_main {
    order: 1;
    position: relative;
    width: 960px;
    height: 483px;

}

#kv_main figure img {
    width: 100%;
    height: auto;
}

#kv_main h2 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 400;
    position: absolute;
    top: 30px;
    right: 70px;
    line-height: 1.5;
    text-indent: -5.6em;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.05em;
    z-index: 99;
}

#fig_kv_main {
    width: 960px;
    height: 483px;
    position: absolute;
    z-index: 9;
}

#logo_kv {
    position: absolute;
    width: 300px;
    height: 190px;
    top: -20px;
    left: 142px;
    z-index: 999;
}

#kv_left {
    order: 0;
    width: 384px;
    height: auto;
    position: relative;
    z-index: 9;
}

#kv_right {
    order: 2;
    width: 430px;
    height: auto;
    position: relative;
    z-index: 2;
}

#railway_a,
#railway_b,
#railway_c,
#railway_d {
    position: absolute;
    z-index: 1;
    width: auto;
}

#railway_a {
    top: 130px;
    left: -100px;
}

#railway_b {
    top: -120px;
    left: 320px;
    z-index: 99;
}

#railway_c {
    top: 54px;
    right: -80px;
    /* transform: rotate(0deg); */
}

#railway_d {
    top: 290px;
    right: -100px;
    transform: rotate(-8deg);
}

/*  */

#main_ttl {
    width: 1100px;
    text-align: center;
    overflow: visible;
    margin: 40px auto 0;
}

#main_ttl h3 {
    font-size: 2.2rem;
    color: #B35760;
    text-align: center;
    font-weight: 400;
    position: relative;
    line-height: 1.4;
    display: inline-block;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.05em;
}

#main_ttl h3::before {
    content: '';
    display: block;
    width: 1px;
    height: 4em;
    background-color: #B35760;
    position: absolute;
    left: -2em;
    bottom: -10px;
    transform: rotate(-45deg);
}

#main_ttl h3::after {
    content: '';
    display: block;
    width: 1px;
    height: 4em;
    background-color: #B35760;
    position: absolute;
    right: -2em;
    bottom: -10px;
    transform: rotate(45deg);
}

#main_ttl p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-top: 2.2em;
}

/*  */

#li_btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 2em;
    margin-top: 40px;
}

#li_btns li {}

#li_btns li a {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: #B35760;
    border: #B35760 solid 1px;
    border-radius: 0.4em;
    padding: 1.6em 4.6em 1.6em 6em;
    position: relative;
    transition: 0.3s;
}

#li_btns li:nth-child(2) a {
    padding: 1.6em 1.8em 1.6em 3.8em;
}

#li_btns li a:hover {
    transform: translateY(-5px);
}

#li_btns li a::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background-image: url(/eki-machi/img/arrow.svg);
    background-position: 0 0;
    background-repeat: no-repeat;
    position: absolute;
    left: 4.6em;
    top: 1.6em;
}

#li_btns li:nth-child(2) a::before {
    left: 2.6em;
}

/*  */

#box_town {
    padding-top: 60px;
}

#box_town p.note {
    text-align: center;
}

#box_town div.inner {
    width: 1100px;
    margin: 0 auto;
}

/*  */

div.box_map {
    position: static;
}

#map_iruma h3 {
    font-size: 2.0rem;
    margin-left: 0;
}

@media screen and (min-width: 600px) {

    /*  */

    p.btn_zoom,
    div.box_map.hide div.wrapper::before,
    #box_town p.note,
    div.box_map div.box_ttl::before,
    div.box_map div.box_ttl p,
    .box_sttl {
        display: none;
    }

    div.box_map {
        margin: 0 auto;
    }

    #map_iruma {
        margin-top: 80px;
    }

    div.box_map.hide {
        position: static;
        transform: scale(1);
    }

    div.box_map div.wrapper {
        border-width: 1px;
        box-shadow: none;

    }

    div.box_map.hide div.box_ttl,
    div.box_map div.box_ttl {
        height: auto;
        align-items: center;
        justify-content: center;
    }

    div.box_map div.box_ttl {
        margin-bottom: -2em;
        z-index: 999;
    }

    div.box_map h3 {
        background-color: #fff;
        padding: 1em 4em;
        border-radius: 1.6em;
        text-align: center;

    }

    #map_iruma.hide h3,
    div.box_map h3 {
        font-size: 2.0rem;
        color: #B35760;
        display: inline-block;
        padding-left: 2em;
        padding-right: 2em;
        text-indent: 0;
    }

    #map_iruma.hide h3 br,
    div.box_map h3 span,
    div.box_map h3 br {
        display: none;
    }

    /*  */
}

@media screen and (max-width: 599px) {


    #main_content {
        min-height: inherit;
        padding-bottom: 0;
    }

    #main_content div.wrap {
        padding-bottom: 12vw;
        margin-bottom: 20vw;
    }

    #box_kv {
        width: 100%;
        overflow: hidden;
    }


    #box_kv div.inner {
        /* width: 100vw; */
        width: auto;
        margin-left: 0;
        position: static;
        left: 0;
        overflow: visible;
        padding-top: 6vw;
    }

    #kv_main {
        width: auto;
        height: auto;
        text-align: center;
    }

    #fig_kv_main {

        display: block;
        height: 20vh;
        width: calc(20vh * 1.987577639751553);
        margin: 0 auto;
        position: static;
    }

    #logo_kv {
        width: 24vw;
        height: calc(24vw * 0.6333333333333333);
        top: -4vw;
        left: 8vw;
    }

    #kv_main h2 {
        font-size: 2.5vw;
        /* 8px */
        font-weight: 700;
        top: 8vw;
        right: 9vw;
        line-height: 1.5;
        text-indent: -2.0em;
        top: 1em;
    }

    #kv_right img,
    #kv_left img {
        width: auto;
        height: 100%;
    }

    #kv_left {
        height: 20vh;
        width: calc(20vh* 0.8712121212121212);
    }

    #kv_right {
        height: 20vh;
        width: calc(20vh* 0.9757575757575757);
    }

    /* #kv_right,
    #kv_left, */
    img[id^="railway_"] {
        display: none;
    }

    /*  */

    #main_ttl {
        width: 88vw;
        margin-top: 4vw;
    }

    #main_ttl h3 {
        font-size: 3.75vw;
        /* 12px */
        font-size: 4.0625vw;
        /* 13px */
        font-weight: 600;
    }

    #main_ttl h3::before,
    #main_ttl h3::after {
        bottom: -0.5em;
    }

    #main_ttl p {
        font-size: 3.4375vw;
        /* 11px */
    }

    /*  */

    #li_btns {
        width: 88vw;
        margin: 8vw auto 0;
        align-items: flex-start;
        gap: 0;
        justify-content: space-between;
    }

    #li_btns li a {
        font-size: 3.4375vw;
        /* 11px */
        font-size: 3.75vw;
        /* 12px */
    }

    #li_btns li a,
    #li_btns li:nth-child(2) a {
        padding: 1.2em 1.0em 1.2em 2.2em;
    }

    #li_btns li a::before,
    #li_btns li:nth-child(2) a::before {
        left: 0.8em;
        top: 1.2em;
    }



























    /*  */
}



/*  */