/* ------------------------------
   top image
------------------------------ */
.hero {
    width: 100%;
    aspect-ratio: 5 / 2;
    background-size: cover;
    background-position: center center;
    margin: 0 auto;
}

/* ------------------------------
   Standard Section（横並び対応）
------------------------------ */
.standard-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;

    display: flex;            /* ★ 横並びにする */
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;          /* ★ スマホでは縦並びに自動切替 */
    text-align: left;         /* ★ テキストは左寄せに変更 */
}


/* 画像 */
.std-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


/* タイトル */
.std-title {
    font-size: 28px;
    margin-top: 0;
    font-weight: bold;
    text-align: left;         /* ★ 左寄せ */
}

/* 本文 */
.std-content {
    margin-top: 15px;
    line-height: 1.8;
    text-align: left;         /* ★ 左寄せ */
}

/* テキストブロック（タイトル＋本文＋ボタン） */
.std-text-block {
    flex: 1;
    min-width: 260px;
}

/* ------------------------------
   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(33.333% - 15px); /* PCは3枚 */
    min-width: 200px;
    text-align: center; /* ★ キャプションも中央に */
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 4px solid #ff7b00;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

@media (max-width: 600px) {
    .gallery-item {
        width: 94%;      /* ← 画面いっぱいにしない */
        margin: 0 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;
  }
}

/* ------------------------------
   Legal Tabs
------------------------------ */
.legal-tabs {
    margin: 40px auto;
    max-width: 900px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
}

.legal-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center; /* ★ 中央寄せ */
}

.legal-tab-buttons button {
    padding: 10px 20px;
    border: none;
    background: #005bbb;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.legal-tab-buttons button:hover {
    background: #ff7b00;
}

.legal-tab-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    line-height: 1.7;
}

/* ------------------------------
   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);
}
