/* ========================================
   食のまち・八戸応援食事券 LP
   Liquid sizing: 1rem = 10px @1366px+
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@media screen and (max-width: 1366px) {
  html {
    font-size: 0.732vw;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 2.666vw;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #1a1a1a;
  background: #fffdf5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 7.2rem;
  background: #fff;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 144rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.6rem;
}

.logo img {
  height: 4.8rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.nav-link {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #c84040;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.4rem;
  background: #c84040;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 2.4rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: #b53535;
  transform: translateY(-0.1rem);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 2.8rem;
  height: 2.8rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background: #1a1a1a;
  border-radius: 0.1rem;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  margin-top: 7.2rem;
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Tagline --- */
.tagline {
  background: #c84040;
  padding: 2.4rem 8rem;
  text-align: center;
}

.tagline p {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

/* --- Section Common --- */
.section {
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 144rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  color: #1a1a1a;
  text-align: center;
}

.section-divider {
  display: block;
  width: 6rem;
  height: 0.4rem;
  border-radius: 0.2rem;
  margin-top: 0;
}

.divider-yellow {
  background: #ecb629;
}

.divider-red {
  background: #c84040;
}

.divider-green {
  background: #3d8c5c;
}

/* --- About "とは？" Section --- */
.about-what {
  background: #fff;
}

.about-what .section-inner {
  padding: 7.2rem 20rem;
  gap: 2.4rem;
}

.about-desc {
  font-size: 1.6rem;
  font-weight: 500;
  color: #444;
  text-align: center;
  line-height: 2;
  max-width: 72rem;
}

/* --- About Info Section --- */
.about-info {
  background: #f7f6f3;
}

.about-info .section-inner {
  padding: 8rem 20rem;
  gap: 2.4rem;
}

.info-highlight {
  font-size: 2.4rem;
  font-weight: 900;
  color: #c84040;
  text-align: center;
  line-height: 2;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 90rem;
  width: 100%;
}

.info-img {
  flex-shrink: 0;
  width: 38rem;
  height: 26rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.info-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-specs {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.4rem 1.4rem;
  background: #555;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 0.4rem;
  white-space: nowrap;
}

.spec-val {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
}

.spec-note {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin-top: 0.2rem;
}

/* --- Schedule --- */
.schedule {
  background: #fff;
}

.schedule .section-inner {
  padding: 8rem 20rem;
  gap: 2.4rem;
}

.sched-table {
  width: 56rem;
  background: #fff;
}

.sched-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1rem 0;
  border-bottom: 0.1rem solid #eee;
}

.sched-row-highlight {
  border-bottom: none;
  padding: 1.6rem 0;
}

.sched-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18rem;
  padding: 0.8rem 1.4rem;
  background: #555;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 0.4rem;
  flex-shrink: 0;
}

.sched-tag-green {
  background: #3d8c5c;
}

.sched-date {
  font-size: 1.4rem;
  color: #333;
  white-space: nowrap;
}

.sched-date-bold {
  font-weight: 800;
}

/* --- CTA --- */
.cta-section {
  background: #f7f6f3;
}

.cta-section .section-inner {
  padding: 8rem 12rem;
  gap: 3.2rem;
}

.cta-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.cta-title {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-align: center;
}

.cta-desc {
  font-size: 1.6rem;
  color: #333;
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem 6.4rem;
  background: #c84040;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 3.2rem;
  box-shadow: 0 0.4rem 1.6rem rgba(200, 64, 64, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  background: #b53535;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 2.4rem rgba(200, 64, 64, 0.35);
}

.cta-note {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
}

/* --- Notice --- */
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5.6rem 12rem;
  background: #fff;
}

.notice svg {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  color: #333;
}

.notice p {
  font-size: 2.1rem;
  font-weight: 500;
  color: #333;
}

/* --- Footer --- */
.footer {
  background: #1a1a1a;
}

.footer-inner {
  max-width: 144rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  padding: 4.8rem 12rem;
}

.footer-logo {
  width: 9.6rem;
  height: 9.6rem;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-note {
  font-size: 1.3rem;
  color: #aaa;
  text-align: center;
}

.footer-divider {
  width: 100%;
  max-width: 80rem;
  border: none;
  border-top: 0.1rem solid #333;
}

.footer-copy {
  font-size: 1.2rem;
  color: #777;
}

/* --- Decorations --- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.deco-about-right {
  width: 10rem;
  height: 14rem;
  top: 5rem;
  right: 6rem;
  opacity: 0.15;
  transform: rotate(15deg);
}

.deco-info-right {
  width: 13rem;
  height: 7.5rem;
  bottom: 8rem;
  right: 5rem;
  opacity: 0.12;
  transform: rotate(8deg);
}

.deco-sched-left {
  width: 15rem;
  height: 8.5rem;
  top: 10rem;
  left: 3rem;
  opacity: 0.15;
  transform: rotate(-10deg);
}

.deco-sched-right {
  width: 9rem;
  height: 10.8rem;
  bottom: 6rem;
  right: 6rem;
  opacity: 0.12;
  transform: rotate(18deg);
}

.deco-cta-right {
  width: 11rem;
  height: 13rem;
  top: 5rem;
  right: 6rem;
  opacity: 0.15;
  transform: rotate(-12deg);
}

.deco-cta-left {
  width: 8rem;
  height: 11.2rem;
  bottom: 3rem;
  left: 6rem;
  opacity: 0.12;
  transform: rotate(-20deg);
}

/* --- Fade In Up Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(3.2rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children delay */
.fade-up .section-title {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up .section-divider {
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.5s 0.2s, transform 0.5s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible .section-title,
.fade-up.visible .section-divider {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

/* ========================================
   Responsive - Mobile (max-width: 768px)
   ======================================== */
@media screen and (max-width: 768px) {
  /* Header */
  .header {
    height: 5.6rem;
  }

  .header-inner {
    padding: 0 2rem;
  }

  .logo img {
    height: 3.6rem;
  }

  .nav {
    display: none;
    position: fixed;
    top: 5.6rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 2.4rem 2rem;
    gap: 0;
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 1.6rem 0;
    font-size: 1.5rem;
    border-bottom: 0.1rem solid #eee;
    display: block;
    width: 100%;
  }

  .nav-cta {
    margin-top: 1.6rem;
    justify-content: center;
    font-size: 1.5rem;
    padding: 1.4rem 2.4rem;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    margin-top: 5.6rem;
  }

  /* Tagline */
  .tagline {
    padding: 1.4rem 2rem;
  }

  .tagline p {
    font-size: 1.2rem;
  }

  /* Section Common */
  .section-title {
    font-size: 2rem;
  }

  .section-divider {
    width: 4rem;
    height: 0.3rem;
  }

  /* About とは？ */
  .about-what .section-inner {
    padding: 4.8rem 2.4rem;
    gap: 2rem;
  }

  .about-desc {
    font-size: 1.4rem;
    line-height: 2;
  }

  .about-desc br {
    display: none;
  }

  /* About Info */
  .about-info .section-inner {
    padding: 4.8rem 2.4rem;
    gap: 2rem;
  }

  .info-highlight {
    font-size: 1.8rem;
  }

  .info-content {
    flex-direction: column;
    gap: 2rem;
  }

  .info-img {
    width: 26rem;
    height: 18rem;
    margin: 0 auto;
  }

  .spec-tag {
    min-width: 9rem;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }

  .spec-val {
    font-size: 1.3rem;
  }

  .spec-note {
    font-size: 1.1rem;
  }

  /* Schedule */
  .schedule .section-inner {
    padding: 4.8rem 2rem;
    gap: 2rem;
  }

  .sched-table {
    width: 100%;
  }

  .sched-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1.2rem 0;
  }

  .sched-row-highlight {
    padding: 1.4rem 0;
  }

  .sched-tag {
    width: auto;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
  }

  .sched-date {
    font-size: 1.3rem;
  }

  /* CTA */
  .cta-section .section-inner {
    padding: 4.8rem 2rem;
    gap: 2.4rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-desc {
    font-size: 1.3rem;
    line-height: 1.8;
  }

  .cta-btn {
    padding: 1.6rem 4rem;
    font-size: 1.5rem;
    gap: 0.8rem;
  }

  .cta-btn svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .cta-note {
    font-size: 1.1rem;
  }

  /* Notice */
  .notice {
    padding: 3.2rem 2rem;
    gap: 0.8rem;
  }

  .notice svg {
    width: 2rem;
    height: 2rem;
  }

  .notice p {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer-inner {
    padding: 3.6rem 2rem;
    gap: 1.6rem;
  }

  .footer-logo {
    width: 7.2rem;
    height: 7.2rem;
  }

  .footer-note {
    font-size: 1rem;
  }

  .footer-copy {
    font-size: 1rem;
  }

  /* Decorations - smaller on mobile */
  .deco-about-right {
    width: 5rem;
    height: 7rem;
    top: 2rem;
    right: 1rem;
  }

  .deco-info-right {
    width: 7rem;
    height: 4rem;
    bottom: 4rem;
    right: 1rem;
  }

  .deco-sched-left {
    width: 7rem;
    height: 4rem;
    top: 6rem;
    left: -1rem;
  }

  .deco-sched-right {
    width: 5rem;
    height: 6rem;
    bottom: 3rem;
    right: 1rem;
  }

  .deco-cta-right {
    width: 5rem;
    height: 6rem;
    top: 2rem;
    right: 1rem;
  }

  .deco-cta-left {
    width: 4rem;
    height: 5.6rem;
    bottom: 1rem;
    left: 1rem;
  }
}
