/* =============================================
   仕出し弁当LP 固有CSS
   - このLPだけで使うセクション別スタイル
   ============================================= */

/* --- SEO導入文 --- */
.seo-intro {
  background: var(--bg-cream);
  padding: 24px 24px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
.seo-intro p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}
.seo-sub-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- ヒーロー --- */
.hero {
  background: var(--bg-cream);
}
.hero-images {
  display: flex;
  gap: 6px;
  padding: 16px;
  aspect-ratio: 16 / 9;
}
.hero-main-img {
  flex: 0 0 62%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.hero-main-img picture {
  display: contents;
}
.hero-main-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-sub-imgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-sub-imgs div {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.hero-sub-imgs div:first-child {
  flex: 3;
}
.hero-sub-imgs div:last-child {
  flex: 2;
}
.hero-sub-imgs picture {
  display: contents;
}
.hero-sub-imgs img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-sub-imgs div:last-child img {
  object-position: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.7;
  width: 100%;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
  width: 100%;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  text-align: center;
  width: 100%;
}
.hero-fax {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
}

/* --- 商品セクション --- */
.products-section {
  background: var(--bg-cream);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 70px;
}
.subsection-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- オードブル --- */
.ordouble-section {
  background: var(--bg-white);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 70px;
}
.ord-card-info .name {
  font-size: 17px;
  font-weight: bold;
  color: var(--text-dark);
}
.ord-card-info .price {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}

/* --- 利用シーン --- */
.scene-section {
  background: var(--bg-cream);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.area-tabs {
  display: flex;
  width: 100%;
}
.area-tab {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  user-select: none;
}
.area-tab.active {
  background: var(--primary);
  color: #fff;
}
.area-tab.inactive {
  background: #E8E0D0;
  color: var(--text-mid);
  font-weight: 500;
}
.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scene-block {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scene-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scene-icon {
  width: 38px;
  height: 38px;
  border-radius: 100px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.scene-icon svg { width: 18px; height: 18px; }
.scene-block-header h4 {
  font-size: 20px;
  font-weight: bold;
}
.scene-grid {
  display: flex;
  gap: 12px;
}
.scene-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.scene-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.scene-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.scene-card-img picture {
  display: contents;
}
.scene-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-badge {
  position: absolute;
  top: 8px; left: 8px;
  width: 30px; height: 30px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
.scene-card-name {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 10px 6px;
}
.scene-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}
.scene-list-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.scene-list-link:hover {
  opacity: 0.85;
}
.scene-list-link svg {
  width: 16px;
  height: 16px;
}

/* --- 4大理由 --- */
.reasons-section {
  background: var(--bg-white);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.reason-card {
  background: var(--bg-cream);
  border-radius: 14px;
  overflow: hidden;
}
.reason-card-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.reason-card-img picture {
  display: contents;
}
.reason-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reason-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reason-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  opacity: 0.3;
}
.reason-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.5;
}
.reason-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* --- FAQ --- */
.faq-section {
  background: var(--bg-cream);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-q, .faq-a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-q .badge {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-a .badge {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-q .text {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.5;
}
.faq-a .text {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* --- 注文・配達 --- */
.order-section {
  background: var(--bg-white);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 70px;
}
.order-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accent-bar {
  width: 5px;
  height: 32px;
  background: var(--primary);
  border-radius: 2px;
}
.order-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: bold;
  color: var(--text-dark);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
}
.info-row {
  display: contents;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-card-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: var(--text-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.info-card-body {
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1;
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.info-card-icon svg { width: 24px; height: 24px; }
.info-card-texts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.info-card-texts .t1 {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}
.area-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  scroll-margin-top: 120px;
}
.area-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #F9F9F7;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.area-map {
  position: relative;
  width: 220px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.area-map picture {
  display: contents;
}
.area-map img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.area-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.area-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.area-tier .areas {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
}
.area-tier .cond {
  font-size: 16px;
  color: var(--text-mid);
  text-align: center;
}
.area-note {
  font-size: 15px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
.area-table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
}
.area-table th {
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  padding: 10px 16px;
  text-align: left;
}
.area-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.area-table td:first-child {
  font-weight: 500;
}
.area-table td:last-child {
  text-align: left;
  white-space: nowrap;
}
.area-map--gray img {
  filter: grayscale(100%) opacity(0.5);
}
.area-row--subtle {
  background: #F9F9F7;
}

/* --- お客様の声 --- */
.voice-section {
  background: var(--bg-cream);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.voice-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.voice-stars {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold);
}
.voice-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
}
.voice-author {
  font-size: 15px;
  color: var(--text-light);
}

/* =============================================
   PC対応（769px以上）
   ============================================= */
@media (min-width: 769px) {
  /* --- ヒーロー --- */
  .hero-images {
    aspect-ratio: 16 / 9;
    padding: 20px;
    gap: 10px;
  }
  .hero-content {
    padding: 36px 48px;
    gap: 20px;
  }
  .hero-title {
    font-size: 46px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-sub {
    font-size: 18px;
  }

  /* --- 商品セクション --- */
  .products-section {
    padding: 56px 40px;
    gap: 32px;
  }
  .ordouble-section {
    padding: 56px 40px;
    gap: 32px;
  }

  /* --- 利用シーン --- */
  .scene-section {
    padding: 56px 40px;
    gap: 28px;
  }
  .scene-block {
    padding: 32px;
    gap: 20px;
  }
  .scene-block-header h4 {
    font-size: 22px;
  }
  .scene-card-img {
    aspect-ratio: 4 / 3;
  }
  .scene-card-name {
    font-size: 20px;
    padding: 12px 8px;
  }
  .area-tab {
    padding: 16px 20px;
    font-size: 18px;
  }

  /* --- 4大理由 --- */
  .reasons-section {
    padding: 56px 40px;
    gap: 32px;
  }
  .reason-card {
    display: flex;
    flex-direction: row;
  }
  .reason-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  .reason-card-img {
    width: 45%;
    aspect-ratio: auto;
    min-height: 320px;
  }
  .reason-card-content {
    flex: 1;
    padding: 32px;
    justify-content: center;
    gap: 14px;
  }
  .reason-num {
    font-size: 40px;
  }
  .reason-title {
    font-size: 26px;
  }
  .reason-desc {
    font-size: 17px;
  }

  /* --- FAQ --- */
  .faq-section {
    padding: 56px 40px;
    gap: 28px;
  }
  .faq-item {
    padding: 28px;
  }
  .faq-q .text {
    font-size: 20px;
  }
  .faq-a .text {
    font-size: 17px;
  }

  /* --- 注文・配達 --- */
  .order-section {
    padding: 48px 40px;
    gap: 28px;
  }
  .order-header h2 {
    font-size: 28px;
  }
  .info-card {
    padding: 24px;
  }
  .info-card-title {
    font-size: 18px;
  }
  .info-card-texts .t1 {
    font-size: 15px;
  }
  .area-title {
    font-size: 26px;
  }
  .area-row {
    padding: 28px;
    gap: 28px;
  }
  .area-map {
    width: 260px;
    height: 240px;
  }
  .area-tier .areas {
    font-size: 22px;
  }
  .area-tier .cond {
    font-size: 17px;
  }

  /* --- お客様の声 --- */
  .voice-section {
    padding: 56px 40px;
    gap: 28px;
  }
  .voice-card {
    padding: 28px;
    gap: 14px;
  }
  .voice-stars {
    font-size: 22px;
  }
  .voice-text {
    font-size: 17px;
  }
  .voice-author {
    font-size: 16px;
  }
}

/* =============================================
   モバイル対応（768px以下）
   ============================================= */
@media (max-width: 768px) {
  /* --- ヒーロー --- */
  .hero-images {
    flex-direction: column;
    height: auto;
    aspect-ratio: auto;
    padding: 12px;
    gap: 8px;
  }
  .hero-main-img {
    aspect-ratio: 1 / 1;
  }
  .hero-sub-imgs {
    width: 100%;
    flex-direction: row;
    gap: 8px;
  }
  .hero-sub-imgs div {
    flex: 1;
    aspect-ratio: 16 / 9;
  }
  .hero-content {
    padding: 20px 16px;
    gap: 12px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.4;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-fax {
    font-size: 12px;
  }

  /* --- 商品セクション --- */
  .products-section {
    padding: 28px 14px;
    gap: 20px;
  }
  .ordouble-section {
    padding: 28px 14px;
    gap: 20px;
  }

  /* --- 利用シーン --- */
  .scene-section {
    padding: 28px 14px;
    gap: 16px;
  }
  .scene-block {
    padding: 16px;
    gap: 12px;
  }
  .scene-block-header h4 {
    font-size: 16px;
  }
  .scene-icon {
    width: 32px;
    height: 32px;
  }
  .scene-icon svg { width: 15px; height: 15px; }
  .scene-card-img {
    aspect-ratio: 4 / 3;
  }
  .scene-card-name {
    font-size: 13px;
    padding: 6px 4px;
  }
  .scene-badge {
    width: 24px; height: 24px;
    font-size: 12px;
    top: 5px; left: 5px;
  }
  .scene-list-link {
    align-self: stretch;
    justify-content: center;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* --- 4大理由 --- */
  .reasons-section {
    padding: 28px 14px;
    gap: 20px;
  }
  .reason-card-img {
    aspect-ratio: 16 / 9;
  }
  .reason-card-content {
    padding: 16px;
    gap: 8px;
  }
  .reason-num {
    font-size: 28px;
  }
  .reason-title {
    font-size: 18px;
  }
  .reason-desc {
    font-size: 14px;
  }

  /* --- FAQ --- */
  .faq-section {
    padding: 28px 14px;
    gap: 16px;
  }
  .faq-item {
    padding: 14px;
    gap: 8px;
  }
  .faq-q .text {
    font-size: 15px;
  }
  .faq-a .text {
    font-size: 14px;
  }
  .faq-q .badge, .faq-a .badge {
    font-size: 16px;
  }

  /* --- 注文・配達 --- */
  .order-section {
    padding: 28px 14px;
    gap: 16px;
  }
  .order-header h2 {
    font-size: 20px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    padding: 14px;
  }

  .area-title {
    font-size: 20px;
  }
  .area-row {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .area-map {
    width: 100%;
    height: 180px;
  }
  .area-tier .areas {
    font-size: 17px;
  }
  .area-tier .cond {
    font-size: 14px;
  }
  .area-note {
    font-size: 13px;
  }

  /* --- お客様の声 --- */
  .voice-section {
    padding: 28px 14px;
    gap: 16px;
  }
  .voice-card {
    padding: 14px;
    gap: 8px;
  }
  .voice-stars {
    font-size: 16px;
  }
  .voice-text {
    font-size: 14px;
    line-height: 1.7;
  }
  .voice-author {
    font-size: 13px;
  }

  /* --- タブ --- */
  .area-tab {
    padding: 10px 8px;
    font-size: 14px;
  }
}

/* --- 隣接エリア動線（配達エリア枠内・シンプル） --- */
.nearby-area-block {
  margin: 24px 0 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.nearby-area-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  background: #f5f2ef;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nearby-area-title svg {
  width: 16px; height: 16px;
  color: var(--text-light);
}
.nearby-area-list {
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.nearby-area-list li {
  flex: 1;
  text-align: center;
}
.nearby-area-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.9;
  transition: color .2s;
}
.nearby-area-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .nearby-area-list { flex-direction: column; gap: 4px; }
}
