
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  color: #111; background: #ffffff; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e5e5; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:32px}
.main-nav ul { display: flex; gap: 20px; list-style: none; }
.main-nav a { text-decoration: none; color: #111; font-weight: 600; padding: 6px 8px; border-radius: 6px; }
.main-nav a:hover, .main-nav a.active { background: #f2f2f2; }
.lang-select { margin-left: 12px; padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #111; }
.hero { position: relative; background: url('../assets/img/hero.png') center/cover no-repeat; }
.hero .overlay { background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.10) 100%); }
.hero-inner { min-height: 520px; display: flex; align-items: center; }
.hero-content { padding: 48px 0; }
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.hero p { font-size: 18px; color: #f0f0f0; margin-bottom: 24px; text-shadow: 0 1px 6px rgba(0,0,0,0.25); }
.cta-btn { display: inline-block; padding: 12px 20px; border: 1px solid #fff; color: #fff; text-decoration: none; border-radius: 8px; }
.cta-btn:hover { background: #fff; color: #111; }
.section { padding: 56px 0; border-top: 1px solid #f0f0f0; }
.section h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.section p.lead { font-size: 18px; margin-bottom: 24px; color: #333; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; background: #fff; }
.card img { width: 100%; height: auto; display: block; }
.card-body { padding: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: #444; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 20px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
ol.steps { counter-reset: step; }
ol.steps li { counter-increment: step; margin-left: 1rem; margin-bottom: 12px; }
ol.steps li::marker { content: counters(step, ".") ". "; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; border: 1px solid #e6e6e6; }
.table th, .table td { border: 1px solid #e6e6e6; padding: 12px; text-align: left; }
.table th { background: #fafafa; }
.faq-item { border-top: 1px solid #e6e6e6; padding: 16px 0; }
.faq-q { font-weight: 700; cursor: pointer; }
.faq-a { display: none; margin-top: 8px; color: #333; }
.faq-item.open .faq-a { display: block; }
form .form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px){ form .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; border: 1px solid #ccc; border-radius: 8px; padding: 10px; background: #fff; color: #111;
}
textarea { min-height: 160px; resize: vertical; }
button, .btn {
  display: inline-block; border: 1px solid #111; padding: 10px 16px; border-radius: 8px; background: #fff; color: #111; cursor: pointer;
}
button:hover, .btn:hover { background: #111; color: #fff; }
.site-footer { border-top: 1px solid #e5e5e5; padding: 24px 0; background: #fff; margin-top: 56px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer-cols ul { list-style: none; }
.footer-cols a { text-decoration: none; color: #111; }
.copyright { margin-top: 16px; color: #666; font-size: 14px; }
@media (max-width: 992px){ .cards, .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){
  .cards, .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-inner { min-height: 420px; }
}

/* v5.1: accessibility helper */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.logo img{height:32px;display:block}

/* 事業内容カードを常に2列にする */
.cards--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
}

/* スマホでは1列に落とす（任意） */
@media (max-width: 640px){
  .cards--two { grid-template-columns: 1fr !important; }
}

/* テーブル内の箇条書きのインデントを広げる */
.table td ul{
  padding-left: 1.5rem;   /* 24pxくらい。足りなければ 2rem に */
  margin-left: 0;
  list-style-position: outside;
}
.table td li{ margin: .25rem 0; } /* 行間整える（任意） */


/* 採用テーブル：特定見出しだけ改行禁止にする */
.table th[data-i18n="recruit_meta.labels.type"],
.table th[data-i18n="recruit_meta.labels.time"],
.table th[data-i18n="recruit_meta.labels.stack"],
.table th[data-i18n="recruit_meta.labels.benefits"]{
  white-space: nowrap;      /* 1行固定 */
  word-break: keep-all;     /* 日中韓の任意改行も抑制 */
}

/* 画面が極端に狭い場合は折り返し許可（任意） */
@media (max-width: 480px){
  .table th[data-i18n="recruit_meta.labels.type"],
  .table th[data-i18n="recruit_meta.labels.time"],
  .table th[data-i18n="recruit_meta.labels.stack"],
  .table th[data-i18n="recruit_meta.labels.benefits"]{
    white-space: normal;
  }
}
