/* ============================================================
   吉村製材 ? about.css
   会社概要ページ専用スタイル
   ============================================================ */

/* news-head / page-hero 系は products.css と共通仕様で定義 */
.news-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.news-head-dot {
  display: block; width: 18px; height: 18px;
  border-radius: 50%; background: var(--forest); flex-shrink: 0;
}
.news-head-ja {
  font-family: var(--font-sans); font-size: 32px; font-weight: 600;
  color: var(--walnut); letter-spacing: 0.08em;
}
.news-head-en {
  font-size: 14px; font-weight: 600;
  color: var(--forest); letter-spacing: 0.12em;
}
.news-head-line {
  height: 6px;
  background: linear-gradient(to right, var(--forest) 250px, var(--chestnut) 250px);
  margin-bottom: 0; opacity: 1;
}

/* page-hero 流用 */
.page-hero {
  position: relative; width: 100%; overflow: hidden;
  height: 220px; background: var(--walnut-dark);
}
.page-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block; opacity: 0.75;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(53,34,28,0.55) 0%, rgba(53,34,28,0.15) 60%, transparent 100%);
  display: flex; align-items: center;
}
.page-hero-content { display: flex; align-items: center; gap: 16px; }
.page-hero--detail { height: 260px; }
.page-hero-detail-inner { display: flex; flex-direction: column; gap: 10px; }
.page-hero-mark-sm { width: 28px; height: 28px; flex-shrink: 0; }
.page-hero-title--lg {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px);
  font-weight: 600; color: #fff; letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* パンくず */
.breadcrumb {
  background: var(--cream); border-bottom: 1px solid var(--w200); padding: 10px 0;
}
.breadcrumb .container {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 300; color: var(--sub); letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--sub); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--walnut); }
.breadcrumb-sep { color: var(--w300); }

/* ── セクションヘッダーエリア ── */
.about-page-head {
  background: var(--cream);
  padding: 40px 0 0;
}

/* ── タブナビ ── */
.about-tab-nav {
  background: var(--cream);
  padding: 28px 0 32px;
}
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.about-tab {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--chestnut);
  border-radius: 999px;
  padding: 10px 28px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.about-tab:hover {
  background: var(--chestnut-lt);
  transform: translateY(-2px);
}

/* ── フルワイドバナー ── */
.about-fw-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.about-fw-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.about-fw-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,10,5,0.35);
  display: flex;
  align-items: center;
  padding: 0 60px;
	justify-content: center;
}
.about-fw-catch {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.8vw, 36px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
  line-height: 1.4;
}

/* ── セクション共通 ── */
.about-section {
  padding: 56px 0 68px;
  border-top: 1px solid var(--w200);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.about-section--tinted { background: var(--w100); }

/* セクションヘッダー */
.about-sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.about-sec-icon {
  color: var(--chestnut);
  font-size: 14px;
  flex-shrink: 0;
}
.about-sec-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.1em;
}
.about-sec-line {
  height: 1px;
  background: linear-gradient(to right, var(--chestnut) 60px, var(--w200) 60px);
  margin-bottom: 36px;
}

/* 準備中 */
.about-coming {
  text-align: center;
  font-size: 13px;
  color: var(--w300);
  letter-spacing: 0.14em;
  padding: 32px 0;
}

/* ── あいさつ ── */
.about-greeting-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

/* 代表者写真 */
.about-president-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 14px;
}
.about-president-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-president-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--walnut);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.about-president-title {
  font-family: var(--font-serif);
	font-size: 14px;
  font-weight: 600;
  color: var(--sub);
  text-align: center;
  letter-spacing: 0.04em;
}

/* あいさつ文 */
.about-greeting-lead {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.06em;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--w200);
}
.about-greeting-body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text);
  line-height: 2.1;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-indent: 1em;
}
.about-greeting-body:last-child { margin-bottom: 0; }

/* ── 企業理念 ── */
.rinen-section {
  position: relative;
	background-color: var(--cream);
  background-image: url(../img/about/rinen_bk.jpg);
  background-size: cover;
  background-position: center;
}
.rinen-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6); /* 白半透明オーバーレイ */
}
.rinen-section .container {
  position: relative;
  z-index: 1;
}
.rinen-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 36px;
  border-bottom: none;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
}
.rinen-item:last-of-type { border-bottom: none; }
.rinen-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.rinen-icon {
  width: 100px;
  height: 100px;
}
.rinen-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rinen-catch {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--chestnut);
  letter-spacing: 0.06em;
  line-height: 1.75;
}
.rinen-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 2.1;
  letter-spacing: 0.04em;
}
.rinen-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.rinen-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.rinen-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── 会社概要テーブル ── */
.gaiyou-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.gaiyou-table tr {
  border-bottom: 1px solid var(--w200);
}
.gaiyou-table tr:first-child { border-top: 1px solid var(--w200); }
.g-lbl {
  width: 140px;
  font-weight: 500;
  color: var(--sub);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 14px 16px 14px 0;
  vertical-align: top;
  white-space: nowrap;
}
.g-val {
  font-weight: 300;
  color: var(--text);
  padding: 14px 0;
  vertical-align: top;
  line-height: 1.9;
}
.g-val strong { font-weight: 500; color: var(--walnut); }
.g-val a { color: var(--chestnut); text-decoration: none; }
.g-val a:hover { text-decoration: underline; }

.gaiyou-office-photo {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.gaiyou-office-photo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── 沿革テーブル ── */
.enkaku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.enkaku-table tr { border-bottom: 1px solid var(--w200); }
.enkaku-table tr:first-child { border-top: 1px solid var(--w200); }
.enkaku-table tr:hover { background: rgba(255,255,255,0.6); }
.ek-year {
  width: 200px;
  font-weight: 500;
  color: var(--forest);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 20px 14px 0;
  vertical-align: top;
  white-space: nowrap;
}
.ek-val {
  font-weight: 300;
  color: var(--text);
  padding: 14px 0;
  vertical-align: top;
  line-height: 1.9;
}

/* ── 事業所 ── */
.jimusho-network {
  text-align: center;
  margin-bottom: 48px;
}
.jimusho-network-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--walnut);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.jimusho-network-img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid var(--w200);
}

.jimusho-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.jimusho-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--w200);
}
.jimusho-item:first-child { border-top: 1px solid var(--w200); }

.jimusho-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.jimusho-zip {
  font-size: 12px;
  font-weight: 300;
  color: var(--sub);
  margin-bottom: 2px;
}
.jimusho-addr {
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.6;
}
.jimusho-tel {
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 2px;
}
.jimusho-map-btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--walnut);
  background: var(--w100);
  border: 1px solid var(--w200);
  border-radius: 2px;
  padding: 5px 14px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.jimusho-map-btn:hover { background: var(--w200); border-color: var(--w300); }

.jimusho-map {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--w200);
}




/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .page-hero--detail { height: 200px; }
  .about-fw-catch { font-size: 18px; }
  .about-fw-overlay { padding: 0 20px; }
  .about-greeting-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-president-photo { aspect-ratio: 4/3; max-width: 280px; margin: 0 auto 14px; }
  .about-president-name,
  .about-president-title { text-align: center; }
	
	.rinen-item {
    grid-template-columns: 1fr;
  }
  .rinen-left { order: 1; }
  .rinen-body { order: 2; }
	
	.jimusho-item { grid-template-columns: 1fr; gap: 16px; }
  .jimusho-map { aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .about-tabs { gap: 8px; }
  .about-tab { font-size: 13px; padding: 9px 20px; }
	
	.gaiyou-table, .gaiyou-table tbody,
  .gaiyou-table tr, .gaiyou-table td { display: block; }
  .g-lbl { padding-bottom: 4px; border-bottom: none; }
  .g-val { padding-top: 0; }
	
	.ek-year { width: auto; white-space: normal; display: block; padding-bottom: 4px; border-bottom: none; }
  .ek-val { display: block; padding-top: 0; }
  .enkaku-table tr, .enkaku-table td { display: block; }
}
