@charset "UTF-8";
/*------------------------------------------------------------Content*/
/*-----------access*/
#map .content_bg01, #near.content_bg01 {
    text-align: center;
}
.fig_box {
	display: flex;
    flex-direction: column;
    gap: var(--ctr-inpd);
    margin-bottom: var(--ctr-td);
    & .tx {
        & h3 {
            img {
                width: 160px;
                height: auto;
            }
        }
        & .ti_en {
            margin-top: 1.25em;
            font-family: var(--font-serif);
            font-weight: 700;
            font-size: var(--font-ll);
        }
    }
    & .map_wrap {
        text-align: center;
        width: 100%;


        &>iframe{
            height: 299px;
            margin-bottom: 16px;
        }
    }
}
@media print, screen and (min-width:768px) {
.fig_box {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    & .tx {
        display: flex;
        align-items: center;
        padding: var(--ctr-inpd) var(--ctr-pd) var(--ctr-inpd) 0;
        & > div {
            width: 100%;
            & h3 {
                img {
                    width: auto;
                    height: auto;
                }
            }
            & p {
                white-space: nowrap;
            }
        }
    }
    & .map_wrap {
        &>iframe{
            height: calc(100% - 4em);
        }

    }
}
}


/*-----------root*/
.list_root {
    display: flex;
    flex-direction: column;
    gap:  var(--ctr-inpd);
    & > li {
        padding: var(--ctr-inpd);
        background: var(--bg-wood);
        border: solid 3px rgb(70 50 10 / 0.7);
        & h4 {
            margin-bottom: 1em;
            line-height: 1.3;
            font-size: var(--font-l);
            font-family: var(--font-serif);
            font-weight: 700;
        }
        & ol {
            & li {
                & h5 {
                    padding: 0.6em 0;
                    line-height: 1.3;
                    font-size: var(--font-ml);
                    background: var(--white);
                }
                & p {
                    position: relative;
                    margin-left: 1em;
                    padding: 1em;
                    text-align: left;
                    line-height: 1.5;
                    border-left: solid 1px var(--maincolor);
                    &::after {
                        position: absolute;
                        left: -4px;
                        bottom: -4px;
                        display: block;
                        width: 0;
                        height: 0;
                        content: "";
                        border: solid 4px transparent;
                        border-top: solid 8px var(--maincolor);
                    }
                }
            }
        }
    }
    & > li:first-child {
        border: solid 3px rgb(110 0 0 / 1);
        position: relative;
        z-index: 0;    
    }
    & > li:first-child::before {
    position: absolute;
    border: solid 5px rgb(110 0 0 / 0.3);
    content: '';
    display: block;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin:0px;
    z-index: -1;
    }
}
@media print, screen and (min-width:576px) {
.list_root {
    flex-direction: row;
    flex-wrap: wrap;
    & > li {
        width: calc((100% - var(--ctr-inpd)) / 2);
    }
}
}
@media print, screen and (min-width:768px) {
.list_root {
    flex-direction: row;
    flex-wrap: wrap;
    & > li {
        width: calc((100% - (var(--ctr-inpd) * 3)) / 4);
        padding: var(--ctr-inpd) 20px;
}
}
}
@media print, screen and (min-width:1680px) {
.list_root {
    & > li {
        padding: var(--ctr-inpd) 30px;
}
}
}
.list_root h4.another {
    color: rgb(110 0 0 / 1);
}

.ph_list  {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ctr-inpd);
    & li {
        width: calc((100% - var(--ctr-inpd)) / 2 );
        & a {
            display: block;
            aspect-ratio: 8 / 5;
            transition: all 0.5s;
            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        & p {
            margin-top: 0.35em;
            line-height: 1.4;
        }
    }
}
@media print, screen and (min-width:576px) {
.ph_list  {
    & li {
        width: calc((100% - (var(--ctr-inpd) * 2)) / 3 );
    }
}
}
@media print, screen and (min-width:768px) {
.ph_list  {
    & li {
        & a:hover {
            opacity: 0.6;
        }
    }
}
}

