/* ==========================================================
   株式会社三馬力社 コーポレートサイト
   トーン:硬派・簡潔・実務調/和の質感
   ========================================================== */

:root {
  --ink: #211a14;          /* 墨に近い焦茶:基本文字色・暗部背景 */
  --ink-soft: #4a4038;
  --paper: #f7f3ec;        /* 生成り:基本背景 */
  --paper-dark: #efe8dc;
  --brown: #7a4f2a;        /* 馬の鹿毛を想起させる茶:アクセント */
  --brown-deep: #5c3a1e;
  --green: #3e4a3d;        /* 山の深緑:補助色 */
  --aka: #9e3b2c;          /* チャグチャグ馬コの装束の緋:三本線の3色目にのみ使う */
  --line: #d9d0c1;
  --white: #fffdf9;
  --serif: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
  --max-w: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 三本線(署名要素) ----------
   「三馬力」の三、人・馬・道具の三位一体、3つの事業。
   茶(馬)・深緑(山)・緋(祭)の三本線を見出しの共通マークとする */
.trinity {
  display: block;
  width: 64px;
  height: 9px;
  background:
    linear-gradient(var(--brown), var(--brown)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(var(--aka), var(--aka)) 0 100% / 100% 1.5px no-repeat;
  margin-bottom: 16px;
}
.sec-head.center .trinity { margin-left: auto; margin-right: auto; }
/* 暗い背景では明るい3色に */
.page-hero .trinity,
.people .trinity {
  background:
    linear-gradient(#c69a6d, #c69a6d) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(#93a68e, #93a68e) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(#d1705a, #d1705a) 0 100% / 100% 1.5px no-repeat;
}

/* ---------- 見出し ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head .en {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.sec-head.center { text-align: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 72px;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.site-header.on-hero {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.site-header.on-hero .brand,
.site-header.on-hero .gnav a { color: var(--white); }
.site-header.on-hero.scrolled {
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
}
.site-header.on-hero.scrolled .brand,
.site-header.on-hero.scrolled .gnav a { color: var(--ink); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.brand .logo-mark {
  width: 34px; height: 34px;
  flex: none;
}
.brand .logo-img {
  height: 46px;
  width: auto;
  display: block;
}
/* ヒーロー上(未スクロール時)はロゴを白抜きに */
.site-header.on-hero:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.nav-open .logo-img { filter: none !important; }

.gnav ul { display: flex; gap: 30px; align-items: center; }
.gnav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  position: relative;
  padding: 6px 0;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brown);
  transition: width 0.25s;
}
.gnav a:hover::after { width: 100%; }
.gnav a.nav-contact {
  border: 1px solid currentColor;
  padding: 8px 22px;
}
.gnav a.nav-contact::after { display: none; }
.gnav a.nav-contact:hover { background: var(--brown); border-color: var(--brown); color: var(--white); }
/* 言語切替(JA/EN) */
.gnav a.lang-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  border: 1px solid currentColor;
  padding: 6px 12px;
  opacity: 0.85;
}
.gnav a.lang-link::after { display: none; }
.gnav a.lang-link:hover { opacity: 1; background: var(--brown); border-color: var(--brown); color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.site-header.on-hero:not(.scrolled) .nav-toggle span { background: var(--white); }
.nav-open .nav-toggle span { background: var(--ink) !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 縦動画を横画面で切り出すときは馬のいる上寄りを見せる */
  object-position: center 32%;
}
/* 素材差し替え前のプレースホルダー背景 */
.hero-media .placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(122, 79, 42, 0.35), transparent 60%),
    radial-gradient(ellipse at 75% 20%, rgba(62, 74, 61, 0.5), transparent 55%),
    linear-gradient(160deg, #2b241d 0%, #1a1611 60%, #141110 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0.5) 0%, rgba(20, 17, 16, 0.28) 45%, rgba(20, 17, 16, 0.6) 100%);
}
/* キャッチコピーは縦書き・右配置(看板・掛け軸の作法) */
.hero-inner {
  position: absolute;
  top: 50%;
  right: clamp(24px, 9vw, 130px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.hero-copy {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(22px, min(3.4vw, 4.6vh), 40px);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 2.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero-company {
  writing-mode: vertical-rl;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.34em;
  opacity: 0.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
/* 事業を一行で伝える説明(初見で「何をする会社か」が分かるように) */
.hero-desc {
  position: absolute;
  bottom: 116px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 900px);
  text-align: center;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px; height: 40px;
  background: var(--white);
  margin: 10px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- セクション共通 ---------- */
section { padding: 96px 0; }

/* ---------- イントロダクション ---------- */
.intro { text-align: center; }
.intro p {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2.4;
  letter-spacing: 0.06em;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- 事業紹介カード ---------- */
.business { background: var(--paper-dark); }
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.biz-card:hover {
  box-shadow: 0 10px 32px rgba(33, 26, 20, 0.12);
  transform: translateY(-3px);
}
.biz-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, #3d332a, #241e18);
}
.biz-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.biz-card .thumb .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 253, 249, 0.4);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.biz-card .body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.biz-card .num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brown);
  margin-bottom: 6px;
}
.biz-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.biz-card p { font-size: 14px; line-height: 2; color: var(--ink-soft); flex: 1; }
.biz-card .more {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brown);
}
.biz-card .more::after { content: " →"; }

/* ---------- MVVセクション ---------- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 30px;
  text-align: center;
}
.mvv-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  color: var(--brown);
}
.mvv-card .label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
}
.mvv-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
}
.mvv-card ul {
  text-align: left;
  font-family: var(--serif);
  /* Mission/Visionの見出し(h3)と同じ書体・サイズ・太さに揃える */
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
  display: inline-block;
}
.mvv-card ul li, .mvv-detail ul li { padding-left: 1.6em; text-indent: -1.6em; }
.mvv-card ul li::before, .mvv-detail ul li::before {
  content: "○";
  color: var(--brown);
  font-size: 0.6em;
  vertical-align: 0.2em;
  margin-right: 0.7em;
}

/* ---------- ボタン ---------- */
.btn-row { text-align: center; }
.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 15px 56px;
  font-size: 14px;
  letter-spacing: 0.18em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--brown); border-color: var(--brown); color: var(--white); }
.btn.btn-light { border-color: var(--white); color: var(--white); }
.btn.btn-light:hover { background: var(--white); color: var(--ink); }

/* ---------- 人物紹介入口 ---------- */
.people { background: var(--ink); color: var(--white); }
.people .sec-head .en { color: #c69a6d; }
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 760px;
  margin: 0 auto 48px;
}
.person { text-align: center; }
.person .photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #362c23, #221c16);
  border: 1px solid rgba(255, 253, 249, 0.15);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 253, 249, 0.35);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.person .title { font-size: 12px; letter-spacing: 0.14em; color: #c69a6d; margin-bottom: 6px; }
.person .name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* ---------- ニュース ---------- */
.news-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-item {
  display: flex;
  gap: 32px;
  padding: 22px 8px;
  align-items: baseline;
}
.news-list time { font-size: 13px; color: var(--brown); flex: none; letter-spacing: 0.06em; }
.news-list .news-empty {
  padding: 40px 8px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ---------- 下層ページ共通 ---------- */
.page-hero {
  padding: 160px 0 72px;
  background: var(--ink);
  color: var(--white);
}
.page-hero .en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c69a6d;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.page-hero .lead { margin-top: 18px; font-size: 15px; opacity: 0.85; max-width: 640px; }

.breadcrumb {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 18px 0;
  letter-spacing: 0.05em;
}
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- フィロソフィーページ ---------- */
.philosophy-body .chapter { padding: 72px 0; }
.philosophy-body .chapter:nth-child(even) { background: var(--paper-dark); }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin-bottom: 32px;
  padding-left: 18px;
  border-left: 3px solid var(--brown);
}
.prose h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--brown-deep);
  letter-spacing: 0.06em;
  margin: 2.4em 0 0.8em;
}
.prose h3:first-of-type { margin-top: 0.6em; }
.prose p { margin-bottom: 1.8em; font-size: 15.5px; line-height: 2.2; }
.prose p:last-child { margin-bottom: 0; }
.prose .em {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2.2;
  color: var(--brown-deep);
}
.philosophy-visual {
  margin: 0;
  max-height: 70vh;
  overflow: hidden;
}
.philosophy-visual img { width: 100%; height: 100%; object-fit: cover; }

.mvv-detail { background: var(--ink); color: var(--white); }
.mvv-detail .block { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.mvv-detail .block:last-child { margin-bottom: 0; }
.mvv-detail .label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c69a6d;
  margin-bottom: 18px;
}
.mvv-detail .list-wrapper {
  text-align: center; /* グループ全体を中央寄せ */
}
.list-wrapper ul {
  display: inline-block; /* ulの幅を中身に合わせる */
  text-align: left;      /* 箇条書きの中身は左揃え */
}
.mvv-detail h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.06em;
}
.mvv-detail h4 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.06em;
  text-align: left;
}
.mvv-detail .list-wrapper { text-align: center; }
.mvv-detail ul {
  display: inline-block;
  text-align: left;
  font-family: var(--serif);
  /* Mission/Visionの見出しと同じサイズ・太さに揃える */
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 2.2;
  letter-spacing: 0.06em;
}
.mvv-detail ul li::before { color: #c69a6d; }

/* ---------- 事業紹介ページ ---------- */
.biz-section { padding: 88px 0; }
.biz-section:nth-child(even) { background: var(--paper-dark); }
/* 「文章 → 写真」の順で縦に積む(写真を先に見せない) */
.biz-detail { max-width: 800px; margin: 0 auto; }
.biz-detail .text { margin-bottom: 44px; }
.biz-detail .media .frame {
  aspect-ratio: 3 / 2;
  background: linear-gradient(150deg, #3d332a, #241e18);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.biz-detail .media img { width: 100%; height: 100%; object-fit: cover; }
.biz-detail .media .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 253, 249, 0.4);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.biz-detail .media .caption { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.biz-detail .media .frame + .frame { margin-top: 20px; }
.biz-detail .num { font-size: 12px; letter-spacing: 0.22em; color: var(--brown); margin-bottom: 8px; }
.biz-detail h2 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.biz-detail p { font-size: 15px; line-height: 2.2; margin-bottom: 1.6em; color: var(--ink-soft); }
/* 事業詳細内の小見出し(田畑で / 山で / チャグチャグ馬コ など) */
.biz-detail .sub {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin: 2em 0 0.8em;
}
.biz-detail .sub::before {
  content: "○";
  color: var(--brown);
  font-size: 0.6em;
  margin-right: 0.6em;
  vertical-align: 0.15em;
}
.biz-detail .note {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brown);
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 2;
}
.biz-detail dl { font-size: 14px; line-height: 2; }
.biz-detail dt { font-weight: 700; color: var(--brown-deep); margin-top: 14px; }

/* ---------- 人物紹介ページ ---------- */
.profile-section { padding: 88px 0; }
.profile-section:nth-child(even) { background: var(--paper-dark); }
.profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.profile .photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #362c23, #221c16);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.profile .photo img { width: 100%; height: 100%; object-fit: cover; }
.profile .photo .ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 253, 249, 0.35);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.profile .title { font-size: 13px; letter-spacing: 0.14em; color: var(--brown); margin-bottom: 8px; }
.profile h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.profile .subtitle {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.profile .career {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13.5px;
  line-height: 2;
}
.profile .career dt { font-weight: 700; color: var(--brown-deep); float: left; width: 5.5em; }
.profile .career dd { padding-left: 5.5em; margin-bottom: 4px; }
.profile p { font-size: 15px; line-height: 2.2; margin-bottom: 1.6em; color: var(--ink-soft); }

/* ---------- 会社概要ページ ---------- */
.company-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  border-bottom: 1px solid var(--line);
  padding: 22px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.company-table .indent { display: inline-block; padding-left: 1em; color: var(--ink-soft); font-size: 0.92em; }

/* ---------- 会社概要:関連法人 ---------- */
.related {
  max-width: 760px;
  margin: 72px auto 0;
}
.related h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-left: 14px;
  border-left: 3px solid var(--brown);
  margin-bottom: 24px;
}
.related ul { border-top: 1px solid var(--line); }
.related li {
  border-bottom: 1px solid var(--line);
  padding: 18px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: baseline;
}
.related .corp { font-weight: 700; min-width: 200px; }
.related .links {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.related .links a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 会社概要:将来的な方向性(控えめに) ---------- */
.future {
  max-width: 640px;
  margin: 88px auto 0;
  text-align: center;
}
.future h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--brown-deep);
}
.future p {
  font-size: 14.5px;
  line-height: 2.4;
  color: var(--ink-soft);
  text-align: left;
}
.future-visual {
  margin: 36px 0 0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.future-visual img { width: 100%; height: auto; display: block; }

/* ---------- お問い合わせページ ---------- */
.contact-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; font-size: 15px; }
.contact-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--ink);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.contact-tabs button {
  flex: 1;
  padding: 16px 10px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.contact-tabs button.active { background: var(--ink); color: var(--white); }
.contact-tabs button small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.contact-form { max-width: 680px; margin: 0 auto; }
.contact-form.hidden { display: none; }
/* 種別ごとの追加項目(選択に応じて表示) */
.contact-form .cond { display: none; }
.contact-form .cond.show { display: block; }
.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-top: -14px;
  margin-bottom: 28px;
}
.form-row { margin-bottom: 28px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.form-row label .req {
  color: #a03c2e;
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-row textarea { min-height: 180px; resize: vertical; }
.form-submit { text-align: center; margin-top: 40px; }
.form-submit button {
  font-family: var(--sans);
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 16px 72px;
  font-size: 15px;
  letter-spacing: 0.2em;
  transition: background 0.25s, border-color 0.25s;
}
.form-submit button:hover { background: var(--brown); border-color: var(--brown); }
.contact-hotel {
  max-width: 680px;
  margin: 64px auto 0;
  background: var(--paper-dark);
  border: 1px solid var(--line);
  padding: 32px 36px;
  font-size: 14px;
  line-height: 2.1;
}
.contact-hotel h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

/* ---------- CTA帯 ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.cta-band p {
  font-family: var(--serif);
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  line-height: 2;
}

/* ---------- フッター ---------- */
.site-footer {
  background: #171310;
  color: rgba(255, 253, 249, 0.85);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark { width: 30px; height: 30px; }
.footer-logo { height: 96px; width: auto; opacity: 0.95; }
.footer-brand address {
  font-style: normal;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 253, 249, 0.6);
}
.footer-nav h4, .footer-contact h4 {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c69a6d;
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-nav li, .footer-contact li { margin-bottom: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: #c69a6d; }
.footer-sns { display: flex; gap: 16px; margin-top: 20px; }
.footer-sns a { opacity: 0.7; }
.footer-sns a:hover { opacity: 1; }
.footer-sns svg { width: 22px; height: 22px; }
.copyright {
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 253, 249, 0.45);
  letter-spacing: 0.08em;
}

/* ---------- スクロール表示アニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* PC専用の改行(スマホでは改行しない) */
@media (max-width: 699px) {
  br.pc-only { display: none; }
}

/* ==========================================================
   英語版(html[lang="en"])の上書き:縦書きは日本語専用のため横書きに
   ========================================================== */
html[lang="en"] .hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 0 24px;
  width: min(92%, 900px);
}
html[lang="en"] .hero-copy {
  writing-mode: horizontal-tb;
  font-size: clamp(26px, 5vw, 50px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
html[lang="en"] .hero-company {
  writing-mode: horizontal-tb;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.24em;
}
/* 英語は行長が伸びるため本文をやや読みやすく */
html[lang="en"] .prose p,
html[lang="en"] .biz-detail p,
html[lang="en"] .profile p { letter-spacing: 0; }
html[lang="en"] .company-table th { white-space: normal; width: 200px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .biz-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .biz-detail { grid-template-columns: 1fr; gap: 32px; }
  .biz-detail.reverse .media { order: 0; }
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .profile .photo { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  /* スマホのヒーロー上部:白いロゴ・三本線が動画の明るい部分で消えないよう、
     ヘッダー背後に上→下へ薄れる暗いスクリムを敷く */
  .site-header.on-hero:not(.scrolled) {
    background: linear-gradient(180deg, rgba(20, 17, 16, 0.55), rgba(20, 17, 16, 0));
    border-bottom-color: transparent;
  }
  .gnav {
    /* ヘッダーの backdrop-filter が包含ブロックになり inset:0 では
       ヘッダー高さ分(約72px)しか広がらないため、明示的に全画面を指定 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 105;
  }
  .nav-open .gnav { opacity: 1; pointer-events: auto; }
  .gnav ul { flex-direction: column; gap: 28px; text-align: center; }
  .gnav a { font-size: 17px; color: var(--ink) !important; }
  section { padding: 72px 0; }
  .people-grid { grid-template-columns: 1fr; gap: 32px; max-width: 320px; }
  .company-table th { width: 110px; }
  .contact-tabs { flex-direction: column; }
}
