/*
Theme Name: faastcheck
Theme URI: https://faastcheck.net
Author: faastcheck
Author URI: https://faastcheck.net
Description: faastcheck 企業サイト用 WordPressテーマ。運送業のプロフェッショナリズムを表現したカスタムテーマです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faastcheck
*/

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1a2a3a;
  --navy-deep: #0f1c2b;
  --accent: #c8a45c;
  --accent-light: #d4b876;
  --warm-white: #f7f5f0;
  --cream: #ede8df;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --border: #d6d0c4;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.en {
  font-family: 'Outfit', sans-serif;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .4s, box-shadow .4s;
}

.site-header.scrolled {
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity .3s;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--navy);
}

.footer-logo-img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-logo-img:hover {
  opacity: 1;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 12px !important;
  letter-spacing: 1px;
  transition: background .3s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--navy-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: .3s;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 28, 43, 0.92) 0%, rgba(26, 42, 58, 0.75) 50%, rgba(15, 28, 43, 0.85) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255, 255, 255, 0.5) 60px, rgba(255, 255, 255, 0.5) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255, 255, 255, 0.5) 60px, rgba(255, 255, 255, 0.5) 61px);
  z-index: 1;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 55%;
  height: 110%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, #8a6e2f 100%);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 40px 80px;
}

.hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  font-weight: 300;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--navy-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 16px 40px;
  border-radius: 4px;
  transition: all .3s;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}

.hero-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 164, 92, 0.3);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .3s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== SECTION COMMON ===== */
.fc-section {
  padding: 120px 40px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
  max-width: 640px;
  font-weight: 300;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 24px 0 0;
}

/* ===== SERVICES ===== */
.services {
  background: #fff;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header .section-lead {
  margin: 0 auto;
}

.services-header .section-divider {
  margin: 24px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--warm-white);
  padding: 48px 36px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.service-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-card p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-light);
  font-weight: 300;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== MESSAGE ===== */
.message {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.04;
}

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

.message-left .section-label {
  color: var(--accent);
}

.message-left .section-heading {
  color: #fff;
  margin-bottom: 32px;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.message-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8a6e2f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.message-name {
  font-size: 14px;
  font-weight: 500;
}

.message-name small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  margin-top: 2px;
}

.message-right p {
  font-size: 15px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
}

.message-right p + p {
  margin-top: 24px;
}

.message-quote {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  margin: 32px 0;
}

.message-quote p {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400 !important;
}

/* ===== RECRUIT ===== */
.recruit {
  background: var(--warm-white);
  position: relative;
}

.recruit-header {
  margin-bottom: 60px;
}

.recruit-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
  max-width: 680px;
  font-weight: 300;
  margin-top: 24px;
}

.recruit-points-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
}

.recruit-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.recruit-point {
  background: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color .3s;
}

.recruit-point:hover {
  border-color: var(--accent);
}

.recruit-point-num {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.recruit-point h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.recruit-point p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
  font-weight: 300;
}

.recruit-cta {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 16px 36px;
  border-radius: 4px;
  transition: all .3s;
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 16px 36px;
  border-radius: 4px;
  border: 1.5px solid var(--navy);
  transition: all .3s;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== ACCESS ===== */
.access {
  background: #fff;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-info {
  padding-top: 10px;
}

.access-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
}

.access-table tr {
  border-bottom: 1px solid var(--border);
}

.access-table tr:last-child {
  border-bottom: none;
}

.access-table th {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  padding: 18px 20px 18px 0;
  vertical-align: top;
  white-space: nowrap;
  width: 100px;
}

.access-table td {
  font-size: 14px;
  padding: 18px 0;
  line-height: 1.7;
  color: var(--text);
}

.access-table a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color .3s;
}

.access-table a:hover {
  border-color: var(--accent);
}

.access-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.access-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===== CONTACT BAR ===== */
.contact-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-bar h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-bar p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 36px;
  font-weight: 300;
}

.contact-bar .hero-cta {
  opacity: 1;
  animation: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-deep);
  padding: 60px 40px 32px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .3s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .recruit-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .message-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .fc-section {
    padding: 80px 24px;
  }

  .header-inner {
    padding: 16px 24px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--warm-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 120px 24px 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .recruit-points {
    grid-template-columns: 1fr;
  }

  .recruit-cta {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-bar {
    padding: 60px 24px;
  }
}
