/* ============================================
   SAITO CONSULTING（株式会社サイトウコンサルティング）
   提案用デモサイト 共通スタイル
   ============================================ */

:root {
  --brand-navy: #1c3a5e;
  --brand-navy-dark: #122843;
  --brand-navy-light: #34597f;
  --brand-gold: #c9973f;
  --brand-gold-dark: #a97c2c;
  --brand-band: #2a4a6e;
  --bg-light: #f5f6f8;
  --bg-white: #ffffff;
  --text-main: #2b2f36;
  --text-sub: #767c86;
  --border-soft: #e2e5ea;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

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

/* ---------- demo notice bar ---------- */
.demo-notice {
  background: #1a1a1a;
  color: #eee0c4;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: .02em;
}
.demo-notice strong { color: #f0c26a; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy-dark);
  letter-spacing: .03em;
}
.logo span { font-size: 11px; display: block; font-weight: 400; color: var(--text-sub); letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 14.5px;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--brand-gold); color: var(--brand-navy-dark); }
.nav-cta {
  background: var(--brand-navy-dark);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 3px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--brand-gold-dark); }

@media (max-width: 860px) {
  .main-nav { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,40,67,.25) 0%, rgba(15,28,46,.68) 100%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 64px;
  text-align: center; color: #fff; z-index: 2;
}
.hero-copy .jp { font-size: 26px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,.35);}
.hero-copy .en { font-size: 13px; letter-spacing: .18em; opacity: .85; }
.hero-badge {
  position: absolute; left: 26px; bottom: 26px; z-index: 3;
  background: var(--brand-gold);
  color: #1a1a1a; padding: 12px 20px; border-radius: 4px;
  font-size: 14px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.hero-badge small { display: block; font-weight: 400; font-size: 11.5px; margin-top: 2px; }

/* ---------- page header (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(18,40,67,.62); }
.page-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; z-index: 2; }
.page-hero-copy h1 { font-size: 24px; letter-spacing: .08em; margin-bottom: 6px; }
.page-hero-copy .en { font-size: 12px; letter-spacing: .2em; opacity: .8; }
.breadcrumb { background: var(--bg-light); font-size: 12px; color: var(--text-sub); padding: 10px 24px; }
.breadcrumb a { color: var(--brand-navy-light); }

/* ---------- section band header ---------- */
.band {
  background: var(--brand-band);
  color: #fff;
  text-align: center;
  padding: 34px 20px 30px;
}
.band h2 { font-size: 22px; letter-spacing: .1em; margin-bottom: 6px; }
.band .en { font-size: 12px; letter-spacing: .2em; opacity: .82; }

/* ---------- section generic ---------- */
section.block { padding: 58px 0; }
.section-title-inline { text-align: center; margin-bottom: 36px; }
.section-title-inline h3 { font-size: 21px; color: var(--brand-navy-dark); letter-spacing: .04em; }
.section-title-inline p { font-size: 12px; color: var(--text-sub); letter-spacing: .16em; margin-top: 4px; }
.lead-text { text-align: center; font-size: 14px; color: var(--text-sub); max-width: 680px; margin: -20px auto 40px; }

/* ---------- generic card grid (services / works teaser) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.info-card { text-align: center; }
.info-card .thumb { height: 130px; overflow: hidden; border-radius: 4px; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.info-card:hover .thumb img { transform: scale(1.06); }
.info-card .name {
  margin-top: 10px; font-size: 13px; background: var(--bg-light);
  padding: 9px 6px; border: 1px solid var(--border-soft);
}

/* ---------- news ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border-soft);
}
.news-item .thumb { width: 130px; height: 88px; flex: none; overflow: hidden; border-radius: 3px; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .date { font-size: 12.5px; color: var(--brand-navy-light); margin-bottom: 4px; letter-spacing: .05em; }
.news-item .cat { display: inline-block; font-size: 10.5px; color: #fff; background: var(--brand-gold-dark); padding: 2px 8px; border-radius: 10px; margin-right: 8px; }
.news-item .title { font-size: 15px; margin-top: 4px; }
.news-more { text-align: center; margin-top: 24px; }
.news-more a, .faq-cta a {
  display: inline-block; border: 1px solid var(--border-soft); padding: 10px 44px;
  font-size: 13px; color: var(--brand-navy-dark);
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft); font-size: 13px; border-radius: 3px;
}
.pagination .current { background: var(--brand-navy-dark); color: #fff; border-color: var(--brand-navy-dark); }

/* ---------- banner row (home CTA links) ---------- */
.banner-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.banner-row a {
  display: block; background: var(--bg-light); border: 1px solid var(--border-soft);
  padding: 18px 20px; font-size: 14px; font-weight: 700; text-align: center; border-radius: 4px; color: var(--brand-navy-dark);
}
@media (max-width: 700px) { .banner-row { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.service-block {
  display: grid; grid-template-columns: 320px 1fr; gap: 30px;
  padding: 34px 0; border-bottom: 1px solid var(--border-soft); align-items: center;
}
.service-block .photo { border-radius: 6px; overflow: hidden; height: 210px; }
.service-block .photo img { width: 100%; height: 100%; object-fit: cover; }
.service-block .num { font-size: 12px; color: var(--brand-gold-dark); font-weight: 700; letter-spacing: .12em; margin-bottom: 6px; }
.service-block h4 { font-size: 19px; color: var(--brand-navy-dark); margin-bottom: 10px; }
.service-block p.desc { font-size: 13.5px; color: var(--text-main); margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: 11px; color: #fff; padding: 4px 10px; border-radius: 12px; background: var(--brand-navy-light); }
@media (max-width: 760px) { .service-block { grid-template-columns: 1fr; } }

.detail-btn {
  display: inline-block; border: 1px solid var(--brand-navy-dark); color: var(--brand-navy-dark);
  font-size: 12.5px; padding: 8px 24px; border-radius: 3px;
}
.detail-btn:hover { background: var(--brand-navy-dark); color: #fff; }

/* ---------- works / case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; }
.case-card .photo { height: 190px; overflow: hidden; }
.case-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-card:hover .photo img { transform: scale(1.05); }
.case-card .body { padding: 20px 22px; }
.case-card .industry { font-size: 11px; color: var(--brand-gold-dark); font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.case-card h4 { font-size: 16.5px; color: var(--brand-navy-dark); margin-bottom: 10px; }
.case-card .result { font-size: 13px; color: var(--text-sub); }
.case-card .result b { color: var(--brand-navy-dark); }

/* ---------- about page ---------- */
.philosophy-img { border-radius: 6px; overflow: hidden; margin: 26px 0; height: 320px; }
.philosophy-img img { width: 100%; height: 100%; object-fit: cover; }
.philosophy-copy { text-align: center; }
.philosophy-copy h4 { font-size: 22px; margin-bottom: 4px; color: var(--brand-navy-dark); }
.philosophy-copy .sub { color: var(--brand-gold-dark); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; }
.philosophy-copy p { font-size: 13.5px; color: var(--text-sub); max-width: 640px; margin: 0 auto; }

.value-circles { display: flex; justify-content: center; gap: 30px; margin: 40px 0; flex-wrap: wrap; }
.value-circles .circle {
  width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; font-weight: 700; font-size: 13.5px; color: #fff; padding: 10px;
}
.value-circles .c1 { background: var(--brand-navy); }
.value-circles .c2 { background: var(--brand-gold-dark); }
.value-circles .c3 { background: var(--brand-navy-light); }

.info-table { width: 100%; border-top: 1px solid var(--border-soft); font-size: 13.5px; margin: 26px 0; }
.info-table tr { border-bottom: 1px solid var(--border-soft); }
.info-table th { width: 150px; text-align: left; padding: 14px 10px; background: var(--bg-light); color: var(--text-sub); font-weight: 500; vertical-align: top; }
.info-table td { padding: 14px 10px; vertical-align: top; }

/* ---------- consultant / staff portrait grid ---------- */
.portrait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 30px 0; }
@media (max-width: 900px) { .portrait-grid { grid-template-columns: repeat(2, 1fr); } }
.portrait-card { text-align: center; }
.portrait-card .photo { border-radius: 6px; overflow: hidden; height: 190px; margin-bottom: 12px; }
.portrait-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-card .role { font-size: 11px; color: var(--brand-gold-dark); font-weight: 700; letter-spacing: .08em; margin-bottom: 4px; }
.portrait-card .pname { font-size: 14.5px; font-weight: 700; color: var(--brand-navy-dark); }
.portrait-card .desc { font-size: 12px; color: var(--text-sub); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-navy-dark); color: #fff; text-align: center; padding: 50px 20px; }
.cta-band h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: .04em; }
.cta-band p { font-size: 13px; opacity: .8; margin-bottom: 24px; }
.cta-band .btn { display: inline-block; background: var(--brand-gold); color: #1a1a1a; font-weight: 700; padding: 14px 44px; border-radius: 3px; font-size: 14px; }
.cta-band .btn:hover { background: #fff; }

/* ---------- contact ---------- */
.tel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 40px; }
.tel-card { border: 1px solid var(--border-soft); padding: 16px 18px; border-radius: 6px; }
.tel-card .fname { color: var(--brand-navy-dark); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.tel-card .num { font-size: 20px; font-weight: 700; }
.tel-card .hours { font-size: 12px; color: var(--text-sub); }
@media (max-width: 760px) { .tel-grid { grid-template-columns: 1fr; } }

.form-table { width: 100%; border-top: 1px solid var(--border-soft); }
.form-table tr { border-bottom: 1px solid var(--border-soft); }
.form-table th { width: 160px; text-align: left; padding: 16px 10px; font-size: 13.5px; vertical-align: top; }
.form-table th .req { background: var(--brand-gold-dark); color: #fff; font-size: 10.5px; padding: 2px 8px; border-radius: 3px; margin-left: 8px; }
.form-table td { padding: 12px 10px; }
.form-table input[type=text], .form-table input[type=email], .form-table textarea, .form-table select {
  width: 100%; border: 1px solid var(--border-soft); padding: 10px 12px; font-size: 13.5px; border-radius: 3px; font-family: inherit;
}
.form-table textarea { min-height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 26px; }
.form-submit button {
  background: var(--brand-navy-dark); color: #fff; border: none; padding: 14px 60px;
  font-size: 14px; border-radius: 3px; cursor: pointer;
}
.form-submit button:hover { background: var(--brand-gold-dark); }

.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 36px; }
.step-row.four { grid-template-columns: repeat(4, 1fr); }
.step-box { border: 1px solid var(--border-soft); padding: 16px; text-align: center; font-size: 12.5px; border-radius: 6px; position: relative; }
.step-box .n { color: var(--brand-navy-dark); font-weight: 700; font-size: 11px; letter-spacing: .1em; margin-bottom: 6px; }
@media (max-width: 760px) { .step-row, .step-row.four { grid-template-columns: 1fr; } }

/* ---------- recruit page ---------- */
.job-card { border: 1px solid var(--border-soft); border-radius: 6px; padding: 22px 24px; margin-bottom: 18px; }
.job-card h4 { font-size: 16.5px; color: var(--brand-navy-dark); margin-bottom: 8px; }
.job-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.job-card .meta span { font-size: 11px; background: var(--bg-light); border: 1px solid var(--border-soft); padding: 4px 10px; border-radius: 10px; color: var(--text-sub); }
.job-card .desc { font-size: 13px; color: var(--text-sub); }

.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } }
.voice-card { border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; }
.voice-card .photo { height: 170px; overflow: hidden; }
.voice-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.voice-card .body { padding: 16px 18px; }
.voice-card .role { font-size: 11px; color: var(--brand-gold-dark); font-weight: 700; margin-bottom: 6px; }
.voice-card p { font-size: 12.5px; color: var(--text-sub); }

/* ---------- faq ---------- */
.faq-list { margin: 20px 0; }
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 16px 4px; }
.faq-item .q { font-size: 14px; font-weight: 700; color: var(--brand-navy-dark); }
.faq-item .q::before { content: "Q. "; color: var(--brand-gold-dark); }
.faq-item .a { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.faq-item .a::before { content: "A. "; color: var(--text-main); font-weight: 700; }
.faq-cta { text-align: center; margin-top: 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-navy-dark); color: #fff; padding: 46px 0 20px; margin-top: 0; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-logo { font-size: 17px; font-weight: 700; }
.footer-logo small { display: block; font-size: 10.5px; font-weight: 400; opacity: .8; letter-spacing: .1em; }
.footer-cta { display: inline-block; background: var(--brand-gold); color: #1a1a1a; padding: 10px 26px; font-size: 12.5px; margin-top: 14px; border-radius: 3px; font-weight: 700; }
.footer-cols { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-cols h5 { font-size: 13px; margin-bottom: 12px; opacity: .85; }
.footer-cols li { font-size: 12.5px; margin-bottom: 8px; opacity: .92; }
.footer-bottom {
  display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 34px; padding-top: 16px; font-size: 11px; opacity: .75; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 760px) { .footer-top, .footer-bottom { flex-direction: column; } }
