/* ========================================
   株式会社クヒト コーポレートサイト - Stylesheet
   ======================================== */

/* --- LINE Seed JP Font (fontsource CDN) --- */
/* Thin 100 */
@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-display: swap;
  font-weight: 100;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@latest/japanese-100-normal.woff2) format('woff2');
}
/* Regular 400 */
@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@latest/japanese-400-normal.woff2) format('woff2');
}
/* Bold 700 */
@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@latest/japanese-700-normal.woff2) format('woff2');
}
/* ExtraBold 800 */
@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@latest/japanese-800-normal.woff2) format('woff2');
}

/* --- CSS Custom Properties --- */
:root {
  --navy: #002D50;
  --navy-light: #003d6b;
  --navy-dark: #001a30;
  --gold: #D2AF73;
  --gold-light: #e0c494;
  --gold-dark: #b8944f;
  --black: #1E1E1E;
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --gray-50: #FAFAF9;
  --gray-100: #F0EDE8;
  --gray-200: #E0DCD5;
  --gray-300: #C5C0B8;
  --gray-500: #8A8479;
  --gray-700: #4A4640;
  --font-family: 'LINE Seed JP', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Divider --- */
.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 20px auto 0;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 36px;
  width: auto;
  transition: filter var(--transition);
}

.header:not(.scrolled) .header-logo img {
  filter: brightness(0) invert(1);
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.header:not(.scrolled) .nav-contact-btn {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.nav-contact-btn:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

.header:not(.scrolled) .hamburger span {
  background: var(--white);
}

.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;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background:
    /* Diagonal gold accent line */
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 42%,
      rgba(210, 175, 115, 0.06) 42%,
      rgba(210, 175, 115, 0.03) 58%,
      transparent 58%
    ),
    /* Subtle second diagonal */
    linear-gradient(
      150deg,
      transparent 0%,
      transparent 55%,
      rgba(210, 175, 115, 0.04) 55%,
      rgba(210, 175, 115, 0.02) 65%,
      transparent 65%
    ),
    /* Main deep gradient */
    linear-gradient(
      160deg,
      #001020 0%,
      #001a30 20%,
      #002D50 50%,
      #003d6b 80%,
      #002D50 100%
    );
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(210, 175, 115, 0.10) 0%,
    rgba(210, 175, 115, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowDrift 12s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 61, 107, 0.6) 0%,
    rgba(0, 45, 80, 0.2) 50%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowDrift 15s ease-in-out infinite alternate-reverse;
}

/* Floating geometric shapes via hero element pseudo-elements */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 8%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(210, 175, 115, 0.10);
  border-radius: 24px;
  transform: rotate(30deg);
  z-index: 1;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 18%;
  right: 12%;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(210, 175, 115, 0.08);
  border-radius: 50%;
  z-index: 1;
  animation: float 16s ease-in-out 2s infinite reverse;
}

@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(-30px, 20px) scale(1.15); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: rotate(30deg) translate(0, 0); opacity: 0.5; }
  25% { transform: rotate(35deg) translate(10px, -15px); opacity: 0.8; }
  50% { transform: rotate(25deg) translate(-5px, 10px); opacity: 0.6; }
  75% { transform: rotate(32deg) translate(8px, 5px); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-catchphrase {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-catchphrase .accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(210, 175, 115, 0.4);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.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.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   ABOUT (会社概要)
   ======================================== */
.about {
  background: var(--white);
}

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

.about-text p {
  color: var(--gray-700);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

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

.about-table th,
.about-table td {
  padding: 16px 0;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.about-table th {
  font-weight: 700;
  color: var(--navy);
  width: 120px;
  white-space: nowrap;
}

.about-table td {
  color: var(--gray-700);
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: var(--gold);
  opacity: 0.15;
  border-radius: 50%;
}

.about-visual-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  opacity: 0.1;
  border-radius: 50%;
}

.about-visual-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-visual-label {
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.about-stat-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.about-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.about-stat-number small {
  font-size: 0.9rem;
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ========================================
   CEO MESSAGE
   ======================================== */
.ceo {
  background: var(--off-white);
}

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

.ceo-photo {
  position: relative;
}

.ceo-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--gray-200), var(--gray-100));
  overflow: hidden;
  position: relative;
}

.ceo-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 45, 80, 0.6), transparent);
}

.ceo-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-300);
}

.ceo-name {
  margin-top: 16px;
  text-align: center;
}

.ceo-name h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.ceo-name p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.ceo-message h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 32px;
}

.ceo-message-body p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 2;
}

.ceo-signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
}

.ceo-signature-text {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.ceo-signature-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

/* ========================================
   VISION & MISSION
   ======================================== */
.vision-mission {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision-mission::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(210, 175, 115, 0.08), transparent 70%);
  pointer-events: none;
}

.vision-mission::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(210, 175, 115, 0.06), transparent 70%);
  pointer-events: none;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.vm-card {
  padding: 0;
}

.vm-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.vm-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
}

.vm-body {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 2;
}

.vm-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(210, 175, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.vm-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

/* ========================================
   SERVICES (事業内容)
   ======================================== */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ========================================
   CONTACT (お問い合わせ)
   ======================================== */
.contact {
  background: var(--off-white);
}

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

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 45, 80, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
}

.contact-detail-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #c0392b;
  font-size: 0.75rem;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(210, 175, 115, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 45, 80, 0.3);
}

.form-submit svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 30px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.82rem;
  opacity: 0.5;
  line-height: 1.8;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 12px;
  transition: all var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
  transform: translateX(4px);
}

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

.footer-copyright {
  font-size: 0.78rem;
  opacity: 0.4;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   MOBILE OVERLAY
   ======================================== */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ceo-grid {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-catchphrase {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 80px 32px 32px;
    transition: right var(--transition);
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    right: 0;
  }

  .nav.open ~ .mobile-overlay {
    display: block;
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 0.95rem;
    color: var(--black) !important;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-contact-btn {
    margin-top: 16px;
    justify-content: center;
    background: var(--navy) !important;
    border-color: transparent !important;
    width: 100%;
  }

  .hamburger.active span {
    background: var(--black) !important;
  }

  /* Sections */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vm-divider {
    display: none;
  }

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

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ceo-photo {
    max-width: 200px;
    margin: 0 auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .hero-catchphrase {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 16px;
  }

  .contact-form-card {
    padding: 24px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

.form-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.2);
  color: var(--navy-dark, #002d50);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-status.is-error {
  background: rgba(179, 54, 54, 0.08);
  border-color: rgba(179, 54, 54, 0.24);
  color: #8a1f1f;
}

/* ========================================
   PAGE HERO (ニュースなどサブページ用)
   ======================================== */
.page-hero {
  position: relative;
  padding: 140px 0 72px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 42%,
      rgba(210, 175, 115, 0.06) 42%,
      rgba(210, 175, 115, 0.03) 58%,
      transparent 58%
    ),
    linear-gradient(160deg, #001020 0%, #001a30 30%, #002D50 70%, #003d6b 100%);
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(210, 175, 115, 0.10) 0%,
    rgba(210, 175, 115, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.breadcrumb-sep {
  opacity: 0.4;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news-section {
  background: var(--off-white);
}

/* Filter tabs */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.news-filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

.news-filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.news-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

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

.news-item:last-child {
  border-bottom: none;
}

.news-item-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  transition: background var(--transition);
  color: inherit;
}

.news-item-inner:hover {
  background: var(--gray-50);
}

.news-item-inner:hover .news-item-arrow svg {
  transform: translateX(4px);
  stroke: var(--gold);
}

/* Meta (date + badge) */
.news-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 140px;
}

.news-item-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Category badges */
.news-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-badge--press {
  background: rgba(0, 45, 80, 0.08);
  color: var(--navy);
}

.news-badge--info {
  background: rgba(210, 175, 115, 0.15);
  color: var(--gold-dark);
}

.news-badge--media {
  background: rgba(40, 120, 80, 0.1);
  color: #1e5e38;
}

/* Body */
.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.6;
  transition: color var(--transition);
}

.news-item-inner:hover .news-item-title {
  color: var(--navy);
}

.news-item-excerpt {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* Arrow */
.news-item-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray-300);
  transition: transform var(--transition), stroke var(--transition);
  flex-shrink: 0;
}

/* Empty state */
.news-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-500);
  font-size: 0.92rem;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.news-pagination-btn,
.news-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: all var(--transition);
}

.news-pagination-btn:hover,
.news-pagination-page:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.news-pagination-page.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.news-pagination-pages {
  display: flex;
  gap: 6px;
}

/* ========================================
   NEWS — RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .page-hero-title {
    font-size: 2rem;
  }

  .news-item-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 20px 20px;
  }

  .news-item-meta {
    flex-direction: row;
    align-items: center;
    min-width: unset;
    grid-column: 1 / -1;
  }

  .news-item-body {
    grid-column: 1;
  }

  .news-item-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 120px 0 56px;
  }

  .page-hero-title {
    font-size: 1.7rem;
  }

  .news-filter-btn {
    padding: 7px 16px;
    font-size: 0.78rem;
  }
}

/* ========================================
   ARTICLE DETAIL PAGE
   ======================================== */
.page-hero-title--article {
  font-size: 1.9rem;
  max-width: 700px;
}

/* Layout: main + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Article body card */
.article-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
}

.article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.article-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

/* Article content typography */
.article-content {
  line-height: 1.9;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.article-content p {
  margin-bottom: 1.6em;
}

.article-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.4em 0 0.8em;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2em 0 0.6em;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.6em 1.4em;
}

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

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

.article-content li {
  margin-bottom: 0.4em;
}

.article-content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.article-content a:hover {
  color: var(--gold-dark);
}

.article-content strong {
  font-weight: 800;
  color: var(--black);
}

.article-content blockquote {
  border-left: 3px solid var(--gray-200);
  padding: 12px 20px;
  margin: 1.6em 0;
  color: var(--gray-500);
  font-style: italic;
}

.article-content figure {
  margin: 2em 0;
}

.article-content figure img {
  width: 100%;
  border-radius: var(--radius);
}

.article-content figcaption {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 8px;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.4em 0;
}

/* Article footer / back button */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition);
  padding: 10px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
}

.article-back-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.article-back-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.article-back-btn:hover svg {
  transform: translateX(-3px);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.sidebar-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin-bottom: 20px;
}

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

.sidebar-news-item:last-child {
  border-bottom: none;
}

.sidebar-news-item a {
  display: block;
  padding: 14px 0;
  transition: color var(--transition);
}

.sidebar-news-item a:hover {
  color: var(--navy);
}

.sidebar-news-item time {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sidebar-news-item span {
  font-size: 0.82rem;
  color: var(--black);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  transition: gap var(--transition);
}

.sidebar-all-link svg {
  width: 14px;
  height: 14px;
}

.sidebar-all-link:hover {
  gap: 10px;
  color: var(--gold-dark);
}

/* Article responsive */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-body {
    padding: 28px 24px;
  }

  .page-hero-title--article {
    font-size: 1.5rem;
  }

  .article-content h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .article-body {
    padding: 24px 16px;
  }
}
