@charset "utf-8";

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

@media screen and (min-width: 959px) {

  /*スマホ版限定の要素をPCには表示しない*/
  .mobile {
    display: none;
  }
}

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

li,
a {
  list-style: none;
  text-decoration: none;
}

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

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

html,
body {
  height: 100%;
  /* background-color: #323844; */
}

.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;
}




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

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

/* ヘッダーロゴサイズ設定 */
#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;
}

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

/*メニューボタンの設定*/
.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("../common/img/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("../common/img/header-icon2-food.png");
}

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

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

/*お知らせアイコン📢*/
.submenu li:nth-child(5) a::before {
  background-image: url("../common/img/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;
}

.menu-en-food {
  position: relative;
  display: block;
  padding-bottom: 7px;
  /* 矢印のためのスペースを確保 */
}

.menu-en-food::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  transform: translateX(-50%) rotate(45deg);

  /* 矢印のスタイル */
  width: 8px;
  height: 8px;
  border-width: 0.5px;
  border-style: solid;
  border-color: #949ba7;
  border-top: none;
  border-left: none;
  transition: transform 0.3s ease;
}

.menu-list:hover .menu-en-food::after {
  transform: translateX(-50%) translateY(4px) rotate(45deg);
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 1));
  border-color: #ffffff;
}

/* ★★★★★★ここからドロップダウンメニュー★★★★★★★ */
/*ドロップダウンリストの下枠*/
.dropdown__lists {
  display: none;
  width: 660px;
  height: 150px;
  position: absolute;
  top: 120px;
  left: 0;
}

/* ドロップダウンメニュー横並び設定 */
.menu-list:hover .dropdown__lists {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 15px;
  flex-wrap: nowrap;
}

/*ドロップダウンメニューに表示させる画像と幅高さの設定*/
.dropdown__list {
  border: solid 1px #b3b3b3;
  margin: 5px;
  background-image: url(../common/img/sample.png);
  background-size: cover;
  background-size: 200px;
  background-position: center;
  border-radius: 10px;
  width: 200px;
  height: 130px;
  position: relative;
  /*ホバーしたときに背景画像が拡大されるときの動き・滑らかさ設定*/
  transition: all 0.3s ease, background-size 0.3s ease;
}

/*洋食背景画像の設定*/
.dropdown__list:nth-child(2) {
  background-image: url(../common/img/sample2.png);
}

/*甘味処背景画像の設定*/
.dropdown__list:nth-child(3) {
  background-image: url(../common/img/sample3.png);
}

/*居酒屋背景画像の設定*/
.dropdown__list:nth-child(4) {
  background-image: url(../common/img/sample4.png);
}

/* ドロップダウンメニューにホバーしたときに画像を20%拡大させる */
.dropdown__list:hover {
  background-size: 220px;
}

/*ドロップダウンメニューの中の設定 文字など*/
.dropdown__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 1), 0px 0px 5px rgba(0, 0, 0, 1);
  /* 右に0px, 下に0px, ぼかし4px, 黒色で透明度100% */
  text-decoration: none;
  position: relative;
  font-size: 16px;
}

/*  >の設定  */
.dropdown__list a::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(135deg);
  position: absolute;
  right: 15px;
  top: calc(50% - 5px);
}



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

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

/*フッターのあしらい設定*/
.footer-asirai1 {
  position: absolute;
  top: 20px;
  background-image: url(../common/img/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;
}

/*★★★★★ここからスマホサイズ設定★★★★★*/
@media screen and (max-width: 959px) {

  /*PC限定の要素をモバイル版では表示しない設定*/
  .pc {
    display: none;
  }

  html,
  body {
    height: 100%;
    width: 100%;
  }

  main {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  h2,
  .food-btn-wrapper p {
    position: relative;
    z-index: 1;
  }

  /*★★★★★ モバイル版タイトルの設定 ★★★★★*/
  .title {
    font-size: 35px;
  }

  section {
    text-align: center;
  }

  /*★★★★★ここからスマホ版ヘッダー★★★★★*/

  #header {
    background-color: rgba(255, 255, 255, 0);
    height: 0;
  }

  /*モバイル版メニューボタン*/
  .openbtn {
    position: fixed;
    top: 20px;
    left: 40px;
    background: #d25729;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    z-index: 9999;
  }

  /*ボタン内側*/
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 13px;
  }

  .openbtn span:nth-of-type(2) {
    top: 19px;
  }

  .openbtn span:nth-of-type(3) {
    top: 25px;
  }

  .openbtn span:nth-of-type(3)::after {
    content: "Menu";
    /*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 5px;
    left: -2px;
    color: #fff;
    font-size: 0.6rem;
    text-transform: uppercase;
  }

  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
  .openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(3)::after {
    content: "Close";
    /*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top: 5px;
    left: 4px;
  }

  /*テキスト設定*/
  .mobile-menu p {
    color: #323844;
    font-size: 16px;
  }

  .mobile-menu span {
    color: #b3b3b3;
    font-size: 14px;
  }

  /*モバイルメニューのアイコン設定*/
  .mobile-menu .icon {
    width: 35px;
    height: 35px;
    background-image: url(../../img/header-icon0-top.png);
    background-size: contain;
  }

  .mobile-menu li:nth-child(2) .icon {
    background-image: url(../../img/header-icon1-story.png);
  }

  .mobile-menu li:nth-child(3) .icon {
    background-image: url(../../img/header-icon2-food.png);
  }

  .mobile-menu li:nth-child(4) .icon {
    background-image: url(../../img/header-icon4-map.png);
  }

  .mobile-menu li:nth-child(5) .icon {
    background-image: url(../../img/header-icon3-access.png);
  }

  .mobile-menu li:nth-child(6) .icon {
    background-image: url(../../img/header-icon5-news.png);
  }

  .mobile-menu li:nth-child(7) .icon {
    background-image: url(../../img/header-icon6-contact.png);
    background-size: 90%;
  }

  /*タップした時のメニュー画面*/
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 370px;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: all 0.4s;
    z-index: 9990;

    /* 中身のレイアウト */
    padding-top: 80px;
    text-align: center;
    overflow-y: auto;
  }

  /* activeクラスが付与されたら画面内に表示 */
  .mobile-menu.active {
    transform: translateX(0);
  }

  /*各メニューボタンの幅*/
  .mobile-menu li {
    height: 80px;
    display: flex;
    align-items: center;
    margin-left: 30px;
    position: relative;
  }

  .menu-bar {
    border-top: solid 1px #ccc;
  }

  .menu-label {
    display: flex;
    align-items: center;
    flex-grow: 1;
    cursor: pointer;
    height: 100%;
  }

  .menu-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 20px;
    height: 100%;
  }

  /*モバイルメニューボタン要素内を中央揃え・縦並びに*/
  .mobile-menu a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 20px;
    height: 100%;
    width: 100%;
  }

  /*★★★ここからアコーディオンメニューの設定★★★*/
  /*お食事処一覧タイトル幅*/
  .menu {
    max-width: 400px;
  }

  .menu a {
    display: block;
    text-decoration: none;
  }

  .menu-header {
    display: flex;
    align-items: center;
    width: 92%;
    margin-left: 25px;
  }

  .menu-header label {
    flex-grow: 1;
  }

  /*お食事処一覧の文字設定*/
  label {
    display: block;
    margin: 0 0 4px 0;
    padding: 15px;
    line-height: 1;
    color: #323844;
    cursor: pointer;
    text-align: start;
    font-weight: 500;
    height: 65px;
    align-items: center;
    justify-content: center;
  }

  /* お食事処一覧のアイコン設定 */
  .icon-food {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(../../img/header-icon2-food.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  input {
    display: none;
  }

  .menu ul {
    list-style: none;
  }

  .menu li {
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  }

  /*アコーディオンメニューのボタン設定*/
  #menu_bar01:checked~#links01 li {
    min-width: 150px;
    height: 100px;
    opacity: 1;
    padding: 0;
    margin: 0;
  }

  /*アコーディオンメニュー並び方設定*/
  #links01 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    column-gap: 0px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 240px;
  }

  /*アコーディオンメニュー和食写真*/
  #links01 a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
    display: block;
    text-align: center;
    width: 150px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../../img/sample.png);
    background-position: center;
    border-radius: 10px;
    margin: 15px;
  }

  /*アコーディオンメニュー洋食写真*/
  #links01 li:nth-child(2) a {
    background-image: url(../../img/sample2.png);
    background-position: center;
  }

  /*アコーディオンメニュー甘味処写真*/
  #links01 li:nth-child(3) a {
    background-image: url(../../img/sample3.png);
    background-position: center;
  }

  /*アコーディオンメニュー居酒屋写真*/
  #links01 li:nth-child(4) a {
    background-image: url(../../img/sample4.png);
  }

  /*★★★★★★★ここからスマホ版ファーストビュー★★★★★★★★*/

  /*ファーストビューの写真設定*/
  #first-view {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-image: url(../../top/img/top-image.jpg);
    background-position: center;
    background-size: cover;
    background-size: 330%;
    top: 0;
    left: 0;
  }

  /*ファーストビューのタイトルテキスト設定*/
  .first-view-title {
    font-size: 68px;
    left: 70%;
    z-index: 2;
  }

  /*赤の下線設定↓*/
  .first-view-solid {
    left: 73%;
    z-index: 1;
  }

  /*★★★★★ここからスマホ版結乃町物語★★★★★*/

  #story {
    height: 850px;
  }

  /*結乃町・画像位置指定*/
  .img-story {
    width: 85%;
    height: 300px;
    top: 0%;
    right: 5%;
    background-size: cover;
  }

  /*テキストボックス・位置指定*/
  .story-text-box {
    width: 280px;
    height: 450px;
    top: 220px;
    left: 5%;
  }

  /*テキストh3*/
  .story-text-box h3 {
    font-size: 25px;
  }

  /*テキストp*/
  .story-text-box .story-text {
    width: 240px;
    font-size: 15px;
    font-weight: 600;
  }

  .story-text-box .story-text p {
    font-weight: 500;
  }

  /*★★★結乃町ボタン★★★*/
  /*位置・大きさ指定*/
  .sample_btn {
    top: 660px;
    left: 15%;
    margin-bottom: 0;
  }

  /*★★★★★ここからスマホ版お食事処一覧★★★★★*/

  /*ボタンのマージン↓ 消すな*/
  .food-btn-wrapper {
    width: 150px;
    height: 300px;
    border-radius: 25px;
    transition-duration: 0.4s;
    box-shadow: 1px 3px 5px rgb(65, 17, 0, 0.8),
      1px 3px 10px rgb(65, 17, 0, 0.8);
  }

  /*ボタンのgrid設定*/
  .food-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 15px;
    /* 縦20px 横15px の隙間 */
    max-width: 600px;
    margin-bottom: 50px;
    margin: 0 auto;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 30px;
    justify-content: center;
    align-items: center;
  }

  /* PC版の width: 800px や margin などを打ち消す */
  .food-wa,
  .food-yo,
  .food-ds,
  .food-iz {
    /* 幅を自動（親に合わせる）に */
    width: auto;
    margin: 0;
    display: block;
  }

  /*★★★★★ここからスマホ版エリアガイド★★★★★*/

  .c-bnr {
    background: url("../../top/img/area-guide.png") no-repeat center center / cover;
    background-size: 80%;
    background-size: cover;
    display: inline-block;
    width: 300px;
    height: 300px;
    box-shadow: 0px, 0px, 5px, rgb(0, 0, 0);
  }

  /*★★★★★ここからスマホ版アクセス★★★★★*/
  .access-info {
    max-width: 340px;
    margin-top: 20px;
  }

  .access-info p {
    font-size: 14px;
  }

  /*ここからスマホ版お知らせ*/

  .wrapper {
    margin-top: 10px;
  }

  .float2 {
    margin: 0;
  }

  /*★★★★★ここからスマホ版フッター★★★★★*/

  /*ここから要素の設定*/
  #footer {
    width: 100%;
    height: 500px;
  }

  /*ロゴの大きさ*/
  #footer .logo img {
    max-width: 80px;
  }

  /*フッターメニューのテキストサイズ*/
  .footer-menu p {
    font-size: 14px;
    font-weight: 400;
    padding-top: 0;
  }

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

  .footer-menu p {
    margin: 0;
    justify-self: center;
    align-self: center;
  }

  /*コピーライト設定*/
  #footer small,
  #footer .copy-text {
    font-size: 10px;
    margin-top: 70px;
  }

  /*フッターメニューの並べ方設定*/
  #footer .footer-menu {
    gap: 30px 0px;
    /*ここでフッターメニュー子要素の縦方向間隔変更*/
    justify-content: center;
    width: 300px;
    margin-top: 50px;
    margin: 0 auto;
    margin-top: 50px;
  }

  /*ロゴとフッターメニューの横並び設定*/
  .footer-column {
    display: flex;
    flex-direction: column;
    width: 375px;
    /*↑ここでgrid幅を変える*/
    margin: 0 auto;
    padding-top: 75px;
  }
}