
/* ================================
   ローディング（彩ロゴ＋細いバー）
================================ */
#loader {
  position: fixed;
  inset: 0;
  background: #0b1f47; /* サイトのテーマカラー */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  transition: opacity 0.8s ease;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-inner {
  width: 0%;
  height: 100%;
  background: #fff;
  animation: loading-bar 1.8s ease forwards;
}

@keyframes loading-bar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ================================
   基本設定
================================ */
body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  background: #f5f7fa;
  color: #333;
}

/* ================================
   ヘッダー
================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b1f47;
  color: #fff;
  padding-bottom: 10px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-area a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.logo-mark {
  background: #fff;
  color: #0b1f47;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 1.2rem;
}
.logo-text {
  font-size: 1.1rem;
}

/* ================================
   ナビゲーション（PC）
================================ */
nav {
  margin-left: auto;
  padding-right: 40px;
}

/* 均等幅ナビ */
.gnav {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  list-style: none;
}

.gnav li {
  flex: 1;
  position: relative;
}

/* 白い縦線 */
.gnav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* ナビリンク */
.gnav a {
  white-space: nowrap;
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  background: none;
  border-radius: 0;
  transition: opacity 0.2s, background 0.2s;
}

.gnav a:hover {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

/* ================================
   ハンバーガー（PCでは非表示）
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* ×に変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ================================
   メインビジュアル
================================ */
.hero {
  background: url("me.png") center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px 30px;
  border-radius: 8px;
}

.hero-title {
  color: #fff;
  font-size: 10rem;
  margin-bottom: 10px;
  white-space: nowrap;
  font-size: clamp(18px, 5vw, 36px);

}

.hero-sub ,
.hero-note {
  color: #eee;
  font-size: 0.8rem;
}
/*お品書きページのメイン*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.card a, /*メインのリンク文字を紺に変更*/
.card a:visited {
  color: #001f3f;
}
/* ================================
   セクションタイトル
================================ */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  letter-spacing: 0.1em;
  color: #0b1f47;
}

/* ================================
   カード
================================ */
.cards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #dfe6f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card a {
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-label {
  display: inline-block;
  background: #0b1f47;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 6px;
}

.card-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.card-price {
  color: #12306b;
  font-weight: bold;
  margin-top: 10px;
}

/* ================================
   テイクアウト
================================ */
#takeout {
  text-align: center;
  padding: 40px 20px;
}

.text-small {
  color: #555;
  margin-bottom: 20px;
}

#about .text-small {
  text-align: center;
}

.btn-primary {
  background: #0b1f47;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.8;
}

/* ================================
   お知らせ
================================ */
.news-list {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
  list-style: none;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* ================================
   ページトップ
================================ */
#top {
  scroll-margin-top: 3000px; /* ヘッダーの高さに合わせて調整 */
}
#pagetop {
  text-align: center;
  margin: 40px 0;
}

#pagetop a {
  text-decoration: none;
  color: #0b1f47;
  font-weight: bold;
}
html {
  scroll-behavior: smooth; /*ゆっくり上に戻る*/
}
/* ================================
   フッター
================================ */
footer {
  background: #0b1f47;
  color: #fff;
  padding: 20px 0;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.9rem;
  color: #ccc;
}
