@charset "UTF-8";
/* =========================================================
   会社概要（page-company.php）専用スタイル
   代表挨拶 / 会社概要テーブル / 保有機械 / アクセス
   ========================================================= */

/* ===== 会社概要：シルバーベースのページヘッダー ===== */
.ph-company .ph-bg {
  background: linear-gradient(115deg, rgba(40, 46, 58, 0.9), rgba(124, 135, 148, 0.55)), var(--silver-dark);
  background-size: cover;
  background-position: center;
}

.ph-company .page-hero-inner .en {
  color: #e3e9f0;
}

.ph-company .page-hero-inner .en::before {
  background: #e3e9f0;
}

.ph-company .page-hero-inner h1 {
  background-image: linear-gradient(120deg, #fff, #e3e9f0 40%, #fff 60%, #c4cdd6);
}

/* ===== 代表挨拶（シルバーの章） ===== */
#greeting {
  background: linear-gradient(90deg, var(--white) 46%, rgba(140, 150, 163, 0.12));
}

.greet-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

/* 代表者写真なしのとき：1カラム中央寄せ */
.greet-grid.no-visual {
  display: block;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.greet-grid.no-visual .greet-body .bar {
  margin-inline: auto;
}

.greet-grid.no-visual .greet-body .sign {
  text-align: right;
}

.greet-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  background: linear-gradient(160deg, #c4cdd6, #8b96a3);
  box-shadow: 0 16px 40px rgba(124, 135, 148, 0.3);
}

.greet-visual .frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.greet-body .en {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.5rem;
}

.greet-body .bar {
  width: 50px;
  height: 3px;
  background: var(--grad-silver);
  margin: 10px 0 22px;
  border-radius: 2px;
}

.greet-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2f3945;
  margin-bottom: 18px;
  line-height: 1.5;
}

.greet-body h3 .gold {
  background-image: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.greet-body p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 16px;
}

.greet-body .sign {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #555;
}

.greet-body .sign strong {
  font-size: 1.3rem;
  color: var(--ink);
  margin-left: 10px;
}

/* ===== 会社概要テーブル（ブルーの章） ===== */
#outline {
  background: var(--white);
}

.outline-table {
  max-width: 880px;
  margin: 0 auto;
  border-top: 2px solid var(--silver-dark);
}

.outline-table dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--silver-light);
}

.outline-table dt {
  padding: 20px 24px;
  font-weight: 700;
  color: #4a5560;
  background: var(--paper);
  font-size: 0.92rem;
}

.outline-table dd {
  padding: 20px 24px;
  font-size: 0.92rem;
  color: #333;
}

/* ===== 保有機械（ゴールドの章） ===== */
#machines {
  background: var(--paper);
}

.machine-table {
  max-width: 960px;
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 79, 208, 0.08);
}

.machine-table th {
  background: linear-gradient(135deg, #5b6570, #8b96a3);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}

.machine-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--silver-light);
}

.machine-table tr:hover td {
  background: #fafcff;
}

.machine-table .type {
  font-weight: 700;
  color: #4a5560;
}

.machine-scroll {
  width: 100%;
}

/* 横スクロールの案内（PCでは非表示） */
.machine-scroll-hint {
  display: none;
}

/* ===== アクセス（ブルーの章） ===== */
#access {
  background: var(--white);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.access-map {
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  background: #e8eef5;
  position: relative;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-info h3 {
  font-size: 1.2rem;
  color: #3a4653;
  font-weight: 800;
  margin-bottom: 18px;
}

.access-info .row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--silver-light);
  font-size: 0.92rem;
}

.access-info .row i {
  color: var(--silver-dark);
  margin-top: 4px;
  width: 20px;
  text-align: center;
}

.access-info .label {
  color: #888;
  min-width: 70px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .greet-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  /* 会社概要の項目：縦積みにして本文を全幅で見やすく */
  .outline-table dl {
    grid-template-columns: 1fr;
  }

  .outline-table dt {
    padding: 12px 16px 4px;
  }

  .outline-table dd {
    padding: 2px 16px 16px;
  }

  /* 保有機械：横スクロールで列幅を確保（折り返さない） */
  .machine-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 79, 208, 0.08);
  }

  .machine-table {
    min-width: 620px;
    font-size: 0.86rem;
    box-shadow: none;
  }

  .machine-table th,
  .machine-table td {
    padding: 12px 12px;
    white-space: nowrap;
  }

  .machine-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: #999;
    margin-top: 8px;
  }
}
