@charset "UTF-8";

/*---------------------------------
複数地図
---------------------------------*/

#maps {
    display: flex;
}

#maps iframe {
    width: 70%;
}

#maps .info {
    width: 30%;
    height: 480px;
    overflow-y: scroll;
    box-sizing: border-box;
    border: 1px solid #aaa;
    background: var(--i_sub2_color);
    padding: 10px;
}

#maps dl {
    background: #fff;
    padding: 20px 15px;
}

#maps dl dt {
    font-size: 1.7rem;
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--i_main_color);
}

#maps dl dd {
    font-size: 1.4rem;
}

#maps dl+dl {
    margin-top: 10px;
}

@media screen and (max-width: 800px) {
    #maps {
        display: block;
    }

    #maps iframe,
    #maps .info {
        width: 100%;
    }

    #maps .info {
        height: auto;
        overflow: inherit;
        border: none;
    }
}


/*---------------------------------
ポップアップモーダルウィンドウ
---------------------------------*/
.index main:has(#modal+section.active) {
    z-index: 999;
}

#modal+section.active {
    opacity: 1;
    visibility: visible;
}

#modal+section {
    background: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    box-sizing: border-box;
    overflow-y: scroll;
    transition: .3s ease;
    opacity: 0;
    visibility: hidden;
}

#modal+section>.content_wrapper {
    display: inline-block;
    width: 90%;
    background: var(--i_sub2_color);
    padding: 40px 20px;
    max-width: 1000px !important;
    max-height: calc(100vh - 80px);
    min-width: 320px;
    overflow-y: scroll;
}

#modal+section .head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px 5%;
}

#modal+section .head .logo {
    max-width: 212px;
}

#modal+section .head ul {
    display: flex;
    gap: 0 10px;
    margin-bottom: 10px;
}

#modal+section .head li {
    list-style: none;
    font-size: 1.3rem;
    padding: 0 15px;
    background: var(--i_main_color);
    color: #fff;
    border-radius: 99px;
    font-family: "Zen Maru Gothic", serif !important;
    font-weight: 700 !important;
}

#modal+section .telinfo img {
    width: 0.95em;
    vertical-align: middle;
    margin-right: 0.2em;
    font-size: 3.0rem;
}

#modal+section .telinfo p a {
    font-size: 3.4rem;
    font-family: "Zen Maru Gothic", serif !important;
    font-weight: 700 !important;
    color: var(--i_sub_color);
    line-height: 1.2;
}

#modal+section .inner {
    background: #fff;
    margin-top: 50px;
    padding: 20px 20px 30px;
    overflow: visible;
    position: relative;
    z-index: 0;
}

#modal+section .inner h2 {
    display: inline-block;
    color: #fff;
    background: var(--i_main_color);
    padding: 0 30px 3px;
    margin-top: -20px;
    position: relative;
    z-index: 1;
    transform: translateY(-50%);
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    font-family: "Zen Maru Gothic", serif !important;
    font-weight: 700 !important;
}

#modal+section .inner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

#modal+section .inner ul li {
    width: calc(50% - 20px);
    list-style: none;
}

#modal+section .inner ul li:last-of-type {
    width: 100%;
}

#modal+section .inner ul li a {
    display: block;
    color: var(--i_btn_color);
    border: 1px solid var(--i_btn_color);
    transition: .2s ease-in-out;
    text-align: left;
    position: relative;
    padding: 10px 25px 10px 60px;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-family: "Zen Maru Gothic", serif !important;
    font-weight: 500 !important;
}

#modal+section .inner ul li a::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--i_btn_color);
    border-right: 1px solid var(--i_btn_color);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 3px);
    right: 15px;
    pointer-events: none;
    z-index: 0;
    transition: .2s ease-in-out;
}

#modal+section .inner ul li a::after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: var(--i_btn_color);
    mask-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20data-name%3D%22%E7%B9%9D%EF%BD%AC%E7%B9%A7%EF%BD%A4%E7%B9%9D%EF%BD%A4%E7%B9%9D%EF%BD%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20%235f6368%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M9.03%2C14.23c.22%2C0%2C.41-.08.56-.23s.23-.34.23-.56-.08-.41-.23-.56c-.15-.15-.34-.23-.56-.23s-.41.08-.56.23c-.15.15-.23.34-.23.56s.08.41.23.56c.15.15.34.23.56.23ZM8.51%2C10.92h.97c.03-.43.11-.79.24-1.06.14-.27.42-.62.85-1.04.45-.45.78-.85%2C1-1.2.22-.35.33-.76.33-1.23%2C0-.79-.28-1.42-.83-1.88-.55-.47-1.21-.7-1.97-.7s-1.33.2-1.83.59c-.5.39-.87.84-1.1%2C1.35l.92.38c.16-.36.39-.69.69-.97.3-.28.73-.42%2C1.29-.42.65%2C0%2C1.12.18%2C1.42.53.3.36.45.75.45%2C1.17%2C0%2C.35-.09.66-.28.93-.19.27-.43.55-.73.82-.58.53-.96.99-1.14%2C1.36-.18.37-.27.83-.27%2C1.36ZM9%2C18c-1.24%2C0-2.41-.24-3.51-.71-1.1-.47-2.05-1.11-2.86-1.92-.81-.81-1.45-1.76-1.92-2.86-.47-1.09-.71-2.26-.71-3.51s.24-2.41.71-3.51c.47-1.1%2C1.11-2.05%2C1.92-2.86.81-.81%2C1.76-1.45%2C2.86-1.92%2C1.09-.47%2C2.26-.71%2C3.51-.71s2.41.24%2C3.51.71c1.1.47%2C2.05%2C1.11%2C2.86%2C1.92.81.81%2C1.45%2C1.76%2C1.92%2C2.86.47%2C1.09.71%2C2.26.71%2C3.51s-.24%2C2.41-.71%2C3.51c-.47%2C1.1-1.11%2C2.05-1.92%2C2.86s-1.76%2C1.45-2.86%2C1.92c-1.09.47-2.26.71-3.51.71ZM9%2C17c2.23%2C0%2C4.13-.78%2C5.68-2.33s2.33-3.44%2C2.33-5.68-.78-4.13-2.33-5.68-3.44-2.33-5.68-2.33-4.13.78-5.68%2C2.33-2.33%2C3.44-2.33%2C5.68.78%2C4.13%2C2.33%2C5.68%2C3.44%2C2.33%2C5.68%2C2.33Z%22%2F%3E%3C%2Fsvg%3E');
    mask-repeat: no-repeat;
    mask-position: center;
    position: absolute;
    top: calc(50% - 15px);
    left: 15px;
    pointer-events: none;
    z-index: 0;
    transition: .2s ease-in-out;
}

#modal+section .inner ul li a:hover {
    background: var(--i_btn_color);
    color: #fff;
}

#modal+section .inner ul li a:hover::before {
    border-color: #fff;
}

#modal+section .inner ul li a:hover::after {
    background: #fff;
}

#modal+section .close a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--i_txt_color);
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
}

#modal+section.block_html .inner ul li {
    padding-left: 0;
}

@media screen and (max-width: 800px) {
    #modal+section .head {
        display: block;
    }

    #modal+section .head .logo {
        width: 100%;
        margin: 0 auto 15px;
    }

    #modal+section .telinfo p a {
        font-size: 3.0rem;
    }

    #modal+section .inner {
        margin-top: 40px;
    }

    #modal+section .inner h2 {
        font-size: 1.8rem;
        transform: translateY(-100%);
        margin-top: 0;
    }

    #modal+section .head ul {
        justify-content: center;
    }

    #modal+section .inner ul li {
        width: 100%;
    }

    #modal+section .inner ul li a::after {
        width: 25px;
        height: 25px;
        left: 10px;
        top: calc(50% - 12.5px);
    }

    #modal+section .inner ul li a::before {
        right: 10px;
    }

    #modal+section .inner ul li a {
        padding: 10px 20px 10px 45px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 380px) {
    #modal+section .inner h2 {
        font-size: 1.6rem;
    }

    #modal+section .close a {
        width: 44px;
        height: 44px;
    }
}

@media screen and (min-width: 481px) {
    #modal+section a[href^="tel:"] {
        pointer-events: none;
    }
}

/*------------------Googleマップ調整------------------*/
#company+div .map {
    display: block;
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  #cont5+div .bn a {
    font-size: 1.8rem;
  } 
}