/* =========================
   基本設定
   ========================= */
:root {
  --color-bg: #F4F8FF;
  --color-bg-soft: #E9F1FF;
  --color-primary: #2A6FDB;
  --color-primary-dark: #1E4FA3;
  --color-accent: #FFB74D;
  --color-text: #222222;
  --color-text-soft: #555555;
  --color-border: #D0D9F0;
  --color-white: #FFFFFF;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* =========================
   レイアウト共通
   ========================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

.section--soft {
  background-color: var(--color-bg-soft);
}

.section--white {
  background-color: var(--color-white);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-soft);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* =========================
   ヘッダー
   ========================= */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.nav {
  display: flex;
  gap: 16px;
}

.nav a {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--color-primary);
}

/* =========================
   HERO
   ========================= */
.hero-wrapper {
    width:100%;
    margin:0 auto;
    overflow:hidden;
}

.hero {
    position:relative;
    height:350px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero-logo {
    position: static;   /* ← これが最重要 */
    display: block;
    margin: 20px 0 20px 20px;  /* 中央寄せしたい場合 */
    height: 55px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   ボタン
   ========================= */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #3b2a10;
}

.btn-primary:hover {
  background-color: #ffa726;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ------------------------------
   Gallery Section
------------------------------ */
.gallery-title-wrapper {
    max-width: 1100px;   /* ← これが重要！ */
    margin: 0 auto;      
    background: #eef4ff;         /* ギャラリーと同じ背景 */
    padding: 20px 0px;     /* 上20 / 下10 → セクションと自然に接続 */
    margin-bottom: 0;            /* 負の margin を使わない */
}

.gallery-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.gallery-section {
    max-width: 1100px;   /* ← これが重要！ */
    margin: 0 auto;      
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    padding: 40px 0;
    background: #eef4ff;
}

.gallery-item {
    width: calc(25% - 15px);
    min-width: 200px;
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 4px solid #0066ff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


/* ------------------------------
   Table（メニュー表）
------------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center; /* ★ 2行目も中央寄せに */
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 8px;
}

/* ------------------------------
   CTA（中央寄せ）
------------------------------ */
.section.cta {
    text-align: center; /* ★ カフェは中央寄せが正解 */
}

.section.cta img {
    margin: 0 auto;
    display: block;
}

/* ------------------------------
   Product Buy Button（購入ボタン）
------------------------------ */
.product-buy-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ff7b00; /* 温かいオレンジ */
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin: 20px auto;
    cursor: pointer;
    transition: 0.25s;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-buy-btn:hover {
    background: #ff9e3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================
   スマホ対応（Standard画像はみ出し防止）
   ========================= */
@media (max-width: 768px) {
  .hero {
      height:220px;
  }
  .hero-logo {
      height: 45px;
      width: auto;
  }
  /* 標準セクションを縦並びにする */
  .standard-section {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  /* 画像をスマホ幅に合わせる */
  .std-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* テキストブロックも幅100%に */
  .std-text-block {
    width: 100%;
    min-width: 0;
  }
}

/* ------------------------------ FAQ Section ------------------------------ */

.faq-item {
    margin-bottom: 24px;        /* FAQ項目同士の余白 */
    padding-bottom: 16px;       /* 下に余白 */
    border-bottom: 1px solid #e5e5e5; /* 薄い区切り線で視線誘導 */
}

.faq-question {
    font-weight: bold;
    margin-bottom: 8px;         /* Q と A の間に余白 */
    font-size: 1.05rem;
}

.faq-answer {
    margin-left: 12px;          /* A を少し右にずらすと読みやすい */
    line-height: 1.7;           /* 行間を広げて読みやすく */
    font-size: 1rem;
}

body.rtl {
    direction: rtl;
    text-align: right;
}
