/* ================================
   まるっと佐世保 公式LP
   Design tone: hills-field inspired
   ================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #fff8e6;       /* 泡色クリーム */
  --color-bg-cream: #fdebb0;     /* 薄いビール */
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-sub: #6b6b6b;
  --color-text-mute: #999999;
  --color-border: #f0e3c0;       /* 黄味ベージュ */
  --color-accent: #d97706;       /* 統一オレンジ */
  --color-accent-warm: #f5c342;  /* 明るいビール色（装飾用） */
  --color-foam: #fffaf0;         /* 泡白 */
  --color-white: #ffffff;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", Georgia, serif;

  --max-width: 1200px;
  --max-width-narrow: 900px;
  --radius: 4px;
  --radius-lg: 12px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Common ---------- */
section {
  padding: 100px 0;
}

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-title.in-view {
  opacity: 1;
  transform: translateY(0);
  animation: title-bounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}
@keyframes title-bounce {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-8px); }
  40%  { transform: translateY(0); }
  55%  { transform: translateY(-4px); }
  70%  { transform: translateY(0); }
  85%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.about-spice,
.hero-tagline {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.about-spice.in-view,
.hero-tagline.in-view {
  animation: spice-jump 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes spice-jump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .section-title { opacity: 1; transform: none; animation: none; }
  .about-spice, .hero-tagline { animation: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #b85f00;
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: #b85f00;
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--color-white);
  color: var(--color-white);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
}
.btn-large {
  padding: 20px 56px;
  font-size: 16px;
  margin-top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.global-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: opacity 0.2s;
}
.global-nav a:hover {
  opacity: 0.6;
}
.nav-cta {
  padding: 10px 22px;
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: #b85f00;
  opacity: 1 !important;
}
.nav-cta-line {
  background: transparent;
  color: var(--color-accent) !important;
  border: 1px solid var(--color-accent);
}
.nav-cta-line:hover {
  background: rgba(217,118,6,0.10);
  color: var(--color-accent) !important;
  opacity: 1 !important;
}

/* ---------- Float Icon Marquee ---------- */
@keyframes float-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float-ltr {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.float-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: float-bob 3s ease-in-out infinite;
}
.float-burger::before,
.float-ship::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}
.float-burger {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><ellipse cx='24' cy='12' rx='18' ry='8' fill='%23e6a55c' stroke='%238b4a1a' stroke-width='1'/><circle cx='16' cy='10' r='1.2' fill='white'/><circle cx='22' cy='8' r='1.2' fill='white'/><circle cx='28' cy='9' r='1.2' fill='white'/><circle cx='34' cy='11' r='1.2' fill='white'/><path d='M6 19 Q9 16 12 19 Q15 16 18 19 Q21 16 24 19 Q27 16 30 19 Q33 16 36 19 Q39 16 42 19 L42 22 L6 22 Z' fill='%237cb342' stroke='%234a7a2a' stroke-width='0.8'/><rect x='6' y='22' width='36' height='5' fill='%23a0522d' stroke='%235a3015' stroke-width='0.8'/><path d='M6 27 Q24 30 42 27 L42 30 Q24 33 6 30 Z' fill='%23f5c342' stroke='%23a07e1e' stroke-width='0.6'/><ellipse cx='24' cy='34' rx='18' ry='7' fill='%23d9925a' stroke='%238b4a1a' stroke-width='1'/></svg>");
}
.float-ship {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 48'><line x1='28' y1='4' x2='28' y2='22' stroke='%234a4a4a' stroke-width='1.2'/><path d='M28 6 L28 20 L40 13 Z' fill='%23d97706' stroke='%238b4a06' stroke-width='0.8'/><rect x='14' y='22' width='28' height='10' fill='%23f5f5f5' stroke='%234a4a4a' stroke-width='0.8'/><circle cx='19' cy='27' r='1.6' fill='%231e4d6b'/><circle cx='25' cy='27' r='1.6' fill='%231e4d6b'/><circle cx='31' cy='27' r='1.6' fill='%231e4d6b'/><circle cx='37' cy='27' r='1.6' fill='%231e4d6b'/><path d='M6 32 L50 32 L46 42 L10 42 Z' fill='%231e4d6b' stroke='%230e2d4b' stroke-width='0.8'/></svg>");
  width: 52px;
  height: 44px;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}
.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 80px;
}
.hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7);
}
.hero-tagline {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  opacity: 1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.6);
}
.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-lead {
  font-size: 16px;
  margin-bottom: 40px;
  opacity: 0.92;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  padding: 60px 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-value {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}
.stat-value .unit {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--color-text);
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* ---------- About ---------- */
.about {
  text-align: center;
}
.about-spice {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c2410c;
  margin: -8px 0 16px;
}
.about-lead {
  font-size: 18px;
  line-height: 2;
  max-width: var(--max-width-narrow);
  margin: 0 auto 32px;
}
.about-body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-sub);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.about-illust {
  margin: 72px 0 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--color-bg-alt);
}

/* ---------- Illust Floats (Burger/Ship Marquee around HP illustration) ---------- */
.illust-floats {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  height: 56px;
}
.illust-floats-top { top: 0; }
.illust-floats-bottom { bottom: 0; }
.illust-floats-track {
  display: flex;
  gap: 80px;
  width: max-content;
}
.illust-floats-track-rtl {
  animation: float-rtl 28s linear infinite;
}
.illust-floats-track-ltr {
  animation: float-ltr 32s linear infinite;
}
.about-illust img {
  width: 100%;
  height: auto;
  display: block;
}
.about-illust figcaption {
  position: absolute;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 36px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.08em;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* ---------- Programs ---------- */
.programs {
  background: var(--color-bg-alt);
  text-align: center;
}
.programs-intro {
  font-size: 15px;
  color: var(--color-text-sub);
  margin: -32px auto 40px;
  max-width: var(--max-width-narrow);
}
.programs-grid {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}
.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.program-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a8500a;
  background: rgba(217, 118, 6, 0.12);
  padding: 9px 20px;
  border: 1px solid rgba(217, 118, 6, 0.4);
  border-radius: 99px;
  margin-bottom: 20px;
}
.program-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.program-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.program-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-sub);
}

/* ---------- Numbers ---------- */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.number-card {
  text-align: center;
  padding: 36px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}
.number-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.number-icon svg {
  width: 100%;
  height: 100%;
}
.number-platform {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-text-sub);
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* ---------- SNS Brand Colors ---------- */
.icon-yt { color: #FF0000; }
.icon-ig { color: #E4405F; }
.icon-tt { color: #000000; }
.number-value {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.number-label {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 8px;
}
.numbers-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-mute);
  margin-top: 32px;
}

/* ---------- Works ---------- */
.works {
  background: var(--color-bg-alt);
  text-align: center;
}
.works-lead {
  font-size: 17px;
  max-width: var(--max-width-narrow);
  margin: 0 auto 40px;
  line-height: 2;
}
.works-lead strong {
  color: var(--color-accent);
  font-weight: 700;
}
.works-marquee {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.works-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.works-marquee:hover .works-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.work-tile {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 380px;
  flex-shrink: 0;
}
.work-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  z-index: 2;
}
.work-tile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--color-bg-alt);
}
.work-tile figcaption {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 1.4;
}
.works-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-mute);
  margin-top: 32px;
}

/* ---------- Services ---------- */
.services {
  text-align: center;
  background: var(--color-white);
}
.services-intro {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-sub);
  max-width: var(--max-width-narrow);
  margin: -16px auto 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width-narrow);
  margin: 0 auto 48px;
}
.service-card {
  display: flex;
  align-items: stretch;
  text-align: left;
  background: var(--color-bg-alt);
  padding: 28px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
  gap: 8px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.service-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
  margin-right: 8px;
  mix-blend-mode: multiply;
}
.service-body {
  flex: 1;
  min-width: 0;
}
.service-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.service-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-text);
}
.service-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-sub);
}
.service-desc em {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}
.service-samples {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.service-samples__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
  margin-right: 2px;
}
.service-samples a {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 99px;
  padding: 5px 16px;
  transition: all 0.2s;
}
.service-samples a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ---------- Sample Preview Modal ---------- */
.sample-modal[hidden] { display: none; }
.sample-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sample-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: modal-fade 0.25s ease;
}
.sample-modal__window {
  position: relative;
  width: min(1100px, 100%);
  height: min(82vh, 840px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.sample-modal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.sample-modal__dots { display: flex; gap: 7px; flex-shrink: 0; }
.sample-modal__dots i { width: 12px; height: 12px; border-radius: 50%; background: #d9b94e; display: block; }
.sample-modal__dots i:nth-child(1) { background: #ef6a5a; }
.sample-modal__dots i:nth-child(2) { background: #f5c342; }
.sample-modal__dots i:nth-child(3) { background: #5fb96a; }
.sample-modal__url {
  flex: 1;
  min-width: 0;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-text-sub);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  padding: 5px 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.sample-modal__open { font-size: 13px; font-weight: 700; color: var(--color-accent); white-space: nowrap; }
.sample-modal__open:hover { text-decoration: underline; }
.sample-modal__close {
  font-size: 26px;
  line-height: 1;
  color: var(--color-text-sub);
  padding: 0 4px;
  transition: color 0.2s, transform 0.2s;
}
.sample-modal__close:hover { color: var(--color-text); transform: scale(1.15); }
.sample-modal__frame { flex: 1; width: 100%; border: 0; background: var(--color-white); }
@media (max-width: 600px) {
  .sample-modal { padding: 0; }
  .sample-modal__window { width: 100%; height: 100%; border-radius: 0; }
  .sample-modal__url { display: none; }
}
.services-outro {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

/* ---------- Sample Showcase (Servicesの下の大きいサンプルボタン) ---------- */
.sample-showcase {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px dashed var(--color-border);
}
.sample-showcase__label {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
}
.sample-showcase__hint {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-top: 6px;
  margin-bottom: 22px;
}
.sample-showcase__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 99px;
  padding: 16px 32px;
  box-shadow: 0 4px 14px rgba(217,118,6,0.12);
  transition: all 0.25s ease;
}
.sample-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(217,118,6,0.30);
}
.sample-btn__emoji { font-size: 22px; }
@media (max-width: 600px) {
  .sample-showcase__btns { flex-direction: column; align-items: stretch; }
  .sample-btn { justify-content: center; font-size: 16px; padding: 15px 24px; }
}

/* ---------- Contact Shop ---------- */
.contact-shop {
  text-align: center;
}
.contact-lead {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 56px;
}
.contact-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 56px;
}
.feature {
  text-align: center;
  padding: 0 16px;
}
.feature-icon {
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: 0.2em;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ---------- Contact Biz ---------- */
.contact-biz {
  background: var(--color-bg-alt);
  color: var(--color-text);
  text-align: center;
}
.contact-biz .section-eyebrow { color: var(--color-accent); }
.contact-biz .contact-lead { color: var(--color-text-sub); }

/* ---------- Social ---------- */
.social {
  text-align: center;
  background: var(--color-bg-alt);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 220px;
  transition: all 0.3s;
}
.social-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon svg {
  width: 100%;
  height: 100%;
}
.social-link:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.social-name {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.social-handle {
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ---------- Beer Wave Divider ---------- */
.beer-wave {
  position: relative;
  background: var(--color-accent);  /* 波形の下＝ビール色 */
  line-height: 0;
  margin-top: 60px;
}
.beer-wave svg {
  display: block;
  width: 100%;
  height: 150px;
}
.footer-char {
  position: absolute;
  bottom: 10px;
  width: auto;
  height: clamp(150px, 20vw, 240px);
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
  pointer-events: none;
}
.footer-char-left {
  left: 4%;
}
.footer-char-right {
  right: 4%;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  background: var(--color-accent);  /* ビール色で一番下まで統一 */
  color: rgba(255,255,255,0.95);
  position: relative;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}
.footer-tagline {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-white);
  opacity: 0.9;
  margin-top: 4px;
}
.footer-meta {
  text-align: right;
  font-size: 13px;
  line-height: 1.8;
}
.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ---------- Dividers (Lanterns) ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  background: var(--color-bg-alt);
  position: relative;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  max-width: 200px;
}
.divider-lanterns.triple { gap: 56px; }

.lantern {
  width: 32px;
  height: 48px;
  display: inline-block;
  transform-origin: top center;
}
.lantern svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lantern-sway {
  animation: lantern-sway 3.2s ease-in-out infinite;
}
@keyframes lantern-sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

/* ---------- Cat Runner Animation ---------- */
.cat-run {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 60px 24px;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}
.cat-runner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  opacity: 0;
}
.cat-runner.cat-left {
  transform: translateX(-120vw) rotate(-720deg);
}
.cat-runner.cat-right {
  transform: translateX(120vw) rotate(720deg);
}
.cat-run.in-view .cat-runner {
  transform: translateX(0) rotate(0);
  opacity: 1;
}
.cat-bubble {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-white);
  padding: 14px 28px;
  border-radius: 99px;
  border: 2px solid var(--color-text);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.cat-run.in-view .cat-bubble {
  opacity: 1;
  transform: translateY(0);
}
.cat-bubble::before,
.cat-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border: 2px solid var(--color-text);
  border-radius: 50%;
  transform: translateY(-50%);
}
.cat-bubble::before {
  left: -22px;
  border-right: none;
  border-top: none;
}
.cat-bubble::after {
  right: -22px;
  border-left: none;
  border-bottom: none;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lantern-sway { animation: none; }
  .cat-runner,
  .cat-bubble {
    transition: opacity 0.3s ease;
    transform: none;
    opacity: 1;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .section-title { font-size: 26px; margin-bottom: 36px; }

  .global-nav { gap: 16px; }
  .global-nav a:not(.nav-cta) { display: none; }

  .hero { height: 90vh; min-height: 540px; }
  .hero-title { font-size: 28px; }
  .hero-lead { font-size: 14px; }
  .hero-tagline { font-size: 15px; }

  .stat-value { font-size: 42px; }
  .stats-bar .container { gap: 24px; }

  .programs-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .work-tile { width: 240px; }
  .work-tile figcaption { font-size: 13px; padding: 10px 8px; }
  .contact-features { grid-template-columns: 1fr; gap: 40px; }

  .social-link { min-width: 0; padding: 24px 32px; }
  .social-links { gap: 16px; }

  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .logo-text { display: none; }
  .global-nav { gap: 10px; }
  .nav-cta, .nav-cta-line { padding: 9px 14px; font-size: 13px; }
  .section-title { font-size: 22px; }
  .hero-title { font-size: 22px; line-height: 1.6; }
  .hero-cta .btn { padding: 14px 24px; font-size: 14px; }
  .btn-large { padding: 18px 36px; font-size: 15px; }
  .stat-value { font-size: 36px; }
  .stat-value .unit { font-size: 16px; }
  .number-value { font-size: 32px; }
  .program-name { font-size: 22px; }
  .work-tile { width: 200px; }
  .works-track { animation-duration: 70s; }
  .cat-bubble { font-size: 13px; padding: 10px 16px; white-space: normal; max-width: 200px; text-align: center; line-height: 1.5; }
  .cat-runner { width: 56px; height: 56px; }
  .cat-run { gap: 16px; padding: 40px 16px; }
  .divider { gap: 16px; padding: 20px 0; }
  .divider-lanterns.triple { gap: 28px; }
  .lantern { width: 24px; height: 36px; }
}
