@charset "UTF-8";

.catering-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ヒーロー骨格 */
.catering-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .catering-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.catering-hero h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.3;
  margin: 0.5rem 0 1rem;
}

.hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
}

/* プラッターグリッド骨格 */
.catering-platters {
  margin-bottom: 4rem;
}

.platter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .platter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.platter-card {
  border: 1px solid #e0ded9;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.platter-card .card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.serves {
  font-size: 0.8rem;
  color: #ea5426;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* ガイドライン骨格 */
.catering-guide {
  background: #fff;
  padding: 2.5rem 1.5rem;
  border: 1px solid #e0ded9;
  margin-bottom: 4rem;
}

.guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .guide-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ccc;
}

/* 問い合わせ窓口骨格 */
.catering-inquiry {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ebe9e4;
  border-radius: 4px;
}

.contact-box {
  margin-top: 1.5rem;
  line-height: 1.8;
}

.form-placeholder {
  font-size: 0.8rem;
  color: #777;
  margin-top: 1rem;
}

/* 画像ホバー時のカーソル */
.card-img img,
.hero-image img {
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.card-img:hover img {
  transform: scale(1.03);
}

/* モーダル背景 */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* モーダル表示状態 */
.image-modal.active {
  display: flex;
  opacity: 1;
}

/* 拡大画像 */
.modal-content {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.image-modal.active .modal-content {
  transform: scale(1);
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* --- モバイル専用レスポンシブ調整 --- */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95vw;
    max-height: 80vh;
  }

  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 32px;
    padding: 10px;
  }
}

/* ========================================================
   ケータリング問い合わせフォームのスタイル
======================================================== */
.catering-form {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: left;
  background: #ffffff;
  padding: 2.2rem 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #dfdcd4;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  margin-top: 1.2rem;
}

.form-group label {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
}

.form-group label .required {
  color: #ea5426;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1a1a1a;
  background-color: #faf9f5;
  border: 1px solid #d4d0c7;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: #ea5426;
  box-shadow: 0 0 0 3px rgba(234, 84, 38, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* 送信ボタン・ステータス */
.form-submit-wrap {
  margin-top: 1.8rem;
  text-align: center;
}

.form-submit-btn {
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.form-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-status.success {
  color: #2b7a3e;
}

.form-status.error {
  color: #d32f2f;
}

/* 直連絡の案内 */
.direct-contact-hint {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px dashed #e2ded7;
  text-align: center;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
}

.direct-contact-hint a {
  color: #ea5426;
  text-decoration: underline;
}