* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #c00000;
    color: #4b4b4b;
}
a {text-decoration-line: none !important;}
body.sub {
    background-image: url('../img/bg_food.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

img {
  max-width: 100%;
  height: auto; /* 高さを自動調整してアスペクト比を維持 */
}
.container {
    max-width: 1200px;
    width: 80vw;
    margin: 0 auto;
    background-color: #c00000;
    min-height: 100vh;
    position: relative;
}
.sub .container {
    background-color: transparent;
}
/* Header Section */
.header {
    background-color: #c00000;
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}
.header2 {
    background-color: #c00000;
    color: white;
    width: 98vw;
  position: relative;
    height: 90px;
    position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.header2 .contt {
  max-width: 80vw;
    margin: 0 auto;
    padding: 0;
}
.header::before {
    content: "";
    position: fixed;
    left: 20px;
    top: 250px;
    transform: translateY(-50%);
    width: 100px;
    height: 500px;
    background-image: url('../img/title_left.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.header::after {
    content: "";
    position: fixed;
    right: 20px;
    top: 300px;
    transform: translateY(-50%);
    width: 100px;
    height: 600px;
    background-image: url('../img/title_right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    font-weight: bold;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.header-text {
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    background-color: rgba(192, 0, 0, 0.9);
    padding: 30px 0;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-image {
    width: 20vw;
    height: auto;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.header-image2 {
    width: auto;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    /* overflow: hidden; */
}
.header-image2 img {
    width: auto;
    height: 80px;
    padding:16px 0 10px;
}


.header-text-content {
    flex: 1;
    text-align: left;
    color: white;
    font-size: 1.2em;
    font-weight: 700;
    font-family: "A-OTF Futo Min A1", "A-OTF Ryumin Pr6N", serif; 
}
@media screen and (min-width: 1200px) {
.header-text-content {
    font-size: 1.5vw;
    font-weight: 700;
}

}
.food-images {
    display: grid;
    gap: 15px;
    margin: 25px 0;
    grid-template-columns: repeat(3, 1fr);
}

.food-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.food-image:last-child {
    border-right: none;
}

/* Search Section */
.search-section {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
}
.sub .search-section {
    background-color: transparent;
}
.search-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: #4b4b4b;
    font-weight: bold;
}
.yane{
    background-image: url("../img/yane.png"); /* 画像のパスを指定 */
    background-size: cover;                /* 要素全体を覆うように表示 */
    background-repeat: no-repeat;          /* 繰り返しなし */
    background-position: center center;    /* 中央に配置 */
    padding: 18px 20px 20px;
}
.sub .yane {
    background-image: url(../img/yane.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px;
    width: 98vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.search-box {
    margin: 25px 0;
}
.kabe {
    background-image: url("../img/kabe.png"); /* 画像のパスを指定 */
    background-size: cover;                /* 要素全体を覆うように表示 */
    background-repeat: no-repeat;          /* 繰り返しなし */
    background-position: center center;    /* 中央に配置 */
    padding: 20px;
}

.keyword-label {
    color: #c00000;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyword-label::before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23c00000"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
	background-image: url("../img/keywordk.png"); /* ← 画像ファイルのパスに変更 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
}

.search-input {
    padding: 15px 25px;
    border: 2px solid #ddd;
    border-radius: 0;
    width: 350px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    color: #000;
}

.search-input:focus {
    border-color: #c00000;
}

.genre-selection {
    padding: 20px;
}
hr {
    border: 1px solid #d3b489;
    margin: 0 2vw;
}
#search .search-section {
	border: 2px solid #d3b489;
    border-radius: 10px;
}
.genre-title {
    color: #c00000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: bold;

}

.genre-title::before {
    content: "";
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23c00000"><path d="M8.1 13.34l2.83-2.83L3.91 3.5c-1.56 1.56-1.56 4.09 0 5.66l4.19 4.18zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.20-1.10-6.12.81-1.59 1.59-2.09 3.74-1.38 5.27L3.7 19.87l1.41 1.41L12 14.41l6.88 6.88 1.41-1.41L13.41 13l1.47-1.47z"/></svg>');
	background-image: url("../img/genre.png"); /* ← 画像ファイルのパスに変更 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 30px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.genre-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
}

.genre-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
.genre-item {
  display: block; /* label全体をクリックできるように */
  position: relative; /* カスタムチェックボックスの配置基準 */
  padding-left: 30px; /* テキストの左にスペースを作る */
  margin-bottom: 10px; /* 各項目の下余白 */
  cursor: pointer; /* マウスオーバー時に指カーソルを表示 */
  font-size: 16px; /* フォントサイズ調整 */
  user-select: none; /* テキスト選択不可 */
  text-align: left;
}

/* 標準のチェックボックスを非表示にする */
.genre-item input[type="checkbox"] {
  position: absolute;
  opacity: 0; /* 透明にして見えなくする */
  cursor: pointer;
  height: 0;
  width: 0;
}

/* カスタムチェックボックスのスタイル */
.genre-item .checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.1em;
    width: 1.1em;
    background-color: #ffffff;
    border: 2px solid #4b4b4b;
    border-radius: 0;
    margin-top: .2em;
}

/* マウスオーバー時の背景色 */
.genre-item:hover input[type="checkbox"] ~ .checkbox-custom {
  background-color: #ccc;
}

/* チェックされた時の背景色とボーダー色 */
.genre-item input[type="checkbox"]:checked ~ .checkbox-custom {
  background-color: #d3b489; /* 例：チェック時の色 */
  border-color: #d3b489;
}

/* チェックマークのスタイル */
.genre-item .checkbox-custom:after {
  content: "";
  position: absolute;
  display: none; /* 初期状態では非表示 */
}

/* チェックされた時にチェックマークを表示 */
.genre-item input[type="checkbox"]:checked ~ .checkbox-custom:after {
  display: block; /* チェックされたら表示 */
}

/* チェックマークの具体的なスタイル（V字型） */
.genre-item .checkbox-custom:after {
  left: 4px; /* 左からの位置 */
  top: -1px; /* 上からの位置 */
  width: 4px; /* チェックマークの幅 */
  height: 10px; /* チェックマークの高さ */
  border: solid white; /* チェックマークの色 */
  border-width: 0 3px 3px 0; /* 下と右にだけボーダー */
  transform: rotate(45deg); /* 斜め45度に回転させてV字を作る */
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.price-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    width: 100px;
    font-size: 14px;
}

.search-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}
#search .search-buttons {
    margin-bottom:1.5rem;
    margin-top: 1.5em;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.btn-search {
    background-color: #4a5568;
    color: white;
}

.btn-search:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
}

.btn-clear {
    background-color: #6b7280;
    color: white;
}

.btn-clear:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

/* News Section */
.news-section {
    background-color: #ffffff;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}
#search .news-section {
    background-color: transparent;
    padding: 0;
    border-top: 0;
    margin: 20px 0;
}

.news-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: #4a5568;
    font-weight: bold;
}

.news-description {
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.news-item {
    padding: 10px 0 10px 5vw;
    margin: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.news-date {
    color: #c00000;
    font-weight: bold;
    font-size: 14px;
    min-width: 100px;
}

.news-content {
    font-size: 14px;
    color: #4b4b4b;
    line-height: 1.6;
    flex: 1;
}

.news-content a {
    color: #4b4b4b;
    text-decoration: underline;
}

.news-content a:hover {
    color: #c00000;
    text-decoration: underline;
}

/* SNS Section */
.sns-section {
    background-color: white;
    padding: 0;
}

.sns-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
    color: #4b4b4b;
    font-weight: bold;
}

.sns-links {
    display: grid;
    justify-content: center;
    gap: 5vw;
    margin-bottom: 50px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 5vw;
}

.sns-item {
    text-align: center;
    max-width: 100%;
}

/* 1つ目の画像（左上） */
.sns-item.grid img:first-of-type {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* 2つ目の画像（右上） */
.sns-item.grid img:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.sns-item.grid {
  display: grid;
  /* 2つの列を定義 */
  grid-template-columns: 1fr 1fr;
  /* 2つの行を定義 */
  grid-template-rows: auto auto;
  /* グリッド内の要素間に隙間を作る */
  gap: 20px;
  text-align: center; /* 全体のテキストを中央寄せ */
}

/* Instagramのエリアを左上のセルに配置 */
.sns-item.grid > div:first-of-type {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* Facebookのエリアを右上のセルに配置 */
.sns-item.grid > div:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

/* 「すぐさ」のテキストを下の行の全幅に配置 */
.sns-item.grid .sns-text {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}
.sns-item.grid img{max-height:80px;}
.sns-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.sns-description {
    text-align: center;
    font-size: 14px;
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
}
.sns-icon:hover {
    transform: scale(1.1);
}

.instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}
.facebook { 
    background-color: #1877f2;
    color: white;
}
.tourism { 
    background: linear-gradient(45deg, #c00000, #ef4444);
    color: white;
}
.products { 
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
}

.sns-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Maps Section */
.maps-section {
    display: grid;
    justify-content: center;
    gap: 1vw;
	margin: 50px 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5vw;}

.map-item {
    text-align: center;
}

.map-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #4b4b4b;
}

.map-image {
    width: 100%;
    max-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.map-image:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 30px;
    z-index: 2;
    position: sticky;
    margin-top: 7em;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    width: 80vw;
    margin: 0 auto;
}

.footer-left {
    text-align: left;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.footer-icon:hover {
    opacity: 0.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}
 /* Results Section */
.results-section {
    background-color: transparent;
    padding: 0;
    border-top: 0;
    margin: 20px 0;
}

.results-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #4a5568;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.genre-tags a {
    margin-top: 13px;
}
.restaurant-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    max-width: 27vw;
}

.restaurant-card:hover {
    transform: translateY(-5px);
}

.featured-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    width: 50px;
    max-height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    z-index: 2;
}
.featured-icon2 {
    position: absolute;
    top: 10px;
    left: 60px;
    border-radius: 50%;
    width: 50px;
    max-height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    z-index: 2;
}
.featured-text {
    font-size: 8px;
    line-height: 1;
}

.restaurant-image {
    width: 100%;
    height: 15vw;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.c {text-align: center;}
.restaurant-info {
    padding-left: 10px;
    background-color: #ffffff;
    border: 2px solid #d3b489;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 165px;
    padding-right: 10px;
}

.restaurant-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.restaurant-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-top: 12px;
    text-align: left;
}
.restaurant-description.sp {
    padding-left: 1em;
}
/**
 * .slider
 */
  * {
    margin: 0;
    padding: 0;
  }
  .slider {
    width: 90%;
    margin: 0 auto 80px;
  }
  .slick-slide img {
    width: 100%;
    height: auto;
  }
  .mypattern{
    width: 100%;
  }
  .mypattern .slick-slide{
    margin: 5px;
  }
  
.slick-dots {
    display: flex;
    margin: 0 auto;
    justify-content: center;
}
.slick-dots {
    position: static;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
    margin-top: 1em;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border:1px solid #666;
    border-radius:30px;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}
.slick-dots li button:before {
    font-family: 'slick';
    font-size: 16px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '●';
    text-align: center;
    opacity: .25;
    color: white;    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border:none;

}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #c00000;
    background: #c00000;
    border-radius:30px;
}
    .slider{
        width:100%;
        margin:0 auto;
    }
    .slider img{
        width:100%;
    }
    .slider .slick-slide{
        height:auto!important;
    }
    .slider .slick-arrow{
        z-index:2!important;
    }
    .slider .slick-next{
        right:0!important;
    }
    .slider .slick-prev{
        left:0!important;
    }
    
    .slick-slide{
        margin-right: 5px!important;
        margin-left: 5px!important;
    }
/* 中央以外のスライド */
.slick-slide img {
    height: 400px;
    /* transform: scale(.8); */
    transition: opacity .5s, transform .5s;
    width: auto;
    margin: 0 auto;
}
.slick-slide img {
    height: 400px;
    
    /* 💡 重要な修正点 */
    /* 1. 幅を 'auto' に設定し、縦横比を維持させる */
    width: auto; 
    
    /* 2. トリミング防止の最終手段（念のため） */
    object-fit: contain; 
    
    /* 3. 画像自体を中央揃えにするための設定 */
    display: block; /* margin: auto を有効にするためにブロック要素化 */
    margin: 0 auto; 

    /* 既存のスタイル */
    /* transform: scale(.8); */
    transition: opacity .5s, transform .5s;
}
/* 中央のスライド */
.slick-slide.slick-center img {
  transform: scale(1);
    margin: 0 auto;
}
.slick-dots li button:before {
    font-family: 'slick';
    font-size: 15px !important;
    line-height: 18px !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px !important;
    height: 15px !important;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #c00000!important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.image-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.genre-tagss {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.genre-tags {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.genre-tag {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    border: 2px solid #d3b489;
    font-weight: bold;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slider-image {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.restaurant-image1 {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.restaurant-image2 {
    background: linear-gradient(135deg, #4ecdc4, #7cc7c2);
}

.restaurant-image3 {
    background: linear-gradient(135deg, #ffa726, #ffcc80);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background-color: #c00000;
}
.big{font-size: 1.65em;line-height: 1.1;}

        .detailed-conditions {
            margin: 20px 0;
            color: #c00000;
            font-size: 1.1em;
            cursor: pointer;
            text-decoration: none;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        .detailed-conditions::before {
            content: "";
            display: inline-block;
            width: 1.3em;
		    height: 1.3em;
            background-image: url('../img/lookfor.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-right: 8px;
            vertical-align: middle;
        }

        .detailed-conditions:hover {
            color: #c00000;
        }

        .detailed-conditions-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background-color: #efeff1;
		    border-radius: 0;
		    margin-top: 20px;
        }

        .detailed-conditions-panel.open {
            max-height: max-content;
		    border: 1px solid #000;
        }

        .detailed-conditions-content {
            padding: 30px;
        }

        .conditions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2vw;
        }

        .condition-column {
            border-right: 1px solid #e5e7eb;
            padding-right: 20px;
        }

        .condition-column:last-child {
            border-right: none;
            padding-right: 0;
        }

        .condition-column-title {
            font-weight: bold;
            color: #333;
            margin-bottom: 16px;
            font-size: 16px;
            padding-bottom: 10px;
            border-bottom: 2px solid #d3b489;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .condition-column-title::before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            background-color: #c00000;
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
        }

        .condition-column-title.usage::before {
            mask-image: url('../img/scene.png');
        }

        .condition-column-title.payment::before {
            mask-image: url('../img/wallet.png');
        }

        .condition-column-title.features::before {
            mask-image: url('../img/more.png');
        }
        .condition-column-title.point::before {
            mask-image: ;
        }
        .condition-column-title.point{
        	color:#c00000;
        	font-size: 18px;
        }
        .section-title.point::before {
            content: "";
            position: absolute;
            left: 10px;
            width: 24px;
            height: 24px;
            background-image: url('../img/point.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .section-title.message::before {
            content: "";
            position: absolute;
            left: 10px;
            width: 24px;
            height: 24px;
            background-image: url('../img/message.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .section-title.menu::before {
            content: "";
            position: absolute;
            left: 10px;
            width: 24px;
            height: 24px;
            background-image: url('../img/menu.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .section-title.same::before {
            content: "";
            position: absolute;
            left: 10px;
            width: 24px;
            height: 24px;
            background-image: url('../img/shop.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .condition-group {
            margin-bottom: 20px;
        }

        .condition-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .condition-item {
            display: flex;
            align-items: center;
            font-size: 14px;
        }
        .condition-item input[type="checkbox"],
        .condition-item input[type="radio"] {
            margin-right: 8px;
            transform: scale(1.1);
        }

		.message-section {
            padding: 40px 0;
            border-radius: 10px;
            display: flex;
            align-items: flex-start;
            gap: 30px;
            position: relative;
        }

        .message-bubble {
            flex: 1;
            background-color: #d3b489;
            padding: 25px;
            border-radius: 20px;
            position: relative;
            line-height: 1.8;
        }

        .message-bubble::after {
            content: "";
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 15px 0 15px 20px;
            border-color: transparent transparent transparent #d3b489;
        }

        .owner-photo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: linear-gradient(135deg, #66bb6a, #a5d6a7);
            flex-shrink: 0;
            overflow: hidden;
            border: 4px solid #d3b489;
        }

        .owner-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
/* 矢印を回転させて上向きにする例 */
.detailed-conditions .arrow-icon {
    transition: transform 0.3s;
}

.detailed-conditions .arrow-icon.is-open {
    transform: rotate(180deg); /* 下向きの矢印を180度回転させて上向きにする */
}

/* または、異なる画像に切り替える（非推奨だが可能） */
.detailed-conditions .arrow-icon.is-open {
    /* imgタグを非表示にし、::beforeで新しい画像を背景に表示するなどの複雑な処理が必要 */
}

.condition-options {
    /* Flexboxレイアウトを適用 */
    display: flex;
    
    /* 要素が収まりきらない場合に折り返す */
    flex-wrap: wrap; 
    
    /* 要素間の水平方向の隙間（任意）*/
    justify-content: space-between; 
}

/* 各アイテムの幅を調整 */
.condition-options .genre-item {
    /* 縦方向の隙間（任意）*/
}

	#S002 {
        width:54vw;
        margin:40px auto;
    }
    #S002 .slick-slide img {
		    height: 13vw;
		    border-radius: 17px;
	}

	#S003 {
        width:54vw;
        margin:40px auto;
    }
    #S003 .slick-slide img {
	    height: auto;
	    width: auto;
	}
.section-title.point + p{margin: 40px auto;} 
.info-item dl {
            margin: 0;
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1em;
        }

        .info-item dt {
            font-weight: bold;
            color: #333;
            min-width: 7rem;
            flex-shrink: 0;
        }

        .info-item dd {
            margin: 0;
            color: #333;
            flex: 1;
            word-break: break-all;
        }
/* Responsive Design */
@media (max-width: 1265px) {

	.genre-grid {
	    display: grid;
	    grid-template-columns: repeat(2, 1fr);
	    gap: 12px 30px;
	    margin: 0 auto;
	    text-align: left;
	}
    .container {
        max-width: 80vw;
        margin: 0 auto;
        background-color: transparent;
        min-height: 90vh;
        position: relative;
    }


}
@media (max-width: 1200px) {
    .header,
    .search-section,
    .news-section,
    .sns-section,search-section,.results-section {
        margin: 20px 0;
    }
    .header {
        margin: auto 10px;
    }

    .header::before {
        width: 7em;
        height: 40vw;
    }
    .header::after {
        width: 7em;
        height: 50vw;
    }

    .header::before {
        left: 0.5em;
    }

    .header::after {
        right: 0.5em;
    }
    .footer-content{width: 80vw;padding: 0 3vw;}

    .container {
        max-width: 80vw;
        margin: 0 auto;
        background-color: transparent;
        min-height: 80vh;
        position: relative;
    }
}
@media (max-width: 1100px) {
    .sns-links {
	    display: grid;
	    justify-content: center;
	    gap: 5vw;
	    margin-bottom: 50px;
	    width: 100%;
	    grid-template-columns: repeat(3, 1fr);
	    padding: 0px 2vw;
	}
	.restaurant-image {
	    height: 25vw;
	}
}
@media (max-width: 996px) {

	.genre-item {
	    white-space: normal;
	}

}

@media (max-width: 925px) {

    .genre-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }
    .genre-item {
	    padding-left: 2em;
	    margin-bottom: 0;
	}
}

@media (max-width: 850px) {
    .sns-links {
        display: grid;
        justify-content: center;
        gap: 5vw;
        margin-bottom: 50px;
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 2vw;
    }
    .sns-item.grid {
	    width: 200px;
	    margin: 0 auto;
	}
	.restaurant-image {
	    height: 27vw;
	}

}
	.sp{display:none;}
	.pc{display:block;}

@media (max-width: 768px) {
	.sp{display:block;}
	.pc{display:none;}
	.container {
        width: 100%;
        max-width: 700px;
    }
    .header::before,
    .header::after {
        width: 0;
        height: 200px;
        display:none;
/*        opacity: 0.5;*/
    }

    .header::before {
        left: 10px;
    }

    .header::after {
        right: 10px;
    }

    .header-content {
        gap: 15px;
    }

    .header-text {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-text-content {
        text-align: left;
    }

    .header-image {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .header-image img {
	    width: 50%;
	    height: auto;
	}
    .header-image img.sp {
        width: 100%;
        height: auto;
	}

    .food-images {
        gap: 10px;
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
    }
    .food-image {
        width: 100%;
        max-height: 150px;
        border-radius: 0;
    }

    .header-text {
        margin: 20px 0;
    }

    .search-input {
        width: 100%;
        max-width: 300px;
    }

    .sns-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .maps-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
    }
    .news-item {
	    padding: 10px;
	    margin: 0;
	    border-left: 0;
	    border-radius: 0;
	    box-shadow: none;
	    display: grid;
	    align-items: flex-start;
	    gap: 10px;
	}
}
@media (max-width: 768px) {
	.conditions-grid {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 1.5em;
	}
	.footer {
	    background-color: #000000;
	    color: white;
	    padding: 30px;
	    z-index: 2;
	    position: sticky;
	    margin-top: 2em;
	}
}
@media (max-width: 660px) {
	.restaurant-image {
	        height: 50vw;
	    }
}
@media (max-width: 480px) {
    .food-images {
        flex-direction: column;
        align-items: center;
    }

    .food-image {
        width: 200px;
        height: 120px;
    }

    .map-image {
        width: 100%;
        max-width: 280px;
    }
}

.photo3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        .photo3 > div {
            text-align: center;
        }

        .photo3 img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 15px;
            display: block;
            margin-bottom: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            background: linear-gradient(135deg, #ffa726, #ffcc80);
        }

        .photo3 > div::after {
            content: attr(data-name);
            display: block;
            text-align: center;
            font-size: 14px;
            color: #333;
            font-weight: bold;
        }

/* Two Column Layout */
        .content-wrapper {
		    display: grid;
		    grid-template-columns: 55vw 320px;
		    gap: 1vw;
		    margin-bottom: 3em;
		}

        /* Main Content */
        .main-content {
			padding-left: 1vw;
		}

        .restaurant-description {
            margin-bottom: 1em;
		    line-height: 1.5;
		    color: #333;
        }

        .section-title {
            font-size: 20px;
            font-weight: bold;
            color: #c00000;
            padding-bottom: 10px;
            border-bottom: 2px solid #d3b489;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-left: 1.1em;
        }

        .recommend-text {
		    padding: 20px 0;
		    margin-bottom: 30px;
		}
		.slider .restaurant-image {
		    width: 100%;
		    height: 12vw;
		    background-size: cover;
		    background-position: center;
		    position: relative;
		    overflow: hidden;
		}

        .menu-images {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .menu-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #ffa726, #ffcc80);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .menu-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Side Content */
        .side-content {
            background-color: #d3b489;
            padding: 30px;
            border-radius: 10px;
            color: #333;
        }

        .side-title {
            font-size: 22px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 25px;
            color: #333;
        }

        .info-item {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255,255,255,0.3);
        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }

        .info-value {
            color: #333;
        }

        .map-container {
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #ffa726;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .social-icon:hover {
            transform: scale(1.1);
        }

        .instagram {
		    background-image: url('../img/instagram.png');
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    background-color: transparent;
        }

        .facebook {
		    background-image: url('../img/facebook.png');
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    background-color: transparent;
        }
        .twitter {
		    background-image: url('../img/twitter.png');
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    background-color: transparent;
        }
        .line {
		    background-image: url('../img/line.png');
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    background-color: transparent;
        }
        .mail {
		    background-image: url('../img/mail.png');
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    background-color: transparent;
        }
        /* Mobile Tabs */
        .mobile-tabs {
            display: none;
        }
        .w125{width: 1.25em;}
        /* Responsive Design */
		@media (max-width: 1000px) {
		    .content-wrapper {
			    display: grid;
			    grid-template-columns: 46vw 320px;
			    gap: 1vw;
			    margin-bottom: 3em;
			}
			#S002 {
			    width: 46vw;
			    margin: 40px auto;
			}
			#S003 {
			    width: 46vw;
			    margin: 40px auto;
			}
			#S002 .slick-slide img {
			    height: 22vw;
			    border-radius: 17px;
			}

		}
        @media (max-width: 768px) {
            .content-wrapper {
                grid-template-columns: 1fr;
                gap: 0;
            }
            .featured-icon,.featured-icon2 {
			    width: 32px;
			}
			#S002 {
			    width: 91vw;
			    margin: 40px auto;
			}
			#S003 {
			    width: 94vw;
			    margin: 40px auto;
			}
			.slider .restaurant-image {
			    width: 100%;
			    height: 130px;
			}
            .mobile-tabs {
                display: flex;
		        overflow: hidden;
		        margin-bottom: 20px;
            }

            .mobile-tab {
                flex: 1;
		        padding: 15px;
		        text-align: center;
		        border: none;
		        cursor: pointer;
		        font-size: 14px;
		        font-weight: bold;
		        color: #9a9999;
		        transition: all 0.3s ease;
		        background: #efefef;
            }

            .mobile-tab.active {
                background-color: white;
                border-top: 2px solid #c8a16c;
		        color: #c00000;
            }

            .side-content,.messe-content,.point-content,.menu-content {
                display: none;
            }

            .main-content.active,
            .side-content.active,.messe-content.active,.point-content.active,.menu-content.active {
                display: block;
            }
            .main-content.active,.messe-content.active,.point-content.active,.menu-content.active{
		        padding: 0 14px;
            }

            .menu-images {
                grid-template-columns: 1fr;
            }

            .side-content {
                background-color: transparent;
            }
            .active .info-item dt,.active .info-item dd {
			    color: #676767;
			}

        }
        /* デフォルト（幅が広い時） */
iframe{
    width: 90%;
    height: 220px;
}

.genre-tagss {
    height: auto;
    margin-top: 17px;
    margin-bottom: 17px;
}
#shop .search-buttons {
    margin-bottom: 2em;
}
#S003 .restaurant-card {
    max-width: 45vw;
}

.slick-prev:before {
    content: '←';
}
.slick-prev:before, .slick-next:before {
    color: #c71e1e!important;
}
.youtube{
    width: 100%;
    margin: 0;
    justify-content: right;
    display: flex;
}
.youtube img {
    width: 350px;
}

/* 幅が狭くなるにつれて高さを増やす */
@media (max-width: 1200px) {
    .genre-tagss {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .genre-tagss {
        height: 120px;
    }
    .section-title {
	    padding-left: 1.5em;
	}
}

@media (max-width: 768px) {
    .babo {
        /* スマホでは縦並びにする場合（任意） */
        flex-direction: column;
    }

    /* 💡 order の値を変更して表示順を入れ替える */
    /* B を 1番目にする */
    .box-b {
        order: 1; 
    }
    /* A を 2番目にする */
    .box-a {
        order: 2; 
    }
    .message-section {
        /*
          【縦並びにする】
          メイン軸の方向を水平（row）から垂直（column）に変更します。
        */
        flex-direction: column;

        /*
          【表示順を逆にする】
          要素の並び順を逆（逆順）にします。
          例: 要素1、要素2 が、要素2、要素1 の順になります。
        */
        flex-direction: column-reverse; /* column-reverseを使う */

        /* 縦並びにしたため、gap（隙間）の調整が必要に応じて可能です */
        gap: 15px;
    }
	.message-bubble::after {
	    content: "";
	    position: absolute;
	    
	    /* 位置は変わらず、上端に中央配置 */
	    left: 50%;
	    top: -20px; 
	    transform: translateX(-50%);
	    
	    width: 0;
	    height: 0;
	    border-style: solid;
	    
	    /* 【修正点 1】三角の形状を変更：下側の辺に幅を持たせる */
	    /* border-width: [上] [右] [下] [左] */
	    border-width: 0 15px 20px 15px; 
	    
	    /* 【修正点 2】下側の辺に色を適用する */
	    /* 下向きに色（#d3b489）を適用することで、上向きの三角になります */
	    border-color: transparent transparent #d3b489 transparent; 
	}
	.messe-content.active .owner-photo {
	    margin: auto;
	    margin-bottom: 5px;
	}
	.restaurant-card {
	    max-width: max-content;
	}
	.restaurant-card img {
	    max-width: 100%;
	    height: auto;
	    width: 100%;
	}
	.restaurant-name {
	    line-height: 1.2;
	    font-size:16px;
	}
	.restaurant-description {
    font-size: .9em;	    line-height: 1.4;}
    #shop .search-buttons {
	    margin: 0 2em 2em;
	    display: grid;
	    text-align: center;
	}
}
@media (max-width:512px) {
    .genre-tagss {
        height: 80px;
    }
	.slider .restaurant-image {
	    width: 100%;
	    height: 115px;
	}
	.restaurant-info {
    padding-left: 5px;padding-right: 5px;}
	#search .search-section {
	    border: 0;
	}
	.results-section {
        margin: 20px;
    }
    #shop .content-wrapper {
        margin-bottom: 0;
    }
}

