@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@300;500;700&display=swap");

:root {
  --ink: #1f2933;
  --sub: #5b6670;
  --line: #e3e7eb;
  --bg: #ffffff;
  --soft: #f4f6f8;
  --navy: #1d3557;
  --accent: #c8102e;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Outfit", sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* 下書き表示（公開前に消す） */
.draft-bar {
  background: #fff4cc;
  color: #7a5b00;
  font-size: 13px;
  text-align: center;
  padding: 4px 16px;
}

/* ヘッダー */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 30px;
  letter-spacing: .06em; color: var(--navy); text-decoration: none; line-height: 1;
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--sub); }
.nav a:hover { color: var(--navy); }
.lang { display: flex; gap: 6px; }
.lang a {
  border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px;
  font-family: "Outfit", sans-serif; font-size: 12px;
}
.lang a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ヒーロー（写真3枚を順に切り替え） */
.hero { position: relative; height: 62vh; min-height: 320px; max-height: 620px; overflow: hidden; background: var(--soft); }
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: fade 18s infinite;
}
.hero img:nth-child(2) { animation-delay: 6s; }
.hero img:nth-child(3) { animation-delay: 12s; }
@keyframes fade { 0% {opacity:0} 6% {opacity:1} 33% {opacity:1} 39% {opacity:0} 100% {opacity:0} }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 16px 28px;
  background: linear-gradient(to top, rgba(10,20,35,.62), rgba(10,20,35,0));
  color: #fff;
}
.hero-copy div { max-width: var(--max); margin: 0 auto; }
.hero-copy h1 { margin: 0; font-size: clamp(24px, 4vw, 40px); font-weight: 700; line-height: 1.35; }
.hero-copy p { margin: 6px 0 0; font-size: clamp(14px, 1.8vw, 17px); opacity: .92; }

/* 見出し */
.section { padding: 72px 16px; }
.section.soft { background: var(--soft); }
.wrap { max-width: var(--max); margin: 0 auto; }
.h2 { text-align: center; margin: 0 0 40px; }
.h2 span { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--navy); }
.h2 small {
  display: block; font-family: "Outfit", sans-serif; letter-spacing: .25em;
  font-size: 12px; color: var(--accent); margin-top: 4px;
}

/* 特長 */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; list-style: none; margin: 0; padding: 0; }
.points img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; }
.points small { display: block; margin-top: 16px; font-family: "Outfit", sans-serif; color: var(--accent); letter-spacing: .15em; font-size: 12px; }
.points h3 { margin: 2px 0 8px; font-size: 19px; color: var(--navy); }
.points p { margin: 0; color: var(--sub); font-size: 15px; }

/* ご利用案内 */
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.guide li { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.guide img { width: 100%; aspect-ratio: 660/416; object-fit: cover; }
.guide div { padding: 16px 18px 20px; }
.guide h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.guide p { margin: 0; color: var(--sub); font-size: 14px; }

/* 沿革 */
.history { display: grid; gap: 40px; }
.history-row { display: grid; grid-template-columns: 5fr 6fr; gap: 32px; align-items: center; }
.history-row:nth-child(even) .history-img { order: 2; }
.history-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.history h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.history p { margin: 0; color: var(--sub); font-size: 15px; }

/* 購入先 */
.buy { text-align: center; }
.buy p { color: var(--sub); margin: 0 0 20px; }
.badge {
  display: inline-block; border: 2px solid var(--navy); color: var(--navy);
  padding: 10px 28px; border-radius: 40px; font-family: "Outfit", sans-serif; font-weight: 500;
}

/* 会社概要 */
.company { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; font-size: 15px; }
.company th, .company td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
.company th { width: 32%; color: var(--navy); font-weight: 500; white-space: nowrap; }

/* お問い合わせ */
.contact { text-align: center; }
.contact p { color: var(--sub); margin: 0 0 20px; }
.button {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 36px; border-radius: 3px; font-weight: 500;
}
.button:hover { background: #142640; }

/* フッター */
.footer { background: var(--navy); color: #cfd8e3; padding: 36px 16px; font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer .logo { color: #fff; font-size: 24px; }

@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav { gap: 12px; font-size: 13px; }
  .section { padding: 52px 16px; }
  .points, .guide { grid-template-columns: 1fr; }
  .history-row { grid-template-columns: 1fr; gap: 14px; }
  .history-row:nth-child(even) .history-img { order: 0; }
  .company th { width: 36%; white-space: normal; }
}
