/* =====================================================================
   LOVE AIRLINE MEALS — 共通スタイル
   旧サイト（2013年版）の黒いヘッダー・機内食の写真のヒーロー・写真の額縁を引き継ぎ、
   スマホでも崩れないようにしたもの. ビルド不要のプレーンな CSS.
   ===================================================================== */

:root {
  --text: #333333;
  --text-muted: #777777;
  --link: #0088cc;           /* 旧サイト（Bootstrap 2）のリンク色 */
  --accent: #33c3df;         /* ヘッダーの選択中 */
  --header: rgba(0, 0, 0, 0.75);
  --footer: #464646;
  --border: #dddddd;
  --box: #f7f7f7;
  --shell: 960px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 20;
  background: #fff;
  padding: 6px 10px;
}

.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 16px;
}

.empty {
  margin: 20px 0;
  padding: 16px;
  border-radius: 4px;
  background: #fcf8e3;
  color: #8a6d3b;
  text-align: center;
}

/* ------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px 16px;
}

.site-header__logo img {
  display: block;
  width: 210px;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
}

.site-header__nav a {
  color: #ccc;
  font-size: 13px;
  font-weight: bold;
}

.site-header__nav a:hover {
  color: #fff;
  text-decoration: none;
}

.site-header__nav a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 640px) {
  .site-header__logo img {
    width: 170px;
  }

  .site-header__nav {
    gap: 4px 18px;
  }
}

/* --------------------------------------------------------------- hero */

.hero {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: -62px;
  padding: 90px 16px 40px;
  background: #333 url("/images/bg_image.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.hero__title {
  font-size: clamp(28px, 6vw, 52px);
  letter-spacing: 0.25em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.hero__lead {
  margin-top: 6px;
  font-size: clamp(15px, 2.6vw, 22px);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------ section */

.section {
  padding: 30px 16px 10px;
}

.section__title {
  margin: 10px 0 20px;
  font-size: 22px;
  text-align: center;
}

.section__title--left {
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  text-align: left;
}

.more {
  margin: 10px 0 20px;
  text-align: center;
  font-size: 16px;
}

.page {
  padding-top: 16px;
  padding-bottom: 30px;
}

.page__title {
  font-weight: bold;
  margin: 8px 0 16px;
  font-size: 26px;
  line-height: 1.4;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-inline: 6px;
}

/* ------------------------------------------------------- photo grid */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-grid__item {
  text-align: center;
}

.photo-grid__item img,
.airline-grid__logo,
.airline-head__logo {
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.photo-grid__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid__caption {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* ---------------------------------------------------------- airlines */

.airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.airline-grid__logo {
  max-width: 150px;
  border-radius: 6px;
}

.airline-grid__name {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: bold;
}

.airline-grid__count {
  font-size: 12px;
  color: var(--text-muted);
}

.airline-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .airline-head {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }
}

.airline-head__logo {
  border-radius: 6px;
}

.airline-head__name {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: bold;
}

.airline-head__name span {
  font-size: 12px;
  font-weight: normal;
}

.airline-head__links {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.tabs {
  margin: 16px 0;
  border-bottom: 1px solid var(--border);
}

.tabs ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs a {
  display: block;
  margin-bottom: -1px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}

.tabs a[aria-current="page"] {
  border-color: var(--border) var(--border) #fff;
  background: #fff;
  color: #555;
}

/* ------------------------------------------------------------ review */

.review {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--box);
}

.review__route {
  font-size: 20px;
  line-height: 1.4;
}

.review__route::before {
  content: "✈ ";
  color: var(--text-muted);
}

.review__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.review__comment {
  margin-top: 10px;
  line-height: 1.8;
}

.review__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.review__photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
}

.review__photos--large img {
  width: 220px;
  height: 165px;
}

.review__photos a[aria-current="page"] img {
  outline: 3px solid var(--accent);
}

@media (max-width: 480px) {
  .review__photos--large img {
    width: 100%;
    height: auto;
  }

  .review__photos--large li {
    width: 100%;
  }
}

.review__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.review__more {
  margin-left: auto;
}

.stale-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.back-links {
  margin-top: 20px;
}

.back-links ul {
  padding-left: 1.2em;
}

/* ------------------------------------------------------- photo view */

.photo-view {
  margin: 10px 0 0;
  padding: 8px;
  border-radius: 6px;
  background: #222;
}

.photo-view__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.photo-view__image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.photo-view__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 64px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.photo-view__nav:hover {
  background: rgb(0 0 0 / 70%);
  text-decoration: none;
}

.photo-view__nav--prev {
  left: 4px;
}

.photo-view__nav--next {
  right: 4px;
}

.photo-view__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
}

.photo-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  margin-top: 10px;
}

.photo-pager > :last-child {
  text-align: right;
}

/* ------------------------------------------------------- pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 24px 0;
}

.pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.pagination span[aria-current="page"] {
  border-color: var(--link);
  background: var(--link);
  color: #fff;
}

/* ------------------------------------------------------------- prose */

.prose {
  line-height: 1.8;
}

.prose h2 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.prose h3 {
  margin: 16px 0 6px;
  font-size: 15px;
}

.prose p {
  margin: 0 0 10px;
}

.prose ul,
.prose ol {
  margin: 0 0 10px;
  padding-left: 28px;
}

.notice-box {
  padding: 12px 14px;
  border-radius: 4px;
  background: #fcf8e3;
}

.error-page {
  min-height: 40vh;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  margin-top: 30px;
}

.site-footer__notice {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer__bar {
  padding: 30px 16px;
  background: var(--footer);
  color: #ddd;
  font-size: 12px;
  text-align: center;
}

.site-footer__bar a {
  color: #fff;
  font-weight: bold;
}

.site-footer__bar p + p {
  margin-top: 8px;
}

/* ---------------------------------------------------------- 手動の広告枠 */

.ad {
  margin: 20px auto;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.ad__label {
  display: block;
  font-size: 10px;
  color: #999;
}

/* 広告が後から差し込まれてレイアウトがずれないよう、伸び縮みする枠も高さを先に確保する（固定サイズの枠は ins に幅と高さを指定済み） */
.ad ins.adsbygoogle[data-ad-format] {
  min-height: 100px;
}

@media (max-width: 767px) {
  .ad__unit--pc,
  .ad--pc-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .ad__unit--sp,
  .ad--sp-only {
    display: none !important;
  }
}

/* ------------------------------------------------ 会員機能の終了のお知らせ */

.closed-notice {
  margin: 20px 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
}
