:root {
    --primary-color: #ececec;
    --bg-color: #ffffff;
    --bg-color2: #c5c5c5;
    --text-color1: #333333;
    --text-color2: #141414;

    --font-en: "Montserrat";
    --font-jp: "Noto Sans JP";
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-jp)
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 48px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 70px;
}

h5 {
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 0;
}

section{
    padding-bottom: 300px;
    width: 90%;
    margin: 0 auto;
    max-width: 1100px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: var(--bg-color);
    border-bottom: 1px solid #eee; 
    z-index: 10; 
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

.logo{
    text-align: center;
    z-index: 20;
}

.logo img{
    width: 200px;
}

nav {
    display: block;
    position: fixed;
    top: -100%;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.open nav {
    top: 0;
    opacity: 1;
    padding-top: 116px;
    pointer-events: auto; 
}

nav .inner ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid var(--text-color2);
    text-align: center;
}

nav .inner ul li a {
    display: block;
    color: var(--text-color2);
    font-size: 18px;
    padding: 20px;
    text-decoration: none;
    transition-duration: 0.2s;
    font-family: var(--font-en);
}

nav .inner ul li a:hover {
    background: #e4e4e4;
}

.toggle_btn {
    display: block;
    position: fixed;
    top: 25px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
}

.toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--text-color2);
    border-radius: 4px;
    transition: all .5s;
}

.toggle_btn span:nth-child(1) {
    top: 4px;
}

.toggle_btn span:nth-child(2) {
    top: 14px;
}

.toggle_btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}

#mask {
    display: none;
    transition: all .5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
}


@media screen and (min-width: 768px) {
    .toggle_btn {
        display: none;
    }

    nav {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        width: auto;
        height: auto;
        background: none;
        padding-top: 0;
        transition: none;
    }

    nav .inner ul {
        border-bottom: none;
        position: relative;
        display: flex;
        gap: 0;
        align-items: center;
    }

    nav .inner ul li {
        border-bottom: none;
        position: relative;
        display: flex;
        align-items: center;
    }

    nav .inner ul li a {
        padding: 10px 40px;
        font-size: 16px;
    }


    #navArea {
        display: flex;
    }

    .header-inner {
        display: flex;
        margin: 0 auto;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    nav .inner ul li::after {
        content: "|";
        color: var(--text-color2);
        font-size: 14px;
    }

    nav .inner ul li:last-child::after {
        display: none;
    }
}

.fv {
    width: 100%;
    height: 100vh;
    background-image: url('images/image01.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#concept {
    text-align: center;
    padding-bottom: 230px;
    padding-top: 140px;
}

.vertical-line {
    width: 1px;
    height: 26px;
    background-color: var(--text-color2);
    margin: 0 auto;
}

.osi {
    font-size: 32px;
}

.mini {
    line-height: 1.6;
}

#concept p {
    font-size: 24px;
    line-height: 2;
    letter-spacing: 0.25em;
}

.search-wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.search-tag-container {
    display: inline-flex;
    align-items: center;
    gap: 17px;
}

.search-text {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: var(--text-color1);
}

.arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 1px solid var(--text-color2);
    border-right: 1px solid var(--text-color2);
    transform: rotate(45deg);
}

.tag-list {
    display: flex;
    justify-content: center; 
    list-style: none;
    padding: 0;
    gap: 0;
}

.tag-list li {
    font-size: 16px;
    color: var(--text-color2);
    padding: 0 clamp(0px, 5vw, 74px);
    position: relative;
    cursor: pointer;
}

.tag-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    height: 110%;
    width: 1px;
    background-color: var(--text-color2);
}

.tag-list li:hover span {
    border-bottom: 2px solid var(--text-color2);
}

.tag-list li.is-active span {
    border-bottom: 2px solid var(--text-color2);
}

.shopall {
    display: flex;
    flex-wrap: wrap;
    gap: 158px 40px;
    padding-top: 110px;
    justify-content: flex-start;
}

.shop-card-container {
    width: 30%;
    box-sizing: border-box;
}

.shop-card-container.hide {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.card-image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.card-tags {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    transition: opacity 0.3s;
}

.hover-mask span {
    color: var(--bg-color);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-family: var(--font-en);
    padding-bottom: 4px;
}

.card-image-wrapper:hover .hover-mask {
    opacity: 1;
}

.card-image-wrapper:hover img {
    transform: scale(1.1);
}

.card-tags span {
    background-color: var(--primary-color);
    color: var(--text-color1);
    font-size: 12px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.card-shop-name {
    font-size: 24px;
    font-weight: 400;
    font-family: var(--font-jp);
    margin: 0;
}

.card-description {
    font-size: 16px;
    color: var(--text-color2);
    padding-top: 12px;
    margin: 0;
}

#openModal {
    background: none;
    border: none;
    padding: 0;
    display: block;
    width: 100%;
    overflow: hidden;
}

#openModal img {
    width: 100%;
    height: auto;
    display: block;
}

.modalArea {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalContents{
    width: 80%;
    margin: 0 auto 0;
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 60%;
  max-width: 750px;
  padding: 10px 30px;
  background-color: #fff;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.modalWrapper {
    border-radius: 10px;
    text-align: center;
}

.modal-image-box {
    position: relative;
    margin-bottom: 15px;
}

.modal-image-box img {
    width: 100%;
    height: auto;
    background-color: #ddd;
}

.image-caption {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.8);
    padding: 5px 10px;
    font-size: 12px;
    transform: rotate(-5deg);
}

.modal-tags {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.modal-tags span {
    background: #eee;
    font-size: 10px;
    padding: 2px 8px;
}

.shop-title {
    font-size: 24px;
    margin: 10px 0 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.shop-details {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    font-size: 14px;
    margin-bottom: 30px;
}

.detail-item {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 10px;
    box-sizing: border-box;
}

.detail-item span:first-child {
    width: 8em;
    display: inline-block;
    color: var(--text-color1);
}

.detail-item span:last-child {
    flex: 1;
    text-align: left;
}

@media screen and (max-width: 600px) {
    .detail-item {
        width: 100%;
    }
}

.map-btn {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.map-btn p{
    margin: 0;
}

.map-btn p:hover {
    border-bottom: 1px solid var(--text-color2);
}


.mapcontent{
    display: flex;
    gap: 6%;
    justify-content: space-between;
}

.mapimage {
    width: calc(50% - 3%); 
}

.mapimage img {
    width: 100%;
    height: auto;
    display: block;
}

.shopname{
    border-top: 2px solid var(--text-color2);
    border-bottom: 2px solid var(--text-color2);
    display: flex;
    align-items: center;
    width: calc(50% - 3%);
}

.shop-grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px 0;
    width: auto;
}

.shop-grid li {
  width: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
}

#gallery{
    width: 100%;
    max-width: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-medium {
    grid-column: span 2;
    grid-row: span 2;
}

#about {
    padding-top: 100px;
    padding-bottom: 100px;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-image {
    width: 300px;
    height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.criteria {
    margin-top: 40px;
}

.criteria-title {
    font-size: 14px;
    margin-bottom: 20px;
}

.criteria ul {
    list-style: none;
    padding: 0;
}

.criteria ul li {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.criteria ul li span {
    font-family: var(--font-en);
    margin-right: 20px;
    font-weight: bold;
}

.coming-soon {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.cs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.cs-label {
    font-family: var(--font-en);
    font-size: 24px;
    letter-spacing: 0.05em;
}

.cs-date {
    color: #888;
    font-size: 12px;
}

.cs-shop {
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .about-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-image {
        width: 200px;
        height: 200px;
    }

    .cs-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

footer {
    background-color: var(--bg-color2);
    padding: 40px 0;
    width: 100%;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.footer-logo img {
    width: 100px; 
    height: auto;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color2);
    font-family: var(--font-en);
    font-size: 24px;
    margin-bottom: 49px;
    transition: 0.3s;
    margin-top: 29px;
}

.back-to-top:hover {
    opacity: 0.6;
}

.up-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--text-color2);
    border-right: 1px solid var(--text-color2);
    transform: rotate(-45deg);
    margin-left: 38px;
}

.copyright {
    font-size: 12px;
    color: var(--text-color2);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .shop-card-container {
        width: 100%;
    }

    .card-tags {
        margin-top: 25px;
    }

    .shopall {
        gap: 68px 0;
        padding-top: 50px;
    }

    .detail-item {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }
    .footer-center {
        position: static;
        transform: none;
    }

    .back-to-top {
        margin-bottom: 5px;
        margin-top: 10px;
    }

    footer {
        padding-bottom: 20px;
        padding-top: 10px;
        width: 100%;
    }

    .footer-logo img {
        width: 120px; 
        height: auto;
    }
}

@media screen and (max-width: 1070px) {
    .shop-grid li{
        font-size: 12px;
    }
}

@media screen and (max-width: 830px) {
    section{
        padding-bottom: 160px;
        width: 90%;
        margin: 0 auto;
        max-width: 1100px;
    }

    .mapcontent {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .mapimage{
        width: 100%;
    }

    .mapimage img{
        width: 100%;
    }

    .shopname{
        align-items: center;
        padding: 75px 0;
        width: 100%;
    }

    .shop-grid {
        gap: 11px 0;
    }

    #gallery{
        width: 90%;
        max-width: none;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 36px;
        text-align: center;
        font-weight: 400;
        margin-bottom: 39px;
    }

    #gallery{
        width: 90%;
        max-width: none;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #concept p {
        font-size: 12px;
        line-height: 2.5;
        letter-spacing: 0.25em;
    }
    .osi {
        font-size: 16px;
    }
    #concept {
        padding-bottom: 150px;
        padding-top: 115px;
    }
    .tag-list li {
        font-size: 14px;
        padding: 0 clamp(0px, 3vw, 12px);
    }

    .search-wrapper {
        margin-bottom: 28px;
    }
}

@media screen and (max-width: 768px) {
    #about {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    .about-flex {
        flex-direction: column;
        gap: 40px;
        text-align: left;
        align-items: start;
    }

    .about-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .ab {
        font-size: 24px;
        line-height: 1.4;
    }

    .criteria ul li {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .coming-soon {
        padding: 30px 0;
    }

    .cs-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cs-label {
        font-size: 20px;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .cs-shop-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .cs-shop {
        font-size: 16px;
    }

    .cs-desc {
        font-size: 13px;
        color: var(--text-color2);
    }
}