/*
Theme Name: Setouchi Custom
Theme URI: https://setouchi.group/
Author: Setouchi Group
Description: 瀬戸内陸運株式会社カスタムテーマ
Version: 4.0.0
Text Domain: setouchi-custom
*/

/* ========================================
   Loading Screen
======================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #070b24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.loading-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.loading-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-inner {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #e67e22, #f39c12);
  animation: loadingBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadingBar {
  0% { width: 0; }
  100% { width: 100%; }
}

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

:root {
  --color-primary: #0f1b4d;
  --color-primary-light: #1a2e6e;
  --color-primary-dark: #070b24;
  --color-accent: #e67e22;
  --color-accent-hover: #cf6d17;
  --color-accent-light: rgba(230, 126, 34, 0.08);
  --color-accent-glow: rgba(230, 126, 34, 0.25);
  --color-text: #1a1a2e;
  --color-text-light: #6b6d7e;
  --color-text-muted: #9a9baa;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f6f8;
  --color-bg-warm: #faf8f5;
  --color-bg-dark: #0f1b4d;
  --color-white: #ffffff;
  --color-border: #e4e5ea;
  --color-border-light: #f0f1f4;
  --font-main: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Poppins", sans-serif;
  --font-display: "Josefin Sans", sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.14);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.85;
  background: var(--color-bg);
  overflow-x: hidden;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ========================================
   Scroll Progress Bar
======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #f39c12);
  z-index: 1002;
  transition: width 0.1s linear;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-top {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-top .nav-link {
  color: var(--color-white);
}

.site-header.is-top .nav-link-en {
  color: rgba(255,255,255,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

.site-logo img {
  height: clamp(35px, 5vw, 50px);
  width: auto;
  transition: filter 0.3s ease;
}

.site-logo .logo-text {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.site-header.is-top .site-logo .logo-text {
  color: var(--color-white);
}

.site-header.is-top .site-logo img {
  filter: brightness(0) invert(1);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px clamp(10px, 1.5vw, 18px);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transition: transform var(--transition);
  border-radius: 3px 3px 0 0;
}

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

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(0.6);
}

.nav-link-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.header-cta {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-guide {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-guide:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 27, 77, 0.3);
}

.btn-entry {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.btn-entry:hover {
  background: #1a2a6c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 27, 77, 0.3);
}

.btn-contact {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
}

.btn-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--color-accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  margin: 4px 0;
}

.site-header.is-top .hamburger span {
  background: var(--color-white);
}

.hamburger.is-active span {
  background: var(--color-white);
}

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

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

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

/* ========================================
   Hero / Main Visual
======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #070b24;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.kenburns-active {
  animation: kenburns var(--kb-duration, 8s) ease forwards;
}

.hero-slide:nth-child(1).kenburns-active { animation-name: kenburns-1; }
.hero-slide:nth-child(2).kenburns-active { animation-name: kenburns-2; }
.hero-slide:nth-child(3).kenburns-active { animation-name: kenburns-3; }

@keyframes kenburns-1 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1.5%, -1%); }
}
@keyframes kenburns-2 {
  0% { transform: scale(1.05) translate(1%, 0); }
  100% { transform: scale(1.18) translate(-1%, 1.5%); }
}
@keyframes kenburns-3 {
  0% { transform: scale(1) translate(-1%, 1%); }
  100% { transform: scale(1.2) translate(1%, -1%); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7,11,36,0.25) 0%, rgba(7,11,36,0.55) 60%, rgba(7,11,36,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2.5s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Badge */
.hero-badge {
  margin-bottom: 24px;
}

.hero-badge span {
  display: inline-block;
  padding: 8px 28px;
  font-family: var(--font-en);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(230, 126, 34, 0.6);
  border-radius: 50px;
  background: rgba(230, 126, 34, 0.15);
  backdrop-filter: blur(10px);
}

.hero-en {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}

.hero-catchcopy-en {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-catchcopy {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(0.75rem, 1.2vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  opacity: 0.65;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

.hero-sub br.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .hero-sub br.sp-only {
    display: block;
  }
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.hero-cta-entry {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.hero-cta-entry:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.5);
}

.hero-cta-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
}

.hero-cta-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.5);
}

.hero-cta-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}

.hero-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 3.5s forwards;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: var(--color-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  80% { opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ========================================
   LINE Recruit Bar
======================================== */
.line-recruit-bar {
  background: linear-gradient(135deg, #06C755 0%, #04a648 100%);
  padding: clamp(20px, 3vw, 32px) 0;
  position: relative;
  overflow: hidden;
}

.line-recruit-bar::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.line-recruit-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.line-recruit-text {
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.line-recruit-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.line-recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(14px, 2vw, 18px) clamp(28px, 3vw, 40px);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.line-recruit-btn.line-btn {
  background: #fff;
  color: #06C755;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.line-recruit-btn.line-btn svg {
  width: 28px;
  height: 28px;
}

.line-recruit-btn.line-btn:hover {
  background: #e8f5e9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.line-recruit-btn.recruit-btn {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.line-recruit-btn.recruit-btn:hover {
  background: #fff;
  color: #06C755;
  border-color: #fff;
}

/* ========================================
   Section Common
======================================== */
.section {
  padding: clamp(80px, 12vw, 150px) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.section-title-en {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.06;
}

.section-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.15em;
  margin-top: -25px;
}

.section-title-line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
  margin: 22px auto 0;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 16px;
  letter-spacing: 0.08em;
}

.numbers .section-subtitle {
  color: rgba(255,255,255,0.65);
}

/* ========================================
   About Section
======================================== */
.about {
  background: var(--color-bg);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-text h3 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.9;
  margin-bottom: 30px;
  position: relative;
}

.about-text h3::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 8px;
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  border-radius: 3px;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 2.2;
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 60%;
  height: 60%;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.1;
}

.about-image::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 50px;
  transition: all var(--transition);
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

.btn-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-more:hover::before {
  left: 100%;
}

.btn-more:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-accent-glow);
}

.btn-more::after {
  content: "\2192";
  transition: transform var(--transition);
}

.btn-more:hover::after {
  transform: translateX(4px);
}

/* ========================================
   Service Section
======================================== */
.service {
  background: var(--color-bg-warm);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  opacity: 0.1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 35px);
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  position: relative;
  height: clamp(180px, 18vw, 250px);
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-num {
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.service-card-body {
  padding: clamp(20px, 3vw, 30px);
}

.service-card-title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card-text {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

.service-card-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.service-card:hover .service-card-link::after {
  transform: translateX(5px);
}

/* ========================================
   Numbers / Stats Section
======================================== */
.numbers {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 50%, #e67e22 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.numbers::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.numbers .section-title-en {
  color: var(--color-white);
  opacity: 0.15;
}

.numbers .section-title {
  color: rgba(255,255,255,0.95);
}

.numbers .section-title-line {
  background: var(--color-white);
}

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

.number-item {
  text-align: center;
  padding: clamp(20px, 3vw, 40px) 20px;
  position: relative;
}

.number-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.number-item:nth-child(3n)::after {
  display: none;
}

.number-value {
  font-family: var(--font-en);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

.number-unit {
  font-family: var(--font-main);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  margin-left: 5px;
}

.number-label {
  margin-top: 8px;
  font-size: clamp(0.75rem, 1vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ========================================
   Strengths Section
======================================== */
.strengths {
  background: var(--color-bg);
  overflow: hidden;
}

.strengths-list {
  max-width: 900px;
  margin: 0 auto;
}

.strength-item {
  border-bottom: 1px solid var(--color-border);
}

.strength-item:first-child {
  border-top: 1px solid var(--color-border);
}

.strength-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3vw, 30px) 20px;
  cursor: pointer;
  transition: background var(--transition);
}

.strength-header:hover {
  background: var(--color-bg-gray);
}

.strength-num {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  min-width: 55px;
}

.strength-title {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 600;
  color: var(--color-primary);
  flex: 1;
}

.strength-toggle {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg-gray);
  transition: all var(--transition);
}

.strength-header:hover .strength-toggle {
  background: var(--color-white);
}

.strength-item.is-open .strength-toggle {
  background: var(--color-accent);
}

.strength-toggle::before,
.strength-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-primary);
  transition: all var(--transition);
}

.strength-item.is-open .strength-toggle::before,
.strength-item.is-open .strength-toggle::after {
  background: #fff;
}

.strength-toggle::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.strength-toggle::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.strength-item.is-open .strength-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.strength-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.strength-body-inner {
  padding: 0 20px 30px 95px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 2.2;
}

/* ========================================
   News Section
======================================== */
.news {
  background: var(--color-bg-gray);
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  border-bottom: 1px solid var(--color-border);
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 2.5vw, 28px) 15px;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.news-item a:hover {
  background: var(--color-white);
  padding-left: 25px;
  border-left-color: var(--color-accent);
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
  min-width: 100px;
  flex-shrink: 0;
}

.news-cat {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50px;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.news-title {
  font-size: 0.88rem;
  color: var(--color-text);
  flex: 1;
  transition: color var(--transition);
}

.news-item a:hover .news-title {
  color: var(--color-accent);
}

.news-more {
  text-align: center;
  margin-top: 45px;
}

/* ========================================
   Blog Section
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
}

.blog-card {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-thumb {
  height: clamp(140px, 14vw, 200px);
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: clamp(16px, 2vw, 24px);
}

.blog-card-date {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.blog-card-title {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.7;
  margin-top: 8px;
  transition: color var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--color-accent);
}

/* ========================================
   Blog List (Top Page)
======================================== */
.blog-list-top {
  max-width: 900px;
  margin: 0 auto;
}

.blog-list-item {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 28px);
  padding: clamp(18px, 2.5vw, 24px) clamp(16px, 2vw, 20px);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.blog-list-item:first-child {
  border-top: 1px solid var(--color-border);
}

.blog-list-item:hover {
  background: var(--color-white);
  border-left-color: var(--color-accent);
  padding-left: clamp(24px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
}

.blog-list-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-list-item:hover .blog-list-date {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.blog-list-day {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.blog-list-item:hover .blog-list-day {
  color: #fff;
}

.blog-list-month {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 3px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.blog-list-item:hover .blog-list-month {
  color: rgba(255,255,255,0.7);
}

.blog-list-content {
  flex: 1;
  min-width: 0;
}

.blog-list-cat {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 4px;
}

.blog-list-title {
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.blog-list-item:hover .blog-list-title {
  color: var(--color-accent);
}

.blog-list-excerpt {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 4px 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.blog-list-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.blog-list-item:hover .blog-list-arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .blog-list-date {
    width: 54px;
    height: 54px;
  }

  .blog-list-day {
    font-size: 1.2rem;
  }

  .blog-list-excerpt {
    display: none;
  }
}

/* ========================================
   Recruit Section (Top Page)
======================================== */
.recruit {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.recruit-hero {
  position: relative;
  height: clamp(400px, 55vw, 600px);
  overflow: hidden;
}

.recruit-hero-bg {
  position: absolute;
  inset: 0;
}

.recruit-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,11,36,0.88) 0%, rgba(15,27,77,0.5) 100%);
}

.recruit-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.recruit-hero-en {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.recruit-hero-catch {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.recruit-hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  opacity: 0.85;
  font-weight: 400;
}

/* Recruit - Feature Cards */
.recruit-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(40px, 6vw, 70px);
}

.recruit-feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.recruit-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent-light), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recruit-feature-card:hover::before {
  opacity: 1;
}

.recruit-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-bottom-color: var(--color-accent);
}

.recruit-feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

.recruit-feature-card h3 {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  position: relative;
}

.recruit-feature-card p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--color-text-light);
  position: relative;
}

/* Recruit - Numbers */
.recruit-numbers {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 50px) clamp(20px, 3vw, 40px);
  margin-bottom: clamp(40px, 6vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recruit-numbers::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.15);
}

.recruit-numbers-title {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  margin-bottom: clamp(24px, 4vw, 40px);
  position: relative;
}

.recruit-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.recruit-number-item {
  color: #fff;
}

.recruit-number-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  color: #f39c12;
}

.recruit-number-unit {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #fff;
  margin-left: 2px;
}

.recruit-number-item p {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 6px;
}

/* Recruit - Gallery */
.recruit-gallery-section {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.recruit-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
}

.recruit-gallery img {
  width: 100%;
  height: clamp(120px, 15vw, 200px);
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease;
}

.recruit-gallery img:hover {
  transform: scale(1.03);
}

/* Recruit - CTA */
.recruit-cta {
  text-align: center;
  padding-bottom: clamp(50px, 8vw, 90px);
}

.recruit-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.recruit-cta-buttons > a {
  width: 220px;
  height: 58px;
  box-sizing: border-box;
}

.btn-recruit-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  width: 220px;
  transition: transform 0.3s ease;
}

.btn-recruit-line:hover {
  transform: translateY(-2px);
}

.btn-recruit-line img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  border-radius: 50px;
}

.btn-recruit-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  height: 58px;
  width: 220px;
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--color-accent-glow);
  position: relative;
  overflow: hidden;
}

.btn-recruit-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-recruit-primary:hover::before {
  left: 100%;
}

.btn-recruit-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-accent-glow);
}

.btn-recruit-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  height: 58px;
  width: 220px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-recruit-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.recruit-cta-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recruit-cta-badges a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.recruit-cta-badges a:hover {
  transform: translateY(-2px);
}

.recruit-cta-badges img {
  height: 54px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ========================================
   CTA Section
======================================== */
.cta {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(230,126,34,0.08);
}

.cta::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(230,126,34,0.06);
}

.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.08em;
  position: relative;
}

.cta-text {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 35px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 42px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-cta-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-cta-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-accent-glow);
}

.btn-cta-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--color-white);
}

.btn-cta-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: clamp(50px, 6vw, 80px) 0 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-info .footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-info .footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-info p {
  font-size: 0.8rem;
  line-height: 2;
  color: rgba(255,255,255,0.5);
}

.footer-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 15px;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  transition: all 0.3s;
}

.footer-tel-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-info .footer-tel {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 15px;
  color: #fff;
}

.footer-info .footer-hours {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-nav-group h4 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  letter-spacing: 0.1em;
}

.footer-nav-group a {
  display: block;
  font-size: 0.78rem;
  padding: 6px 0;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}

.footer-nav-group a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-sns a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-copyright {
  font-size: 0.72rem;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--color-accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--color-accent-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Page Header (Sub Pages)
======================================== */
.page-header {
  position: relative;
  height: clamp(240px, 30vw, 350px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: var(--color-primary-dark);
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: grayscale(30%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--color-white);
  padding: 0 clamp(30px, 6vw, 80px) clamp(30px, 5vw, 50px);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.page-header-en {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 6px;
  line-height: 1;
  opacity: 0.25;
}

.page-header-title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  background: var(--color-bg-gray);
  font-size: 0.78rem;
}

.breadcrumb-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li::after {
  content: ">";
  margin-left: 8px;
  color: var(--color-text-muted);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list li:last-child {
  color: var(--color-text-light);
}

.breadcrumb-list a {
  color: var(--color-text-muted);
}

.breadcrumb-list a:hover {
  color: var(--color-accent);
}

/* ========================================
   WordPress Default Styles
======================================== */
.wp-content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 20px;
}

.wp-content h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 60px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.wp-content h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}

.wp-content h2:first-child {
  margin-top: 0;
}

.wp-content h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.wp-content p {
  margin-bottom: 20px;
  line-height: 2.2;
}

.wp-content ul,
.wp-content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.wp-content ul {
  list-style: disc;
}

.wp-content ol {
  list-style: decimal;
}

.wp-content li {
  margin-bottom: 10px;
  line-height: 1.9;
}

.wp-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.wp-content th,
.wp-content td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.88rem;
  vertical-align: top;
}

.wp-content th {
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
  width: 160px;
}

.wp-content td {
  background: var(--color-white);
}

.wp-content tr:nth-child(even) td {
  background: var(--color-bg-gray);
}

.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.wp-caption { max-width: 100%; }

/* ========================================
   Single Post Article
======================================== */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-date {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.article-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.6;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.article-share-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  color: var(--color-text-light);
  transition: all var(--transition);
}

.article-share-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.article-nav {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* ========================================
   News Archive Cards (index.php)
======================================== */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-archive-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-archive-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.news-archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-archive-card:hover .news-archive-card-thumb img {
  transform: scale(1.05);
}

.news-archive-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.news-archive-card-placeholder span {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: var(--font-en);
}

.news-archive-card-body {
  padding: 20px;
}

.news-archive-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-archive-card-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-en);
}

.news-archive-card-cat {
  font-size: 0.65rem;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.news-archive-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
  transition: color var(--transition);
}

.news-archive-card:hover .news-archive-card-title {
  color: var(--color-accent);
}

/* News Date Card List */
.news-date-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-date-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  border-radius: 0;
}

.news-date-card:first-child {
  border-top: 1px solid var(--color-border-light);
}

.news-date-card:hover {
  background: var(--color-bg-gray);
  border-left-color: var(--color-accent);
  padding-left: clamp(24px, 3vw, 32px);
}

.news-date-card-date {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease;
}

.news-date-card:hover .news-date-card-date {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
}

.news-date-card-day {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.news-date-card-month {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.news-date-card-content {
  flex: 1;
  min-width: 0;
}

.news-date-card-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 12px;
  border-radius: 50px;
  margin-bottom: 6px;
}

.news-date-card-title {
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.news-date-card:hover .news-date-card-title {
  color: var(--color-accent);
}

.news-date-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.news-date-card:hover .news-date-card-arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Pagination */
.news-pagination {
  text-align: center;
  margin-top: 50px;
}

.news-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  background: var(--color-bg-gray);
  transition: all 0.3s ease;
  font-family: var(--font-en);
}

.news-pagination .page-numbers.current {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px var(--color-accent-glow);
}

.news-pagination .page-numbers:hover:not(.current) {
  background: var(--color-primary);
  color: #fff;
}

/* ========================================
   404 Page
======================================== */
.error-404-content {
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 20px;
}

.error-404-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.06;
  line-height: 1;
  margin-bottom: -30px;
}

.error-404-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.error-404-text {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* ========================================
   Mobile Navigation Overlay
======================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 36, 0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  text-align: center;
}

.mobile-nav-list a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

.mobile-nav-overlay.is-active .mobile-nav-list a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-list a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-list a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-list a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-list a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-list a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-list a:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav-list a:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav-list a:nth-child(8) { transition-delay: 0.4s; }
.mobile-nav-list a:nth-child(9) { transition-delay: 0.45s; }
.mobile-nav-list a:nth-child(10) { transition-delay: 0.5s; }

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

.mobile-nav-list .nav-link-en {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   Contact Form (Modern)
======================================== */
.modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modern-form .form-group {
  margin-bottom: 20px;
}

.modern-form .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.modern-form .form-label .required {
  color: #e67e22;
}

.modern-form .form-input,
.modern-form .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance),
.wpcf7-form .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance):not(textarea):not(select) {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e4e5ea;
  border-radius: 12px;
  font-size: 16px;
  -webkit-appearance: none;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.modern-form .form-input:focus,
.modern-form .wpcf7-form-control:not([type="submit"]):focus,
.wpcf7-form .wpcf7-form-control:not([type="submit"]):focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
  outline: none;
}

.modern-form .form-select,
.modern-form select.wpcf7-form-control,
.wpcf7-form select.wpcf7-form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e4e5ea;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%235a5d6e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.modern-form .form-select:focus,
.modern-form select.wpcf7-form-control:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
  outline: none;
}

.modern-form .form-textarea,
.modern-form textarea.wpcf7-form-control,
.wpcf7-form textarea.wpcf7-form-control {
  width: 100%;
  min-height: 500px;
  padding: 14px 18px;
  border: 2px solid #e4e5ea;
  border-radius: 12px;
  font-size: 16px;
  -webkit-appearance: none;
  background: #fff;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.modern-form .form-textarea:focus,
.modern-form textarea.wpcf7-form-control:focus,
.wpcf7-form textarea.wpcf7-form-control:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
  outline: none;
}

.modern-form .form-submit,
.modern-form input[type="submit"].wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 60px;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.05em;
}

.modern-form .form-submit:hover,
.modern-form input[type="submit"].wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.3);
}

.modern-form .wpcf7-not-valid-tip {
  display: none;
}

.modern-form .wpcf7-response-output {
  border: none !important;
  background: #0f1b4d;
  color: #fff;
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  font-size: 0.9rem;
  margin: 24px 0 0 !important;
}

.modern-form .wpcf7-acceptance label {
  cursor: pointer;
}

.modern-form .wpcf7-list-item {
  margin: 0;
}

@media (max-width: 768px) {
  .modern-form .form-row {
    grid-template-columns: 1fr;
  }

  .wp-content div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================
   Animations
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .global-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .about-text h3::before {
    display: none;
  }

  .recruit-features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }

  .recruit-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .news-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 65px;
  }

  .hero {
    min-height: 500px;
  }

  .wp-content div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  .wp-content div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  .wp-content div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .wp-content div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .wp-content div[style*="display:grid"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .wp-content div[style*="display:flex"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: center !important;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-item:nth-child(2n)::after {
    display: none;
  }

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

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

  .recruit-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruit-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruit-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-btn {
    width: 80%;
    justify-content: center;
  }

  .line-recruit-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .news-archive-grid {
    grid-template-columns: 1fr;
  }

  .news-date-card-date {
    width: 60px;
    height: 60px;
  }

  .news-date-card-day {
    font-size: 1.3rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .number-item::after {
    display: none;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .news-item a {
    flex-wrap: wrap;
  }

  .news-date {
    min-width: auto;
  }
}

/* ========================================
   Mobile Fixed Footer
======================================== */
.mobile-fixed-footer {
  display: none;
}

@media (max-width: 768px) {
  .mobile-fixed-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mf-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s;
  }

  .mf-btn:active {
    opacity: 0.8;
  }

  .mf-tel {
    color: #0f1b4d;
    background: #f0f1f5;
  }

  .mf-contact {
    color: #fff;
    background: #0f1b4d;
  }

  .mf-line {
    color: #fff;
    background: #06c755;
  }

  .mf-entry {
    color: #fff;
    background: #e67e22;
  }

  /* フッターの下に固定バーの高さ分余白 */
  .site-footer {
    padding-bottom: 70px;
  }
}

/* ========================================
   面接予約・応募フォーム
======================================== */
.entry-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.entry-form-wrap p {
  margin: 0;
}

/* --- ラベル（上） + 入力欄（下）のブロック型 --- */
.entry-form-wrap > label,
.entry-form-wrap > p > label {
  display: block;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

.entry-form-wrap .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

/* --- 入力フィールド共通 --- */
.entry-form-wrap input[type="text"],
.entry-form-wrap input[type="email"],
.entry-form-wrap input[type="tel"],
.entry-form-wrap input[type="date"],
.entry-form-wrap select,
.entry-form-wrap textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.entry-form-wrap input:focus,
.entry-form-wrap select:focus,
.entry-form-wrap textarea:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
  outline: none;
}

.entry-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.entry-form-wrap select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* --- セクション見出し --- */
.entry-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1b4d;
  padding: 10px 0 10px 14px;
  border-left: 4px solid #e67e22;
  margin: 36px 0 20px;
}

.entry-section-sub {
  border-left-color: #3498db;
  font-size: 0.95rem;
  color: #2c3e50;
  margin-top: 28px;
}

/* --- 必須・任意バッジ --- */
.entry-form-wrap .req {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.entry-form-wrap .opt {
  display: inline-block;
  background: #95a5a6;
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

/* --- 単位テキスト --- */
.entry-form-wrap .unit-text {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  margin-left: 8px;
  margin-top: 6px;
}

/* --- 免許チェックボックス --- */
/* --- ボタン選択共通スタイル --- */
.btn-select,
.btn-select .wpcf7-checkbox,
.btn-select .wpcf7-radio,
.btn-select .wpcf7-form-control {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.btn-select {
  margin-bottom: 20px;
}

.btn-select .wpcf7-list-item {
  margin: 0 !important;
  width: auto;
}

.btn-select .wpcf7-list-item label {
  display: block !important;
  background: #f5f6f8;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 0.88rem;
  color: #555;
  margin: 0 !important;
  user-select: none;
}

.btn-select .wpcf7-list-item label:hover {
  background: #fef5ec;
  border-color: #e67e22;
}

/* --- 個人情報同意 --- */
.privacy-check {
  text-align: center;
  margin: 28px 0 8px;
}

.privacy-check label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

.privacy-check a {
  color: #e67e22;
  text-decoration: underline;
}

/* --- 送信ボタン --- */
.entry-form-wrap input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
  padding: 16px;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(230,126,34,0.3);
}

.entry-form-wrap input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.4);
}

/* --- バリデーション --- */
.entry-form-wrap .wpcf7-not-valid {
  border-color: #e74c3c !important;
}

.entry-form-wrap .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
}

.entry-form-wrap .wpcf7-response-output {
  border-radius: 10px !important;
  padding: 16px !important;
  text-align: center;
  font-weight: 600;
  margin: 24px 0 0 !important;
}

/* --- reCAPTCHAバッジ非表示 --- */
.grecaptcha-badge { visibility: hidden !important; }

/* --- フィールドタイトル --- */
.field-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px;
}

/* --- ドライバーフィールド --- */
.driver-fields label {
  display: block;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

.driver-fields .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

/* --- 面接日時の横並び --- */
.interview-date-row {
  margin-bottom: 20px;
}

.interview-date-row > p {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin: 0;
}

.entry-form-wrap .interview-date-row > p > label {
  display: block;
  flex: 1;
  margin-bottom: 0 !important;
  min-width: 0;
}

.entry-form-wrap .interview-date-row > p > label.interview-time {
  flex: 0 0 auto;
  width: 220px;
}

.interview-date-row .interview-time select {
  width: 100%;
}

/* --- div内のp余白リセット --- */
.btn-select > p,
.driver-fields > p,
.privacy-check > p {
  margin: 0;
}

@media (max-width: 600px) {
  .interview-date-row > p {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .entry-form-wrap .interview-date-row > p > label.interview-time {
    flex: auto;
    width: auto;
  }
  .btn-select .wpcf7-list-item label {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .entry-form-wrap {
    max-width: 100%;
  }
}

/* --- wpautop対策：余計なbrを消す --- */
.entry-form-wrap br {
  display: none;
}

/* ========================================
   iOS Safari/Chrome 全フォーム共通対策
======================================== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  -webkit-appearance: none;
  font-size: 16px;
  border-radius: 10px;
  box-sizing: border-box;
  max-width: 100%;
}

/* --- 取引先登録フォーム（.wpcf7-form直接） --- */
.wpcf7-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}

.btn-select .wpcf7-checkbox,
.btn-select .wpcf7-radio {
  flex-direction: row !important;
  flex-wrap: wrap !important;
}

.wpcf7-form .wpcf7-list-item {
  margin: 0 !important;
  min-width: 0;
  width: 100%;
}

.btn-select .wpcf7-list-item {
  width: auto !important;
}

.wpcf7-form .wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: #f5f6f8;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.88rem;
  color: #555;
  margin: 0 !important;
  word-break: break-word;
}

.wpcf7-form .wpcf7-list-item label:hover {
  background: #fef5ec;
  border-color: #e67e22;
}

/* --- checkbox/radioのアクセシビリティ対応（display:noneではなくvisually hidden） --- */
.btn-select .wpcf7-list-item input[type="checkbox"],
.btn-select .wpcf7-list-item input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* --- :has()フォールバック（JSクラス併用） --- */
.btn-select .wpcf7-list-item.is-checked label,
.btn-select .wpcf7-list-item:has(input:checked) label {
  background: #e67e22;
  border-color: #e67e22;
  color: #fff;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.25);
}

@media (max-width: 768px) {
  /* textareaモバイル高さ調整 */
  .modern-form textarea.wpcf7-form-control,
  .wpcf7-form textarea.wpcf7-form-control {
    min-height: 200px;
  }

  /* フォーム入力時にmobile-fixed-footerが邪魔にならないよう */
  .back-to-top {
    bottom: 80px;
  }
}

@media (max-width: 600px) {
  .wpcf7-form .wpcf7-list-item label {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

/* ========================================
   スマホ全体レスポンシブ対応（768px以下）
======================================== */
@media (max-width: 768px) {
  /* インラインgrid: 固定幅カラムを1列に */
  .wp-content div[style*="grid-template-columns:140px"],
  .wp-content div[style*="grid-template-columns: 140px"],
  .wp-content div[style*="grid-template-columns:160px"],
  .wp-content div[style*="grid-template-columns: 160px"] {
    grid-template-columns: 1fr !important;
  }

  /* インラインgrid: 5列を2列に */
  .wp-content div[style*="grid-template-columns:repeat(5"],
  .wp-content div[style*="grid-template-columns: repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* インラインgrid: 2列を1列に */
  .wp-content div[style*="grid-template-columns:1fr 1fr"],
  .wp-content div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* インラインflex: 加盟団体等flex-wrap無し対策 */
  .wp-content div[style*="display:flex"][style*="align-items:stretch"] {
    flex-direction: column !important;
  }

  /* inline-flex CTAボタンの折り返し */
  .wp-content div[style*="display:inline-flex"] {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  /* テーブルのモバイル対応 */
  .wp-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wp-content th {
    white-space: normal;
    width: auto;
    min-width: 100px;
  }
  .wp-content th, .wp-content td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  /* strength-body-innerのpadding-left縮小 */
  .strength-body-inner {
    padding-left: 20px !important;
  }

  /* モバイルナビz-index修正（固定フッターの上に） */
  .mobile-nav-overlay {
    z-index: 1001 !important;
  }

  /* recruit-numbers-grid 1列化 */
  .recruit-numbers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 大きいpaddingの縮小 */
  .wp-content div[style*="padding:40px"],
  .wp-content div[style*="padding: 40px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:50px"],
  .wp-content div[style*="padding: 50px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:48px"],
  .wp-content div[style*="padding: 48px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:40px 30px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:50px 40px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:48px 40px"] {
    padding: 24px 16px !important;
  }
  .wp-content div[style*="padding:40px 36px"] {
    padding: 24px 16px !important;
  }

  /* 大きいmargin-bottomの縮小 */
  .wp-content div[style*="margin-bottom:80px"] {
    margin-bottom: 40px !important;
  }
  .wp-content div[style*="margin-bottom:60px"] {
    margin-bottom: 32px !important;
  }

  /* 画像の固定高さ縮小 */
  .wp-content img[style*="height:400px"] {
    height: 250px !important;
  }

  /* ご契約までの流れ: ステップを縦並びに */
  .wp-content div[style*="justify-content:space-between"][style*="flex:1"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  /* 5列→1列に */
  .wp-content div[style*="grid-template-columns:repeat(5"],
  .wp-content div[style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
  }

  /* 4列→1列に */
  .wp-content div[style*="grid-template-columns:repeat(4"],
  .wp-content div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  /* 3列拠点一覧等→1列に */
  .wp-content div[style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* recruit-numbers-grid 1列化 */
  .recruit-numbers-grid {
    grid-template-columns: 1fr !important;
  }

  /* min-width:280px解除 */
  .wp-content div[style*="min-width:280px"] {
    min-width: 0 !important;
  }

  /* inline-flexボタンのサイズ調整 */
  .wp-content div[style*="display:inline-flex"] a {
    padding: 12px 24px !important;
    font-size: 0.88rem !important;
  }

  /* padding:32px系の縮小 */
  .wp-content div[style*="padding:32px"] {
    padding: 20px !important;
  }
}

/* hover系: タッチデバイスでの粘着防止 */
@media (hover: none) {
  .service-card:hover,
  .blog-card:hover,
  .recruit-feature-card:hover,
  .news-archive-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-md) !important;
  }
  .news-item a:hover {
    padding-left: 16px !important;
  }
}
