/* ============================================
   SHIGA Group - Corporate Website
   Design: Modern / Orange + Teal (Logo Colors)
   ============================================ */

:root {
  --navy: #1a2632;
  --navy-light: #243340;
  --navy-mid: #2d3e4e;
  --orange: #e8871e;
  --orange-light: #f09a3e;
  --orange-dark: #c87018;
  --teal: #3ba8a0;
  --teal-light: #5bbdb6;
  --teal-dark: #2e8a83;
  --gold: #e8871e;
  --gold-light: #f09a3e;
  --gold-dark: #c87018;
  --white: #ffffff;
  --gray-100: #f5f6f7;
  --gray-200: #e8eaed;
  --gray-300: #d1d4d6;
  --gray-500: #86898b;
  --gray-700: #3c3c3c;
  --text: #3c3c3c;
  --text-light: #6e7073;
  /* 縦リズム（2026-06-14 P1: 間延び圧縮・一括調整用） */
  --section-pad-y: 72px;
  --section-title-mb: 30px;
  /* タイポ（2026-06-14 P2: 見出し=力強いゴシック / 欧文・数字=Archivo） */
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  /* タグ配色（2026-06-14 P3: Material既定色を廃しブランド3色系へ集約） */
  --tag-grow-bg: #e3f0ef;  --tag-grow-fg: var(--teal-dark);   /* 成長: オープン/譲受/事業開始 */
  --tag-new-bg:  #fbeede;  --tag-new-fg:  var(--orange-dark); /* 新設/節目: 設立/M&A/社名変更/出資/リニューアル */
  --tag-exit-bg: #e7eaed;  --tag-exit-fg: var(--navy);        /* 終了/移管: 休業/閉店/譲渡 */
}

/* --- Loading Screen --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 60px;
  margin-bottom: 50px;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.2s forwards;
}

.loader-timeline {
  width: min(500px, 80vw);
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.4s forwards;
}

.loader-timeline-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: var(--gray-200);
  border-radius: 3px;
}

.loader-timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  border-radius: 3px;
  animation: loaderTimelineFill 3.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.loader-timeline-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(232, 135, 30, 0.2), 0 0 20px rgba(232, 135, 30, 0.6);
  animation: loaderTimelineDot 3.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.loader-timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-family: "Archivo", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
}

.loader-year-current {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
  top: -5px;
  transition: color 0.3s ease;
}

.loader-tagline {
  margin-top: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.8s forwards;
  text-align: center;
}

.loader-tagline span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 8px;
  letter-spacing: 0;
}

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

@keyframes loaderTimelineFill {
  to { width: 100%; }
}

@keyframes loaderTimelineDot {
  to { left: 100%; }
}

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

/* --- Custom Cursor --- */
.custom-cursor {
  position: fixed;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease,
              top 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
  opacity: 0.7;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: var(--teal);
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .custom-cursor { display: none; }
}

body:not(.page-loaded) {
  overflow: hidden;
}

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

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

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

/* 見出しは力強いゴシック（Zen Kaku Gothic New）。本文は Noto Sans JP のまま。 */
h1, h2, h3, .hero-title, .section-title h2 {
  font-family: var(--font-head);
}

/* asunaro（児童福祉）だけ、子ども向けに優しい丸ゴシックへ（見出し変数を上書き） */
body.asunaro {
  --font-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Text Reveal Animation --- */
.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

/* --- Image Mask Reveal --- */
.mask-reveal {
  position: relative;
  overflow: hidden;
}

.mask-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gray-100);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.mask-reveal.revealed::after {
  transform: scaleX(0);
  transform-origin: left;
}

.mask-reveal img {
  transform: scale(1.2);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
}

.mask-reveal.revealed img {
  transform: scale(1);
}

/* --- Slide Up Animation --- */
.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero Slideshow --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* --- Horizontal Scroll Section --- */
.h-scroll-section {
  height: 300vh;
  position: relative;
}

.h-scroll-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.h-scroll-wrapper {
  display: flex;
  gap: 30px;
  padding: 0 40px;
  will-change: transform;
}

.h-scroll-card {
  flex-shrink: 0;
  width: 400px;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}

.h-scroll-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.h-scroll-card:hover img {
  opacity: 0.4;
}

.h-scroll-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: var(--white);
}

.h-scroll-card-num {
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.h-scroll-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .h-scroll-section {
    height: auto;
  }

  .h-scroll-container {
    position: relative;
    height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .h-scroll-wrapper {
    padding: 20px;
  }

  .h-scroll-card {
    width: 300px;
    height: 400px;
  }
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

.header.scrolled .header-logo img {
  height: 40px;
}

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

.header-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.15em;
}

.header-logo span {
  color: var(--gold);
}

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

.header-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.12em;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--orange);
  opacity: 1;
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 70%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}

.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(6px, -6px);
}

/* --- Hero --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: scale(1.1);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(26, 38, 50, 0.4) 50%,
    rgba(26, 38, 50, 0.8) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  padding: 0 40px;
}

.hero-content .container-wide {
  padding: 0;
}

.hero-tagline {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s ease 0.5s forwards;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease 0.8s forwards;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s ease 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

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

@keyframes scrollLine {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; }
  100% { opacity: 1; transform: scaleY(1); }
}

/* --- Section Common --- */
.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section-dark {
  background: var(--gray-100);
  color: var(--text);
}

.section-light {
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  margin-bottom: var(--section-title-mb);
}

.section-title .en {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 400;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* --- Horizontal Timeline --- */
.h-timeline-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:20px 0 30px;}
.h-timeline-wrapper::-webkit-scrollbar{height:6px;}
.h-timeline-wrapper::-webkit-scrollbar-track{background:var(--gray-100);border-radius:3px;}
.h-timeline-wrapper::-webkit-scrollbar-thumb{background:var(--teal);border-radius:3px;}
.h-timeline{display:flex;align-items:flex-start;gap:0;padding:0 40px;position:relative;min-width:max-content;}
.h-timeline::before{content:"";position:absolute;top:45px;left:40px;right:40px;height:3px;background:linear-gradient(90deg,var(--orange),var(--teal));border-radius:2px;}
.h-era{flex-shrink:0;position:relative;padding-top:70px;}
.h-era-label{position:absolute;top:0;left:0;font-size:0.7rem;font-weight:700;color:var(--teal);letter-spacing:0.1em;font-family:"Archivo",sans-serif;white-space:nowrap;}
.h-era-dot{position:absolute;top:39px;left:15px;width:14px;height:14px;background:var(--teal);border-radius:50%;border:3px solid var(--white);box-shadow:0 0 0 2px var(--teal);z-index:1;}
.h-era-items{display:flex;gap:8px;padding:0 10px;}
.h-timeline-card{flex-shrink:0;width:200px;padding:16px;background:var(--white);border:1px solid var(--gray-200);border-radius:8px;font-size:0.78rem;transition:all 0.3s ease;box-shadow:0 1px 5px rgba(0,0,0,0.04);}
.h-timeline-card:hover{border-color:var(--teal);box-shadow:0 4px 15px rgba(59,168,160,0.15);transform:translateY(-3px);}
.h-timeline-card .card-date{font-weight:700;color:var(--teal-dark);font-family:"Archivo",sans-serif;font-size:0.75rem;margin-bottom:6px;}
.h-timeline-card .card-text{color:var(--text);line-height:1.6;}

/* --- Accordion Timeline --- */
.accordion-timeline{max-width:800px;margin:0 auto;}
.decade-group{margin-bottom:8px;}
.decade-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:var(--white);border:1px solid var(--gray-200);border-radius:8px;cursor:pointer;transition:all 0.3s ease;user-select:none;}
.decade-header:hover{border-color:var(--teal);background:var(--gray-100);}
.decade-header.active{background:var(--teal);color:white;border-color:var(--teal);border-radius:8px 8px 0 0;}
.decade-header-left{display:flex;align-items:center;gap:15px;}
.decade-year{font-size:1.2rem;font-weight:700;font-family:"Archivo",sans-serif;}
.decade-count{font-size:0.75rem;padding:2px 10px;background:rgba(0,0,0,0.06);border-radius:12px;color:var(--text-light);}
.decade-header.active .decade-count{background:rgba(255,255,255,0.2);color:white;}
.decade-arrow{font-size:0.8rem;transition:transform 0.3s ease;}
.decade-header.active .decade-arrow{transform:rotate(180deg);}
.decade-content{max-height:0;overflow:hidden;transition:max-height 0.5s cubic-bezier(0.4,0,0.2,1);background:var(--white);border:1px solid var(--gray-200);border-top:none;border-radius:0 0 8px 8px;}
.decade-content.open{max-height:5000px;}
.decade-content-inner{padding:10px 24px 20px;}
.timeline-row{display:flex;gap:20px;padding:12px 0;border-bottom:1px solid var(--gray-100);align-items:baseline;font-size:0.88rem;}
.timeline-row:last-child{border-bottom:none;}
.timeline-row-date{flex-shrink:0;min-width:80px;font-weight:600;color:var(--teal-dark);font-family:"Archivo",sans-serif;font-size:0.82rem;}
.timeline-row-text{color:var(--text);}
.timeline-row-tag{display:inline-block;font-size:0.65rem;padding:1px 8px;border-radius:3px;margin-right:6px;font-weight:500;}
.tag-open{background:var(--tag-grow-bg);color:var(--tag-grow-fg);}
.tag-close{background:var(--tag-exit-bg);color:var(--tag-exit-fg);}
.tag-company{background:var(--tag-new-bg);color:var(--tag-new-fg);}
.tag-renewal{background:var(--tag-new-bg);color:var(--tag-new-fg);}
.tag-transfer{background:var(--tag-exit-bg);color:var(--tag-exit-fg);}
.tag-invest{background:var(--tag-new-bg);color:var(--tag-new-fg);}

@media(max-width:768px){
  .h-timeline-card{width:170px;}
  .timeline-row{flex-direction:column;gap:4px;}
  .timeline-row-date{min-width:auto;}
}

.section-dark .section-title h2 {
  color: var(--text);
}

/* --- Philosophy (Top) --- */
.philosophy-top {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy-top-text {
  flex: 1;
}

.philosophy-top-text .catchphrase {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}

.philosophy-top-text .catchphrase .gold {
  color: var(--orange);
}

.philosophy-top-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
}

.philosophy-top-image {
  flex: 0 0 300px;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
}

.philosophy-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- News --- */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: baseline;
  transition: all 0.3s ease;
}

.news-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.news-item:hover {
  padding-left: 10px;
}

.news-date {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--gold-dark);
  min-width: 80px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.news-tag {
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  min-width: 60px;
  text-align: center;
}

.news-tag.tag-build { background:var(--tag-grow-bg); color:var(--tag-grow-fg); }
.news-tag.tag-break { background:var(--tag-exit-bg); color:var(--tag-exit-fg); }
.news-tag.tag-new   { background:var(--tag-new-bg);  color:var(--tag-new-fg); }
.news-tag.tag-invest{ background:var(--tag-new-bg);  color:var(--tag-new-fg); }

.news-title {
  font-size: 0.9rem;
  font-weight: 400;
}

.news-title a:hover {
  color: var(--gold-dark);
  opacity: 1;
}

.section-dark .news-item {
  border-color: var(--gray-200);
}

.section-dark .news-date {
  color: var(--teal-dark);
}

.section-dark .news-title a:hover {
  color: var(--orange);
}

.text-center {
  text-align: center;
}

.btn-more {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 50px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.btn-more:hover {
  background: var(--gold);
  color: var(--navy);
  opacity: 1;
}

/* --- Business Grid --- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.business-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

.business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.5s ease;
  opacity: 0.7;
}

.business-card:hover img {
  transform: scale(1.1);
  opacity: 0.4;
}

.business-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 38, 50, 0.9) 0%, rgba(26, 38, 50, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: all 0.5s ease;
}

.business-card:hover .business-card-overlay {
  background: linear-gradient(to top, rgba(26, 38, 50, 0.95) 0%, rgba(26, 38, 50, 0.5) 100%);
}

.business-card-num {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.business-card-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.4s ease;
}

.business-card:hover .business-card-title {
  transform: translateY(-5px);
}

.business-card-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
}

.business-card:hover .business-card-arrow {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(5px);
}

/* --- Company Table --- */
.company-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

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

.company-table th {
  text-align: left;
  padding: 20px 25px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-light);
  width: 160px;
  vertical-align: top;
}

.company-table td {
  padding: 20px 25px;
  font-size: 0.9rem;
}

/* --- Timeline --- */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--teal), var(--gray-300));
}

.timeline-item {
  position: relative;
  padding: 0 0 35px 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--teal);
}

.timeline-year {
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 0.85rem;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.timeline-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Philosophy Page --- */
.philosophy-mission {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--teal);
}

.philosophy-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
}

.philosophy-mission h3 {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  margin-bottom: 30px;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 400;
}

.philosophy-mission p {
  font-size: 1.3rem;
  line-height: 2.2;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
}

.philosophy-vision {
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 60px;
}

.philosophy-vision h3 {
  font-size: 0.75rem;
  color: var(--gold-dark);
  letter-spacing: 0.4em;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
}

.philosophy-vision p {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  padding: 35px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
  border-top: 2px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.value-card .letter {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: "Archivo", "Helvetica Neue", sans-serif;
}

.value-card h4 {
  font-size: 1rem;
  margin: 10px 0 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Page Header --- */
.page-header {
  margin-top: 0;
  padding: 180px 0 100px;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 38, 50, 0.85), rgba(26, 38, 50, 0.55));
  z-index: 0;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  z-index: 1;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
}

.page-header .subtitle {
  font-size: 0.75rem;
  margin-top: 14px;
  color: var(--orange);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-header-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- Business Detail --- */
.business-detail {
  padding: 60px 0;
}

.business-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.business-catchcopy {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--text);
}

.business-intro p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
}

.group-companies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.group-company-card {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(26, 38, 50, 0.08);
}

.group-company-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.group-company-card .group-company-role {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.group-company-card table {
  width: 100%;
  font-size: 0.85rem;
}

.group-company-card th {
  text-align: left;
  width: 90px;
  padding: 6px 0;
  color: var(--text-light);
  font-weight: 500;
  vertical-align: top;
}

.group-company-card td {
  padding: 6px 0;
  color: var(--text);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .group-companies {
    grid-template-columns: 1fr;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(26, 38, 50, 0.08);
  border-left: 4px solid var(--teal);
  padding: 28px 28px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(26, 38, 50, 0.05);
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
}

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

.business-intro p.business-lead {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* --- Store Cards --- */
.store-list {
  max-width: 900px;
  margin: 0 auto;
}

.store-card {
  display: flex;
  gap: 30px;
  padding: 30px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid transparent;
}

.store-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  border-left-color: var(--gold);
}

.store-card img {
  width: 220px;
  height: 165px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.store-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
  letter-spacing: 0.03em;
}

.store-info table {
  font-size: 0.82rem;
}

.store-info table th {
  text-align: left;
  padding: 5px 15px 5px 0;
  color: var(--text-light);
  font-weight: 400;
  vertical-align: top;
  white-space: nowrap;
}

.store-info table td {
  padding: 5px 0;
  color: var(--text);
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  text-align: center;
}

.product-card img {
  border-radius: 4px;
  margin: 0 auto 12px;
  transition: transform 0.3s ease;
}

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

.product-card p {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* --- Recruit --- */
.recruit-list {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-category {
  margin-bottom: 50px;
}

.recruit-category h3 {
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy);
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.recruit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding-left 0.3s ease;
}

.recruit-item .recruit-thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.recruit-item.is-inactive {
  opacity: 0.55;
}

.recruit-item.is-inactive .btn-detail {
  background: var(--gray-200);
  color: var(--text-light);
  pointer-events: none;
}

.recruit-item.is-inactive .recruit-thumb {
  filter: grayscale(0.6);
}

.inactive-section {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px dashed var(--gray-200);
}

.inactive-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.inactive-section .inactive-lead {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.inactive-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  background: var(--gray-200);
  color: var(--text-light);
  border-radius: 3px;
  margin-top: 4px;
}

.recruit-item-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .recruit-item {
    flex-wrap: wrap;
  }
  .recruit-item .recruit-thumb {
    width: 80px;
    height: 60px;
  }
}

.recruit-item:hover {
  padding-left: 10px;
}

.recruit-item .store-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.recruit-item .position {
  font-size: 0.82rem;
  color: var(--text-light);
}

.recruit-item .btn-detail {
  padding: 8px 24px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.recruit-item .btn-detail:hover {
  background: var(--gold-dark);
  opacity: 1;
}

/* --- Contact --- */
.contact-section {
  padding: 60px 0;
}

.contact-info-box {
  max-width: 600px;
  margin: 0 auto 60px;
  padding: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  text-align: center;
  color: var(--text);
  border-left: 4px solid var(--teal);
}

.contact-info-box p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-info-box .freedial {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin: 12px 0;
  letter-spacing: 0.05em;
}

.contact-info-box .tel-fax {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.form-group label .required {
  display: inline-block;
  background: var(--gold-dark);
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 10px;
  border-radius: 2px;
  margin-left: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  letter-spacing: 0.15em;
}

.btn-submit:hover {
  background: var(--teal-dark);
}

/* --- Access / Map --- */
.access-info {
  text-align: center;
  margin-bottom: 50px;
}

.access-info .company-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.access-info .address {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.access-info .freedial {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

.access-info .tel-fax {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 5px;
}

.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  filter: grayscale(30%);
  transition: filter 0.5s ease;
}

.map-section iframe:hover {
  filter: grayscale(0%);
}

/* --- Footer --- */
.footer {
  background: var(--teal);
  color: var(--white);
  padding: 35px 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

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

.footer-address {
  font-size: 0.82rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.92);
}

.footer-address .freedial {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin: 10px 0;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 50px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 0;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
}

.footer-cookie-notice {
  margin-top: 6px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

/* --- Parallax Section --- */
.parallax-section {
  position: relative;
  padding: calc(var(--section-pad-y) + 16px) 0;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 38, 50, 0.85);
}

.parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.parallax-content .number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  font-family: "Archivo", "Helvetica Neue", sans-serif;
}

.parallax-content .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Counter Animation --- */
.counter {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  font-family: "Archivo", "Helvetica Neue", sans-serif;
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-top {
    flex-direction: column;
    gap: 40px;
  }

  .philosophy-top-image {
    flex: none;
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }

  .header-inner {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    font-size: 1rem;
    padding: 18px 20px;
    color: var(--text);
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 0 20px;
    bottom: 20%;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .parallax-section {
    padding: 56px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .container-wide {
    padding: 0 20px;
  }

  .news-item {
    flex-direction: column;
    gap: 5px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .business-card {
    aspect-ratio: 16 / 9;
  }

  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .company-table th {
    display: block;
    width: 100%;
    padding: 15px 0 0;
  }

  .company-table td {
    display: block;
    padding: 5px 0 15px;
  }

  .store-card {
    flex-direction: column;
  }

  .store-card img {
    width: 100%;
    height: 200px;
  }

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

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

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

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

  .recruit-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .map-section iframe {
    height: 300px;
  }

  .parallax-bg {
    background-attachment: scroll;
  }

  .philosophy-mission {
    padding: 50px 20px;
  }

  .philosophy-mission p {
    font-size: 1.1rem;
  }

  .contact-info-box .freedial {
    font-size: 1.5rem;
  }

}

/* --- Story Steps Section --- */
.story-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .story-steps {
    grid-template-columns: 1fr;
  }
}

.story-step {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.story-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid var(--orange);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.story-step:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .story-step::after {
    top: auto;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%) rotate(90deg);
  }
}

.story-year {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 15px;
}

.story-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--navy);
}

.story-step p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text);
}

/* --- Section Lead Text --- */
.section-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 15px;
}

/* --- Vision Sub --- */
.vision-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* --- Values Vertical Layout --- */
.values-vertical {
  margin-top: 40px;
}

.value-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}

.value-block:last-child {
  border-bottom: none;
}

.value-block-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.value-block-inner.reverse {
  flex-direction: row-reverse;
}

.value-block-letter {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.value-block:hover .value-block-letter {
  transform: rotate(5deg) scale(1.05);
}

.value-block-letter span {
  font-family: "Archivo", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
}

.value-block-content {
  flex: 1;
}

.value-block-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.value-initial {
  font-family: "Archivo", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-right: 2px;
}

/* --- Value Statement --- */
.value-statement {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange-dark);
  margin-bottom: 12px;
  line-height: 1.8;
}

.value-block-content p:last-child {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
}

@media (max-width: 768px) {
  .value-block-inner,
  .value-block-inner.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .value-block-letter {
    width: 90px;
    height: 90px;
  }

  .value-block-letter span {
    font-size: 2.5rem;
  }

  .value-block {
    padding: 40px 20px;
  }
}

/* --- Philosophy Conclusion --- */
.philosophy-conclusion {
  padding: 50px 40px;
  background: var(--gray-100);
  border-radius: 8px;
  text-align: center;
}

.philosophy-conclusion p {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 20px;
}

.philosophy-conclusion p:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

.philosophy-conclusion p:last-child {
  margin-bottom: 0;
  font-weight: 500;
}

/* --- Recruit Hero --- */
.recruit-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.recruit-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/generated/v5/hero_diverse_business_2.png');
  background-size: cover;
  background-position: center;
}

.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 38, 50, 0.85), rgba(26, 38, 50, 0.6));
}

.recruit-hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  z-index: 1;
}

.recruit-hero-tag {
  font-family: "Archivo", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 20px;
}

.recruit-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.recruit-hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
}

/* --- Why SHIGA Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  padding: 40px 30px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-num {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text);
}

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

/* --- CEO Message --- */
.ceo-message {
  max-width: 750px;
  margin: 50px auto 0;
  padding: 50px 40px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}

.ceo-message-lead {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  line-height: 1.6;
}

.ceo-message p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 18px;
}

.ceo-message-name {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
  margin-top: 30px;
  font-size: 0.9rem !important;
  line-height: 1.8 !important;
}

@media (max-width: 768px) {
  .ceo-message {
    padding: 35px 25px;
  }
}

/* --- Recruit Category Updated --- */
.recruit-category-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gray-200);
}

.recruit-category-num {
  font-family: "Archivo", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.recruit-category-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.recruit-item .location {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Apply Box --- */
.apply-box {
  max-width: 700px;
  margin: 50px auto 0;
  padding: 50px 40px;
  background: var(--white);
  border-radius: 8px;
  text-align: center;
}

.apply-box p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 15px;
}

.apply-box .btn-more {
  margin-top: 20px;
}

/* --- Contact Form Status --- */
.contact-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.contact-status.success {
  display: block;
  background: rgba(59, 168, 160, 0.1);
  border: 1px solid var(--teal);
  color: var(--teal-dark);
}

.contact-status.error {
  display: block;
  background: rgba(232, 135, 30, 0.1);
  border: 1px solid var(--orange);
  color: var(--orange-dark);
}

/* --- Notice Popup --- */
.notice-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 9000;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.notice-popup.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notice-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}

.notice-popup-inner {
  padding: 30px 28px 26px;
  position: relative;
}

.notice-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  line-height: 1;
}

.notice-popup-close:hover {
  background: var(--gray-100);
}

.notice-popup-badge {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--orange);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.notice-popup-date {
  font-family: "Archivo", sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.notice-popup-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.notice-popup-body {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.notice-popup-body strong {
  color: var(--orange-dark);
  font-weight: 700;
}

.notice-popup-tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .notice-popup {
    bottom: 20px;
    right: 20px;
    left: 20px;
    width: auto;
  }
}

/* --- AI Message Section --- */
.ai-message {
  padding: 50px 0;
  background: var(--gray-100);
  text-align: center;
}

.ai-message-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 2;
  letter-spacing: 0.02em;
}

/* --- 事業内容モーダル（2026-07-08: contents.html のページ遷移をページ内ポップアップへ） --- */
.business-modal {
  position: fixed;
  inset: 0;
  z-index: 9500; /* notice-popup(9000) より上・loader(9999) より下 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(26, 38, 50, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.business-modal.open {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

.business-modal-panel {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.business-modal.open .business-modal-panel {
  transform: translateY(0) scale(1);
}

.business-modal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  z-index: 2;
}

.business-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.3s ease;
}

.business-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

.business-modal-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.business-modal-header {
  padding: 38px 76px 28px 36px;
  text-align: center;
}

.business-modal-en {
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.business-modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
}

.business-modal-body {
  padding: 0 36px 44px;
}

.business-modal-status {
  padding: 60px 20px 80px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .business-modal {
    padding: 0;
    align-items: stretch;
  }

  .business-modal-panel {
    max-width: none;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }

  .business-modal-close {
    top: 12px;
    right: 12px;
  }

  .business-modal-header {
    padding: 30px 64px 22px 20px;
    text-align: left;
  }

  .business-modal-title {
    font-size: 1.25rem;
  }

  .business-modal-body {
    padding: 0 20px 40px;
  }
}
