@charset "utf-8";

/*★★★★★ 共通設定 ★★★★★*/

body {
  background-image: url(../../common/img/background.png);
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

li {
  list-style: none;
}

p,
small,
span {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}



/* ★★★★★★ここからヘッダーメニューcss★★★★★★★ */

#header {
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 16vh;
  position: relative;
  z-index: 10;
}

.header-menu {
  display: flex;
  align-items: center;
  width: 100%;
  /* 親要素の幅いっぱいに広げる */
}

/* ヘッダーロゴサイズ設定 */

#header .logo img {
  max-width: 120px;
  margin: 10px;
  margin-right: -130px;
  /*ヘッダーメニューのズレを直す為の-130px*/
  margin-left: 30px;
  transition: opacity 0.3s ease;
}

/*ヘッダーロゴにホバーすると60％表示*/
.logo:hover img {
  opacity: 0.6;
}

.submenu {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

/*メニューボタンの設定*/
.menu-list {
  width: 160px;
  height: 120px;
  background-color: #f8f8f8;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s;
  margin: 3px;
  border: solid 1px #b3b3b3;
}

.menu-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #323844;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: all 0.3s;
  flex-direction: column;
  /* pとspanの並びを縦方向にする */
}

/*★メニューアイコン📚の設定★*/
.menu-list a::before {
  content: "";
  display: block;
  /* アイコンサイズの変更 */
  width: 38px;
  height: 38px;
  /* アイコン種類・表示の設定*/
  background-image: url("../img-restaurant/header-icon1-story.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* 画像を中央に配置 */
  /* テキストとの間隔調整 */
  margin-bottom: 3px;
}

/*お食事処一覧アイコン🍴*/
.submenu li:nth-child(2) a::before {
  background-image: url("../img-restaurant/header-icon2-food.png");
}

/*エリアガイドアイコン🗺*/
.submenu li:nth-child(3) a::before {
  background-image: url("../img-restaurant/header-icon3-access.png");
}

/*アクセスアイコン🚃*/
.submenu li:nth-child(4) a::before {
  background-image: url("../img-restaurant/header-icon4-map.png");
}

/*お知らせアイコン📢*/
.submenu li:nth-child(5) a::before {
  background-image: url("../img-restaurant/header-icon5-news.png");
}

/* ホバーするとメニューの背景色が青くなる */
.menu-list:hover {
  background-color: #ececec;
}

/*メニューボタン左端の白線*/
.menu-list::before {
  content: "";
  width: 1px;
  height: 80%;
  margin-top: 8px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

/*ホバー前のメニューボタン設定*/
.menu-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #323844;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: all 0.3s;
}

/*ホバー後のメニューボタン設定*/
.menu-list:hover a {
  color: #fff;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

/*メニューの英語部分の設定*/
.menu-en {
  font-size: 13px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 2px;
  display: block;
  /* spanはインライン要素なので、margin-topを効かせるため */
}



/*★★★★★★★ここからrestaurant-page★★★★★★★*/
/* ★★★★★ここからTOPボタン設定★★★★★ */

html,
body {
  height: 101%;
}

.container {
  min-height: 100%;
  /* 全体のコンテンツが画面高さを超えるように min-height に変更を推奨 */
}

button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 80px;
  right: -80px;
  bottom: calc(50% - 40px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: #d25729;
  transition: 0.2s;
  letter-spacing: 3px;
  font-weight: bold;
  border-radius: 10px 0 0 10px;
  z-index: 1000;
}

button i {
  position: absolute;
  font-size: 30px;
  color: #fff;
  top: 15px;
  font-weight: 300;
}

button p {
  margin: 0;
  font-size: 15px;
  bottom: 13px;
  position: absolute;
}

.is-active {
  opacity: 1;
  visibility: visible;
}

button.is-active {
  right: -2px;
}

/*スクロールフェードイン設定*/
.scroll-space {
  box-sizing: border-box;
  color: #323844;
  overflow: hidden;
}

/*-------- ここからタイトルの設定 -------*/
.category-section {
  text-align: center;
  margin: 100px auto;
}

.category-title {
  color: #323844;
  font-size: 48px;
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 500;
  font-style: normal;

  /* 1本目の線（テキストの直下） */
  border-bottom: 3.5px solid #d25729;
  /*padding-bottom: 0px; /* テキストと1本目の線の間にスペースを空ける */
  display: inline-block;
  /* コンテンツ幅に合わせる */
  position: relative;
}

/*タイトルの下線設定*/
.category-title::after {
  content: "";
  display: block;
  /* 2本目の線（1本目の線の下） */
  border-bottom: 6px solid #d25729;
  width: 100%;

  /* 2本目の線を配置 */
  position: absolute;
  left: 0;
  bottom: -14px;
  /* 1本目の線からの距離を調整 */
}

/* タイトルの画像あしらい設定 */
/* .title内の<span>を絶対配置の要素として設定 */
.category-title .title-deco {
  display: block;
  position: absolute;
  /* テキストの縦並びで表示されないように、h2に対して絶対配置 */
  background-repeat: no-repeat;
  background-size: 80%;
  width: 70px;
  height: 70px;
}

/* ★右上1つ目の装飾★ */
.category-title .title-deco:nth-child(1) {
  background-image: url(../img-restaurant/title-design1.png);

  /* 配置調整 */
  position: absolute;
  top: -35px;
  right: -60px;
}

/* ★右上2つ目の装飾★ */
.category-title .title-deco:nth-child(2) {
  background-image: url(../img-restaurant/title-design2.png);

  /* 配置調整 */
  position: absolute;
  top: -10px;
  right: -100px;
}

/* ★左下1つ目の装飾★ */
.category-title .title-deco:nth-child(3) {
  background-image: url(../img-restaurant/title-design1.png);

  /* 配置調整 */
  position: absolute;
  bottom: -55px;
  left: -80px;
}

/* ★左下2つ目の装飾★ */
.category-title .title-deco:nth-child(4) {
  background-image: url(../img-restaurant/title-design2.png);

  /* 配置調整 */
  position: absolute;
  bottom: -80px;
  left: -45px;
}

/* あしらい設定 */
.category-title .title-deco:nth-child(5) {
  background-image: url(../img-restaurant/title-design3.png);

  /* 配置調整 */
  position: absolute;
  top: -120px;
  right: -400px;
  z-index: 20;
}

/*---------- 
  スマホ
---------- */
@media screen and (max-width: 768px) {
  .category-section {
    width: 100%;
    margin: 40px auto 100px;
  }

  .category-title {
    font-size: 32px;
    border-bottom: 3px solid #d25729;
  }

  .category-title::after {
    border-bottom: 5px solid #d25729;
    bottom: -12px;
  }
}

/*-------- ここからカテゴリナビの設定 -------*/

/* カテゴリラベルの設定 */
.category-nav {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 100px;
  display: flex;
  justify-content: center;
  gap: 12px;
  /* 横並び設定 */
}

/* category全体の設定 */
.category {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 110px;
  border-radius: 8px;
  color: #FFF1E7;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  text-align: center;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  filter: brightness(0.95) saturate(0.75);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* カテゴリ背景画像の差し替え */
.category:nth-child(1) {
  background-image: url(../img-restaurant/food-wa.jpg);
}

.category:nth-child(2) {
  background-image: url(../img-restaurant/food-yo.jpg);
  background-position: center 60%;
}

.category:nth-child(3) {
  background-image: url(../img-restaurant/food-kan.jpg);
  background-position: center top;
}

.category:nth-child(4) {
  background-image: url(../img-restaurant/food-iza.png);
}

.category:nth-child(5) {
  background-image: url(../img-restaurant/food-om-nanabiyori.png);
}

/* カードの上に “半透明の黒い膜” をかぶせるための疑似要素 */
.category::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

/* 上に載せるテキストを “膜より前に表示する” ためのCSS */
.category-label {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* カード全体が「ふわっと拡大＆明るく」なる効果 */
.category:hover {
  filter: brightness(1.0) saturate(0.85);
  transform: scale(1.03);
}

/* 上の黒い膜の透明度を変えて、より明るく見せる */
.category:hover::before {
  background: rgba(0, 0, 0, 0.15);
}

/*---------- 
  スマホ
---------- */
@media screen and (max-width: 768px) {
  .category-nav {
    width: 100%;
    margin: 0 auto 40px;
    gap: 5px;
  }

  .category {
    /* width: 100%; */
    height: 70px;
    font-weight: 400;
    font-size: 1rem;
  }
}

/*-------- ここからショップの設定 -------*/

/* ショップ全体の設定 */
.shop {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

}

/* アイコンとカテゴリ名の設定 */
.shop-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 30px;
}

/* すべての～の設定 */
.shop-category a {
  color: #5a4b3b;
  text-decoration: none;
  font-size: 0.95rem;
}

.shop-category a::after {
  content: "";
  background-image: url(../img-restaurant/icon-right.png);
  background-size: contain;
  /* 疑似要素のサイズに合わせて画像を調整 */
  background-repeat: no-repeat;
  background-position: center;
  /* 中央に配置 */

  /* ★ 疑似要素のサイズを調整（画像が見えるように） ★ */
  display: inline-block;
  /* transformが機能するようにする */
  width: 15px;
  /* 矢印の幅 */
  height: 15px;
  /* 矢印の高さ */
  margin-left: 5px;
  /* テキストとの間隔 */

  /* ★ アニメーションを滑らかにする ★ */
  transition: transform 0.5s ease;

  /* ★ 初期状態: 回転しない ★ */
  transform: rotateX(0deg);

  /* ★ 回転の基点を右端の中央に設定 ★ */
  transform-origin: right center;
}

/* ホバー時の回転アニメーション */
.view-all-link:hover::after {
  /* 垂直方向（手前）に180度回転させて裏返す */
  transform: rotateX(180deg);
}

.shop-category a::after {
  transition: transform 0.5s ease;
  transform: rotateY(0deg);
  /* 初期値もY軸にしておくと分かりやすい */

  /* Y軸回転を使うなら、transform-origin は center center で問題ありません。 */
  /* transform-origin: right center; */
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* アイコンの大きさ */
.shop-item img {
  width: 54px;
  height: 54px;
}

/* カテゴリ名の設定 */
.shop-item p {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
}

/* 各カテゴリ名の色 */
.shop-item.wa p {
  color: #126612;
  /* 和食の緑 */
}

.shop-item.yo p {
  color: #93120c;
  /* 洋食の色 */
}

.shop-item.ds p {
  color: #ed78d8;
  /* 甘味処の紫 */
}

.shop-item.iz p {
  color: #bea604;
  /* 居酒屋の茶 */
}

.shop-item.om p {
  color: #d2691e;
  /* その他の色 */
}


/*---------- 
  スマホ
---------- */
@media screen and (max-width: 768px) {
  .shop {
    width: 100%;
    margin: 0 auto;
  }

  .shop-category {
    margin: 0 auto 30px;
  }

  .shop-item img {
    width: 40px;
    height: 40px;
  }

  .shop-item p {
    margin: 0;
    font-weight: 500;
  }
}

/*-------- ここからショップリストの設定 -------*/

/* ショップリスト（横並び）　*/
.shop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  list-style: none;
  margin: 0 0 70px;
}

/* カード本体 */
.shop-card {
  width: 280px;
  border: 12px solid transparent;
  /* 縁の太さ */
  border-image: url(../img-restaurant/gb-sub.jpg) 30 round;
  /* 和柄の縁画像 */
  background: #ffffff;
  box-sizing: border-box;
  /* border-radius: 4px; */
}

.shop-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-card:nth-child(1) {
  margin: 0 0 0 15px;
}

/* カード上部の写真枠 */

/* デフォルト（念のため） */
.shop-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

/* 店舗ごとの画像指定 */
.shop-card.komorebi .shop-image {
  background-image: url(../img-restaurant/food-wa-komorebi.png);
  background-position: center 90%;
}

.shop-card.simizuan .shop-image {
  background-image: url(../img-restaurant/food-wa-simizuan.jpg);
}

.shop-card.dontyabo .shop-image {
  background-image: url(../img-restaurant/food-wa-dontyabo.jpg);
  background-position: center 20%;
}

.shop-card.arakko .shop-image {
  background-image: url(../img-restaurant/food-yo-arakko.png);
  background-position: center 90%;
}

.shop-card.dawa .shop-image {
  background-image: url(../img-restaurant/food-yo-dawa.jpg);
  background-position: center 90%;
}

.shop-card.taeco .shop-image {
  background-image: url(../img-restaurant/food-yo-tae&co.png);
  background-position: center 90%;
}

.shop-card.mittyan .shop-image {
  background-image: url(../img-restaurant/food-ds-mittyan.png);
}

.shop-card.tukiusagi .shop-image {
  background-image: url(../img-restaurant/food-ds-tukiusagi.png);
  background-position: center 95%;
}

.shop-card.mitudango .shop-image {
  background-image: url(../img-restaurant/food-ds-mitudango.jpg);
}

.shop-card.imokoro .shop-image {
  background-image: url(../img-restaurant/food-ds-imokoro.jpg);
}

.shop-card.yosida .shop-image {
  background-image: url(../img-restaurant/food-iz-yosida.jpg);
}

.shop-card.nakajima .shop-image {
  background-image: url(../img-restaurant/food-iz-nakajima.jpg);
}

.shop-card.nanabiyori .shop-image {
  background-image: url(../img-restaurant/food-om-nanabiyori.png);
}

.shop-card.honami .shop-image {
  background-image: url(../img-restaurant/food-dg-honami.png);
}

/* カード内部（店舗情報） */
.shop-info {
  padding: 5px;
}

.card-category {
  font-size: 13px;
  color: #5a4a3b;
}

.shop-name {
  margin: 6px 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #392f2a;
}

/* アイコン行 */
.info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #302a28;
  line-height: 1.4;
}

.icon {
  width: 20px;
}

.shop-info .info-line:last-child {
  font-weight: 500;
  margin-top: 20px;
}

/*---------- 
  スマホ
---------- */
@media screen and (max-width: 768px) {
  .shop-list {
    flex-direction: column;
    /* 縦並び (上から下へ) に変更 */
    justify-content: center;
    /* 縦方向の中央揃えに変わる */
    align-items: center;
    padding: 0;
    list-style: none;
    margin: 0 auto 50px;
  }

  .shop-card:nth-child(1) {
    margin: 0;
  }

}

/*★★★★★★★ここからフッター★★★★★★★*/

/*ここから要素の設定*/
#footer {
  background-color: #323844;
  height: 400px;
  text-align: center;
  position: relative;
}

/*フッターのあしらい設定*/
.footer-asirai1 {
  position: absolute;
  top: 20px;
  background-image: url(../img-restaurant/asirai1.png);
  background-repeat: repeat-x;
  display: block;
  width: 100%;
  height: 50px;
  animation: scroll-x 30s linear infinite;
  /*横方向に動かすためのアニメーション*/
}

@keyframes scroll-x {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 1200px 0;
  }
}

/*フッターメニューのフォント設定*/
.footer-menu p {
  font-size: 18px;
  font-weight: 400;
}

#footer .logo p,
#footer .footer-menu p {
  color: #fff;
  text-align: center;
}

#footer .logo p,
.footer-menu p {
  color: #fff;
  margin-top: 10px;
}

#footer .logo img {
  max-width: 120px;
  transition: opacity 0.3s ease;
}

.footer-menu li a {
  width: 170px;
  /*リンクテキストの下線を非表示*/
  text-decoration: none;
  position: relative;
  display: block;
  text-align: center;
}

/* ホバー：下線の基本設定 */
.footer-menu li a::after {
  position: absolute;
  content: "";
  width: 70%;
  left: 15%;
  height: 2px;
  background: #fff;
  bottom: -2.5px;
  transform: scale(0, 1);
  transform-origin: right top;
  /* 右から始まる */
  transition: transform 0.3s;
}

/* ホバー後：下線が左から右へ伸びるアニメーション */
.footer-menu li a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
  /* 左へ向かって伸長 */
}

#footer small,
#footer .copy-text {
  font-size: 12px;
  color: #fff;
  font-weight: 300;
  margin-top: 80px;
}

/* ★★★ここからフッター構成の設定★★★ */

/*ロゴとフッターメニューの横並び設定*/
.footer-column {
  display: grid;
  width: 45%;
  /*ここでgrid幅を変える*/
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  column-gap: 3cap;
  /*ここでロゴとフッターメニューの間隔設定*/
  padding-top: 80px;
}

/* ロゴセットを囲むラッパーの設定 */
.logo-wrapper {
  width: 300px;
  justify-self: center;
  /* 水平方向中央揃え */
  align-self: center;
  /* 垂直方向中央揃え */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ロゴ空間設定*/
#footer .logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*フッターメニューの並べ方設定*/
.footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  /*ここでフッターメニュー子要素の縦方向間隔変更*/
  column-gap: 0cap;
  /*ここでフッターメニュー子要素の横方向間隔変更*/
  justify-content: center;
  width: 300px;
}

/*★★★★★フォントリンク★★★★★*/

/*タイトルフォント：春乃海解星*/
.kaisei-harunoumi-regular {
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 400;
  font-style: normal;
}

.kaisei-harunoumi-medium {
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 500;
  font-style: normal;
}

.kaisei-harunoumi-bold {
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 700;
  font-style: normal;
}

/*本文フォント：全角Gothic New*/
.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
}