/*
Theme Name: rip-tok
Theme URI: https://rip-tok.com
Description: rip-tok（リップトック）公式サイト用ワンページテーマ
Version: 1.0.0
Author: rip-tok
Author URI: https://rip-tok.com
Text Domain: rip-tok
*/

/* ============================================
   0. Variables & Reset
   ============================================ */
:root {
  --red-600: #E53935;
  --red-700: #C62828;
  --red-500: #EF5350;
  --red-400: #FF6B6B;
  --red-100: #FFEBEE;
  --red-50:  #FFF5F5;

  --dark-900: #0A0A0A;
  --dark-800: #121212;
  --dark-700: #1A1A1A;
  --dark-600: #222222;
  --dark-500: #2A2A2A;

  --warm-50:  #FAF8F5;
  --warm-100: #F3F0EB;
  --warm-200: #E8E3DB;
  --warm-300: #C8C1B6;
  --warm-500: #8A8279;
  --warm-700: #4A453E;
  --warm-900: #1F1C18;

  --white: #FFFFFF;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --section-pad: clamp(80px, 10vw, 130px);
  --max-w: 1100px;
  --pad-x: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tr: 0.45s var(--ease);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--warm-700);
  background: var(--warm-50);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* ============================================
   1. Shared
   ============================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 22px; height: 2px;
  background: var(--red-600); border-radius: 1px;
}

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.38; color: var(--warm-900); margin-bottom: 18px;
}
.section-title .em { color: var(--red-600); }

/* dark section variants */
.dark-section .section-label { color: var(--red-400); }
.dark-section .section-label::before { background: var(--red-400); }
.dark-section .section-title { color: var(--white); }

.fade-up {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.stagger .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger .fade-up:nth-child(3) { transition-delay: 0.15s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 13px 30px; border-radius: 6px; border: none; cursor: pointer;
  transition: all var(--tr); letter-spacing: 0.03em;
}
.btn-red {
  background: var(--red-600); color: var(--white);
  box-shadow: 0 4px 20px rgba(229,57,53,0.3);
}
.btn-red:hover {
  background: var(--red-700); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229,57,53,0.35);
}
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04);
}
.btn-white {
  background: var(--white); color: var(--red-600);
}
.btn-white:hover {
  background: var(--red-50); transform: translateY(-2px);
}

/* ============================================
   2. Header
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  transition: background var(--tr), box-shadow var(--tr), padding var(--tr);
}
.site-header.is-scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.25);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.site-logo img { height: 36px; width: auto; }
.site-logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--red-600);
}

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--tr); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--red-500);
  transition: width var(--tr);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red-600) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 6px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-700) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--white);
  border-radius: 1px; transition: var(--tr);
}

/* ============================================
   3. Hero — dark base
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark-900);
  overflow: hidden;
}

/* subtle radial glow */
.hero::before {
  content: ''; position: absolute;
  top: 20%; left: 50%; width: 900px; height: 900px;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(229,57,53,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* grid lines */
.hero-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

/* ダミー: 右側に配送イメージ写真を配置する場合 */
.hero-image {
  position: absolute; right: 0; top: 0;
  width: 45%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-image-inner {
  width: 100%; height: 100%;
  /* ▼ ダミー画像エリア: 配送風景や街並みの写真を設定してください
     background-image: url('images/hero.jpg'); */
  background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-700) 100%);
  background-size: cover; background-position: center;
  opacity: 0.35;
  mask-image: linear-gradient(to left, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 140px 0 80px; max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-400); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--red-400);
}

.hero-catch {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.25;
  color: var(--white); margin-bottom: 22px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero-catch .hl { color: var(--red-500); }

.hero-sub {
  font-size: clamp(13.5px, 1.7vw, 15.5px); line-height: 2;
  color: rgba(255,255,255,0.48); margin-bottom: 38px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; gap: 6px; z-index: 2;
}
.scroll-indicator span {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================
   4. Concept ribbon（ページの流れを切り替え）
   ============================================ */
.concept-ribbon {
  background: var(--red-600);
  padding: 32px 0;
  text-align: center;
}
.concept-ribbon p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ============================================
   5. Business — warm light
   ============================================ */
.business { padding: var(--section-pad) 0; background: var(--warm-50); }

.business-header { max-width: 620px; margin-bottom: 52px; }
.business-lead { font-size: 14.5px; color: var(--warm-500); line-height: 1.95; }

.business-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.biz-card {
  background: var(--white); border-radius: 16px;
  padding: 34px 28px;
  border: 1px solid var(--warm-100);
  transition: transform var(--tr), box-shadow var(--tr);
  position: relative; overflow: hidden;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.biz-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--red-600); opacity: 0;
  transition: opacity var(--tr);
}
.biz-card:hover::after { opacity: 1; }

.biz-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  background: var(--red-50);
}
.biz-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--warm-900);
  margin-bottom: 10px; line-height: 1.45;
}
.biz-card p {
  font-size: 13.5px; color: var(--warm-500); line-height: 1.85;
}

/* ============================================
   6. Photo break
   ============================================ */
.photo-break {
  position: relative; height: 340px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.photo-break-bg {
  position: absolute; inset: 0;
  /* ▼ ダミー背景: 街並みや配送風景の写真に差し替えてください
     background-image: url('images/street.jpg'); */
  background: var(--dark-800);
  background-size: cover; background-position: center;
  filter: brightness(0.4);
}
.photo-break-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(229,57,53,0.15), rgba(10,10,10,0.7));
}
.photo-break-content {
  position: relative; z-index: 1; text-align: center; color: var(--white);
  max-width: 540px; padding: 0 var(--pad-x);
}
.photo-break-content blockquote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(18px, 2.8vw, 28px); line-height: 1.65;
}
.photo-break-content cite {
  display: block; margin-top: 14px;
  font-size: 12px; font-style: normal;
  opacity: 0.5; letter-spacing: 0.06em;
}

/* ============================================
   7. Message — dark section
   ============================================ */
.message {
  padding: var(--section-pad) 0;
  background: var(--dark-800);
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

/* 左: プロフィールカード */
.message-card {
  background: var(--dark-600);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.message-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  margin: 0 auto 20px;
  /* ▼ ダミー: 代表写真に差し替えてください ▼ */
  background: linear-gradient(135deg, var(--dark-500), var(--dark-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.35); font-weight: 600;
  border: 3px solid var(--dark-500);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  /* ▲ ダミー ▲ */
}
.message-card-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--white);
}
.message-card-role {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-400); margin-top: 4px;
}
.message-card-quote {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-accent); font-style: italic;
  font-size: 15px; color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* 右: テキスト */
.message-text-area { color: rgba(255,255,255,0.55); }
.message-text-area .section-title .em { color: var(--red-400); }
.message-body { font-size: 14.5px; line-height: 2.1; }
.message-body p + p { margin-top: 16px; }

/* ============================================
   8. Recruit — warm light
   ============================================ */
.recruit { padding: var(--section-pad) 0; background: var(--warm-50); }
.recruit-header { max-width: 640px; margin-bottom: 44px; }
.recruit-lead { font-size: 14.5px; color: var(--warm-500); line-height: 1.95; }

.recruit-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-bottom: 44px;
}
.recruit-feat {
  background: var(--white); border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid var(--warm-100);
  transition: transform var(--tr), box-shadow var(--tr);
}
.recruit-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.05);
}
.recruit-feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.recruit-feat h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--warm-900); margin-bottom: 6px;
}
.recruit-feat p {
  font-size: 13px; color: var(--warm-500); line-height: 1.8;
}

/* 募集要項テーブル */
.recruit-table {
  background: var(--white); border-radius: 16px;
  padding: 38px 34px; border: 1px solid var(--warm-100);
}
.recruit-table h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--warm-900);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 2px solid var(--warm-100);
}
.req-dl { display: flex; flex-direction: column; gap: 16px; }
.req-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 12px; font-size: 14px;
}
.req-row dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red-600); padding-top: 2px;
}
.req-row dd { color: var(--warm-700); line-height: 1.7; }

.recruit-cta { margin-top: 26px; text-align: center; }
.recruit-cta .btn { width: 100%; justify-content: center; }

/* ============================================
   9. Access — dark
   ============================================ */
.access {
  padding: var(--section-pad) 0;
  background: var(--dark-700);
}
.access-header { text-align: center; margin-bottom: 48px; }
.access-header .section-label { justify-content: center; color: var(--red-400); }
.access-header .section-label::before { background: var(--red-400); }
.access-header .section-title { color: var(--white); }

.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.access-info {
  background: var(--dark-600); border-radius: 16px;
  padding: 38px 34px;
  border: 1px solid rgba(255,255,255,0.05);
}
.access-info h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--white); margin-bottom: 22px;
}
.info-rows { display: flex; flex-direction: column; gap: 16px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  background: rgba(229,57,53,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.info-row-label {
  font-size: 10px; font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.info-row-value {
  font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500;
}
.info-row-value a { color: var(--red-400); transition: color var(--tr); }
.info-row-value a:hover { color: var(--red-500); }

.access-map {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.access-map iframe { width: 100%; height: 100%; min-height: 320px; border: none; }

.access-cta-banner {
  margin-top: 32px;
  background: var(--red-600); border-radius: 16px;
  padding: 42px; text-align: center;
  position: relative; overflow: hidden;
}
.access-cta-banner::before {
  content: ''; position: absolute;
  top: -40%; right: -12%; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.access-cta-banner p {
  color: rgba(255,255,255,0.85); font-size: 14.5px;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.access-cta-banner .btn {
  background: var(--white); color: var(--red-600);
  position: relative; z-index: 1;
}
.access-cta-banner .btn:hover {
  background: var(--red-50); transform: translateY(-2px);
}

/* ============================================
   10. Footer
   ============================================ */
.site-footer {
  background: var(--dark-900); padding: 40px 0; text-align: center;
}
.footer-logo { margin-bottom: 6px; }
.footer-logo img { height: 28px; margin: 0 auto; opacity: 0.7; }
.footer-logo-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--red-600); opacity: 0.7;
}
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.04em;
}

/* ============================================
   11. Responsive
   ============================================ */
@media (max-width: 1024px) {
  .business-cards { grid-template-columns: 1fr; max-width: 520px; }
  .message-inner { grid-template-columns: 1fr; gap: 40px; }
  .recruit-features { grid-template-columns: 1fr; max-width: 480px; }
  .access-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh; background: var(--dark-900);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; z-index: 999;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 16px; color: rgba(255,255,255,0.8) !important; }
  .hamburger { display: flex; }
  .hero-content { padding: 130px 0 90px; }
  .scroll-indicator { display: none; }
  .photo-break { height: 240px; }
  .message-card { padding: 32px 24px; }
  .recruit-table { padding: 28px 22px; }
  .access-info { padding: 28px 22px; }
  .access-cta-banner { padding: 30px 20px; }
}
