@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');


body{
    background: rgba(221,219,206,0.3)
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}

/* ヒーローセクション */
.main-visual {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.main-visual img {
    width: 100%;
    aspect-ratio: 2.1428;
    object-fit: cover;
    display: block;
}
.main-visual .line{
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    height: 18vw;
    width: 1px;
    background: #121212;
    z-index: 2;
}

.hero-caption {
    position: absolute;
    bottom: 19px;
    right: 8px;
    font-family: 'Shippori Mincho', serif;
    font-size: 10px;
    line-height: 1.1;
    color: #fff;
    text-align: right;
}

.main-visual h1 {
    font-family: 'Garamond Premier Pro', 'EB Garamond', serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.476em;
    color: #000;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}

/* 光のオーバーレイ */
.light-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 738px;
    height: 805px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 1;
}


.intro{
    background :url(../../assets/images/intro_line.svg) center top / auto 55px no-repeat, linear-gradient(-3.18000000000001deg, rgba(255, 255, 255, 1) 0%, rgba(0, 67, 101, 0.18) 100%);
    padding: 100px 0 80px;
}
.intro > h2{
    font-size: 2.1rem;
    text-align: center;
    line-height: 230%;
    letter-spacing: 6px;
    width: 85%;
    margin: 0 auto 50px;
}
.intro .intro-wrap{
    gap: 40px 80px;
    align-items: flex-end;
    margin: 0 0 40px;
}
.intro .intro-image{
    width: 50vw;
}
.intro .intro-text{
    width: calc( 100% - ( 50vw + 80px ));
}
.intro .intro-text h2{
    width: 29.5vw;
    min-width: 275px;
    margin-bottom: 40px;
}
.intro .intro-text p{
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 1px;
    max-width: 29.5vw;
    text-align: left;
}
.intro .intro-map{
}
.intro .intro-map img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

.shopping{
    padding: 0 0 64px;
}
.gourmet-wrap,
.education-wrap,
.park-wrap,
.shopping-wrap{
    gap: 30px 50px;
    width: 90%;
    max-width: 1200px;
    margin: 64px auto 0;
    align-items: stretch;
}
.park-wrap.reverse,
.gourmet-wrap.reverse,
.shopping-wrap.reverse{
    flex-direction: row-reverse;
}
.park-wrap.small > .park-text,
.gourmet-wrap.small .gourmet-text,
.shopping-wrap.small .shopping-text{
    width: 30%;
}
.park-wrap.small,
.gourmet-wrap.small,
.shopping-wrap.small{
    justify-content: left;
}
.park-wrap.reverse.small,
.gourmet-wrap.reverse.small,
.shopping-wrap.reverse.small{
    justify-content: right;
}
.park-wrap .park-text,
.gourmet-wrap .gourmet-text,
.shopping-wrap .shopping-text{
    width: calc( 100% - ( 55% + 50px ) );
}
.park-wrap .park-image,
.gourmet-wrap .gourmet-image,
.shopping-wrap .shopping-image{
    width: 55%;
}
.shopping-image.wako{
    width: 61%;
}
.park-gallery.gallery-1 > .left > img{
    height: calc(100% - 27px);
    object-fit: cover;
}
.shopping-image.wako > img{
    height: calc(100% - 40px);
    object-fit: cover;
}
.shopping-image.market > img{
    height: calc(100% - 48px);
    object-fit: cover;
}
.shopping-image.store > img{
    height: calc(100% - 28px);
    object-fit: cover;
}
.shopping-image.market{
    width: 42%;
}
.shopping-image.store{
    width: 37%;
}
.park-image.image1 {
    width: 44%;
}
.park-image.image2 {
    width: 50%;
}
.notice{
    font-size: 1.2rem;
    line-height: 140%;
    margin: 10px 0 0 !important;
    text-align: left;
}
.notice.right{
    text-align: right;
}
.notice span{
    font-size: 90%;
}
.gourmet-wrap .gourmet-header,
.park-wrap .park-header,
.shopping-wrap .shopping-header{
    padding: 0 0 40px;
}
.gourmet-wrap .shop-detail,
.shopping-wrap .shop-detail{
    border-top: 1px solid #877610;
    padding: 40px 0;
    border-bottom: 1px solid #877610;
}
.gourmet-wrap .gourmet-header h3,
.education-wrap .education-header h3,
.park-wrap .park-header h3,
.shopping-wrap .shopping-header h3{
    font-size: 19.2px;
    line-height: 190%;
    letter-spacing: 5px;
    margin-bottom: 30px;
}
.education-wrap .education-header h3{
    margin-bottom: 0px;
}
.park-wrap .park-header p,
.shopping-wrap .shopping-header p{
    font-size: 12px;
    line-height: 190%;
    text-align: left;
}
.detail-header{
    padding: 0 15px;
}
.hospital-text h4,
.gym-wrap h4,
.detail-header h4{
    text-indent: -1.25em;
    padding-left: 1.25em;
    font-size: 22px;
    line-height: 150%;
    letter-spacing: 2px;
    font-weight: 400;
    margin: 0 0 17.5px;
}
.hospital-text h4 span,
.lesson-wrap h4 span,
.detail-header h4 span{
    width: .7em;
    height: .7em;
    display: inline-block;
    margin-right: .5em;
}
.detail-sub h5{
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 400;
}
.lesson-wrap h4 span,
.gourmet .detail-header h4 span,
.shopping .detail-header h4 span{
    background: #877610;
}
.park .detail-header h4 span{
    background: #87a166;
}
.hospital .detail-header h4 span{
    background: #22ac38;
}
.detail-header p{
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 1px;
    margin: 0 0 17.5px;
    text-align: left;
}
.shop-gallery{
    margin: 80px 0 0;
}
.shop-gallery-wrap{
    gap: 25px 8px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}
.shop-gallery-wrap > *{
    width: calc( ( 100% - 16px ) / 3);
}
.shop-gallery-wrap img{
    width: 100%;
    aspect-ratio: 1.29;
    object-fit: cover;
}
.gym-wrap h4,
.park.detail-header h4{
    font-size: 17px;
}
.park-wrap.main {
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-template-rows: auto auto auto;
}
.park-wrap.main .park-text{
    grid-column: 2 / 3;
    width: 100%;
    grid-row: 1 / 2;
}
.park-wrap.main .park-detail{
    grid-column: 2 / 3;
    width: 100%;
    grid-row: 2 / 3;
}
.park-wrap.main .park-image{
    width: 100%;
    height: 100%;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.park-wrap.main .park-image > img{
    height: calc(100% - 24vw);
    min-height: 525px;
    object-fit: cover;
    object-position: right;
}
.park-wrap.main .park-gallery{
    width: 100%;
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}
.park-wrap .park-detail{
    border-top: 1px solid #87a166;
    padding: 20px 0;
    border-bottom: 1px solid #87a166;
}
.park-wrap .park-detail .detail-sub-image img + figure,
.park-wrap .park-detail .detail-sub-image img + img{
    margin: 20px 0 0;
}
.education-gallery,
.park-wrap .park-sub-image{
    gap: 20px 5px;
    margin-top: 12px;
}
.education-gallery > *,
.park-wrap .park-sub-image > *{
    width: calc( ( 100% - 10px ) / 3);
}
.park-wrap .park-sub-image img{
    width: 100%;
    aspect-ratio: 1.0609;
    object-fit: cover;
}
.education-gallery,
.gym-wrap,
.park-gallery{
    max-width: 1200px;
    width: 90%;
    margin: 40px auto 0;
}
.park-gallery{
    margin: 30px auto 0;
}
.park-gallery.gallery-1{
    gap: 8px;
}
.park-gallery.gallery-1 > .left{
    width: 62%;
}
.park-gallery.gallery-1 > .right{
    width: calc( 100% - ( 62% + 8px ) );
}
.park-gallery.gallery-1 > .right .notice + img{
    margin-top: 3.75%;
}
.park-gallery.gallery-2{
    gap: 15px;
}
.park-gallery.gallery-2 > *{
    width: calc( ( 100% - 45px ) / 4) ;
}
.park-gallery.gallery-2 > * img{
    width: 100%;
    aspect-ratio: 1.2464;
    object-fit: cover;
    object-position: right;
}
.gym-wrap{
    margin: 80px auto;
}
.gym-wrap h4{
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 4px;
    line-height: 1.6;
    text-indent: 0;
    padding-left: 0;
}
.gym-wrap > p{
    font-size: 12px;
    line-height: 160%;
    margin: 0 0 40px;
    text-align: left;
}
.gym-wrap .gym-images{
    gap: 20px 6px;
}
.gym-wrap .gym-images > *{
    width: calc( ( 100% - 12px) / 3 );
}
.gym-wrap .gym-images img{
    width: 100%;
    aspect-ratio: 1.2836;
    object-fit: cover;
}
.education-wrap{
    display: grid;
    grid-template-columns: 1fr 55%;
    grid-template-rows: 42.5% 57.5%;
}
.education-wrap > .education-text{
    width: 100%;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 30px 0 0;
}
.education-wrap > .education-image{
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}
.education-wrap > .education-subimage{
    width: 100%;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.education-gallery img{
    width: 100%;
    aspect-ratio: 1.30856;
    object-fit: cover;
}
.lesson-wrap{
    background: #efece6;
    border: 1px solid #80a39f;
    padding: 40px;
    max-width: 1200px;
    width: 90%;
    margin: 80px auto;
    gap: 40px;
    align-items: center;
}
.lesson-wrap h4{
    font-size: 17px;
    line-height: 160%;
    margin-bottom: 20px;
}
.lesson-wrap h4 span{
    background: #748a89
}
.lesson-wrap .lesson-text p{
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 1px;
    text-align: left;
}
.lesson-wrap .lesson-text{
    width: 200px;
}
.lesson-wrap .lesson-image{
    width: calc( 100% - 240px );
}
.lesson-wrap .lesson-image-wrap{
    gap: 20px 4px; 
}
.lesson-wrap .lesson-image-wrap > *{
    width: calc( ( 100% - 12px ) / 4 );
}

.public{
}
.public-header{
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 80px;
    gap: 30px 96px;
    align-items: center;
}
.public-header h3{
    width: 295px;
    font-size: 19px;
    line-height: 190%;
}
.public-header p{
    width: calc( 100% - 391px );
    font-size: 12px;
    line-height: 170%;
    text-align: left;
}
.public-wrap{
    background: #efece6;
    border: 1px solid #9593b7;
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 80px;
    padding: 50px;
}
.public-wrap > * + *{ 
    margin-top: 30px;
}
.public-gallery h4,
.public-wrap h4{
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.public-gallery h4:before,
.public-wrap h4:before{
    content: "■";
    display: inline-block;
    margin: 0 5px 0 0;
    color: #9593b7;
}
.public-middle{
    align-items: flex-end;
    gap: 20px 33px;
    flex-direction: row-reverse;
}
.public-middle-image{
    width: 60%;
}
.public-middle-text{
    width: calc( 40% - 33px);
    padding: 16px 0 56px;
    border-top: 1px solid #877610;
    border-bottom: 1px solid #877610;
}
.public-middle-text h3{
    margin-bottom: 40px;
    line-height: 1.6;
}
.public-middle-image .flex{
    gap: 15px;
    margin-top: 15px;
}
.public-middle-image .flex > *{
    width: calc( (100% - 15px) / 2);
}
.public-middle-text .wapia{
    width: 40%;
    min-width: 156px;
    margin: 0 0 30px;
}
.public-middle-text h4{
    margin: 0 0 40px;
    line-height: 170%;
    text-indent: -0.85em;
    padding-left: 1.55em;
}
.public-middle-text p{
    margin: 0 0 50px;
    line-height: 160%;
    text-align: left;
}
.public-bottom{
    gap: 20px;
}
.public-bottom > *{
    width: calc( ( 100% - 40px ) / 3 );
}
.public-gallery{
    gap: 33px 50px;
    max-width: 1100px;
    width: 90%;
    margin: 100px auto 80px;
}
.public-gallery > *{
    width: calc( ( 100% - 50px ) / 2 );
}
.shopping-wrap.main,
.hospital-wrap{
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 80px;
    gap: 30px 80px;
    display: grid;
    grid-template-columns: 1fr 60%;
    grid-template-rows: auto auto;
}
.shopping-wrap.main .shopping-text,
.hospital-wrap .hospital-text{
    width: 100%;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.hospital-wrap .hospital-text h3{
    font-size: 19px;
    line-height: 190%;
    letter-spacing: 2px;
    margin-bottom: 40px;
}
.shopping-wrap.main .shop-detail,
.hospital-wrap .detail-header{
    padding: 40px 20px;
    border-top: 1px solid #bea16e;
    border-bottom: 1px solid #bea16e;
    margin-top: 100px;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.hospital-wrap .hospital-text p{
    font-size: 12px;
    line-height: 160%;
    text-align: left;
}
.shopping-wrap.main .shopping-image,
.hospital-wrap .hospital-image{
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}
.hospital-wrap .hospital-image img{
    height: calc( 100% - 20px );
    object-fit: cover;
    object-position: right;
}
.hospital-busstop{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    border: 1px solid #bea16e;
    padding: 30px;
}
.hospital-busstop h4{
    font-size: 21px;
    font-weight: 400;
    line-height:160%;
}
.hospital-busstop h4 span{
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #121212;
    margin-right: 20px;
}
.hospital-busstop .flex{
    gap: 19px;
}
.hospital-busstop .flex > *{
    width: 316px;
}
.hospital-busstop .flex > *:first-child{
    width: calc( 100% - 670px);
}
.hospital-busstop .flex > *:first-child,
.hospital-busstop .flex > *:nth-child(2){
    padding: 30px 0 0;
}
.hospital-busstop .flex p{
    line-height: 160%;
    text-align: left;
}
.hospital-gallery{
    gap: 10px 7px;
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 80px;
}
.hospital-gallery > *{
    width: calc( ( 100% - 14px ) / 3 );
}
.hospital-gallery img{
    aspect-ratio: 1.27917;
    object-fit: cover;
}
.gourmet-wrap .shop-detail .aniv{
    padding: 0 50px;
}
.gourmet-gallery{
    gap: 30px 55px;
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 80px;
}
.gourmet-gallery > *{
    width: calc( ( 100% - 110px ) / 3 );
}
.gourmet-gallery .name{
    font-size: 21px;
    line-height: 160%;
    height: 67px;
    margin: 0 0 10px;
}
.gourmet-gallery > *:nth-child(2) .name,
.gourmet-gallery > *:nth-child(3) .name{
    padding: 33px 0 0;
}
.gourmet-gallery .name:before{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #bea16e;
    margin: 0 10px 0 0;
}
.gourmet-gallery .name:after{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #2ea7e0;
    margin: 0 0 0 10px;
}
.gourmet-gallery .distance{
    font-size: 12px;
    line-height: 140%;
    height: 34px;
    margin: 10px 0;
    text-align: right;
}
.gourmet-gallery .text{
    font-size: 12px;
    line-height: 160%;
}

.location_map{
    background-color: #EBE9E2;
    padding: 20px 0;
    width: 90%;
    max-width: 1200px;
    margin: 64px auto 0;
}
.map-wrap {
    padding: 0 40px;
}

.map-wrap .mapbox {
    width: 70%;
    height: 500px;
}

.map-wrap .map_tab {
    margin: 20px 0;
}
.map-wrap .map_tab .tab_label{
    display: inline-block;
    cursor: pointer;
    color: #877610;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 12px;
}
.map-wrap .map_tab .tab_label:hover{
    background-color: #f5f5f5;
}
.map-wrap .map_tab .tab_label.active{
    background-color: #e8f0fe;
    border-left: 4px solid #4285f4;
}
.map-wrap .flex{
    align-items: flex-end;
    gap: 20px;
}
.map-wrap .flex >  .mapbox {
    width: 65%;
}
.map-wrap .flex >  .panel_area {
    width: calc( 35% - 20px );
    font-size: 12px;
}

.tab_data {
    display: none;
}

.tab_data.active {
    display: block;
}

.databox {
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px;
    display: flex;
    font-size: 11px;
}

.databox:hover {
    background-color: #f5f5f5;
}

.databox.active {
    background-color: #e8f0fe;
    border-left: 4px solid #4285f4;
}
.databox .data_number {
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background: #707e85;
    color: #fff;
    font-size: 10px;
    text-align: center;
}
.databox .data_name {
    padding: 0 5px;
}
.databox .data_line {
    flex: 1;
    position: relative;
}
.databox .data_line:before{
    content: "";
    display: block;
    height: 1px;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    border-top: 1px dotted #121212;
}
.databox .data_about {
    width: 20px;
    padding: 0 0 0 5px;
}
.databox .data_distance {
    width: 51px;
    text-align: right;
}
.databox .data_method{
    width: 30px;
}
.databox .data_time{
    width: 30px;
}

.info-window {
    padding: 10px;
}

.info-window h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.info-window p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* スマホ向けのメディアクエリ */
@media screen and (max-width: 768px) {

    .main-visual h1{
        font-size: 4rem;
        letter-spacing: 1rem;
    }
    .intro .intro-image,
    .intro .intro-text{
        width: 100%;
    }
    .intro .intro-text h2{
        width: 50%;
        max-width: unset;
        margin: 0 auto 40px;
    }
    .intro .intro-text p{
        width: 90%;
        max-width: unset;
        margin: 0 auto;
    }
    .park-wrap.small > .park-text, .gourmet-wrap.small .gourmet-text, .shopping-wrap.small .shopping-text{
        width: 80%;
        margin: 0 auto;
    }
    .park-wrap .park-text, .gourmet-wrap .gourmet-text, .shopping-wrap .shopping-text{
        width: 100%;
    }
    .park-wrap .park-image, .gourmet-wrap .gourmet-image, .shopping-wrap .shopping-image{
        width: 100%;
    }
    .park-gallery.gallery-2 > * {
        width: calc((100% - 15px) / 2);
    }
    .shop-gallery-wrap > * {
        width: calc((100% - 8px) / 2);
    }
    .shop-gallery-wrap{
        align-items: flex-start;
    }
    .gym-wrap .gym-images > * {
        width: calc((100% - 6px) / 2);
    }
    .education-wrap{
        display: block;
    }
    .education-wrap .education-header,
    .education-wrap .education-headerh3{
        padding: 0;
        margin: 0;
    }
    .education-wrap > .education-text,
    .education-wrap > .education-image{
        width: 100%;
    }
    .education-wrap > .education-subimage{
        margin-top: 20px;
    }
    .education-gallery > *, .park-wrap .park-sub-image > *{
        width: calc((100% - 5px) / 2);
    }
    .lesson-wrap{
        padding: 20px;
    }
    .lesson-wrap .lesson-image,
    .lesson-wrap .lesson-text{
        width: 100%;
    }
    .lesson-wrap .lesson-image-wrap > * {
        width: calc((100% - 4px) / 2);
    }
    .public-header h3,
    .public-header p,
    .public-middle-text,
    .public-middle-image{
        width: 100%;
    }
    .public-bottom > * {
        width: 100%;
    }
    .public-header{
        margin: 100px auto 0;
    }
    .public-wrap{
        margin: 30px auto;
        padding: 20px;
    }
    .public-gallery{
        gap: 15px 20px;
    }
    .public-gallery > * {
        width: calc((100% - 20px) / 2);
    }
    .shopping-wrap.main,
    .hospital-wrap,
    .park-wrap.main {
        display: block;
    }
    .shopping-wrap.main .shop-detail,
    .park-wrap.main .park-detail{
        margin-top: 30px;
    }
    .park-wrap.main .park-image > img{
        height: auto;
        min-height: unset;
        object-fit: cover;
        object-position: right;
    }
    .hospital-wrap .hospital-image,
    .hospital-wrap .detail-header{
        margin-top: 30px;
    }
    .hospital-wrap .detail-header,
    .hospital-wrap .hospital-image,
    .hospital-wrap .hospital-text{
        width: 100%;
    }
    .hospital-busstop h4{
        margin: 0 0 20px;
    }
    .hospital-busstop .flex > *{
        width: 100% !important;
        padding: 0 !important;
    }
    .hospital-gallery > * {
        width: calc((100% - 7px) / 2);
    }
    .gourmet-gallery > * {
        width: 100%;
    }
    .gourmet-gallery > *:nth-child(2) .name, .gourmet-gallery > *:nth-child(3) .name {
        padding: 0;
        height: unset;
    }
    .map-wrap .flex > .panel_area,
    .map-wrap .flex > .mapbox {
        width: 100%;
    }
    .map-wrap{
        padding: 0 20px;
    }
}
