/* BIGHEDGE 共通スタイル（赤・黒・白） */
:root {
  --red: #e60012;
  --red-dark: #b8000e;
  --black: #1d1a1a;
  --gray-900: #2b2828;
  --gray-600: #5f5a5a;
  --gray-300: #d9d6d6;
  --gray-100: #f5f4f4;
  --white: #ffffff;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  /* 内容が短いページでもフッターを画面下端に置く */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--red); }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--white);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo { display: block; line-height: 0; }
.logo img { width: 210px; }

.nav-toggle { display: none; }

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- ヒーロー／ページタイトル ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  width: 320px;
  background: var(--red);
  transform: skewX(-18deg);
  opacity: 0.9;
}

.hero .container { position: relative; z-index: 1; }

.hero-label {
  display: inline-block;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.4;
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #dcd8d8;
}

.page-title {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
  border-bottom: 4px solid var(--red);
}

.page-title .en {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.page-title h1 { margin: 4px 0 0; font-size: 30px; }

/* ---------- セクション ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--gray-100); }

.section-head { margin: 0 0 40px; text-align: center; }

.section-head .en {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-head h2 { margin: 4px 0 0; font-size: 26px; }

.section-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--red);
}

/* ---------- 事業カード ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 4px solid var(--red);
}

.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body { padding: 24px 28px 32px; }

.card .icon { width: 44px; height: 44px; color: var(--red); }

.card h3 { margin: 12px 0 8px; font-size: 19px; line-height: 1.5; }

.card p { margin: 0; color: var(--gray-600); font-size: 15px; }

.more { margin: 40px 0 0; text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: var(--white);
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--red-dark); }

.btn.outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn.outline:hover { background: var(--black); color: var(--white); }

/* ---------- 事業内容ページ ---------- */
.service {
  display: grid;
  grid-template-columns: 88px 1fr 320px;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-300);
}

.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; }

.service-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service .icon-box {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
}

.service .icon-box svg { width: 48px; height: 48px; }

.service .num {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.service h2 { margin: 2px 0 12px; font-size: 22px; line-height: 1.5; }

.service p { margin: 0 0 12px; }

.service ul { margin: 0; padding: 0; list-style: none; }

.service li {
  position: relative;
  padding-left: 20px;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.tag {
  display: table;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

/* ---------- 概要テーブル ---------- */
.profile {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--black);
}

.profile th,
.profile td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--gray-300);
  text-align: left;
  vertical-align: top;
}

.profile th {
  width: 180px;
  background: var(--gray-100);
  font-weight: 700;
}

.message {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- フォーム ---------- */
.form { max-width: 720px; margin: 0 auto; }

.field { margin: 0 0 24px; }

.field label { display: block; margin: 0 0 8px; font-weight: 700; }

.req,
.opt {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  vertical-align: middle;
}

.opt { background: var(--gray-600); }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
  border-color: var(--red);
}

.field textarea { min-height: 220px; resize: vertical; }

.hint { margin: 6px 0 0; color: var(--gray-600); font-size: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  border-left: 4px solid var(--red);
  background: #fdeced;
}

.center { text-align: center; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--black);
  border-top: 4px solid var(--red);
  padding: 24px 0;
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #b5afaf;
  letter-spacing: 0.08em;
}

/* ---------- タブレット ---------- */
@media (max-width: 1000px) {
  .service { grid-template-columns: 88px 1fr; }
  .service-photo { grid-column: 2; max-width: 480px; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }

  .site-header .container { min-height: 60px; flex-wrap: wrap; }
  .logo img { width: 160px; }

  .nav-toggle {
    display: block;
    padding: 8px 10px;
    background: none;
    border: 1px solid var(--gray-300);
    color: var(--black);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .site-nav { display: none; flex-basis: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 8px; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--gray-300); }
  .site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--gray-300); }

  .hero { padding: 64px 0 72px; }
  .hero::after { width: 48px; right: -24px; }

  .page-title { padding: 36px 0; }
  .page-title h1 { font-size: 24px; }

  .section { padding: 56px 0; }
  .section-head h2 { font-size: 22px; }

  .service { grid-template-columns: 1fr; gap: 16px; }
  .service-photo { order: -1; grid-column: auto; max-width: none; }
  .service .icon-box { width: 64px; height: 64px; }
  .service .icon-box svg { width: 36px; height: 36px; }
  .service h2 { font-size: 19px; }

  .profile th,
  .profile td { display: block; width: 100%; }
  .profile th { padding: 12px 16px; border-bottom: 0; }
  .profile td { padding: 12px 16px 20px; }


}
