@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ==============================
   Design Tokens
============================== */
:root {
  --c-bg:       #FAF8F3;
  --c-bg-warm:  #F3EEE5;
  --c-bg-card:  #FFFFFF;
  --c-dark:     #18202A;
  --c-text:     #243040;
  --c-mid:      #6B6B6B;
  --c-lt:       #9E9E9E;
  --c-terra:    #B85C30;
  --c-border:   #E4DDD4;
  --c-concept:  #F4EFE5;
  --c-valueup:  #E5CEB0;
  --c-pmi:      #B8C9BE;

  --f-min: "Noto Serif JP", "游明朝", "Yu Mincho", Georgia, serif;
  --f-go:  "Noto Sans JP", "游ゴシック", "Yu Gothic", system-ui, sans-serif;

  --mw:    1180px;
  --px:    clamp(20px, 4vw, 64px);
  --gap:   20px;
  --ease:  0.3s ease;
  --hd-h:  64px;
}

/* ==============================
   Reset & Base
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-go);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ==============================
   Scroll Fade
============================== */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   Header
============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hd-h);
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
}
.hd-inner {
  max-width: var(--mw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--f-min);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #14202b;
  line-height: 1;
}
.ft-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}
.ft-logo-bg {
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
}
.ft-logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}
.global-nav a {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--c-text);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.global-nav a:hover { color: var(--c-terra); }

.nav-btn {
  background: var(--c-dark) !important;
  color: #fff !important;
  padding: 0.46em 1.4em !important;
  border-radius: 100px;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-btn:hover {
  background: #2A3550 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--hd-h);
  left: 0; right: 0;
  background: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  z-index: 99;
  padding: 1.2rem var(--px) 1.5rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.1rem; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav li:last-child .mobile-nav-link { border-bottom: none; color: var(--c-terra); font-weight: 500; }

/* ==============================
   Shared Card Label
============================== */
.card-label {
  display: inline-block;
  font-family: var(--f-go);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-dark);
  opacity: 0.55;
  margin-bottom: 0;
}

/* Card photo */
.card-photo-wrap {
  flex: 1;
  min-height: 80px;
  overflow: hidden;
  border-radius: 10px;
  margin: 0.75rem 0;
}
.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.concept-card .card-photo { object-position: center; opacity: 0.58; }
.valueup-card .card-photo { object-position: center; }
.pmi-card    .card-photo { object-position: center top; }

/* Concept card: video background */
.concept-card { position: relative; }
.concept-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  z-index: 0;
}
.concept-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    rgba(240, 232, 216, 0.00) 0%,
    rgba(235, 225, 205, 0.15) 45%,
    rgba(228, 215, 190, 0.70) 68%,
    rgba(220, 207, 178, 0.92) 100%
  );
}
.concept-card .card-label,
.concept-card .concept-body {
  position: relative;
  z-index: 2;
}

/* Concept card photo: fade bottom edge into card background */
.concept-card .card-photo-wrap {
  position: relative;
  max-height: 46%;
}
.concept-card .card-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    #EBE1CE 100%
  );
  border-radius: 0 0 10px 10px;
  pointer-events: none;
}

/* ==============================
   Hero Section (3-card grid)
============================== */
.hero-section {
  padding-top: var(--hd-h);
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.hero-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  padding: var(--gap) var(--px) var(--gap);
  max-height: calc(100vh - var(--hd-h));
}

/* Card base */
.hero-card {
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
@media (hover: hover) {
  .hero-card:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
  }
}

/* Concept card (left, spans 2 rows) */
.concept-card {
  grid-column: 1;
  grid-row: 1 / 3;
  background: #FCF7EB;
  border: 1px solid #DDD4C2;
  justify-content: space-between;
}
.concept-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-right: 1.5rem;
}

/* クレヨンアンダーライン */
.concept-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.crayon-svg {
  display: block;
  /* width は JS で第2行テキスト幅に合わせてセット */
  width: 90%;
  height: 13px;
  margin-top: -2px;
  overflow: visible;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}
.ul-draw {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.ul-texture {
  opacity: 0;
}
.concept-heading {
  font-family: var(--f-min);
  font-size: clamp(2.2rem, 2.8vw, 3.6rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-dark);
  word-break: keep-all;
  position: relative;
  z-index: 1;
}
.concept-sub {
  font-family: var(--f-min);
  font-size: clamp(1.35rem, 1.7vw, 2.15rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-dark);
  word-break: keep-all;
  letter-spacing: 0.01em;
}
.concept-desc {
  font-family: var(--f-go);
  font-size: clamp(0.76rem, 1vw, 0.85rem);
  line-height: 1.9;
  color: var(--c-mid);
}

/* Service cards (right) — image overlay design */
.valueup-card {
  grid-column: 2;
  grid-row: 1;
  background: #1c2d24;
  border: none;
  padding: 0;
  position: relative;
}
.pmi-card {
  grid-column: 2;
  grid-row: 2;
  background: #1a2535;
  border: none;
  padding: 0;
  position: relative;
}

/* Full-bleed background image */
.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.55s ease;
}
.valueup-card .card-bg-img { object-position: right center; }
.pmi-card    .card-bg-img { object-position: center 40%; }

@media (hover: hover) {
  .valueup-card:hover .card-bg-img,
  .pmi-card:hover    .card-bg-img {
    transform: scale(1.06);
  }
}

/* Gradient overlay for text legibility — lighter to preserve image color */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.48) 100%
  );
  z-index: 1;
}

/* Text content layer: label top-left, heading/desc/arrow bottom-left */
.svc-card-inner {
  position: absolute;
  inset: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  z-index: 2;
}
.svc-card-inner .card-label {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: auto;   /* ラベルを上に固定、見出し以降を下へ押し出す */
}
.svc-heading {
  font-family: var(--f-min);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
  word-break: keep-all;
}
.svc-desc-short {
  font-family: var(--f-go);
  font-size: clamp(0.76rem, 1vw, 0.84rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.4rem;
}
.card-arrow {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.6rem;
  font-weight: 400;
  transition: transform 0.3s ease, opacity 0.3s ease;
  align-self: flex-start;
}
.hero-card:hover .card-arrow {
  transform: translateX(6px);
  color: rgba(255, 255, 255, 0.9);
}

/* ==============================
   Section Base
============================== */
.section {
  padding: clamp(80px, 11vw, 140px) var(--px);
  scroll-margin-top: var(--hd-h);
}
.inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.sec-header {
  margin-bottom: clamp(48px, 7vw, 80px);
}
.sec-label {
  display: inline-block;
  font-family: var(--f-go);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
}
.sec-heading {
  font-family: var(--f-min);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-dark);
  word-break: keep-all;
}

/* ==============================
   Services Detail
============================== */
.services-section { background: #FFFFFF; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.srv-detail-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .srv-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  }
}
.valueup-detail { border-top: 3px solid #CBA87C; }
.pmi-detail     { border-top: 3px solid #8FAF98; }

.srv-detail-heading {
  font-family: var(--f-min);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--c-dark);
  word-break: keep-all;
}
.srv-detail-text {
  font-size: 0.9rem;
  line-height: 2.05;
  color: var(--c-text);
}
.srv-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.srv-list li {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--c-text);
  padding-left: 1.1rem;
  position: relative;
}
.srv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--c-terra);
  border-radius: 50%;
  opacity: 0.7;
}
.srv-note {
  font-size: 0.78rem;
  color: var(--c-lt);
  line-height: 1.7;
  margin-top: 0.4rem;
}
.srv-pmi-note {
  font-size: 0.82rem;
  font-family: var(--f-min);
  color: var(--c-mid);
  line-height: 1.8;
  border-left: 2px solid var(--c-pmi);
  padding-left: 1rem;
  margin-top: 0.4rem;
}

/* ==============================
   Cases (Accordion Grid)
============================== */
.cases-section { background: var(--c-bg); }
.sec-lead {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--c-text);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.case-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.case-card.is-open {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}
.case-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.8rem 1.8rem 1.6rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
@media (hover: hover) {
  .case-header:hover { background: rgba(0,0,0,0.018); }
}
.case-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case-num {
  font-family: var(--f-go);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-terra);
}
.case-chevron {
  width: 18px;
  height: 18px;
  color: var(--c-mid);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.case-card.is-open .case-chevron { transform: rotate(180deg); }
.case-title {
  font-family: var(--f-min);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-dark);
  word-break: keep-all;
}
.case-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.case-card.is-open .case-body { grid-template-rows: 1fr; }
.case-body-inner { overflow: hidden; }
.case-body-content {
  padding: 1.4rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 1px solid var(--c-border);
}
.case-detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.case-detail-label {
  font-family: var(--f-go);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-terra);
}
.case-detail-text {
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--c-text);
}
.cases-group {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.cases-group:last-of-type { margin-bottom: 0; }
.cases-group-label {
  font-family: var(--f-min);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--c-mid);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--c-border);
}
.cases-cta {
  margin-top: 3.5rem;
  padding: 2.6rem 3rem;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.cases-cta-heading {
  font-family: var(--f-min);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--c-dark);
  line-height: 1.7;
}
.cases-cta-text {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--c-text);
  max-width: 500px;
}

/* ==============================
   Insights (Card Grid)
============================== */
.insights-section { background: var(--c-bg-warm); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.insight-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 1.8rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  }
  .insight-card:hover .insight-read {
    color: var(--c-terra);
  }
}
.insight-cat {
  display: inline-block;
  font-family: var(--f-go);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
}
.insight-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.insight-title {
  font-family: var(--f-min);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--c-dark);
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.insight-date {
  font-size: 0.75rem;
  color: var(--c-mid);
  letter-spacing: 0.05em;
}
.insight-desc {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--c-mid);
  margin-top: 0.2rem;
}
.insight-read {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-dark);
  letter-spacing: 0.04em;
  margin-top: 1.4rem;
  transition: color 0.2s ease;
}

/* ==============================
   Article pages
============================== */
.article-main {
  padding-top: calc(var(--hd-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(5rem, 10vw, 8rem);
  min-height: 100vh;
}
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--f-go);
  font-size: 0.8rem;
  color: var(--c-mid);
  letter-spacing: 0.05em;
  transition: color 0.2s;
  margin-bottom: 3.5rem;
}
.article-back:hover { color: var(--c-terra); }
.article-header {
  margin-bottom: 2.8rem;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 2.4rem;
}
.article-cat {
  display: inline-block;
  font-family: var(--f-go);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
}
.article-title {
  font-family: var(--f-min);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--c-dark);
  margin-bottom: 1.2rem;
  word-break: keep-all;
}
.article-date {
  font-size: 0.8rem;
  color: var(--c-mid);
  letter-spacing: 0.06em;
}
.article-lead {
  font-family: var(--f-min);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 2.1;
  color: var(--c-text);
  border-left: 3px solid var(--c-terra);
  padding-left: 1.4rem;
  margin-bottom: 3.5rem;
}
.article-body {
  font-family: var(--f-go);
  font-size: clamp(0.9rem, 1.2vw, 0.97rem);
  line-height: 2.2;
  color: var(--c-text);
}
.article-body p { margin-bottom: 1.9em; }
.article-body p:last-child { margin-bottom: 0; }
.article-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 4rem 0;
}
.article-back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--f-go);
  font-size: 0.8rem;
  color: var(--c-mid);
  letter-spacing: 0.05em;
  transition: color 0.2s;
  margin-bottom: 3rem;
}
.article-back-bottom:hover { color: var(--c-terra); }
.article-cta {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-top: 1rem;
}
.article-cta p {
  font-family: var(--f-go);
  font-size: clamp(0.88rem, 1.2vw, 0.96rem);
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: 1.6rem;
}
@media (max-width: 768px) {
  .article-main { padding-top: calc(var(--hd-h) + 2.5rem); }
  .article-back { margin-bottom: 2.5rem; }
  .article-header { padding-bottom: 2rem; margin-bottom: 2rem; }
  .article-lead { font-size: 0.96rem; padding-left: 1rem; }
  .article-body { font-size: 0.93rem; line-height: 2.0; }
}

/* ==============================
   Contact
============================== */
.contact-section {
  background: #EDF2ED;
  border-top: 1px solid #D4E0D4;
}
.contact-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-heading {
  font-family: var(--f-min);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-dark);
  word-break: keep-all;
}
.contact-body {
  font-family: var(--f-min);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 2;
  color: var(--c-text);
}
.contact-sub {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--c-mid);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.4rem;
}
.btn {
  display: inline-block;
  font-family: var(--f-go);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85em 2.2em;
  border-radius: 100px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.btn-dark {
  background: var(--c-dark);
  color: #fff;
}
.btn-dark:hover {
  background: #2A3550;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.contact-email-link {
  font-size: 0.84rem;
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.contact-email-link:hover { color: var(--c-dark); }

/* ==============================
   Footer
============================== */
.site-footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.55);
}
.ft-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.ft-name {
  font-family: var(--f-min);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.ft-sub {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.ft-email a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}
.ft-email a:hover { color: rgba(255, 255, 255, 0.9); }
.ft-info {
  font-size: 0.78rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
}
.ft-info-label {
  display: inline-block;
  min-width: 5.2em;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}
.ft-info a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}
.ft-info a:hover { color: rgba(255, 255, 255, 0.9); }
.ft-copy {
  font-size: 0.72rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
  margin-top: 0.5rem;
}

/* ==============================
   Support Flow (Services内)
============================== */
.srv-flow {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}
.srv-flow-header {
  margin-bottom: 2.2rem;
}
.srv-flow-heading {
  font-family: var(--f-min);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--c-dark);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}
.srv-flow-lead {
  font-size: 0.85rem;
  line-height: 1.95;
  color: var(--c-mid);
  max-width: 660px;
}
.srv-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.srv-flow-step {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
}
.srv-flow-num {
  display: block;
  font-family: var(--f-go);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--c-terra);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.srv-flow-title {
  font-family: var(--f-min);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--c-dark);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.srv-flow-desc {
  font-size: 0.78rem;
  color: var(--c-text);
  line-height: 1.9;
}

/* ==============================
   FAQ Section
============================== */
.faq-section { background: var(--c-bg-warm); }
.faq-lead {
  font-size: 0.88rem;
  color: var(--c-mid);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 600px;
}
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1.5rem;
  font-family: var(--f-min);
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--c-dark);
  line-height: 1.6;
  transition: color var(--ease);
}
.faq-q:hover { color: var(--c-terra); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-top: 3px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before {
  width: 14px;
  height: 1.5px;
  top: 9px;
  left: 3px;
}
.faq-icon::after {
  width: 1.5px;
  height: 14px;
  top: 3px;
  left: 9px;
}
.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.faq-a p {
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--c-text);
  padding-bottom: 1.4rem;
}
.faq-item.is-open .faq-a { max-height: 360px; }

/* Footer Privacy */
.ft-privacy {
  margin-top: 0.6rem;
}
.ft-privacy a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--ease);
  text-underline-offset: 2px;
}
.ft-privacy a:hover { color: rgba(255,255,255,0.7); }

/* Contact CTA (Top page) */
.contact-cta-wrap {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-mail-sub {
  font-size: 0.82rem;
  color: var(--c-mid);
}
.contact-mail-sub a { color: var(--c-mid); transition: color var(--ease); }
.contact-mail-sub a:hover { color: var(--c-dark); }

/* ==============================
   Responsive
============================== */
@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .srv-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .srv-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .global-nav { display: none; }
  .hamburger  { display: flex; }

  .hero-section {
    height: auto;
    min-height: auto;
  }
  .hero-cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
    padding-bottom: 1rem;
    gap: 10px;
  }
  .concept-card {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 240px;
  }
  .valueup-card {
    grid-column: 1;
    grid-row: 2;
    min-height: 210px;
  }
  .pmi-card {
    grid-column: 2;
    grid-row: 2;
    min-height: 210px;
  }
  .svc-card-inner {
    padding: 1rem;
  }
  .svc-card-inner .svc-heading {
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
  }
  .svc-desc-short {
    font-size: 0.75rem;
  }
  .concept-heading { font-size: 1.4rem; word-break: keep-all; overflow-wrap: normal; }
  .sec-heading     { font-size: 1.2rem; word-break: keep-all; overflow-wrap: normal; }
  .sec-header      { margin-bottom: 32px; }
  .concept-body    { padding-right: 0; }
  .svc-heading     { font-size: clamp(0.95rem, 3.8vw, 1.2rem); }

  .section { padding-top: 52px; padding-bottom: 52px; }

  .cases-grid {
    grid-template-columns: 1fr;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .contact-heading { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

@media (max-width: 480px) {
  :root { --px: 18px; --gap: 14px; }
  .hero-cards { gap: var(--gap); padding: var(--gap) var(--px); }
}

/* ==============================
   News Section (Top Page)
============================== */
.news-section { background: var(--c-bg-warm); }
.news-list { list-style: none; }
.news-item { border-bottom: 1px solid var(--c-border); }
.news-item:first-child { border-top: 1px solid var(--c-border); }
.news-item-link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0.2rem;
  color: var(--c-dark);
  transition: color var(--ease);
  flex-wrap: wrap;
}
.news-item-link:hover { color: var(--c-terra); }
.news-item-date {
  font-family: var(--f-go);
  font-size: 0.78rem;
  color: var(--c-mid);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 5.5rem;
}
.news-item-cat {
  font-family: var(--f-go);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terra);
  background: rgba(184,92,48,0.1);
  border-radius: 3px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.news-item-title {
  font-family: var(--f-min);
  font-size: 0.95rem;
  line-height: 1.6;
}
.news-more { margin-top: 1.8rem; text-align: right; }
.news-more-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-dark);
  transition: color var(--ease);
}
.news-more-link:hover { color: var(--c-terra); }

/* ==============================
   Contact Form
============================== */
.contact-form {
  margin-top: 2.4rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-dark);
  letter-spacing: 0.02em;
}
.form-req { color: var(--c-terra); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-go);
  font-size: 0.9rem;
  color: var(--c-dark);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--c-dark); }
.form-textarea { resize: vertical; min-height: 130px; }
.btn-submit { margin-top: 0.2rem; cursor: pointer; border: none; font-family: var(--f-go); font-size: 0.9rem; }
.form-success {
  background: rgba(48,140,72,0.07);
  border: 1px solid rgba(48,140,72,0.2);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  color: #276630;
  font-size: 0.88rem;
  line-height: 1.7;
}
.form-note {
  font-size: 0.74rem;
  color: var(--c-mid);
  line-height: 1.75;
}
.form-note a { color: var(--c-mid); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--c-dark); }

/* ==============================
   Footer Nav
============================== */
.ft-nav { align-self: flex-start; }
.ft-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
}
.ft-nav a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.ft-nav a:hover { color: rgba(255,255,255,0.9); }

/* ==============================
   Company / Privacy / Documents / News Pages
============================== */
.page-main { padding-top: var(--hd-h); }
.page-container {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem,7vw,6rem) var(--px);
}
.page-back {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--c-mid);
  margin-bottom: 2.4rem;
  transition: color var(--ease);
}
.page-back:hover { color: var(--c-dark); }
.page-cat {
  font-family: var(--f-go);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 0.75rem;
}
.page-h1 {
  font-family: var(--f-min);
  font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--c-dark);
  margin-bottom: 1.8rem;
}
.page-lead {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 2.8rem;
}
/* Company table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.85;
}
.company-table th,
.company-table td {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 9rem;
  font-weight: 400;
  color: var(--c-mid);
  font-size: 0.82rem;
  white-space: nowrap;
}
.company-table td { color: var(--c-dark); }
.company-table ul { list-style: none; padding: 0; }
.company-table li + li { margin-top: 0.2rem; }
.page-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-dark);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.65rem 1.3rem;
  transition: background var(--ease), border-color var(--ease);
}
.page-sub-link:hover { background: var(--c-bg-warm); border-color: var(--c-dark); }
/* Privacy */
.privacy-enacted {
  font-size: 0.8rem;
  color: var(--c-mid);
  margin-bottom: 2.4rem;
}
.privacy-sec { margin-bottom: 2rem; }
.privacy-sec h2 {
  font-family: var(--f-min);
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-dark);
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--c-border);
}
.privacy-sec p,
.privacy-sec li {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--c-text);
}
.privacy-sec ul { list-style: disc; padding-left: 1.4rem; margin-top: 0.5rem; }
/* Outlined button (company-profile, documents) */
.btn-outline {
  background: transparent;
  color: var(--c-dark);
  border: 1.5px solid var(--c-dark);
}
.btn-outline:hover {
  background: var(--c-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Company profile CTA block (on /company page) */
.profile-cta-block {
  margin-top: 3rem;
  padding: 2.4rem 2.8rem;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 16px;
}
.profile-cta-label {
  font-family: var(--f-go);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: 0.6rem;
}
.profile-cta-heading {
  font-family: var(--f-min);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  color: var(--c-dark);
  margin-bottom: 0.7rem;
}
.profile-cta-text {
  font-family: var(--f-go);
  font-size: 0.9rem;
  color: var(--c-mid);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}
.profile-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Company profile viewer page (/company-profile) */
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
  margin-bottom: 2rem;
}
.profile-viewer {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  background: #f4f4f4;
}
.profile-iframe {
  display: block;
  width: 100%;
  height: clamp(500px, 75vh, 900px);
  border: none;
}
.profile-viewer-note {
  padding: 0.75rem 1.2rem;
  font-family: var(--f-go);
  font-size: 0.78rem;
  color: var(--c-mid);
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}
.profile-viewer-note a {
  color: var(--c-dark);
  text-decoration: underline;
}
.profile-mobile-alt { display: none; }
.profile-contact {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.profile-contact p {
  font-family: var(--f-go);
  font-size: 0.88rem;
  color: var(--c-mid);
}
@media (max-width: 768px) {
  .profile-viewer { display: none; }
  .profile-mobile-alt {
    display: block;
    margin-top: 0.5rem;
  }
  .profile-mobile-note {
    font-family: var(--f-go);
    font-size: 0.85rem;
    color: var(--c-mid);
    margin-bottom: 1rem;
  }
  .profile-mobile-btns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .profile-mobile-btns .btn { text-align: center; }
  .profile-cta-block { padding: 1.6rem; }
  .profile-cta-btns { flex-direction: column; }
  .profile-cta-btns .btn { text-align: center; }
  .profile-contact { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Documents */
.btn-disabled {
  background: var(--c-border);
  color: var(--c-mid);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.75;
}
/* News index */
.news-index-desc {
  font-size: 0.92rem;
  color: var(--c-mid);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.news-index-list { list-style: none; }
.news-index-item { border-bottom: 1px solid var(--c-border); }
.news-index-item:first-child { border-top: 1px solid var(--c-border); }
.news-index-link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0.2rem;
  color: var(--c-dark);
  transition: color var(--ease);
  flex-wrap: wrap;
}
.news-index-link:hover { color: var(--c-terra); }
/* News article (reuse .article-* styles) */
.news-cta {
  margin-top: 3rem;
  background: var(--c-bg-warm);
  border-radius: 14px;
  padding: 2rem 2.4rem;
  text-align: center;
}
.news-cta p {
  font-size: 0.9rem;
  color: var(--c-text);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

