/*
Theme Name: Taiki System
Theme URI: https://www.taikisystem.jp/
Description: タイキシステム株式会社 採用サイト カスタムテーマ
Version: 1.0
Author: Taiki System Co., Ltd.
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #2c3e35;
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #3B6D11; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== VARIABLES ===== */
:root {
  --green-dark:   #173404;
  --green-main:   #3B6D11;
  --green-mid:    #27500A;
  --green-light:  #EAF3DE;
  --green-pale:   #C0DD97;
  --text-main:    #2c3e35;
  --text-sub:     #6b7c74;
  --border:       rgba(0,0,0,0.1);
  --bg-light:     #f5f8f5;
  --radius-sm:    6px;
  --radius-md:    8px;
  --radius-lg:    12px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.4; color: var(--text-main); }
h1 { font-size: 2rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1rem; }
p  { font-size: 0.9375rem; line-height: 1.85; color: var(--text-sub); }

.section-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  margin-bottom: 0.375rem;
  display: block;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4rem 0; }
.section--sm { padding: 2.5rem 0; }
.section--bg { background: var(--bg-light); }
.section--green { background: var(--green-light); }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--green-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo__icon svg { width: 20px; height: 20px; fill: #fff; }

.site-logo__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

.site-logo__custom img,
.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.site-footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.site-nav { display: flex; gap: 1.5rem; align-items: center; }

.site-nav a { text-decoration: none; }

.nav-btn {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-sub);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--green-light);
  color: var(--green-main);
  border-color: var(--green-pale);
  text-decoration: none;
}

.nav-btn--current {
  color: var(--green-main);
  border-color: var(--green-pale);
  background: var(--green-light);
}

.nav-btn--primary {
  background: var(--green-main);
  color: #fff;
  border-color: var(--green-main);
  font-weight: 500;
}

.nav-btn--primary:hover {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--green-light);
  padding: 3rem 0 2.5rem;
}

.page-hero__label {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: var(--green-main);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.page-hero h1 { font-size: 1.75rem; color: var(--green-dark); }
.page-hero p  { color: var(--green-mid); margin-top: 0.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; text-decoration: none; }

.btn--primary { background: var(--green-main); color: #fff; }
.btn--outline  { background: transparent; color: var(--green-main); border: 1.5px solid var(--green-main); }

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card__icon svg { width: 24px; height: 24px; fill: var(--green-main); }
.card h3 { font-size: 0.9375rem; margin-bottom: 0.5rem; }

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* ===== STATS BAR ===== */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.stats-bar__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats-bar__item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats-bar__item:last-child { border-right: none; }
.stats-bar__label { font-size: 0.75rem; color: var(--text-sub); margin-bottom: 4px; display: block; }
.stats-bar__value { font-size: 1.5rem; font-weight: 500; color: var(--green-main); }
.stats-bar__value span { font-size: 0.875rem; font-weight: 400; }

/* ===== SECTION HEADING ===== */
.section-heading { margin-bottom: 2rem; }
.section-heading--center { text-align: center; }
.section-heading h2 { margin-top: 0.25rem; }

/* ===== PROMISE SECTION ===== */
.promise {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}

.promise h2 { margin: 0.25rem 0 1rem; }
.promise p  { max-width: 520px; margin: 0 auto; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 4rem 0; text-align: center; }
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p  { margin-bottom: 2rem; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-footer__logo-icon {
  width: 28px;
  height: 28px;
  background: var(--green-main);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__logo-icon svg { width: 16px; height: 16px; fill: #fff; }
.site-footer__logo span { font-size: 0.75rem; color: var(--text-sub); }
.site-footer__copy { font-size: 0.6875rem; color: var(--text-sub); }

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__links a {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-decoration: none;
}

.site-footer__links a:hover { color: var(--green-main); text-decoration: underline; }

/* ===== COMPANY PAGE ===== */
.philosophy-block {
  border-left: 3px solid var(--green-main);
  padding: 1rem 1.5rem;
  background: var(--green-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1rem;
}

.philosophy-block h3 { font-size: 1.125rem; color: var(--green-dark); margin-bottom: 4px; }
.philosophy-block p  { color: var(--green-mid); font-size: 0.875rem; }

.tagline-3ds {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--green-pale);
}

.tagline-3ds__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--green-main);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.tagline-3ds__items {
  font-size: 0.8125rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
  font-style: italic;
}

.company-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table td { padding: 14px 0; vertical-align: top; line-height: 1.7; }
.company-table td:first-child { color: var(--text-sub); width: 150px; }
.company-table td:last-child { font-weight: 400; }

/* ===== ACCESS PAGE ===== */
.access-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.access-card__map {
  background: var(--green-pale);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-card__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-card__body { padding: 1.25rem; }
.access-card__zip  { font-size: 0.8125rem; font-weight: 500; margin-bottom: 4px; }
.access-card__addr { font-size: 0.8125rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 12px; }

.access-card__access {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.access-card__maplink {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--green-main);
  font-weight: 600;
}

.access-card__maplink:hover { text-decoration: underline; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-method {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-method__icon { margin-bottom: 1rem; }

.contact-method h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.contact-method p {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.contact-method__btn { display: inline-block; }

.contact-method__address {
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  font-size: 0.8rem !important;
  color: #888 !important;
}

.contact-tel-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-tel__label { font-size: 0.75rem; color: var(--text-sub); }

.contact-tel__number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: 0.02em;
}

.contact-tel__number:hover { text-decoration: none; color: var(--green-dark); }

/* ===== HOME PAGE ===== */
.hero {
  background: var(--green-light);
  padding: 5rem 0 4rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: var(--green-main);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero__sub {
  font-size: 0.9375rem;
  color: var(--green-mid);
  margin: 0 0 2.5rem;
  line-height: 1.9;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(59,109,17,0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-icon svg { width: 22px; height: 22px; fill: var(--green-main); }
.hero__card-title { font-size: 0.875rem; font-weight: 500; color: var(--text-main); margin: 0 0 2px; }
.hero__card-desc  { font-size: 0.75rem; color: var(--text-sub); margin: 0; line-height: 1.5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.25rem; }

  .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 1rem; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar__item:nth-child(2) { border-right: none; }
  .stats-bar__item:nth-child(3) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--border); }

  .contact-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

  .section { padding: 3rem 0; }
}

/* ===== STRENGTHS (front page) ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.strength-item {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.strength-item__num {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.strength-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.strength-item p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* ===== VOICE CARD (front page) ===== */
.voice-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(59,109,17,0.08);
}

.voice-card__quote {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.25rem;
  position: relative;
  padding: 0 1rem;
}

.voice-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--green-light);
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: 0.2em;
}

.voice-card__profile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.voice-card__name {
  font-weight: 700;
  color: var(--green-dark);
}

.voice-card__role {
  font-size: 0.82rem;
  color: #777;
}

/* ===== INTERVIEW PAGE ===== */
.interview-profile {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--green-light);
  border-left: 4px solid var(--green-main);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.interview-profile__badge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--green-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interview-profile__year {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.interview-profile__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}

.interview-profile__role {
  font-size: 0.85rem;
  color: var(--green-main);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.interview-profile__note {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.interview-qa {
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.interview-qa--alt {
  background: #fafff7;
}

.interview-qa__q {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--green-dark);
  color: #fff;
}

.interview-qa__q p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding-top: 2px;
}

.interview-qa__q-mark,
.interview-qa__a-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.interview-qa__q-mark {
  background: var(--green-main);
  color: #fff;
}

.interview-qa__a-mark {
  background: var(--green-light);
  color: var(--green-main);
}

.interview-qa__a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.interview-qa__a > div p {
  margin-bottom: 0.75rem;
}
.interview-qa__a > div p:last-child {
  margin-bottom: 0;
}

/* Atmosphere chart */
.atmosphere-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.atmosphere-item__bar {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  gap: 1rem;
}

.atmosphere-item__label-left,
.atmosphere-item__label-right {
  font-size: 0.8rem;
  color: #555;
}

.atmosphere-item__label-left { text-align: right; }
.atmosphere-item__label-right { text-align: left; }

.atmosphere-item__track {
  position: relative;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
}

.atmosphere-item__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--pos);
  background: linear-gradient(90deg, var(--green-light), var(--green-main));
  border-radius: 4px;
}

.atmosphere-item__dot {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 16px;
  height: 16px;
  background: var(--green-main);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.career-change-note {
  background: var(--green-light);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  text-align: center;
}

.career-change-note h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.career-change-note p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

@media (max-width: 768px) {
  .interview-profile { flex-direction: column; gap: 1rem; }
  .atmosphere-item__bar { grid-template-columns: 80px 1fr 80px; gap: 0.5rem; }
  .atmosphere-item__label-left,
  .atmosphere-item__label-right { font-size: 0.7rem; }
  .interview-qa__a { flex-direction: column; gap: 0.75rem; }
}
