/*
Theme Name:        K's Logistics
Theme URI:         https://kslogistics.jp/
Author:            K's Logistics
Author URI:        https://kslogistics.jp/
Description:       株式会社K's Logistics（配送・物流業界の人材派遣・人材紹介）コーポレートサイト用テーマ。東京・岐阜の二拠点対応、Noto Serif JP + Noto Sans JP による明朝体エディトリアルデザイン、Googleマップ埋込、レスポンシブ対応。
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.6
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       kslogistics
Tags:              business, corporate, logistics, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   株式会社K's Logistics コーポレートサイト共通スタイル
   Colors: navy #14232f / bronze #a67c3a / bone #f7f4ef / ink #1a1a1a
   Typography: Noto Serif JP (heading) / Noto Sans JP (body)
   Ref: UMEDA Corporate
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #1a1a1a;
  background: #f7f4ef;
  line-height: 1.85;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
a:hover { opacity: .75; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
.serif {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
}
h1, h2, h3, h4, h5 {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #14232f;
}

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container, .container-narrow { padding: 0 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 35, 47, 0.08);
  transition: background .3s ease;
}
.site-header .inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  color: #14232f;
  letter-spacing: 0.12em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo .en {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #a67c3a;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
.nav-main { display: flex; align-items: center; gap: 36px; }
.nav-main a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #14232f;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-main a.active::after,
.nav-main a:hover::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: #a67c3a;
}
.nav-cta {
  background: #14232f;
  color: #f7f4ef !important;
  padding: 13px 22px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: background .3s ease;
}
.nav-cta:hover { background: #a67c3a; opacity: 1; }
.nav-cta.active::after { display: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: #14232f;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header .inner { height: 68px; padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #f7f4ef;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 40px;
    border-bottom: 1px solid rgba(20,35,47,0.08);
    transform: translateY(-120%);
    transition: transform .35s ease;
  }
  .nav-main.open { transform: translateY(0); }
  .nav-main a { padding: 18px 0; border-bottom: 1px solid rgba(20,35,47,0.06); font-size: 15px; }
  .nav-cta { text-align: center; margin-top: 12px; padding: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all .3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: #14232f; color: #f7f4ef; }
.btn-primary:hover { background: #a67c3a; opacity: 1; }
.btn-outline { background: transparent; color: #14232f; border-color: #14232f; }
.btn-outline:hover { background: #14232f; color: #f7f4ef; opacity: 1; }
.btn-outline-light { background: transparent; color: #f7f4ef; border-color: rgba(247,244,239,0.6); }
.btn-outline-light:hover { background: #f7f4ef; color: #14232f; opacity: 1; }
.btn-accent { background: #a67c3a; color: #f7f4ef; }
.btn-accent:hover { background: #14232f; opacity: 1; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b04a; opacity: 1; }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #14232f;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid #14232f;
  transition: all .3s ease;
}
.link-arrow:hover { color: #a67c3a; border-color: #a67c3a; opacity: 1; gap: 18px; }
.link-arrow::after { content: "→"; transition: transform .3s ease; }
.link-arrow:hover::after { transform: translateX(2px); }

/* ---------- Section titles ---------- */
.section-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #a67c3a;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 40px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #a67c3a;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: #14232f;
  margin-bottom: 24px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
}
.section-lead {
  font-size: 15px;
  line-height: 2;
  color: #3a4a5c;
  max-width: 640px;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 200px 0 100px;
  background: #14232f;
  color: #f7f4ef;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(166, 124, 58, 0.22), transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .en-label {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #d4a04d;
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-block;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: #f7f4ef;
  margin-bottom: 20px;
  line-height: 1.35;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.page-hero .subtitle {
  font-size: 15px;
  color: rgba(247, 244, 239, 0.78);
  max-width: 600px;
  line-height: 2;
}
.breadcrumb {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 239, 0.6);
}
.breadcrumb a:hover { color: #d4a04d; opacity: 1; }
.breadcrumb .sep { margin: 0 12px; opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: #14232f;
  color: #f7f4ef;
  padding: 80px 0 40px;
}
.site-footer .container { max-width: 1240px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: #f7f4ef; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(247, 244, 239, 0.65);
}
.footer-col h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #d4a04d;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.75);
}
.footer-col a:hover { color: #d4a04d; opacity: 1; }
.footer-col .info {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(247, 244, 239, 0.75);
}
.footer-col .info strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(247, 244, 239, 0.5);
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 4px;
}
.footer-col .info strong:first-child { margin-top: 0; }
.footer-bottom {
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(247, 244, 239, 0.5);
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Utility ---------- */
.text-accent { color: #a67c3a; }
.text-navy { color: #14232f; }
.divider { width: 60px; height: 1px; background: #a67c3a; margin: 24px 0; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Placeholders ---------- */
.placeholder-wrap {
  position: relative;
  overflow: hidden;
  background: #e5dfd2;
}
.placeholder-img {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(20, 35, 47, 0.08) 12px,
    rgba(20, 35, 47, 0.08) 13px
  );
}
.placeholder-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(20, 35, 47, 0.55);
  background: rgba(247, 244, 239, 0.9);
  padding: 8px 14px;
  border: 1px solid rgba(20, 35, 47, 0.15);
  text-align: center;
  white-space: nowrap;
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Fixed contact bar (mobile) ---------- */
.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #14232f;
  z-index: 90;
  border-top: 1px solid rgba(247,244,239,0.1);
}
.mobile-contact-bar a {
  flex: 1;
  padding: 16px 0;
  text-align: center;
  color: #f7f4ef;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-right: 1px solid rgba(247,244,239,0.1);
}
.mobile-contact-bar a:last-child { border-right: none; }
.mobile-contact-bar a.accent { background: #a67c3a; }
@media (max-width: 768px) {
  .mobile-contact-bar { display: flex; }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   Home page specific
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  overflow: hidden;
  color: #f7f4ef;
  display: flex;
  align-items: center;
}
.hero-image-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
.hero-slide.active { opacity: 1; }
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,35,47,0.5) 0%, rgba(20,35,47,0.3) 45%, rgba(20,35,47,0.85) 100%),
    linear-gradient(90deg, rgba(20,35,47,0.55) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 100px;
}
.hero-en {
  font-size: 12px;
  letter-spacing: 0.5em;
  color: #d4a04d;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 32px;
  padding-left: 40px;
  position: relative;
}
.hero-en::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #d4a04d;
}
.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  color: #f7f4ef;
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.hero-lead {
  font-size: 15px;
  color: rgba(247, 244, 239, 0.9);
  line-height: 2.1;
  max-width: 540px;
  margin-bottom: 50px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, #d4a04d);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.4); }
}
.hero-scroll .text {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(247,244,239,0.6);
  writing-mode: vertical-lr;
  transform: rotate(0deg);
}
@media (max-width: 768px) {
  .hero { min-height: 92vh; }
  .hero-title { font-size: clamp(30px, 8vw, 44px); }
  .hero-scroll { display: none; }
}

/* Intro */
.intro { background: #f7f4ef; }
.intro-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.intro-title {
  font-size: clamp(28px, 4vw, 44px);
  color: #14232f;
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.intro-text {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Strengths (3 cards) */
.strengths {
  background: #efe9db;
  position: relative;
}
.strengths-head {
  text-align: center;
  margin-bottom: 80px;
}
.strengths-head .section-label { padding-left: 0; }
.strengths-head .section-label::before { display: none; }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.strength-card {
  background: #f7f4ef;
  padding: 50px 36px;
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}
.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20,35,47,0.08);
}
.strength-num {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 400;
  color: #a67c3a;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  display: block;
}
.strength-card h3 {
  font-size: 22px;
  color: #14232f;
  line-height: 1.5;
  margin-bottom: 20px;
}
.strength-card p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.95;
}
@media (max-width: 900px) {
  .strengths-grid { grid-template-columns: 1fr; }
}

/* Services preview (home) */
.services-preview {
  background: #f7f4ef;
}
.services-preview .services-head {
  text-align: center;
  margin-bottom: 60px;
}
.services-preview .section-label { padding-left: 0; }
.services-preview .section-label::before { display: none; }
.services-preview-list {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(20,35,47,0.12);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 320px 1fr auto;
  gap: 48px;
  padding: 40px 20px;
  border-bottom: 1px solid rgba(20,35,47,0.12);
  align-items: center;
  transition: padding .3s ease, background .3s ease;
}
.service-row:hover { padding-left: 40px; background: rgba(255,255,255,0.5); }
.service-row .num {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  color: #a67c3a;
  letter-spacing: 0.04em;
}
.service-row h4 {
  font-size: 22px;
  color: #14232f;
  font-weight: 500;
  line-height: 1.5;
}
.service-row p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.85;
}
.service-row .arrow {
  color: #a67c3a;
  font-size: 20px;
  transition: transform .3s ease;
}
.service-row:hover .arrow { transform: translateX(6px); }
.services-cta { text-align: center; margin-top: 60px; }
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    padding: 28px 8px;
  }
  .service-row p { display: none; }
}

/* Works preview */
.works-preview { background: #efe9db; }
.works-preview .works-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.work-card { cursor: pointer; }
.work-thumb {
  aspect-ratio: 4/3;
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform .3s ease;
}
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #a67c3a;
  font-weight: 600;
  margin-bottom: 8px;
}
.work-title {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 500;
  color: #14232f;
  line-height: 1.6;
  margin-bottom: 6px;
}
.work-desc {
  font-size: 12px;
  color: #4a5563;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* Flow */
.flow-section { background: #f7f4ef; }
.flow-head { text-align: center; margin-bottom: 60px; }
.flow-head .section-label { padding-left: 0; }
.flow-head .section-label::before { display: none; }
.flow-list { max-width: 880px; margin: 0 auto; }
.flow-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(20,35,47,0.12);
  align-items: baseline;
}
.flow-item:first-child { border-top: 1px solid rgba(20,35,47,0.12); }
.flow-num {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  color: #a67c3a;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.flow-content h5 {
  font-size: 22px;
  color: #14232f;
  font-weight: 500;
  margin-bottom: 12px;
  font-family: "Noto Serif JP", serif;
}
.flow-content p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.9;
}
@media (max-width: 600px) {
  .flow-item { grid-template-columns: 70px 1fr; gap: 20px; }
}

/* CTA banner */
.cta-banner {
  background: #14232f;
  color: #f7f4ef;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(166,124,58,0.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(166,124,58,0.1), transparent 50%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner .cta-en {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #d4a04d;
  font-weight: 500;
  display: block;
  margin-bottom: 24px;
}
.cta-banner .cta-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 44px);
  color: #f7f4ef;
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.cta-banner .cta-lead {
  font-size: 15px;
  color: rgba(247,244,239,0.75);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-message { background: #f7f4ef; }
.message-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.message-side {
  border-top: 1px solid #a67c3a;
  padding-top: 24px;
}
.message-side .en-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #a67c3a;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.message-portrait {
  margin: 20px 0 24px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #efe9db;
}
.message-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
}
.message-side p {
  font-size: 14px;
  color: #14232f;
  line-height: 1.7;
}
.message-side p small {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #a67c3a;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 4px;
}
.message-side p strong {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #14232f;
}
.message-title {
  font-size: clamp(30px, 4.5vw, 48px);
  color: #14232f;
  line-height: 1.5;
  margin-bottom: 40px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.message-body p {
  font-size: 15px;
  line-height: 2.15;
  color: #3a4a5c;
  margin-bottom: 24px;
}
.message-sign {
  margin-top: 40px;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  color: #14232f;
  letter-spacing: 0.05em;
}
.message-sign strong { display: block; font-size: 20px; margin-top: 4px; }
@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Company profile table */
.profile-section { background: #efe9db; }
.profile-head { text-align: center; margin-bottom: 60px; }
.profile-head .section-label { padding-left: 0; }
.profile-head .section-label::before { display: none; }
.profile-table {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
.profile-table tr { border-bottom: 1px solid rgba(20,35,47,0.12); }
.profile-table tr:first-child { border-top: 1px solid rgba(20,35,47,0.12); }
.profile-table th, .profile-table td {
  padding: 22px 20px;
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}
.profile-table th {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #a67c3a;
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}
.profile-table td { font-size: 14px; color: #14232f; font-weight: 400; }
.profile-table a { color: #a67c3a; border-bottom: 1px solid rgba(166,124,58,0.4); }
@media (max-width: 700px) {
  .profile-table th, .profile-table td {
    display: block;
    width: 100%;
    padding: 14px 8px;
  }
  .profile-table th { padding-bottom: 4px; }
  .profile-table tr { padding: 12px 0; }
}

/* History timeline */
.history-section { background: #f7f4ef; }
.history-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.history-list::before {
  content: "";
  position: absolute;
  left: 82px;
  top: 20px; bottom: 20px;
  width: 1px;
  background: rgba(166,124,58,0.4);
}
.history-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  padding: 32px 0;
  position: relative;
}
.history-item::before {
  content: "";
  position: absolute;
  left: 78px;
  top: 40px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #a67c3a;
  border: 3px solid #f7f4ef;
  z-index: 1;
}
.history-year {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  color: #a67c3a;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.history-content h4 {
  font-size: 20px;
  color: #14232f;
  font-weight: 500;
  margin-bottom: 12px;
  font-family: "Noto Serif JP", serif;
}
.history-content p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.95;
}
@media (max-width: 600px) {
  .history-list::before { left: 8px; }
  .history-item { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .history-item::before { left: 4px; top: 12px; }
}

/* Access section */
.access-section { background: #efe9db; }
.access-head { text-align: center; margin-bottom: 60px; }
.access-head .section-label { padding-left: 0; }
.access-head .section-label::before { display: none; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.access-card {
  background: #f7f4ef;
  padding: 40px;
}
.access-card .en-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #a67c3a;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.access-card h3 {
  font-size: 24px;
  color: #14232f;
  margin-bottom: 24px;
  font-weight: 500;
}
.access-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px 20px;
  font-size: 13px;
  line-height: 1.85;
}
.access-card dt {
  color: #a67c3a;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding-top: 3px;
}
.access-card dd { color: #14232f; }
.access-card a { color: #14232f; }
.access-card a:hover { color: #a67c3a; opacity: 1; }
.access-map {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(20, 35, 47, 0.12);
}
.access-map iframe {
  display: block;
  border: 1px solid rgba(20, 35, 47, 0.12);
  filter: grayscale(0.15) contrast(0.95);
  transition: filter 0.35s ease;
}
.access-map iframe:hover { filter: grayscale(0) contrast(1); }
.access-map .map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #a67c3a;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(166, 124, 58, 0.4);
  transition: gap 0.25s ease, color 0.25s ease;
}
.access-map .map-link:hover {
  gap: 16px;
  color: #14232f;
  border-color: #14232f;
  opacity: 1;
}
.access-map .map-link .arrow { transition: transform 0.25s ease; }
.access-map .map-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 900px) {
  .access-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service page
   ========================================================================== */
.service-intro { background: #f7f4ef; }
.service-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.service-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #14232f;
  line-height: 1.5;
  margin-bottom: 32px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.service-intro p {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
}

.service-detail {
  border-top: 1px solid rgba(20,35,47,0.12);
  background: #f7f4ef;
}
.service-detail:nth-of-type(even) { background: #efe9db; }
.service-detail .container { max-width: 1100px; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-num {
  font-family: "Noto Serif JP", serif;
  font-size: 60px;
  color: #a67c3a;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  display: block;
}
.service-detail h3 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: #14232f;
  margin-bottom: 32px;
  line-height: 1.5;
  font-weight: 500;
}
.service-detail-lead {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 32px;
}
.service-features {
  border-top: 1px solid rgba(20,35,47,0.15);
}
.service-features li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(20,35,47,0.1);
  font-size: 14px;
  color: #14232f;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.service-features li::before {
  content: "—";
  color: #a67c3a;
  font-weight: 500;
}
.service-detail-visual {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #efe9db;
  position: relative;
}
.service-detail-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
  transition: transform 0.6s ease;
}
.service-detail:hover .service-detail-visual > img {
  transform: scale(1.03);
}
/* Corner accent lines (UMEDA-style framing) */
.service-detail-visual::before,
.service-detail-visual::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 2;
  pointer-events: none;
}
.service-detail-visual::before {
  top: 16px; left: 16px;
  border-top: 1px solid rgba(247, 244, 239, 0.85);
  border-left: 1px solid rgba(247, 244, 239, 0.85);
}
.service-detail-visual::after {
  bottom: 16px; right: 16px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.85);
  border-right: 1px solid rgba(247, 244, 239, 0.85);
}
.service-icon-wrap {
  aspect-ratio: 1 / 1;
  background: #efe9db;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-icon-wrap::before {
  content: "";
  position: absolute;
  top: 20px; left: 20px;
  width: 40px; height: 40px;
  border-top: 1px solid #a67c3a;
  border-left: 1px solid #a67c3a;
  opacity: 0.6;
}
.service-icon-wrap::after {
  content: "";
  position: absolute;
  bottom: 20px; right: 20px;
  width: 40px; height: 40px;
  border-bottom: 1px solid #a67c3a;
  border-right: 1px solid #a67c3a;
  opacity: 0.6;
}
.service-icon {
  width: 62%;
  height: 62%;
  object-fit: contain;
  opacity: 0.88;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.service-detail:hover .service-icon {
  transform: scale(1.03);
  opacity: 1;
}
/* 偶数セクション（beige bg）でのアイコン枠背景 */
.service-detail:nth-of-type(even) .service-icon-wrap { background: #f7f4ef; }
.service-detail-grid.reverse .service-detail-visual { order: -1; }
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse .service-detail-visual { order: 0; }
}

/* Values (compliance) */
.values-section { background: #14232f; color: #f7f4ef; }
.values-section .section-label { color: #d4a04d; }
.values-section .section-label::before { background: #d4a04d; }
.values-section .section-title { color: #f7f4ef; }
.values-head { text-align: center; margin-bottom: 60px; }
.values-head .section-label { padding-left: 0; }
.values-head .section-label::before { display: none; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card {
  padding: 40px;
  border: 1px solid rgba(247,244,239,0.15);
  background: rgba(247,244,239,0.02);
  transition: all .3s ease;
}
.value-card:hover { border-color: #d4a04d; background: rgba(247,244,239,0.04); }
.value-num {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  color: #d4a04d;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  display: block;
}
.value-card h3 {
  color: #f7f4ef;
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.value-card p {
  font-size: 13px;
  color: rgba(247,244,239,0.75);
  line-height: 2;
}
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Works page
   ========================================================================== */
.works-filter {
  padding: 40px 0;
  background: #f7f4ef;
  border-bottom: 1px solid rgba(20,35,47,0.08);
  position: sticky;
  top: 84px;
  z-index: 50;
}
.works-filter .container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.works-filter-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #a67c3a;
  font-weight: 600;
  margin-right: 12px;
}
.works-filter button {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #14232f;
  border: 1px solid rgba(20,35,47,0.2);
  transition: all .25s ease;
}
.works-filter button:hover { border-color: #14232f; }
.works-filter button.active { background: #14232f; color: #f7f4ef; border-color: #14232f; }
.works-list {
  background: #f7f4ef;
}
.works-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}
@media (max-width: 900px) {
  .works-list-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .works-list-grid { grid-template-columns: 1fr; }
  .works-filter { position: static; }
}

/* ==========================================================================
   Recruit page
   ========================================================================== */
.recruit-message { background: #f7f4ef; }
.recruit-catch {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.recruit-catch h2 {
  font-size: clamp(30px, 4.5vw, 50px);
  color: #14232f;
  line-height: 1.55;
  margin-bottom: 40px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.recruit-catch p {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}

/* Why us */
.why-section { background: #efe9db; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card {
  background: #f7f4ef;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.why-num {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  color: #a67c3a;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.why-card h3 {
  font-size: 20px;
  color: #14232f;
  margin-bottom: 14px;
  line-height: 1.5;
}
.why-card p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.95;
}
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Job listings */
.jobs-section { background: #f7f4ef; }
.job-card {
  max-width: 900px;
  margin: 0 auto 30px;
  background: #f7f4ef;
  border: 1px solid rgba(20,35,47,0.15);
  padding: 44px;
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20,35,47,0.12);
}
.job-title {
  font-size: 26px;
  color: #14232f;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.job-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #f7f4ef;
  background: #a67c3a;
  padding: 6px 14px;
  font-weight: 500;
}
.job-details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 24px;
  font-size: 14px;
  line-height: 1.9;
}
.job-details dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #a67c3a;
  font-weight: 600;
  padding-top: 3px;
}
.job-details dd { color: #14232f; }
@media (max-width: 700px) {
  .job-details { grid-template-columns: 1fr; gap: 4px 0; }
  .job-details dd { margin-bottom: 12px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-intro { background: #f7f4ef; }
.contact-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.contact-intro p {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto 0;
}
.contact-method {
  background: #efe9db;
  padding: 40px 30px;
  text-align: center;
  transition: transform .3s ease;
}
.contact-method:hover { transform: translateY(-4px); }
.contact-method .en-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #a67c3a;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.contact-method h3 {
  font-size: 20px;
  color: #14232f;
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
}
.contact-method .value {
  font-size: 16px;
  color: #14232f;
  font-weight: 500;
  margin-bottom: 8px;
  word-break: break-all;
}
.contact-method .caption {
  font-size: 12px;
  color: #4a5563;
  line-height: 1.7;
}

/* Contact form */
.contact-form-section { background: #efe9db; }
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(20,35,47,0.12);
  align-items: baseline;
}
.form-row:first-child { border-top: 1px solid rgba(20,35,47,0.12); }
.form-row label {
  font-size: 13px;
  color: #14232f;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-row .required {
  font-size: 10px;
  background: #a67c3a;
  color: #f7f4ef;
  padding: 2px 8px;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f7f4ef;
  border: 1px solid rgba(20,35,47,0.15);
  font-family: inherit;
  font-size: 14px;
  color: #14232f;
  transition: border-color .3s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #a67c3a;
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-submit { text-align: center; margin-top: 50px; }
.form-submit .btn { padding: 20px 60px; }
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
}

/* ==========================================================================
   Mobile Fixes — 900px 以下でグリッド系を全て1カラム化
   （UMEDA参考サイトで発生していたモバイル字ズレへの対処）
   ========================================================================== */
@media (max-width: 900px) {
  /* --- 会社概要ページ --- */
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
  .message-side {
    border-top: none;
    padding-top: 0;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
  }
  .message-side .en-label {
    margin-bottom: 8px;
    grid-column: 1 / -1;
  }
  .message-portrait {
    margin: 0;
    aspect-ratio: 4/5;
  }
  .message-side p {
    font-size: 14px;
    align-self: end;
  }
  .message-side p strong { font-size: 18px; }

  /* Access map on mobile — smaller iframe */
  .access-map iframe { height: 220px; }

  /* Service icon wrap on mobile — smaller */
  .service-icon-wrap {
    aspect-ratio: 4/3;
    max-height: 300px;
  }
  .service-icon { width: 55%; height: 55%; }
  .service-icon-wrap::before,
  .service-icon-wrap::after { width: 30px; height: 30px; }

  /* Profile Table */
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 6px 0;
    white-space: normal;
  }
  .profile-table tr {
    padding: 16px 0;
    display: block;
  }
  .profile-table th { padding-top: 4px; padding-bottom: 4px; }
  .profile-table td { padding-bottom: 4px; font-size: 15px; }

  /* History Timeline */
  .history-list::before { left: 8px; }
  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0 24px 32px;
  }
  .history-item::before { left: 4px; top: 32px; }
  .history-year { font-size: 20px; margin-bottom: 4px; }
  .history-content h4 { font-size: 18px; }

  /* Access cards */
  .access-grid { grid-template-columns: 1fr; gap: 20px; }
  .access-card { padding: 32px 24px; }
  .access-card dl {
    grid-template-columns: 80px 1fr;
    gap: 10px 16px;
    font-size: 13px;
  }

  /* --- 事業内容ページ --- */
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail-grid.reverse .service-detail-visual { order: -1; }
  .service-detail-num { font-size: 44px; margin-bottom: 16px; }
  .service-detail h3 { margin-bottom: 24px; }
  .service-detail-visual { aspect-ratio: 4/3; }

  /* Values (3 cards) */
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-card { padding: 32px 28px; }

  /* --- 採用情報ページ --- */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 28px 24px;
  }
  .why-num { font-size: 24px; }
  .why-card h3 { font-size: 18px; margin-bottom: 10px; }

  /* Job cards */
  .job-card { padding: 28px 24px; }
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .job-title { font-size: 22px; }
  .job-details {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .job-details dt {
    padding-top: 12px;
    padding-bottom: 2px;
  }
  .job-details dd {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(20, 35, 47, 0.08);
  }
  .job-details dd:last-child { border-bottom: none; }

  /* --- お問い合わせページ --- */
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  .contact-method { padding: 32px 24px; }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  /* --- ホームページ共通 --- */
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .strengths-grid { grid-template-columns: 1fr; gap: 20px; }
  .strength-card { padding: 40px 32px; }
  .service-row {
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    padding: 28px 8px;
  }
  .service-row p { display: none; }
  .flow-item {
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .flow-num { font-size: 24px; }
  .flow-content h5 { font-size: 20px; }

  /* --- ヒーロー --- */
  .hero { min-height: 100vh; padding-top: 68px; }
  .hero-content { padding: 40px 0 60px; }
  .hero-title {
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.4;
    margin-bottom: 28px;
  }
  .hero-en { padding-left: 30px; margin-bottom: 24px; }
  .hero-en::before { width: 20px; }
  .hero-lead { font-size: 14px; line-height: 1.95; margin-bottom: 36px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { justify-content: center; }
  .hero-scroll { display: none; }

  /* --- Page Hero --- */
  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); line-height: 1.4; }
  .page-hero .subtitle { font-size: 14px; }
  .breadcrumb { margin-top: 24px; font-size: 11px; }

  /* --- CTA Banner --- */
  .cta-banner .cta-title { font-size: clamp(22px, 5.5vw, 32px); line-height: 1.5; }
  .cta-banner .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-banner .cta-actions .btn { justify-content: center; }

  /* --- Section Titles --- */
  .section-title { font-size: clamp(24px, 5.5vw, 32px); line-height: 1.5; }

  /* --- General Section Padding --- */
  section { padding: 72px 0; }

  /* --- 見出しの詰まり対策 --- */
  h1, h2, h3, h4, h5 { letter-spacing: 0.03em; }
  h1 { word-break: normal; overflow-wrap: break-word; }
}

/* Very small screens - iPhone SE等 */
@media (max-width: 400px) {
  .container, .container-narrow { padding: 0 16px; }
  .site-header .inner { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 22px; }
  .page-hero h1 { font-size: 24px; }
  .service-row { grid-template-columns: 50px 1fr 20px; gap: 12px; }
  .service-row h4 { font-size: 18px; }
  .flow-item { grid-template-columns: 50px 1fr; gap: 14px; }
  .footer-grid { gap: 32px; }

  /* CEO message on tiny screens — stack fully */
  .message-side {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }
  .message-portrait {
    max-width: 200px;
    margin: 0 auto 8px;
    width: 100%;
  }
  .message-side p { text-align: center; }
}
