@charset "UTF-8";

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    max-width: 100%; /* 固定幅の代わりに利用 */
    zoom: 1; /* 標準のズーム倍率に戻す */
    max-width: 100vw;
}

body{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    max-width: 100%;
}
.right_side{
    max-width: 300px;
    width: 100%;
    margin-top: 1em;
}


.middle{
    position: relative;
    max-width: 600px;
    margin-top: 1em;
    width: 100%;
}

.final-img {
    width: 75px;
    height: 16px;
    object-fit: contain; 
    display: block;
}

.final-score {
    font-weight: bold;
    color: #333;
    margin-top: 2px;
    margin-left: 5px;
    padding-top: 2px;
    font-size: 1.0em;
}
.event-count {
    font-weight: bold;
    vertical-align: sub;
    margin-top: 2px;
    padding-top: 2px;
    font-size: 0.8em;
    color: rgb(100, 100, 100); /* 灰色 */
}
.final-rating {
    display: flex;
    align-items: center;
    gap: 2px; /* アイコンとスコアの間隔を調整 */
}


@media screen and (max-width: 900px) {

    .right_side{
        display: none;
    }
    main{
        display: flex;
        justify-content: center;
        gap: 0;
    }

  }


  /* ここまで */


main{
    display: flex;
    justify-content: center;
    gap: 1em;
}


.carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 40px;
}

.carousel-inner-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y;
    width: 100%; /* または必要なら width: calc(100% * 枚数); */

}

.carousel-item {
  flex: 0 0 100%;
}

.carousel-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
}

.carousel-indicators .active {
  background-color: #333;
} 

@media screen and (min-width: 900px) {
    .carousel-indicators button {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: #ccc;
      border: none;
      cursor: pointer;
      padding: 0;
    }
}



  /* ここまで */


#article{
    border-left: 1px solid rgb(224, 224, 224);
    border-right: 1px solid rgb(224, 224, 224);
    border-bottom: 1px solid rgb(224, 224, 224);
    font-size: 18px;
    padding-bottom: 1em;
}

.article{
    list-style: none;
    padding: 0.5em 0;
    margin: 0 .5em;
    display: flex;
    gap: 1em;
    border-bottom: 1px solid rgb(224, 224, 224);
}

h2{
    background-color: #F90001;
    color: white;
    padding: .3em 1em;
    /* margin-top: 2em; */
}

.container {
    position: relative;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    aspect-ratio: 7 / 6; /* アスペクト比を固定 */
  }
  
  .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* オーバーレイ自体にはポインタ取材を適用しない */
  }
  
  .link-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto; /* リンクにだけポインタ取材を適用 */
    overflow: hidden;
    transition: filter 0.3s ease; /* Smooth darkening effect */
    transform-origin: top left; 
  }
  
  .child {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain aspect ratio */
  }

  
  /* モーダルのスタイル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 背景を暗く */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none; /* 初期状態でクリック不可 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    text-align: center;
}

.modal-content ul {
    list-style: none;
    padding: .5em;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.region1-item {
    background-color: #62a6d5; /* ピンク系 */
}

.region2-item {
    background-color: #5abc89; /* ラベンダー系 */
}

.region3-item {
    background-color: #f7bc00; /* ミントグリーン系 */
}

.region4-item {
    background-color: #fa7c04; /* ライトイエロー系 */
}

.region5-item {
    background-color: #d22f20; /* ライトグレー系 */
}

.region6-item {
    background-color: #b562b4; /* ライトブルー系 */
}

.region7-item {
    background-color: #6b3e99; /* モカ系 */
}

.modal-content ul li {
    padding: 1em 0;
    width: 47.5%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1em;
    color: white;
    font-weight: bold;
}

.hidden {
    pointer-events: none;
    opacity: 0;
}

.visible {
    pointer-events: auto;
    opacity: 1;
}


@media screen and (max-width: 600px) {
    h2{
        background-color: #F90001;
        color: white;
        font-size: 1em;
        padding: .3em 1em;
    }
    .final-score {
        font-weight: bold;
        color: #333;
        margin-top: 0px;
        font-size: .9em;
    }
    .event-count {
        font-weight: bold;
        vertical-align: sub;
        margin-top: 0px;
        font-size: 0.7em;
        color: rgb(100, 100, 100); /* 灰色 */
    }
}


/* ここまで */


/* 親タブ部分 */
.parent-tabs {
    width: 100%;
    margin-top: 2em;
}

.parent-tabs input[type="radio"] {
    display: none;
}

/* ラベル部分だけ横並び */
/* タブ全体（ラベル部分） */
.parent-tab-labels {
    display: flex;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 4px -3px rgba(0,0,0,0.18);
    position: relative;
    z-index: 1;
}

/* 各タブラベル */
.parent-tab-labels > label {
    width: 50%;
    text-align: center;
    padding: 0.8em 1em 0.6em;
    background-color: #fff;
    color: #535353;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

/* 中央の縦線（ラベル1とラベル2の間） */
.parent-tab-labels > label:first-child::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 40%;
    background-color: #ccc;
}

/* 選択されたタブの文字色変更 */
.parent-tabs:has(#tab-parent1:checked) label[for="tab-parent1"],
.parent-tabs:has(#tab-parent2:checked) label[for="tab-parent2"] {
    color: #b63131;
}

/* 下線アニメーション（文字の真下） */
.parent-tab-labels > label::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 15%;
    height: 3px;
    width: 0;
    background-color: #b63131;
    transition: width 0.4s ease;
}

/* 対応inputがcheckedのとき下線を伸ばす */
.parent-tabs:has(#tab-parent1:checked) label[for="tab-parent1"]::before,
.parent-tabs:has(#tab-parent2:checked) label[for="tab-parent2"]::before {
    width: 70%;
}
/* 子タブ共通 */
.child-tabs {
    display: none;
    margin: 1em 0;
    width: 100%;
}

.child-tabs input[type="radio"] {
    display: none;
}

/* 親タブが選択されたときに対応する子タブセットを表示 */
#tab-parent1:checked ~ .group1,
#tab-parent2:checked ~ .group2 {
    display: block;
}

/* 子タブラベル部分 */
.child-tab-labels {
    display: flex;
    width: 100%;
}

.child-tab-labels input[type="radio"] {
    display: none;
}

.child-tab-labels label {
    display: inline-block;
    background-color: #e9f0f6;
    color: #535353;
    padding: .5em 1em;
    border-radius: 5px;
    font-size: .9em;
    cursor: pointer;
    width: 25%;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

/* チェックされたタブのスタイル */
.child-tabs input[type="radio"]:checked + label {
    background-color: #fff;
    border-color: #F90001 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #333333;
}

/* ラジオボタンは非表示に */
.child-tab-labels input[type="radio"] {
    display: none;
}

@media screen and (max-width: 600px) {
    .parent-tab-labels > label {
        width: 50%;
        display: block;
        text-align: center;
        padding: .7em 1em .7em;
        color: #535353;
        font-size: .9em;
        font-weight: bolder;
        cursor: pointer;
        box-sizing: border-box;
    }
  }


.tab-1 {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    margin-top: 1em;
}

.tab-1 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #535353;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-1 > label:hover {
    opacity: .8;
}

.tab-1 input {
    display: none;
}

.tab-1 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-1 label:has(:checked) {
    background-color: #fff;
    border-color: #d02525 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #333333;
}

.tab-1 label:has(:checked) + div {
    display: block;
}


/* ここまで */
.first_title{
    background-color: #F90001;
    color: white;
    padding: .3em 1em;
    margin-bottom: .5em;
}

.second_title{
    background-color: #004ff9;
    color: white;
    padding: .3em 1em;
    margin-top: 3em;
    margin-bottom: .5em;
}
.right_side li{
    width: 100%;
    list-style: none;
    margin-bottom: 1em;
    border: 1px solid #4b4b4b;
}
.event_list{
    width: 100%;
    height: 100px;
    position: relative;
}
.event_list h3{
    width: 100%;
    font-size: .9em;
    background-image: url(../img/22435299.jpg);
    background-size: cover;
    height: 60px;
    color: white;
    padding: 20px 0 0 120px;
}

.event_list a{
    padding-left: 120px;
    display: block;
    height: 40px;
    background-color: white;
    text-decoration: none;
    font-weight: bold;
    color: #535353;
}

.event_list a img{
    height: 25px;
    padding-left: 20px;
    padding-top: 12px;
    width: auto;
}

.left_pic{
    top: 5px;
    left: 5px;
    position: absolute;
    width: 90px;
    height: 90px;
}

.left_pic img{
    width: 100%;
    height: 100%;
}

/* ここまで */



.event-date {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
}
.event-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 1em;
    border-bottom: 1px dotted #222;
}
.event-item img {
    width: 75px;
    height: 75px;
    margin-right: 40px;
}
.shop-name {
    text-decoration: none;
    color: #313131;
    margin-left: 30px;
    font-size: 1.2em;
    font-weight: bold;
}
/* .shop-name2 {
    text-decoration: none;
    color: #313131;
    margin-left: 30px;
    font-size: 1.0em;
    font-weight: bold;
} */

.event-item a:hover {
    text-decoration: underline;
}
.model_name{
    font-size: .8em;
    max-width: 100%;
    font-weight: bold;
}

/* 全ての地域共通のスタイル */
.region {
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2em;
}

.final-img {
    all: unset;
    width: 100px!important;
    height: 21px!important;
    object-fit: contain; 
    display: block;
    margin-right: 0px!important;
}

@media screen and (max-width: 450px) {
    .tab-1 > label {
        flex: 1 1;
        order: -1;
        min-width: 70px;
        padding: .7em 1em .5em;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        background-color: #e9f0f6;
        color: #535353;
        font-size: .7em;
        text-align: center;
        cursor: pointer;
    }
    .event-item img {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    .shop-name {
        text-decoration: none;
        color: #313131;
        margin-left: 10px;
        font-size: 1em;
        font-weight: bold;
    }
    /* .shop-name2 {
        text-decoration: none;
        color: #313131;
        margin-left: 30px;
        font-size: .6em;
        display: block; 
        margin-top: 10px; 
        margin-left: 0;
        font-weight: bold;
    } */
    .region {
        font-weight: bold;
        text-decoration: none;
        font-size: 1em;
    }
  }


.right_side_responsive ul{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.right_side_responsive li{
    width: 100%;
    max-width: 290px;
    list-style: none;
    border: 1px solid #4b4b4b;
}

.right_side_responsive{
    display: none;
}

@media screen and (max-width: 900px) {
    
    .right_side_responsive{
        display: block;
    }
  }

@media screen and (max-width: 600px) {
    
    .right_side_responsive ul{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .right_side_responsive li{
        width: 100%;
        max-width: 100%;
    }
    .model_name {
        font-size: 0.6em;
        font-weight: bold;
    }    
  }

/* ここまで */

/* 曜日部分だけの色分け */
.event-date span.sunday {
    color: rgb(189, 14, 14);
}

.event-date span.monday {
    color: rgb(0, 0, 0);
}

.event-date span.tuesday {
    color: rgb(0, 0, 0);
}

.event-date span.wednesday {
    color: rgb(0, 0, 0);
}

.event-date span.thursday {
    color: rgb(0, 0, 0);
}

.event-date span.friday {
    color: rgb(0, 0, 0);
}

.event-date span.saturday {
    color: rgb(18, 18, 187);
}




/* バナーのスタイル */
.banner {
    visibility: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    max-width: 600px;
    pointer-events: none;
  }
  
  .banner a {
    display: block;
    position: relative;
  }
  
  .banner img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* 左上の×ボタン */
  .close-btn {
    position: absolute;
    top: -35px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: #acacac;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
  }
  
  .close-btn::before {
    content: "×";
    font-size: 25px;
    color: #333;
  }
  
  /* バナー非表示 */
  .hidden {
    display: none;
  }


  @media screen and (min-width: 900px) {
    
      .banner {
        position: fixed;
        bottom: 0;
        width: 50%;
        z-index: 1000;
        max-width: none;
      }
  }


  .poster{
    width: 100px !important;
    height: 140px !important;
    margin-right: 30px !important;
  }
  .event-article{
    padding: .5em;
    border: 2px solid rgb(221, 221, 221);
    background-color: #fff9f7;
    width: 100%;
  }
  .event-article-link{
    text-decoration: none;
  }
  .event-article-link:hover{
    text-decoration: none !important;
  }
  .article-title{
    color: #004ff9;
  }
  .article-content{
    font-size: .9em;
    color: #333333;
  }
  .to_shop_details{
    width: 100%;
  }
  @media screen and (max-width: 600px) {
    .poster{
        width: 85px !important;
        height: 120px !important;
        margin-right: 10px !important;
      }
      .past_date{
        font-size: .85em;
      }
      .event-article-link{
        font-size: .9em;
      }

}

#search{
    margin-top: 2em;
    margin-bottom: 2em;
}
#shopSearch{
    padding: .5em 1.5em;
    border-radius: 5px;
    border: 1.5px solid rgb(95, 95, 95);
    margin: 1.5em .5em;
    width: 260px;
}
#suggestions {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    background-color: #fff;
    width: 100%;
    z-index: 1000;
}
    #suggestions div {
      padding: 5px;
      cursor: pointer;
    }
    #suggestions div:hover {
      background: #eee;
    }
    .remind{
        text-align: center;
        font-size: 12px;
        margin-bottom: 30px;
    }
      @media screen and (max-width: 600px) {
        .remind{
        text-align: center;
        font-size: 13px;
    }
}
.pr{
    font-size: .8em;
}