/*
Theme Name: 100 TOURS SAPPORO
Theme URI: https://100tours.jp
Author: 100 TOURS
Author URI: https://100tours.jp
Description: Official theme for 100 TOURS SAPPORO - Experience tours in Hokkaido, Japan. 2026 Summer Coming.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 100tours
Tags: one-page, responsive-layout, custom-colors, custom-menu, featured-images, food, travel, japan
*/

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #C8102E;
  --red-dark:   #9e0d24;
  --white:      #FFFFFF;
  --off-white:  #FAF8F5;
  --black:      #111111;
  --gray:       #888;
  --light-gray: #e8e4e0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--off-white);
  color: var(--black);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-circle {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo-circle .logo-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; color: white; letter-spacing: 1px;
}
.nav-logo-circle .logo-word {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; color: white; letter-spacing: 2px;
}
.nav-site-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 3px; color: var(--black);
}

/* WordPress nav menu */
.main-navigation ul {
  display: flex; gap: 32px; list-style: none;
}
.main-navigation a {
  font-family: 'Oswald', sans-serif;
  font-size: 13px; letter-spacing: 2px;
  color: var(--black); text-transform: uppercase;
  transition: color 0.2s;
}
.main-navigation a:hover { color: var(--red); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--black); transition: all 0.3s;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 40px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(200,16,46,0.06) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--red); color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
}

.hero-logo {
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
  background: var(--red);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 48px;
  box-shadow: 0 20px 60px rgba(200,16,46,0.3);
  animation: fadeUp 0.8s 0.1s ease both;
  position: relative;
}
.hero-logo::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(200,16,46,0.25);
  animation: pulse 3s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: 0.5; }
}

.logo-100   { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 8vw, 80px); color: white; line-height: 0.9; letter-spacing: 2px; }
.logo-tours { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 5vw, 46px); color: white; line-height: 1; letter-spacing: 4px; }
.logo-sapporo { font-family: 'Oswald', sans-serif; font-size: clamp(10px, 1.5vw, 14px); color: rgba(255,255,255,0.85); letter-spacing: 3px; margin-top: 4px; text-transform: uppercase; }

.hero-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 9vw, 110px);
  color: var(--red); letter-spacing: 6px; line-height: 1;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: #555; line-height: 1.8;
  max-width: 480px; font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta {
  margin-top: 40px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-primary {
  background: var(--red); color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  padding: 16px 40px; border: none; border-radius: 2px;
  cursor: pointer; display: inline-block;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); color: white; }

.btn-outline {
  background: transparent; color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 40px; border: 1.5px solid var(--black); border-radius: 2px;
  cursor: pointer; display: inline-block;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--black); color: white; transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1s 0.8s both;
}
.scroll-hint span { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 3px; color: var(--gray); }
.scroll-arrow { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--red)); animation: scrollDrop 1.8s infinite; }
@keyframes scrollDrop {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────────────────────────────────
   FOOD STRIP
───────────────────────────────────────── */
.food-strip {
  overflow: hidden; background: var(--black); position: relative;
}
.food-strip::before,
.food-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.food-strip::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.food-strip::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }

.food-track {
  display: flex; gap: 6px; width: max-content;
  animation: slideFood 40s linear infinite;
  padding: 6px 0;
}
.food-track:hover { animation-play-state: paused; }
@keyframes slideFood {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.food-item {
  width: clamp(130px, 16vw, 180px);
  height: clamp(90px, 11vw, 120px);
  flex-shrink: 0; overflow: hidden; border-radius: 3px;
}
.food-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.88) saturate(1.1);
}
.food-item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.2); }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about-section {
  padding: 100px 40px; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px); letter-spacing: 3px; line-height: 1.1; margin-bottom: 24px;
}
.about-text h2 em { color: var(--red); font-style: normal; }
.about-text p { font-size: 15px; line-height: 1.9; color: #555; font-weight: 300; margin-bottom: 16px; }

.about-card {
  background: var(--red); border-radius: 4px;
  padding: 48px 40px; text-align: center;
  box-shadow: 16px 16px 0 rgba(0,0,0,0.08);
}
.about-card .num { font-family: 'Bebas Neue', sans-serif; font-size: 96px; color: white; line-height: 1; }
.about-card .label { font-family: 'Oswald', sans-serif; font-size: 13px; color: rgba(255,255,255,0.8); letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; }
.about-card .divider { width: 40px; height: 2px; background: rgba(255,255,255,0.4); margin: 20px auto; }
.about-card .desc { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.8; }

/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */
.features-section { background: var(--black); padding: 100px 40px; color: white; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: block; }
.features-section h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 58px); letter-spacing: 3px; margin-bottom: 64px; max-width: 600px; line-height: 1.1; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card { border-top: 2px solid rgba(255,255,255,0.1); padding-top: 32px; transition: border-color 0.3s; }
.feature-card:hover { border-color: var(--red); }
.feature-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: var(--red); line-height: 1; margin-bottom: 16px; }
.feature-title { font-family: 'Oswald', sans-serif; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.feature-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; font-weight: 300; }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner { padding: 100px 40px; text-align: center; background: var(--off-white); position: relative; overflow: hidden; }
.cta-banner::before {
  content: '100'; position: absolute;
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(200px, 35vw, 420px);
  color: rgba(200,16,46,0.04);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; white-space: nowrap;
}
.cta-banner h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 6vw, 72px); letter-spacing: 4px; margin-bottom: 16px; position: relative; }
.cta-banner p { font-size: 15px; color: #666; margin-bottom: 40px; font-weight: 300; position: relative; }

/* ─────────────────────────────────────────
   SOCIAL BAR
───────────────────────────────────────── */
.social-bar { display: flex; justify-content: center; gap: 20px; margin-top: 48px; position: relative; }
.social-icon {
  width: 42px; height: 42px; border: 1.5px solid #ccc; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; color: var(--black);
}
.social-icon:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { background: var(--black); color: white; padding: 60px 40px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo-circle {
  width: 52px; height: 52px; background: var(--red); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; flex-shrink: 0;
}
.footer-logo-circle .logo-num  { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: white; letter-spacing: 1px; }
.footer-logo-circle .logo-word { font-family: 'Bebas Neue', sans-serif; font-size: 12px; color: white; letter-spacing: 2px; }
.footer-brand-text strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: white; }
.footer-brand-text span { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 2px; font-family: 'Oswald', sans-serif; }
.footer-jp .jp-name { font-family: 'Noto Sans JP', sans-serif; font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 300; }

/* WP nav menu in footer */
.footer-navigation ul { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin-bottom: 20px; }
.footer-navigation a { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,0.45); text-transform: uppercase; transition: color 0.2s; }
.footer-navigation a:hover { color: var(--red); }

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 1px; }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .main-navigation { display: none; }
  .main-navigation.open { display: block; position: fixed; top: 72px; left: 0; right: 0; background: var(--off-white); padding: 20px 24px; border-bottom: 1px solid var(--light-gray); z-index: 99; }
  .main-navigation.open ul { flex-direction: column; gap: 16px; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 80px; }
  .about-section { grid-template-columns: 1fr; gap: 48px; padding: 72px 24px; }
  .about-text { order: 2; } .about-visual { order: 1; }
  .features-section { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { padding: 72px 24px; }
  .site-footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; }
  .footer-jp { text-align: left; }
}
@media (max-width: 600px) {
  .hero-heading { letter-spacing: 3px; }
  .features-grid { grid-template-columns: 1fr; }
  .food-item { width: clamp(110px, 30vw, 150px); height: clamp(75px, 20vw, 100px); }
}

/* ─────────────────────────────────────────
   WORDPRESS CORE ALIGNMENT
───────────────────────────────────────── */
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--gray); text-align: center; padding: 4px 0; }
.sticky { /* WP sticky post */ }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); position: absolute !important; white-space: nowrap;
  height: 1px; width: 1px; overflow: hidden;
}
