@charset "UTF-8";

/* ============================================================
   会社情報（Our Company）index
   - デザイン基準：PC 1280px
   - SP はレイアウトが崩れない範囲で縮小・段組み変更
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
h1, h2, h3, h4, h5, h6, p, figure, dl, dd {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Tokens ---------- */
:root {
  --c-navy: #0c1d3d;
  --c-card: #f5f5f5;
  --c-subbar: #d9d9d9;
  --c-white: #fff;

  --ff-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "游ゴシック", "Meiryo", sans-serif;
  --ff-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-en-head: "Avenir Next", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* PCデザイン幅 */
  --page-w: 1280px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-jp);
  color: var(--c-navy);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ページは横幅いっぱい（ヘッダー・ヒーロー・フッターはフルブリード、
   コンテンツのみ中央寄せ） */
.page {
  background: #fff;
}

/* ---------- Global header / footer（画像・帯はフル幅、中身は中央 max1280） ---------- */
.site-header {
  width: 100%;
  background: #fff;
}
.site-footer {
  width: 100%;
  background: #14133b;
}
.site-header img,
.site-footer img {
  display: block;
  width: 100%;
  max-width: var(--page-w);
  height: auto;
  margin: 0 auto;
}

/* ヘッダーとヒーローの間のパンくず帯（フル幅） */
.subbar {
  width: 100%;
  background: var(--c-subbar);
}
.subbar__inner {
  max-width: var(--page-w);
  margin: 0 auto;
  min-height: 25px;
  display: flex;
  align-items: center;
  padding: 0 47px;
}
.breadcrumb {
  font-family: var(--ff-jp);
  font-size: 10px;
  line-height: 1.4;
  color: #000;
}
.breadcrumb__home {
  font-weight: 300;
  color: #000;
}

/* ---------- Hero（フル幅・背景カバー） ---------- */
.hero {
  position: relative;
  width: 100%;
  height: clamp(180px, 22.6vw, 340px);
  background: url("../images/hero.jpg") center center / cover no-repeat;
}
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-white);
}
.hero__title {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.hero__sub {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  margin-top: 6px;
}

/* ---------- Main content ---------- */
.content {
  padding: 55px 0 150px;
}
.content__inner {
  width: 835px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.content__lead-en {
  font-family: var(--ff-en-head);
  font-weight: 700;
  font-size: 35px;
  line-height: 1.4;
  color: var(--c-navy);
}
.content__lead-jp {
  font-family: var(--ff-jp);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-navy);
  margin-top: 8px;
}

/* ---------- Category grid ---------- */
.cat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 23px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 263 / 191;
  padding: 16px;
  background: var(--c-card);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cat-card:hover,
.cat-card:focus-visible {
  background: #eceef1;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(12, 29, 61, 0.12);
}
.cat-card:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
}
.cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
}
.cat-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
/* 英語（主・大きく濃紺ボールド / Avenir Next 26px） */
.cat-card__label-en {
  font-family: var(--ff-en-head);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  color: var(--c-navy);
  text-align: center;
  overflow-wrap: anywhere;
}
/* 日本語（従・濃紺 W3 15px） */
.cat-card__label {
  font-family: var(--ff-jp);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-navy);
  text-align: center;
}

/* ============================================================
   Responsive（崩れ防止）
   ============================================================ */

/* 中〜小タブレット：3列を保ちつつ縮小 */
@media (max-width: 1024px) {
  .content {
    padding: 48px 0 96px;
  }
  .content__inner {
    width: 100%;
    max-width: calc(100% - 48px);
  }
  .cat-grid {
    margin-top: 40px;
    gap: 18px;
  }
}

/* タブレット縦・大スマホ */
@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(28px, 6.2vw, 50px);
  }
  .hero__sub {
    font-size: clamp(14px, 2.4vw, 20px);
  }
  .content {
    padding: 40px 0 72px;
  }
  .content__lead-en {
    font-size: clamp(22px, 4.4vw, 35px);
  }
  .content__lead-jp {
    font-size: clamp(14px, 2.2vw, 18px);
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cat-card__icon {
    width: 72px;
    height: 72px;
  }
  .cat-card__label-en {
    font-size: 22px;
  }
  .cat-card__label {
    font-size: 14px;
  }
}

/* スマホ */
@media (max-width: 480px) {
  .subbar__inner {
    min-height: 20px;
    padding: 0 20px;
  }
  .content {
    padding: 32px 0 56px;
  }
  .content__inner {
    max-width: calc(100% - 32px);
  }
  .cat-grid {
    gap: 12px;
  }
  .cat-card {
    border-radius: 14px;
    padding: 12px;
    gap: 8px;
  }
  .cat-card__icon {
    width: 56px;
    height: 56px;
  }
  .cat-card__label-en {
    font-size: 18px;
  }
  .cat-card__label {
    font-size: 12px;
  }
}
