/* ============================================================
   HRJ Inc. — Website Stylesheet
   Color palette matches PowerPoint brochure (C-plan)
   ============================================================ */

:root {
  --dark:  #193232;
  --navy:  #1A4545;
  --blue:  #00AFFA;
  --teal:  #32C896;
  --mint:  #FA3296;
  --lbkg:  #F0FBF7;
  --white: #FFFFFF;
  --tdark: #193232;
  --tmid:  #3A5555;
  --tlight:#6A9090;
  --line:  #C0E8E0;
  --orange:#F28C28;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--tdark);
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--dark);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 1.5rem; height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 36px; width: 36px; object-fit: contain; }
.nav-name { color: var(--teal); font-weight: 600; font-size: 1rem; }
.nav-links {
  display: flex; gap: 1.5rem;
  list-style: none; margin-left: auto;
}
.nav-links a {
  color: var(--line); font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--teal); }

/* ── 言語切り替えボタン（大きめ・目立つ） ── */
.lang-toggle {
  background: var(--teal); color: var(--dark);
  border: none; border-radius: 6px;
  padding: 0.5rem 1.4rem; font-weight: 700;
  cursor: pointer; font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(50,200,150,0.4);
  transition: background 0.2s, transform 0.1s;
}
.lang-toggle:hover { background: #28b082; transform: translateY(-1px); }

.hamburger {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.5rem; cursor: pointer;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}
.hero-left {
  flex: 1;
  padding: 4rem 4rem 2rem;
  max-width: 52%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-right {
  position: absolute;
  right: 0; top: 60px;
  width: 46%;
  height: calc(100vh - 60px);
  overflow: hidden;
  border-left: 4px solid var(--teal);
}
.hero-right .hero-bg-logo {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── ヒーローバッジエリア ── */
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.hero-tag {
  display: inline-block;
  background: var(--teal); color: var(--white);
  font-size: 0.85rem; font-weight: 700;
  padding: 0.3rem 1.2rem;
  border-radius: 2px;
}
.hero-tag-uec {
  background: #003087;
  border: 1px solid #4A90D9;
}

.hero-company {
  color: var(--teal); font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.hero-title {
  color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 1.2rem;
}
.hero-tagline {
  color: var(--line); font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hero-divider {
  width: 80px; height: 3px;
  background: var(--teal);
  margin-bottom: 1rem;
}
.hero-sub {
  color: var(--tlight); font-size: 0.9rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal); color: var(--dark);
  padding: 0.7rem 1.8rem; border-radius: 4px;
  font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: #28b082; }
.btn-secondary {
  border: 2px solid var(--teal); color: var(--teal);
  padding: 0.7rem 1.8rem; border-radius: 4px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(50,200,150,0.1); }
.hero-footer {
  background: var(--navy);
  color: var(--line); font-size: 0.8rem;
  text-align: center; padding: 0.6rem 1rem;
  width: 100%; margin-top: auto;
  position: relative; z-index: 2;
}

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section-light { background: var(--lbkg); }
.section-dark  { background: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 0.8rem;
}
.section-title { font-size: clamp(1.5rem,2.5vw,2rem); color: var(--dark); }
.section-sub { color: var(--teal); font-size: 0.95rem; font-weight: 500; }

/* ── INTRO (新セクション) ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.intro-image-wrap { position: relative; }
.intro-img {
  width: 100%; border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
}
.intro-img-caption {
  background: var(--teal); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  text-align: center;
}
.intro-lead {
  font-size: 0.95rem; color: var(--tmid);
  line-height: 1.8; margin-bottom: 1.5rem;
}
.feature-cards { display: flex; flex-direction: column; gap: 1rem; }
.feature-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-body { flex: 1; }
.feature-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.3rem;
}
.feature-desc { font-size: 0.85rem; color: var(--tmid); line-height: 1.6; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.about-table { display: flex; flex-direction: column; gap: 0.5rem; }
.about-row {
  display: grid; grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.about-label {
  background: var(--dark); color: var(--white);
  font-size: 0.9rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}
.about-value {
  padding: 0.4rem 1rem;
  font-size: 0.95rem; color: var(--tdark);
  display: flex; align-items: center;
}
.about-value-cert { align-items: center; }
.cert-badge {
  background: #EBF4FF;
  border: 1.5px solid #003087;
  color: #003087;
  font-weight: 700; font-size: 0.88rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}
.biz-areas { display: flex; flex-direction: column; gap: 0.5rem; }
.biz-header {
  background: var(--teal); color: var(--white);
  font-weight: 700; font-size: 1rem;
  text-align: center; padding: 0.6rem;
  border-radius: 4px 4px 0 0;
}
.biz-item {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--lbkg); border: 1px solid var(--line);
  padding: 0.5rem 0.8rem; border-radius: 2px;
}
.biz-num {
  background: var(--teal); color: var(--white);
  font-weight: 700; font-size: 0.85rem;
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; flex-shrink: 0;
}
.biz-title { font-weight: 600; font-size: 0.92rem; color: var(--dark); }
.biz-desc  { font-size: 0.8rem; color: var(--tlight); }

/* ── CEO ── */
.ceo-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 3rem;
}
.ceo-left { text-align: center; }
.ceo-photo-wrap {
  width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--teal);
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow);
}
.ceo-photo { width: 100%; height: 100%; object-fit: cover; }
.ceo-role { color: var(--teal); font-weight: 600; font-size: 0.95rem; }
.ceo-name { font-size: 1.4rem; font-weight: 700; margin: 0.3rem 0; }
.ceo-kana { color: var(--tlight); font-size: 0.85rem; margin-bottom: 0.8rem; }
.ceo-badge {
  background: var(--teal); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 0.8rem; border-radius: 4px;
  display: inline-block; margin-bottom: 0.8rem;
}
.ceo-sub { font-size: 0.82rem; color: var(--tmid); line-height: 1.6; }

.message-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}
.message-title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.message-divider {
  height: 2px; background: var(--teal);
  margin-bottom: 1rem;
}
.message-text { font-size: 0.92rem; color: var(--tdark); line-height: 1.8; }
.message-sign {
  text-align: right; font-weight: 600;
  font-size: 0.9rem; color: var(--navy);
  margin-top: 0.8rem;
}

.career-box {
  background: var(--lbkg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 4px; padding: 1rem 1.2rem;
}
.career-title {
  font-size: 0.95rem; color: var(--navy);
  font-weight: 700; margin-bottom: 0.6rem;
}
.career-list { list-style: none; }
.career-list li {
  font-size: 0.82rem; color: var(--tmid);
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line);
}
.career-list li:last-child { border-bottom: none; }
.career-current {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: flex; background: var(--lbkg);
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-3px); }
.service-num {
  width: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem; font-weight: 700;
  writing-mode: vertical-rl; letter-spacing: 0.1em;
}
.service-body { padding: 1.2rem 1.2rem; flex: 1; }
.service-title {
  font-size: 1rem; font-weight: 700;
  color: var(--dark); margin-bottom: 0.2rem;
}
.service-en {
  font-size: 0.78rem; color: var(--tlight);
  font-style: italic; margin-bottom: 0.5rem;
}
.service-divider {
  height: 2px; width: 40px;
  margin-bottom: 0.7rem;
}
.service-desc { font-size: 0.85rem; color: var(--tmid); margin-bottom: 0.8rem; }
.service-items { list-style: none; }
.service-items li {
  font-size: 0.82rem; color: var(--tdark);
  padding: 0.15rem 0;
}
.service-items li::before { content: "・"; color: var(--teal); }

/* ── STRENGTHS ── */
.strengths-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.strength-card {
  display: flex; gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow);
}
.strength-bar { width: 6px; flex-shrink: 0; }
.strength-content { padding: 1.2rem 1.4rem; }
.strength-title {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.strength-desc { font-size: 0.88rem; color: var(--tmid); line-height: 1.7; }

/* ── CONTACT ── */
.contact-inner {
  display: flex; min-height: 80vh;
  position: relative;
}
.contact-left {
  flex: 0 0 54%; padding: 4rem;
  display: flex; flex-direction: column;
}
.contact-right {
  flex: 0 0 46%; overflow: hidden;
  border-left: 4px solid var(--teal);
}
.contact-right .contact-bg-logo {
  width: 100%; height: 100%; object-fit: cover;
}
.contact-title {
  color: var(--white); font-size: 2rem;
  font-weight: 700; margin-bottom: 0.4rem;
}
.contact-sub { color: var(--teal); font-size: 1rem; margin-bottom: 0.8rem; }
.contact-divider {
  width: 80px; height: 3px;
  background: var(--teal); margin-bottom: 1.5rem;
}
.contact-items { flex: 1; margin-bottom: 1.5rem; }
.contact-row {
  display: flex; align-items: flex-start;
  gap: 0; padding: 0.6rem 0;
  border-bottom: 1px solid rgba(192,232,224,0.2);
}
.contact-label {
  color: var(--teal); font-weight: 600;
  font-size: 0.88rem; min-width: 100px;
  text-align: right; padding-right: 1rem;
}
.contact-val {
  color: var(--white); font-size: 0.95rem;
  border-left: 3px solid var(--teal);
  padding-left: 0.8rem;
}
.contact-val a { color: var(--white); }
.contact-val a:hover { color: var(--teal); }

/* ── メールボタン（オレンジ・大きめ） ── */
.contact-btn {
  display: inline-block;
  background: var(--orange); color: var(--white);
  font-weight: 700; font-size: 1.1rem;
  padding: 1rem 2.4rem; border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(242,140,40,0.5);
  letter-spacing: 0.03em;
}
.contact-btn:hover {
  background: #d97a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242,140,40,0.6);
}

.footer-bar {
  background: var(--navy); color: var(--line);
  font-size: 0.85rem; font-style: italic;
  padding: 0.8rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-style: normal; color: var(--tlight); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-right { display: none; }
  .hero-left { max-width: 100%; padding: 3rem 2rem; }
  .about-grid, .ceo-grid, .services-grid,
  .strengths-grid, .intro-grid { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; }
  .contact-left  { padding: 2.5rem 1.5rem; }
  .contact-right { display: none; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--dark); padding: 1rem 1.5rem;
    gap: 0.8rem;
  }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.6rem; }
  .section { padding: 3rem 0; }
  .about-row { grid-template-columns: 100px 1fr; }
  .ceo-grid { gap: 1.5rem; }
  .contact-btn { font-size: 1rem; padding: 0.9rem 1.8rem; }
}
