@charset "utf-8";


nav ul li.location::before {
    width: 140%;
}

@media screen and (max-width: 800px) {
    nav ul li.location a {
        background: rgba(120, 80, 56, 0.7);
        color: #fff;
    }
}


html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


.location_intro_box {
    margin-bottom: 0;
}

.location_intro_box .sub_lead {
    line-height: 2.45;
    letter-spacing: 0.1em;
}

.location_map_sec {
    padding: 100px 0 80px;
}

.location_map_area {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 610px;
}

.location_map_img_wrap {
    position: relative;
    width: 84%;
    margin: 0 auto;
}

.location_map_img {
    display: block;
    width: 100%;
    /* opacity: 0.96; */
}

/* エリアの円に重ねる透明リンク */
.location_map_link {
    position: absolute;
    z-index: 2;
    width: 20.65%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s;
}

.location_map_link:hover,
.location_map_link:focus-visible {
    background: rgba(155, 107, 73, 0.18);
}

.link_kuramae { left: 33.90%; top: 46.64%; }
.link_oshiage { left: 72.65%; top: 39.04%; }
.link_ryogoku { left: 48.38%; top: 72.90%; }

.location_map_property {
    position: absolute;
    left: 52%;
    top: 49%;
    width: 43%;
    padding: 16px 10px;
    color: #fff;
    background: #9b6b49;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.location_map_photo {
    position: absolute;
    width: 21%;
    margin: 0;
    z-index: 1;
}

.location_map_photo img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.location_map_photo .com_cap {
    margin-top: 4px;
    text-align: right;
    color: #785038;
}

.area_map_txt{
    width: 65%;
    max-width: 350px;
    margin: 0 auto;
}

.map_photo01 {
    left: 1%;
    top: 5%;
    width: 32%;
}

.map_photo02 {
    right: -11%;
    top: -4%;
    width: 36%;
}

.map_photo03 {
    left: 6%;
    bottom: 14%;
    width: 30%;
}

.map_photo04 {
    right: 7%;
    bottom: 11%;
    width: 34%;
}

.location_map_note {
    text-align: right;
    margin-top: 12px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.location_map_ttl {
    font-size: clamp(34px, 4vw, 60px);
    font-weight: 400;
    letter-spacing: 0.055em;
    margin-top: 28px;
}

.location_area_main {
    width: 100%;
    background: #47392f;
    overflow: hidden;
}

.location_area_main > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.location_area_main::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.13));
}

.location_area_name {
    position: absolute;
    z-index: 1;
    bottom: 3%;
    left: 50%;
    transform: translate(-50%, 0%);
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    letter-spacing: 0.8em;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 1px 6px rgba(0, 0, 0, 0.35), 0 1px 6px rgba(0, 0, 0, 0.35);
}

.location_area_copy {
    margin-bottom: 60px;
}

.location_area_ttl {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.09em;
    margin-bottom: 50px;
}

.location_area_ttl span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.location_area_copy .sub_lead {
    line-height: 2.5;
    letter-spacing: 0.1em;
}

.location_slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.location_slider_track {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 0 0 16px;
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.location_slider_track:active {
    cursor: grabbing;
}

.location_slide img {
    -webkit-user-drag: none;
    pointer-events: none;
}


.location_slider_track::-webkit-scrollbar {
    display: none;
}

.location_slide {
    flex: 0 0 clamp(215px, 22.396vw, 435px);
    min-width: 0;
    scroll-snap-align: start;
}

.location_slide figure {
    margin: 0;
}

.location_slide figcaption {
    padding-top: 10px;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: right;
}

.location_slider_btn {
    position: absolute;
    top: calc((100% - 38px) * 0.43);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: rgba(38, 26, 20, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 0;
    line-height: 0;
    transition: background 0.3s;

    display: none;
}

.location_slider_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    box-sizing: border-box;
}

.location_slider_next::before {
    transform: translate(-50%, -50%) translateX(-2px) rotate(45deg);
}

.location_slider_prev::before {
    transform: translate(-50%, -50%) translateX(1px) rotate(-135deg);
}

.location_slider_btn:hover,
.location_slider_btn:focus-visible {
    background: rgba(38, 26, 20, 0.9);
}

.location_slider_prev {
    left: 12px;
}

.location_slider_next {
    right: 12px;
}

.location_history_intro {
    padding: 90px 0 80px;
}

.location_history_en {
    font-size: 24px;
    letter-spacing: 0.15em;
}

.sec_ttl_line {
    margin-bottom: 30px;
}

.location_history_content {
    background: #785038;
    color: #e2e0da;
}

.location_history_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.location_history_map {
    margin: 0;
}

.location_history_map img {
}

.location_history_visual .com_cap {
    text-align: right;
    margin-top: 5px;
}

.location_history_ukiyoe {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.location_history_ukiyoe img {
    width: 50%;
    aspect-ratio: 200 / 130;
    object-fit: cover;
}

.location_history_ukiyoe .com_cap {
    text-align: left;
    font-size: 10px;
    line-height: 1.7;
    margin: 0;
}

.location_history_lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 35px;
}

.location_history_text > p {
    font-size: 15px;
    line-height: 2.4;
    letter-spacing: 0.1em;
    text-align: justify;
}

.location_life_heading {
    font-size: 25px;
    font-weight: 400;
    color: #785038;
    letter-spacing: 0.12em;
}

.sec_bg02.cont_pd{
    padding-top: 40px;
}

.location_history_box{
    max-width: 600px;
    margin: 0 auto;
}
.location_history_box .location_history_text{
    margin: 40px auto;
}

.location_history_box .com_cap{
    margin-top: 5px;
    text-align: right;
}

@media screen and (max-width: 1000px) {

    .location_map_area {
        min-height: 0;
    }

    .location_area_copy {
        margin-bottom: 60px;
    }

    .location_area_body {
        padding: 60px 0 90px;
    }

    .location_history_grid {
        gap: 35px;
    }

}

@media screen and (max-width: 800px) {
    .location_area_main {
        height: 430px;
    }

    .location_map_sec {
        padding: 80px 0 60px;
    } 

    .location_map_property {
        font-size: 12px;
        padding: 10px 5px;
    }

    .location_history_grid {
        grid-template-columns: 1fr;
        max-width: 630px;
        margin: 0 auto;
    }

    .location_history_visual {
        width: 100%;
        margin: 0 auto;
    }

    .location_history_intro {
        padding: 70px 0 60px;
    }

    .location_area_ttl {
        margin-bottom: 40px;
    }

    .location_area_copy {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 650px) {

    .location_map_sec {
        padding: 60px 0;
    }

    .location_map_area {
        padding-bottom: 0;
    }

    .location_map_img_wrap {
        width: 100%;
    }

    .location_map_photo {
        width: 36%;
    }

    .location_map_property {
        left: 38%;
        top: 51%;
        width: 60%;
        font-size: 9px;
        padding: 6px 3px;
        letter-spacing: 0;
    }

    .map_photo01 {
        top: 2%;
        left: -1%;
    }

    .map_photo02 {
        top: -4%;
        right: 4%;
    }

    .map_photo03 {
        left: 0;
        bottom: 15%;
    }

    .map_photo04 {
        right: 0;
        bottom: 15%;
    }

    .location_map_photo .com_cap,
    .location_map_note {
        font-size: 8px;
    }

    .location_map_ttl {
        font-size: 33px;
        margin-top: 28px;
    }

    .location_area_main {
        height: 320px;
    }

    .location_area_name {
        font-size: 25px;
    }

    .location_area_body {
        padding: 48px 0 60px;
    }

    .location_area_ttl {
        font-size: 26px;
    }

    .location_area_ttl span {
        font-size: 13px;
    }

    

    .location_area_copy .sub_lead {
        line-height: 2;
        text-align: left;
    }

    .location_slider_track {
        gap: 10px;
        padding-bottom: 8px;
    }

    .location_slide {
        flex-basis: 50vw;
        max-width: 330px;
    }

    .location_slide figcaption {
        padding-top: 8px;
        font-size: 11px;
    }

    .location_slider_btn {
        width: 34px;
        height: 34px;
        top: 34%;
    }

    .location_slider_btn::before {
        width: 9px;
        height: 9px;
    }

    .location_slider_next::before {
        transform: translate(-50%, -50%) translateX(-2px) rotate(45deg);
    }

    .location_slider_prev::before {
        transform: translate(-50%, -50%) translateX(2px) rotate(-135deg);
    }


    .location_slider_prev {
        left: 8px;
    }

    .location_slider_next {
        right: 8px;
    }    

    .location_history_en {
        font-size: 19px;
    }

    .location_history_ukiyoe {
        flex-direction: column;
        align-items: flex-start;
    }

    .location_history_ukiyoe img {
        width: 75%;
    }

    .location_history_lead {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .location_history_text > p {
        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.05em;
    }

    .location_life_heading {
        font-size: 18px;
    }
}