/*
Theme Name: ENTRUST
Theme URI: https://entrust-co.jp
Author: ENTRUST
Description: ENTRUST Corporate Theme - Trust In Every Step
Version: 3.0
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --bg-white:    #ffffff;
  --bg-light:    #f4f7fb;
  --bg-navy:     #0a1e36;
  --accent:      #1a4f8a;
  --accent-lt:   #3a7ab8;
  --accent-pale: #e8f0f8;
  --text-dark:   #0a1e36;
  --text-mid:    #4a6080;
  --text-gray:   #8899aa;
  --border:      #e2e8f0;
  --white:       #ffffff;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: 'Noto Sans JP', 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}

/* ============================================================
   LOADING
============================================================ */
#loading {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-svg line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 9999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
}
.site-logo a { display: flex; align-items: center; }

/* Nav */
#primary-navigation ul {
  display: flex;
  gap: 36px;
  align-items: center;
}
#primary-navigation ul li a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dark);
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item a,
#primary-navigation ul li.current_page_item a {
  opacity: 1;
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
}
.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--text-dark);
  transition: all 0.35s ease;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.is-open {
  display: flex;
  pointer-events: auto;
  opacity: 1;
}
.mobile-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--bg-navy);
  padding: 80px 10vw 40px;
  border-top: none;
  color: rgba(255,255,255,0.6);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}
.footer-logo { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.footer-nav ul { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-nav ul li a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-nav ul li a:hover { color: #ffffff; }
.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-bottom p {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   COMMON: SECTION
============================================================ */
.section { padding: 120px 10vw; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title-en {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 64px;
  word-break: keep-all;
}

/* ============================================================
   COMMON: BUTTON
============================================================ */
.btn-outline {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  padding: 16px 52px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s;
  cursor: none;
}
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}
.btn-outline:hover::after { transform: scaleX(1); }
.btn-outline span { position: relative; z-index: 1; transition: color 0.35s; }

/* ダーク背景上のボタン（白） */
.btn-outline-white {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover span { color: var(--accent); }

/* ライト背景上のボタン（ネイビー） */
.btn-outline-dark {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:hover { color: var(--white); }
.btn-outline-dark::after { background: var(--accent); }

/* ============================================================
   FADE-UP
============================================================ */
.fade-up { will-change: transform, opacity; }

/* ============================================================
   PAGE HERO (inner pages 50vh, image bg)
============================================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,30,54,0.6), rgba(10,30,54,0.88));
  pointer-events: none;
}
.page-hero-bg-text {
  position: absolute;
  right: -2vw;
  bottom: -0.1em;
  font-family: 'Cinzel', serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 400;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 10vw 60px;
}
.page-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: 8px;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero-content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  word-break: keep-all;
}

/* ============================================================
   FRONT PAGE — HERO
============================================================ */
.hero-section {
  position: relative;
  height: 100vh;
  background: var(--bg-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 10vw;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 52px;
  word-break: keep-all;
}
.hero-scroll {
  position: absolute;
  right: 52px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.hero-scroll-label {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ============================================================
   FRONT PAGE — NUMBERS
============================================================ */
.numbers-section {
  background: var(--bg-white);
  padding: 120px 10vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin-top: 64px;
}
.number-item {
  padding-left: 36px;
  border-left: 2px solid var(--accent-pale);
}
.number-value {
  font-family: 'Jost', sans-serif;
  font-size: clamp(60px,8vw,90px);
  font-weight: 100;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.number-value .num-suffix {
  font-size: 0.42em;
  color: var(--accent-lt);
  margin-top: 0.2em;
  font-weight: 300;
}
.number-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  word-break: keep-all;
}

/* ============================================================
   FRONT PAGE — SERVICES
============================================================ */
.services-section {
  background: var(--bg-light);
  padding: 120px 10vw;
}
.services-list { border-top: 1px solid var(--border); margin-top: 64px; }
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  align-items: center;
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  position: relative;
  transition: background 0.3s, padding-left 0.3s;
}
.service-row:hover { background: var(--accent-pale); padding-left: 24px; }
.service-row:hover .svc-arrow { color: var(--accent); transform: translateX(6px); }
.svc-num {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}
.svc-name {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
}
.svc-name-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 3px;
  word-break: keep-all;
}
.svc-arrow {
  font-size: 16px;
  color: var(--text-gray);
  transition: transform 0.3s, color 0.3s;
}

/* ============================================================
   FRONT PAGE — MESSAGE
============================================================ */
.message-section {
  background: var(--bg-navy);
  padding: 140px 10vw;
  position: relative;
  overflow: hidden;
}
.message-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1200&q=80');
  background-size: cover;
  background-position: center top;
  opacity: 0.08;
  pointer-events: none;
}
.message-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.message-quote {
  font-family: 'Cinzel', serif;
  font-size: 80px;
  color: var(--accent-lt);
  opacity: 0.4;
  line-height: 0.75;
  margin-bottom: 36px;
}
.message-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2.2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
  word-break: keep-all;
}
.message-author { text-align: right; }
.message-author-role {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.message-author-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: var(--accent);
  padding: 120px 10vw;
  text-align: center;
  color: var(--white);
}
.cta-title-en {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px,4vw,48px);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  word-break: keep-all;
}
.cta-mail {
  display: block;
  margin-top: 28px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.cta-mail:hover { color: var(--white); }

/* ============================================================
   ABOUT — PHILOSOPHY
============================================================ */
.philosophy-section {
  background: var(--bg-white);
  padding: 120px 10vw;
  border-bottom: 1px solid var(--border);
}
.philosophy-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 56px 0;
}
.p-char {
  font-family: 'Cinzel', serif;
  font-size: clamp(48px,8vw,100px);
  font-weight: 400;
  color: var(--accent-pale);
  line-height: 1;
  transition: color 0.5s ease;
  display: inline-block;
}
.p-char.space { width: 0.4em; }

/* ============================================================
   ABOUT — MESSAGE
============================================================ */
.about-message-section { background: var(--bg-light); padding: 120px 10vw; }
.about-message-inner { max-width: 720px; }
.about-message-inner p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-mid);
  margin-bottom: 28px;
  word-break: keep-all;
}
.about-message-inner .section-title-en { color: var(--text-dark); }
.about-rep {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.about-rep-role {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-rep-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
}

/* ============================================================
   SERVICE — ACCORDION
============================================================ */
.accordion-section { background: var(--bg-white); padding: 80px 10vw 120px; }
.accordion-list { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item.is-open { border-color: var(--accent); }

.accordion-header {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, padding-left 0.2s;
}
.accordion-header:hover { background: var(--accent-pale); padding-left: 12px; }
.acc-num {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}
.acc-title {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 1px;
}
.acc-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 4px;
  word-break: keep-all;
}
.acc-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.35s, border-color 0.3s;
}
.accordion-item.is-open .acc-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body-inner {
  padding: 0 0 28px 52px;
  border-left: 3px solid var(--accent);
  margin: 0 0 4px 0;
  background: var(--bg-light);
}
.accordion-body-inner p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: var(--text-mid);
  max-width: 680px;
  word-break: keep-all;
  padding: 20px 24px 0;
}

/* ============================================================
   COMPANY — TABLE
============================================================ */
.company-table-section { background: var(--bg-white); padding: 80px 10vw 120px; }
.company-dl { max-width: 840px; }
.company-dl .dl-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  align-items: start;
}
.company-dl dt {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-gray);
  text-transform: uppercase;
  padding-top: 2px;
}
.company-dl dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.9;
  word-break: keep-all;
}
.company-dl dd a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.company-dl dd a:hover { border-color: var(--accent); }
.company-dl dd ul li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.company-dl dd ul li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* Access map */
.access-section { background: var(--bg-light); padding: 100px 10vw; }
.access-section .section-title-en { color: var(--text-dark); }
.map-wrap { margin-top: 48px; width: 100%; height: 400px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(20%); display: block; }

/* ============================================================
   CONTACT — FORM
============================================================ */
.contact-section { background: var(--bg-white); padding: 80px 10vw 120px; }
.contact-intro { max-width: 620px; margin-bottom: 72px; }
.contact-intro-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2.2;
  color: var(--text-mid);
  margin-bottom: 24px;
  word-break: keep-all;
}
.contact-email-link {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: opacity 0.3s;
}
.contact-email-link:hover { opacity: 0.65; }

.cf7-wrap { max-width: 720px; }

/* CF7 / fallback form */
.wpcf7-form .cf7-row,
.fallback-form .cf7-row { margin-bottom: 48px; }

.wpcf7-form label,
.fallback-form label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.wpcf7-form .req,
.fallback-form .req { color: var(--accent); }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.fallback-form input[type="text"],
.fallback-form input[type="email"],
.fallback-form input[type="tel"],
.fallback-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 14px 0;
  outline: none;
  transition: border-color 0.3s;
  display: block;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.fallback-form input:focus,
.fallback-form textarea:focus { border-bottom-color: var(--accent); }
.wpcf7-form textarea,
.fallback-form textarea { height: 140px; resize: none; }

.wpcf7-form input[type="submit"],
.fallback-form input[type="submit"] {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  padding: 16px 56px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-top: 16px;
}
.wpcf7-form input[type="submit"]:hover,
.fallback-form input[type="submit"]:hover {
  background: var(--accent);
  color: var(--white);
}
.wpcf7-response-output {
  margin-top: 24px !important;
  border: 1px solid var(--accent) !important;
  padding: 14px 20px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  color: var(--accent) !important;
  background: var(--accent-pale) !important;
}
.wpcf7-not-valid-tip {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  color: #c0392b !important;
  margin-top: 6px !important;
}

.contact-info-section { background: var(--bg-light); padding: 80px 10vw; }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 56px;
}
.contact-info-item {}
.contact-info-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-info-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: var(--text-dark);
  word-break: keep-all;
}

/* ============================================================
   INDEX / SINGLE
============================================================ */
.posts-wrapper { padding: 140px 10vw 100px; max-width: 1100px; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 32px;
  margin-top: 60px;
}
.post-card {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg-white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.post-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(26,79,138,0.08); }
.post-card-date { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--text-gray); margin-bottom: 14px; }
.post-card h2 { font-family: 'Jost', sans-serif; font-size: 16px; color: var(--text-dark); margin-bottom: 12px; }
.post-card p { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--text-mid); line-height: 1.8; }

.single-wrapper { padding: 140px 10vw 100px; max-width: 800px; margin: 0 auto; }
.single-wrapper h1 { font-family: 'Cinzel', serif; font-size: clamp(22px,3vw,38px); letter-spacing: 3px; margin-bottom: 48px; line-height: 1.4; color: var(--text-dark); }
.post-body { font-family: 'Noto Sans JP', sans-serif; font-size: 15px; line-height: 2.2; color: var(--text-mid); word-break: keep-all; }
.post-nav { display: flex; justify-content: space-between; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border); font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 3px; color: var(--text-gray); }
.post-nav a { transition: color 0.3s; }
.post-nav a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .header-inner { padding: 0 24px; }
  #primary-navigation { display: none; }
  .hamburger { display: flex; }

  .section { padding: 80px 6vw; }
  .numbers-section, .services-section, .message-section,
  .cta-section, .philosophy-section, .about-message-section,
  .accordion-section, .company-table-section, .access-section,
  .contact-section, .contact-info-section { padding: 80px 6vw; }

  .numbers-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav ul { flex-wrap: wrap; gap: 16px; }
  #site-footer { padding: 60px 6vw 36px; }

  .page-hero { min-height: 300px; }
  .page-hero-content { padding: 0 6vw 48px; }

  .company-dl .dl-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .company-dl dt { margin-bottom: 4px; }

  .accordion-header { grid-template-columns: 44px 1fr 32px; }
  .accordion-body-inner { padding: 0; }
  .accordion-body-inner p { padding: 16px 16px 0; }

  .hero-scroll { right: 24px; bottom: 60px; }
  .posts-wrapper { padding: 100px 6vw 60px; }
  .single-wrapper { padding: 100px 6vw 60px; }
}
