/* ==========================================================================
   株式会社テクタード コーポレートサイト 共通スタイル
   ========================================================================== */

:root {
  --navy: #12325c;
  --navy-dark: #0b2140;
  --navy-light: #2a5085;
  --gold: #b08d51;
  --gold-light: #cbab74;
  --ink: #1f2a37;
  --gray: #5c6875;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-navy-soft: #eef2f7;
  --maxw: 1120px;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(18, 50, 92, 0.07);
  --shadow-lg: 0 8px 32px rgba(18, 50, 92, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { text-decoration: none; color: var(--navy); line-height: 1.25; display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: auto; flex-shrink: 0; }
.logo-text { display: block; }
.logo-ja {
  display: block;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 20px; font-weight: 700; letter-spacing: 0.06em;
}
.logo-en { display: block; font-size: 9.5px; letter-spacing: 0.28em; color: var(--gold); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; padding: 4px 0;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav a.current { color: var(--navy); border-bottom-color: var(--navy); }
.nav .nav-cta {
  background: var(--navy); color: #fff; padding: 10px 22px;
  border-radius: var(--radius); border-bottom: none;
}
.nav .nav-cta:hover { background: var(--navy-light); border-bottom-color: transparent; color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 520px; height: 520px;
  border: 1px solid rgba(203, 171, 116, 0.28); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; right: -40px; bottom: -220px;
  width: 400px; height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; padding: 116px 0 104px; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.4em; color: var(--gold-light); margin: 0 0 26px; font-weight: 500; }
.hero h1 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 600; line-height: 1.55; margin: 0 0 28px; letter-spacing: 0.02em;
}
.hero p { font-size: 16px; max-width: 620px; color: rgba(255, 255, 255, 0.85); margin: 0 0 40px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 100px;
  padding: 6px 20px; font-size: 13px; letter-spacing: 0.1em;
}

/* ---------- Page head ---------- */
.page-head {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff; padding: 68px 0 60px; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -100px; top: -160px;
  width: 380px; height: 380px;
  border: 1px solid rgba(203, 171, 116, 0.25); border-radius: 50%;
}
.page-head .num { font-size: 12px; letter-spacing: 0.3em; color: var(--gold-light); margin: 0 0 10px; position: relative; z-index: 2; }
.page-head h1 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 600;
  margin: 0 0 8px; letter-spacing: 0.06em; position: relative; z-index: 2;
}
.page-head .en { font-size: 11px; letter-spacing: 0.28em; color: rgba(255, 255, 255, 0.6); margin: 0; position: relative; z-index: 2; }

.breadcrumb { font-size: 12px; color: var(--gray); padding: 16px 0; border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: var(--radius); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  transition: .25s; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 52px; }
.section-head .en { font-size: 11px; letter-spacing: 0.32em; color: var(--gold); margin: 0 0 12px; font-weight: 500; }
.section-head h2 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(22px, 2.8vw, 30px); font-weight: 600;
  margin: 0 0 18px; letter-spacing: 0.04em; line-height: 1.6;
}
.section-head h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 20px; }
.section-head p { color: var(--gray); margin: 0; max-width: 700px; }
.section-head.center { text-align: center; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--bg-navy-soft); padding: 88px 0; text-align: center; }
.philosophy .label { font-size: 11px; letter-spacing: 0.32em; color: var(--gold); margin: 0 0 26px; }
.philosophy blockquote {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(20px, 3.2vw, 34px); line-height: 1.85;
  color: var(--navy); margin: 0 auto 24px; font-weight: 500; max-width: 760px;
}
.philosophy .sub { color: var(--gray); margin: 0; font-size: 15px; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: .3s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card .card-en { font-size: 10.5px; letter-spacing: 0.26em; color: var(--gold); margin: 0 0 10px; }
.card h3 {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21px; margin: 0 0 18px; font-weight: 600; letter-spacing: 0.03em;
}
.card p { color: var(--gray); font-size: 14.5px; margin: 0 0 20px; }
.card ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; border-top: 1px solid var(--line); }
.card ul li { padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 1px; background: var(--gold); }
.card .card-foot { margin-top: auto; }

/* ---------- Key facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: #fff; padding: 34px 20px; text-align: center; }
.fact .num { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 38px; color: var(--navy); line-height: 1.2; font-weight: 600; }
.fact .num small { font-size: 15px; margin-left: 3px; }
.fact .lbl { font-size: 12.5px; color: var(--gray); margin-top: 8px; letter-spacing: 0.06em; }

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table th { width: 190px; font-weight: 500; color: var(--navy); background: var(--bg-soft); letter-spacing: 0.06em; }
.table td { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 96px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { display: flex; gap: 0; position: relative; padding-bottom: 34px; }
.tl-date { width: 96px; flex-shrink: 0; font-size: 14px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; padding-top: 1px; }
.tl-body { padding-left: 34px; position: relative; }
.tl-body::before {
  content: ""; position: absolute; left: -5px; top: 9px;
  width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--navy);
}
.tl-body p { margin: 0; font-size: 15.5px; }

/* ---------- Message ---------- */
.message-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.message-lead {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(21px, 2.6vw, 28px); line-height: 1.75;
  color: var(--navy); margin: 0; font-weight: 600;
}
.message-body p { margin: 0 0 24px; }
.signature { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.signature .role { color: var(--gray); font-size: 13px; display: block; margin-bottom: 4px; }
.signature .name { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 20px; font-weight: 600; }

/* ---------- Recruit ---------- */
.recruit-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-box { background: #fff; border-top: 3px solid var(--navy); padding: 32px 28px; box-shadow: var(--shadow); }
.value-box h3 { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 18px; margin: 0 0 12px; color: var(--navy); }
.value-box p { margin: 0; font-size: 14.5px; color: var(--gray); }

.job-list { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 150px 1fr 130px; gap: 20px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.job .tag { display: inline-block; background: var(--bg-navy-soft); color: var(--navy); font-size: 12px; padding: 5px 14px; border-radius: 100px; letter-spacing: 0.06em; }
.job h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.job p { margin: 0; font-size: 13.5px; color: var(--gray); }
.job .status { font-size: 13px; color: var(--gray); text-align: right; }

/* ---------- Form ---------- */
.form-wrap { max-width: 760px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 9px; color: var(--navy); letter-spacing: 0.04em; }
.field .req { background: var(--gold); color: #fff; font-size: 10.5px; padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; letter-spacing: 0.08em; }
.field .opt { background: var(--bg-soft); color: var(--gray); border: 1px solid var(--line); font-size: 10.5px; padding: 1px 8px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 50, 92, 0.08);
}
.field textarea { min-height: 170px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--gray); margin-top: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

.privacy-box { background: var(--bg-soft); border: 1px solid var(--line); padding: 22px 24px; font-size: 13.5px; color: var(--gray); margin-bottom: 26px; border-radius: var(--radius); }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 30px; font-size: 14.5px; }
.check-row input { width: auto; margin-top: 6px; }

.form-note { background: #fff8ec; border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 13.5px; color: var(--gray); margin-bottom: 34px; }

.thanks { display: none; background: var(--bg-navy-soft); border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); text-align: center; }
.thanks h3 { font-family: "Noto Serif JP", "Yu Mincho", serif; color: var(--navy); margin: 0 0 10px; }
.thanks p { margin: 0; color: var(--gray); font-size: 14.5px; }

/* ---------- Contact info ---------- */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ci { background: #fff; padding: 32px 26px; }
.ci .lbl { font-size: 10.5px; letter-spacing: 0.26em; color: var(--gold); margin: 0 0 12px; }
.ci .val { font-size: 16px; margin: 0; line-height: 1.75; }
.ci .val a { text-decoration: none; }
.ci .val a:hover { text-decoration: underline; }
.ci .sub { font-size: 12.5px; color: var(--gray); margin: 8px 0 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff; padding: 76px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -120px; bottom: -180px;
  width: 380px; height: 380px; border: 1px solid rgba(203, 171, 116, 0.25); border-radius: 50%;
}
.cta-band h2 { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: clamp(21px, 2.8vw, 28px); margin: 0 0 14px; font-weight: 600; position: relative; z-index: 2; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0 0 34px; font-size: 15px; position: relative; z-index: 2; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.72); padding: 62px 0 26px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .logo-ja { color: #fff; font-size: 19px; }
.footer-brand .logo-en { color: var(--gold-light); }
.footer-brand p { margin: 18px 0 0; font-size: 13.5px; line-height: 2; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: 0.22em; margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px;
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Utilities ---------- */
.ext::after { content: "↗"; font-size: 11px; margin-left: 6px; opacity: .7; }
.mb0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .facts, .recruit-values, .contact-info { grid-template-columns: repeat(2, 1fr); }
  .message-grid, .grid-2, .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job .status { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: none; }
  .section { padding: 62px 0; }
  .hero-inner { padding: 76px 0 68px; }
  .grid-3, .facts, .recruit-values, .contact-info { grid-template-columns: 1fr; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: none; padding-bottom: 10px; }
  .table td { padding-top: 4px; }
  .timeline::before { left: 4px; }
  .tl-item { flex-direction: column; gap: 4px; }
  .tl-date { width: auto; padding-left: 28px; }
  .tl-body { padding-left: 28px; }
  .tl-body::before { left: -1px; top: -22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}


/* ==========================================================================
   ロゴ関連
   ========================================================================== */

/* ヒーローの大型透かし */
.hero-watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}

/* 下層ページヘッドの透かし */
.head-watermark {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

/* 理念セクションのロゴマーク */
.philosophy-mark {
  width: 78px;
  margin: 0 auto 22px;
  opacity: 0.6;
}

/* フッターロゴ */
.footer-mark { width: 64px; margin-bottom: 16px; opacity: 0.9; }
.footer-brand .logo-ja { display: block; }

@media (max-width: 720px) {
  .logo-mark { width: 38px; }
  .logo-ja { font-size: 17px; }
  .hero-watermark { width: 340px; right: -110px; opacity: 0.07; }
  .head-watermark { width: 150px; right: -30px; opacity: 0.08; }
  .philosophy-mark { width: 62px; }
}
