/* ============================================================
   company.css - 企業情報 単一ページ（Figma 185:4607 準拠）
   ============================================================ */

/* ──────────────────────────────────────────
   Hero（会社概要-ファーストビュー / 185:4627）
────────────────────────────────────────── */
.company-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 718;
  min-height: 360px;
  overflow: hidden;
  background: #0b1a33;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 2段のオーバーレイ（rgba(0,0,0,0.2) + rgba(0,0,0,0.3)） */
.company-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.company-hero__content {
  position: absolute;
  inset: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1280px) {
  .company-hero__content {
    padding: 0;
  }
}

.company-hero__ja {
  position: absolute;
  left: 20px;
  bottom: 34%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  color: #ffffff;
  line-height: 1;
  margin: 0;
}

@media (min-width: 1280px) {
  .company-hero__ja {
    left: 140px;
    bottom: 25.5%; /* y=514 / 718 */
  }
}

.company-hero__en {
  position: absolute;
  left: 20px;
  bottom: 8%;
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9.7vw, 140px);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.07em; /* -9.8px / 140px */
  margin: 0;
}

@media (min-width: 1280px) {
  .company-hero__en {
    left: 115px;
    bottom: 5.2%; /* y=540+141 = 681 / 718 */
  }
}

.company-hero__nav {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: none;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  line-height: 30px;
}

@media (min-width: 1024px) {
  .company-hero__nav {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .company-hero__nav {
    left: 806px;
    right: auto;
    bottom: 11%; /* y=639 / 718 */
    gap: 24px;
  }
}

.company-hero__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ──────────────────────────────────────────
   イントロ（Frame 1000004283 / 185:4637）
────────────────────────────────────────── */
.company-intro {
  position: relative;
  background: #ffffff;
  padding: 60px 20px;
  overflow: hidden;
}

@media (min-width: 1280px) {
  .company-intro {
    padding: 118px 0 205px;
    min-height: 1022px;
  }
}

.company-intro__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .company-intro__inner {
    grid-template-columns: 1fr auto;
    gap: 0;
    position: relative;
  }
}

.company-intro__content {
  padding-left: 0;
}

@media (min-width: 1280px) {
  .company-intro__content {
    padding-left: 118px;
    width: 680px;
  }
}

.company-intro__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 44px);
  color: #002f7c;
  line-height: 1.6;
  margin: 0 0 32px;
}

@media (min-width: 1280px) {
  .company-intro__title {
    line-height: 1.6;
    margin-bottom: 60px;
  }
}

.company-intro__body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.25vw, 18px);
  color: #002f7c;
  line-height: 1.94; /* 35 / 18 */
  letter-spacing: 0.2em; /* 3.6/18 */
  text-align: justify;
  width: 100%;
  max-width: 428px;
  margin: 0 0 48px;
}

@media (min-width: 1280px) {
  .company-intro__body {
    margin-bottom: 100px;
    width: 428px;
  }
}

.company-intro__body p {
  margin: 0 0 0;
  line-height: 1.94;
}

.company-intro__motto {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 44px);
  color: #002f7c;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 1280px) {
  .company-intro__motto {
    line-height: 1.62;
  }
}

.company-intro__photo {
  width: 100%;
  max-width: 682px;
  aspect-ratio: 682 / 453;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .company-intro__photo {
    position: absolute;
    right: 0;
    top: 246px;
    width: 682px;
  }
}

.company-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ──────────────────────────────────────────
   Top Message（185:4641）
────────────────────────────────────────── */
.top-message {
  position: relative;
  background: #ffffff;
  padding: 52px 20px 80px;
}

@media (min-width: 1280px) {
  .top-message {
    padding: 52px 0 80px;
    min-height: 928px;
  }
}

.top-message__inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.top-message__header {
  padding-left: 0;
}

@media (min-width: 1280px) {
  .top-message__header {
    padding-left: 101px;
  }
}

.top-message__eyebrow {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 6.5vw, 96px);
  color: #0962AB;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 0 0 12px;
}

.top-message__title {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  color: #000000;
  line-height: 1.07;
  margin: 0 0 40px;
}

.top-message__body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  color: #333333;
  line-height: 1.78; /* 50/28 */
  text-align: justify;
  max-width: 1200px;
  margin: 0 auto;
}

.top-message__body p {
  margin: 0 0 28px;
  line-height: 1.78;
}

.top-message__body p:last-child {
  margin-bottom: 0;
}

.top-message__sign {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

@media (min-width: 1280px) {
  .top-message__sign {
    padding: 0;
    margin-top: 60px;
    padding-right: 120px;
  }
}

.top-message__role {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.67vw, 24px);
  color: #333333;
  letter-spacing: 0.1em;
}

.top-message__name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.3vw, 48px);
  color: #333333;
  letter-spacing: 0.1em;
}

/* ──────────────────────────────────────────
   会社概要 Outline（185:4660）
────────────────────────────────────────── */
.company-outline {
  position: relative;
  background: #ffffff;
  padding: 35px 20px 80px;
}

@media (min-width: 1280px) {
  .company-outline {
    padding: 35px 0 120px;
  }
}

.company-outline__inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.company-outline__mega {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.66vw, 96px);
  color: #0962AB;
  letter-spacing: -0.07em; /* -6.72/96 */
  line-height: 1;
  margin: 0 0 8px;
  padding-left: 0;
}

@media (min-width: 1280px) {
  .company-outline__mega {
    padding-left: 117px;
  }
}

.company-outline__label {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 30px;
  margin: 0 0 40px;
  padding-left: 0;
}

@media (min-width: 1280px) {
  .company-outline__label {
    padding-left: 127px;
    margin-bottom: 80px;
  }
}

.company-outline__list {
  margin: 0;
  padding: 0 0 0 0;
  border-top: 1px solid #D9D9D9;
  max-width: 1200px;
}

@media (min-width: 1280px) {
  .company-outline__list {
    margin-left: 118px;
  }
}

.outline-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  padding: 22px 20px 22px 106px;
  border-bottom: 1px solid #D9D9D9;
}

@media (max-width: 767px) {
  .outline-row {
    grid-template-columns: 100px 1fr;
    padding: 18px 0;
  }
}

.outline-row dt {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #204E9A;
  line-height: 30px;
  margin: 0;
}

.outline-row dd {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222222;
  line-height: 30px;
  margin: 0;
}

.outline-row__multi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 40px;
}

@media (min-width: 768px) {
  .outline-row__multi {
    grid-template-columns: 240px 240px;
  }
}

.outline-row__multi > div {
  white-space: pre-line;
}

.outline-address {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .outline-address {
    grid-template-columns: 72px auto;
    gap: 0 96px;
    align-items: baseline;
  }
}

.outline-address__label {
  font-weight: 400;
}

.outline-banks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .outline-banks {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 24px;
  }
}

.outline-banks__col {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

/* ── 主要取引先 ── */
.outline-row--clients dd {
  padding-top: 4px;
}

.outline-clients {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outline-clients__category {
  /* each category block */
}

.outline-clients__cat-name {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #204E9A;
  line-height: 30px;
  margin: 0 0 4px;
  padding-left: 14px;
  position: relative;
}

.outline-clients__cat-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 10px;
  background: #204E9A;
  border-radius: 1px;
}

.outline-clients__cat-body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222222;
  line-height: 30px;
  margin: 0;
}

/* ── 決算情報ボタン ── */
.outline-financial-btn {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  background: #204E9A;
  padding: 8px 28px;
  border-radius: 4px;
  text-decoration: none;
  line-height: 30px;
  transition: background 0.2s;
}

.outline-financial-btn:hover {
  background: #0962AB;
}

/* ──────────────────────────────────────────
   拠点一覧（185:4726）
────────────────────────────────────────── */
.locations {
  position: relative;
  background: #ffffff;
  padding: 44px 20px 100px;
}

@media (min-width: 1280px) {
  .locations {
    padding: 44px 0 120px;
  }
}

.locations__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.locations__mega {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.66vw, 96px);
  color: #0962AB;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 0 0 8px;
}

@media (min-width: 1280px) {
  .locations__mega {
    padding-left: 120px;
  }
}

.locations__label {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 30px;
  margin: 0 0 48px;
}

@media (min-width: 1280px) {
  .locations__label {
    padding-left: 130px;
    margin-bottom: 100px;
  }
}

.locations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .locations__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
  }
  .location-card {
    max-width: none;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .location-card__media {
    width: 124px;
    min-width: 124px;
    aspect-ratio: 124 / 95;
    border-radius: 16px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  }
  .location-card__body {
    padding: 0;
    gap: 2px;
    flex: 1;
  }
  .location-card__name {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #1A1A1A;
    margin-bottom: 2px;
  }
  .location-card__zip {
    font-size: 13px;
    line-height: 24px;
  }
  .location-card__address {
    font-size: 13px;
    line-height: 20px;
  }
  .location-card__iso {
    font-size: 10px;
    line-height: 20px;
    margin-top: 2px;
  }
}

@media (min-width: 640px) {
  .locations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .locations__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .locations__grid {
    grid-template-columns: repeat(4, 300px);
    gap: 20px;
    justify-content: center;
  }
}

.location-card {
  width: 100%;
  max-width: 300px;
  min-height: 400px;
  border-radius: 20px;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.location-card__media {
  width: 100%;
  aspect-ratio: 300 / 230;
  background: #D9D9D9;
  overflow: hidden;
  position: relative;
}

.location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-card__media--hq {
  background: #1d51ad;
}

.location-card__media--hq::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1d51ad 0%, #0962AB 100%);
}

.location-card__body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.location-card__name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #1a1a1a;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0;
}

.location-card__zip {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222222;
  line-height: 30px;
  margin: 0;
}

.location-card__address {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222222;
  line-height: 22px;
  margin: 0;
}

.location-card__iso {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #222222;
  line-height: 20px;
  margin: 4px 0 0;
  white-space: pre-line;
}

/* ──────────────────────────────────────────
   沿革（History / 1109:495）
────────────────────────────────────────── */
.history {
  position: relative;
  background: #ffffff;
}

.history__header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 67px 20px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 1280px) {
  .history__header {
    padding: 67px 120px 40px;
  }
}

.history__title-wrap {
  display: flex;
  flex-direction: column;
}

.history__mega {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.66vw, 96px);
  color: #0962AB;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 0 0 8px;
}

.history__label {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  line-height: 30px;
  margin: 0;
}

.history__download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #0962AB;
  color: #ffffff;
  padding: 32px 40px;
  min-width: 320px;
  text-decoration: none;
  transition: background 0.2s;
}

@media (min-width: 1024px) {
  .history__download {
    min-width: 516px;
    padding: 42px 56px;
  }
}

.history__download:hover {
  background: #204E9A;
}

.history__download span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 35px);
  line-height: 1;
}

.history__download svg {
  flex-shrink: 0;
}

.history__block {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  min-height: 640px;
}

.history__block-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.history__block-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.history__block--light .history__block-overlay {
  background: rgba(255, 255, 255, 0.3);
}

.history__block-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .history__block-inner {
    grid-template-columns: 420px 1fr;
    padding: 60px 120px;
    min-height: 640px;
  }
}

.history__year-range {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history__year-range span {
  font-family: var(--font-futura), "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 8.3vw, 120px);
  line-height: 0.85;
  color: #ffffff;
  letter-spacing: -0.04em;
  display: block;
}

.history__year-range hr {
  width: 0;
  height: 65px;
  border: none;
  border-left: 2px solid #ffffff;
  margin: 0 0 0 50px;
  align-self: flex-start;
}

.history__events {
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  row-gap: 18px;
  color: #333333;
}

@media (min-width: 1024px) {
  .history__events {
    padding: 48px 56px;
  }
}

.history__events dt {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: #333333;
  margin: 0;
  white-space: nowrap;
  position: relative;
  padding-right: 24px;
}

.history__events dt::after {
  content: '';
  position: absolute;
  right: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: #333333;
}

.history__events dd {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: #333333;
  margin: 0;
  padding-left: 12px;
}

.history__events dd a {
  color: #333333;
  text-decoration: underline;
}

.history__events dd a:hover {
  color: #0962AB;
}

/* ============================================================
   沿革 BEM 修飾子（年次別の識別子。
   共通の .history__block スタイルを継承し、必要な微調整のみ記述）
   ============================================================ */
.history__block--1929,
.history__block--2003,
.history__block--2017 {
  /* 基本 .history__block をそのまま利用。
     年次別の背景画像は各 HTML の <img class="history__block-bg"> で切り替え。 */
}

/* ============================================================
   Animations
   ============================================================ */

/* ── Hero: ページ読み込み時 CSS keyframes ── */
@keyframes co-hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@keyframes co-fade-up-hero {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes co-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.company-hero__bg {
  animation: co-hero-zoom 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.company-hero__overlay {
  animation: co-overlay-in 1.6s ease both;
}
.company-hero__ja {
  animation: co-fade-up-hero 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s both;
}
.company-hero__en {
  animation: co-fade-up-hero 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}
.company-hero__nav-col:nth-child(1) {
  animation: co-fade-up-hero 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.15s both;
}
.company-hero__nav-col:nth-child(2) {
  animation: co-fade-up-hero 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.28s both;
}
.company-hero__nav-col:nth-child(3) {
  animation: co-fade-up-hero 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.41s both;
}

/* ── スクロール発火: ベースクラス ── */
.co-anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity  0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.co-anim-right {
  opacity: 0;
  transform: translateX(52px);
  transition:
    opacity  1.05s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.co-anim-up.is-visible,
.co-anim-right.is-visible {
  opacity: 1;
  transform: none;
}

/* ── アクセシビリティ: モーション低減 ── */
@media (prefers-reduced-motion: reduce) {
  .company-hero__bg,
  .company-hero__overlay,
  .company-hero__ja,
  .company-hero__en,
  .company-hero__nav-col {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .co-anim-up,
  .co-anim-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   企業情報 モバイルレスポンシブ対応
   ============================================================ */
@media (max-width: 767px) {
  .company-hero { height: 400px; }
  .company-hero__ja { bottom: 22%; }
  .company-hero__en { font-size: 56px; bottom: 8%; }

  .company-intro { padding: 40px 16px; }
  .company-intro__body {
    max-width: 100%;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.8;
    text-align: left;
  }
  .company-intro__body p {
    display: inline;
  }
  .company-intro__motto { font-size: 20px; }

  .top-message { padding: 40px 0; }
  .top-message__inner { padding: 0 16px; }
  .top-message__body { font-size: 15px; }

  .company-outline { padding: 48px 0; }
  .company-outline__inner { padding: 0 16px; }
  .outline-table { padding: 0 16px; }
  .outline-row { padding: 18px 16px; grid-template-columns: 100px 1fr; }

  .locations { padding: 40px 0 48px; }
  .locations__inner { padding: 0 16px; }

  .outline-row--clients { grid-template-columns: 1fr; }
  .outline-row--clients dt { margin-bottom: 8px; }
  .outline-clients { gap: 16px; }
  .outline-clients__cat-body { font-size: 14px; line-height: 26px; }

  .outline-financial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 6px;
    letter-spacing: 0.04em;
  }
  .outline-financial-btn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .history { padding: 0 0 48px; }
  .history__header { padding: 40px 16px 32px; }
  .history__block { min-height: 400px; }
  .history__block-inner { padding: 28px 16px 40px; }

  /* 年数レンジ：モバイルでは横並び（PC は縦並び維持）。
     hr も縦線（width:0/height:65/border-left）から横線へ転換 */
  .history__year-range {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .history__year-range span { font-size: 40px; }
  .history__year-range hr {
    width: 40px;
    height: 0;
    border-left: none;
    border-top: 2px solid #ffffff;
    margin: 0;
    align-self: center;
  }

  /* デフォルト padding: 32px は 375px の card 内 dt+dd を圧迫するため縮小 */
  .history__events { padding: 20px 16px; row-gap: 12px; column-gap: 16px; }
  .history__events dt { font-size: 12px; line-height: 1.6; padding-right: 16px; }
  .history__events dt::after { top: 10px; width: 8px; }
  .history__events dd { font-size: 12px; line-height: 1.6; padding-left: 8px; }
  .history__download { min-width: 100%; padding: 20px 24px; }
}

/* (max-width: 639px) の location-card スタイルは上部のモバイルリスト化ブロックに統合済み */

/* ============================================================
   360px (Android小型端末) 専用調整
   ============================================================ */
@media (max-width: 480px) {
  .company-hero__en { font-size: 48px; }
  .company-intro__title { font-size: 22px; }
  .company-intro__motto { font-size: 18px; }

  .company-outline__inner { padding: 0 12px; }
  .outline-row { padding: 14px 0; grid-template-columns: 80px 1fr; }
  .outline-row dt { font-size: 14px; }
  .outline-row dd { font-size: 14px; }
  .outline-clients__cat-body { font-size: 13px; line-height: 24px; }

  .history__download { padding: 16px 20px; }
  .history__download span { font-size: 18px; }
}
