@charset "utf-8";

/* ページ内リンクをクリックした際、その場所までなめらかにスクロールさせる */
html {
  scroll-behavior: smooth;
}

*, ::before, ::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Mochiy Pop P One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  color: #000;
  line-height: 1;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

.header-inner {
  background-color: #efe1cb;
  width: 100%;
  height: 100px;
  margin: 0 ;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: block;
  width: 100px;
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

.toggle-menu-button {
  background-color: #fff;
  display: none;
}

.site-menu ul {
  display: flex;
}

.site-menu ul li {
  margin: 0 40px;
  padding: 10px;
}

.hover-list li {
  position: relative;
  /* 画像の配置基準にする */
  width: 150px;
}

.hover-img {
  display: none;
  /* 存在自体を消す */
  position: absolute;
  /* 浮かせた状態にする */
  left: 110px;
  /* リストの右側に表示 */
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 60px;
  /* サイズはお好みで */
}

/* リスト項目にホバーしたとき、画像を表示する */
.hover-list li:hover .hover-img {
  display: block;
  /* ブロック要素として表示 */
}

.site-menu ul li:hover {
  transform: scale(1.05);
  transition-duration: 0.2s;
}

.site-menu ul li a {
  /* height: 50px; */
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

.footer {
  background-color: #efe1cb;
  padding: 30px 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.f-hover-list li {
  position: relative;
  /* 画像の配置基準にする */
  width: 150px;
}

.f-hover-img {
  display: none;
  /* 存在自体を消す */
  position: absolute;
  /* 浮かせた状態にする */
  left: 110px;
  /* リストの右側に表示 */
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 60px;
}

.home-button {
  position: fixed;
  /* 画面の右下に固定する場合 */
  bottom: 20px;
  right: 20px;
  z-index: 100;
  transition: transform 0.3s ease;
  /* アニメーションを滑らかに */
}

/* マウスを乗せた（hover）時の動き */
.home-button:hover {
  /* 上に移動させる */
  transform: translateY(-8px);
}

.home-button img {
  width: 100px;
  /* アイコンのサイズ調整 */
  height: auto;
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

/* リスト項目にホバーしたとき、画像を表示する */
.f-hover-list li:hover .f-hover-img {
  display: block;
  /* ブロック要素として表示 */
}

.footer-logos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer-logo01 img {
  width: 90px;
  height: auto;
  cursor: url(../images/index/coffee_beans3.png), pointer;

}

.footer-logo02 img {
  width: 200px;
  height: auto;
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

.address {
  font-size: 1rem;
  margin-top: 16px;
}

.footer-tel {
  font-size: 1rem;
  margin-top: 16px;
}

.footer-time {
  text-align: center;
  line-height: 30px;
  font-size: 1rem;
  margin-top: 16px;
}

.footer-time1 {
  font-size: 1rem;
  margin-top: 16px;
}

.cash {
  font-size: 1rem;
  margin-top: 16px;
}

.copyright {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  /* --- 1. iOS全体の文字サイズ自動調整を防止 --- */
  html {
    -webkit-text-size-adjust: 100%;
  }

  /* --- 2. ヘッダー関連（トグルボタン維持） --- */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #efe1cb;
    z-index: 1000;
  }

  .header-inner {
    padding: 0 20px;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-logo {
    width: 100px;
  }

  .toggle-menu-button {
    display: block;
    width: 100px;
    height: 100px;
    padding: 0;
    margin-right: 25px;
    background-image: url(../images/common/icon-menu2.png);
    background-size: 50%;
    background-position: right;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }

  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background-color: #5d2d0fd8;
    display: none;
  }

  .header-site-menu.is-show {
    display: block;
  }

  .site-menu ul {
    display: block;
    text-align: center;
    padding: 20px 0;
  }

  .site-menu ul li {
    margin: 20px auto;
  }

  /* --- 3. メインビジュアル文字調整（サイズ小・位置上） --- */
  .first-view {
    height: auto !important;
    min-height: calc(100vh - 50px);
    display: flex;
    align-items: flex-start !important;
    padding-top: 80px;
  }

  .first-view-text {
    width: 100%;
    padding: 0 20px;
    line-height: 1.4 !important;
  }

  .first-view-text h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px;
    height: auto !important;
  }

  .first-view-text p {
    font-size: 1.0rem !important;
    line-height: 1.6 !important;
  }

  /* --- 4. リード文調整 --- */
  .second-view {
    height: auto !important;
    padding: 60px 20px;
  }

  .lead p {
    font-size: 1.1rem;
    line-height: 1.8;
    height: auto !important;
  }

  /* --- 5. フッター関連（重なり徹底防止・ロゴ横並び） --- */
  .footer {
    width: 100%;
    padding: 40px 20px;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 【重要】数字や記号の被りを解消する設定を追加 */
  .footer p, 
  .footer-time, 
  .footer-time1, 
  .address, 
  .footer-tel, 
  .cash {
    font-size: 0.95rem;
    line-height: 1.6 !important;
    margin: 10px 0;
    height: auto !important;
    text-align: center;
    /* iPhoneでの文字被り対策 */
    letter-spacing: 0.05em !important; 
    font-feature-settings: "palt" 0 !important; 
  }

  .footer-time {
    line-height: 1.4 !important;
    white-space: nowrap; /* 営業時間内の変な改行を防止 */
  }

  .f-hover-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .f-hover-list li {
    width: auto;
    margin: 5px 0;
  }

  .footer-logos-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
  }

  .footer-logo01 img {
    width: 50px;
    height: auto;
  }

  .footer-logo02 img {
    width: 120px;
    height: auto;
  }

  /* --- 6. その他調整 --- */
  .main {
    padding-top: 100px;
  }

  .hover-list li:hover .hover-img,
  .f-hover-list li:hover .f-hover-img {
    display: none;
  }

  .home-button, .home {
    display: none;
  }
}