@charset "UTF-8";
/* ==========================================================================
   TOPページ固有スタイル（2カラム版）
   common.css → brand.css の後に読み込む
   ========================================================================== */

/* TOPは左カラムをやや広めに（ボタンが主役のため） */
.top-layout .sidebar { flex: 0 0 240px; }

/* ---- 左カラム：ナビボタン ---- */
.top-buttons { display: grid; gap: 14px; margin-bottom: 32px; }
.top-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: background .2s, transform .1s;
}
.top-btn:hover { background: var(--brand-dark); }
.top-btn:active { transform: translateY(1px); }
.top-btn .label { line-height: 1.3; }
.top-btn .en { display: block; font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.top-btn .ja { display: block; font-size: 12px; opacity: .9; }

/* アイコンはCSS図形で描く（絵文字は環境ごとに見え方が変わるため不使用） */
.top-btn .ic {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  position: relative;
}
.top-btn .ic::before,
.top-btn .ic::after { content: ""; position: absolute; }

/* SERVICE：ショッピングバッグ */
.ic-service::before {
  width: 17px; height: 14px; left: 10.5px; bottom: 9px;
  background: #fff; border-radius: 2px;
}
.ic-service::after {
  width: 11px; height: 8px; left: 13.5px; top: 10px;
  border: 2px solid #fff; border-bottom: none;
  border-radius: 7px 7px 0 0;
}
/* COMPANY：窓のあるビル */
.ic-company::before {
  width: 20px; height: 20px; left: 9px; top: 9px;
  background:
    linear-gradient(#fff,#fff) 4px 4px/3px 3px no-repeat,
    linear-gradient(#fff,#fff) 10px 4px/3px 3px no-repeat,
    linear-gradient(#fff,#fff) 4px 11px/3px 3px no-repeat,
    linear-gradient(#fff,#fff) 10px 11px/3px 3px no-repeat;
  box-shadow: inset 0 0 0 2px #fff;
  border-radius: 2px;
}
/* CONTACT：封筒 */
.ic-contact::before {
  width: 20px; height: 14px; left: 9px; top: 12px;
  border: 2px solid #fff; border-radius: 2px;
}
.ic-contact::after {
  width: 11px; height: 11px; left: 13.5px; top: 12px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ---- 左カラム：TOPICS ---- */
.top-topics-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}
.top-topics {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--bg-soft);
  padding: 14px 16px;
  font-size: 13px;
}
.top-topics dt { font-weight: 700; color: var(--brand); }
.top-topics dd { margin: 2px 0 12px; line-height: 1.6; }
.top-topics dd:last-child { margin-bottom: 0; }

/* ---- 右カラム：リード見出し ---- */
.top-lead {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.5;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--brand);
}

/* ---- 右カラム：メインの写真 ---- */
.top-hero-photo {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

/* ---- 右カラム：実績サマリー（ジョブカン店舗データから生成）---- */
.top-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.top-stat {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.top-stat .num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}
.top-stat .unit { font-size: 14px; font-weight: 700; color: var(--brand); }
.top-stat .cap { display: block; font-size: 12px; color: var(--text-sub); margin-top: 2px; }

/* ---- 右カラム：特長ブロック ---- */
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dotted var(--line);
}
.feature:last-child { border-bottom: none; }
.feature .feature-body { flex: 1 1 auto; min-width: 0; order: 1; }
.feature .feature-photo {
  flex: 0 0 130px;
  order: 2;
  border-radius: var(--radius);
}
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}
.feature p { font-size: 14px; line-height: 1.8; margin: 0; }

@media (max-width: 768px) {
  .top-layout .sidebar { width: 100%; }
  .top-buttons { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .top-btn { flex-direction: column; text-align: center; gap: 6px; padding: 14px 8px; }
}
@media (max-width: 600px) {
  .top-lead { font-size: 19px; }
  .top-stat .num { font-size: 22px; }
  .feature { flex-direction: column; gap: 12px; }
  .feature .feature-photo { flex: none; width: 160px; order: 0; }
}
@media (max-width: 420px) {
  .top-buttons { grid-template-columns: 1fr; }
  .top-btn { flex-direction: row; text-align: left; }
}
