/*
Theme Name: HIT Corporate Theme
Theme URI: https://hithit.jp
Author: H.I.T Inc.
Description: エイチ・アイ・ティ株式会社 コーポレートサイト カスタムテーマ v2.0
Version: 2.0
*/

/* ===== VARIABLES ===== */
:root {
  --primary: #b8151c;
  --primary-dark: #8f0f14;
  --primary-light: #e05a60;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --border: #e8e0e0;
  --bg-light: #faf6f6;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --en: 'Montserrat', sans-serif;
  /* 他テンプレートとの互換用エイリアス */
  --color-primary: var(--primary);
  --color-primary-light: var(--primary-light);
  --color-text-light: var(--text-light);
  --color-text-muted: var(--text-muted);
  --color-bg-light: var(--bg-light);
  --color-border: var(--border);
  --font-en: var(--en);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.3s;
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
p { margin: 0; padding: 0; }

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { height: 38px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-main { font-size: .82rem; font-weight: 700; color: #c4161d; letter-spacing: .03em; white-space: nowrap; }
.logo-text-sub { font-size: .48rem; color: #888; letter-spacing: .08em; white-space: nowrap; }
.nav-desktop { display: none; }
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: #fff;
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  font-weight: 500;
}
.mobile-menu .menu-cta {
  margin-top: 20px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-weight: 600;
  border-bottom: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_mobile.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
/* モバイル: 画像の縦横比に合わせてヒーロー高さを調整 */
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 960 / 1706;
    padding-bottom: 0;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.02) 0%,
    rgba(0,0,0,.01) 30%,
    rgba(0,0,0,.06) 55%,
    rgba(0,0,0,.20) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  color: #fff;
  width: 100%;
}
.hero-en {
  font-family: var(--en);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.hero-title span { display: block; color: #e8c4c0; }
.hero-desc {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin-bottom: 0;
  letter-spacing: .06em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: 3px;
  transition: .3s;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }

/* ===== SECTION BASE ===== */
.section { padding: 56px 20px; }
.section-bg { background: var(--bg-light); }
.sec-label {
  font-family: var(--en);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.sec-title { font-size: 1.5rem; margin-bottom: 10px; }
.sec-lead { font-size: .85rem; color: var(--text-light); line-height: 1.9; }

/* ===== BUSINESS CARDS ===== */
.biz-header { text-align: center; margin-bottom: 36px; }
.biz-grid { display: flex; flex-direction: column; gap: 16px; }
.biz-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.biz-card--featured { border: 2px solid var(--primary); }
.biz-img { overflow: hidden; height: 200px; }
.biz-img img { width: 100%; height: 100%; object-fit: cover; }
.biz-body { padding: 20px; }
.biz-tag {
  display: inline-block;
  font-family: var(--en);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.biz-tag--dark { background: #1a1a2e; }
.biz-new {
  display: inline-block;
  font-family: var(--en);
  font-size: .55rem;
  letter-spacing: .1em;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.biz-title { font-size: 1.1rem; margin-bottom: 8px; }
.biz-desc { font-size: .82rem; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.biz-link { font-size: .78rem; font-weight: 600; color: var(--primary); }
.biz-link::after { content: ' →'; }

/* ===== ASSESS DARK ===== */
.assess-section {
  background: #0f0f1a;
  color: #fff;
  padding: 56px 20px;
}
.assess-label {
  font-family: var(--en);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.assess-title { font-size: 1.5rem; line-height: 1.45; margin-bottom: 16px; }
.assess-title span { color: var(--primary-light); }
.assess-desc { font-size: .85rem; color: rgba(255,255,255,.72); line-height: 1.9; margin-bottom: 24px; }
.assess-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.assess-pt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
}
.assess-pt-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.assess-pt strong { display: block; font-size: .85rem; margin-bottom: 2px; }
.assess-pt span { font-size: .75rem; color: rgba(255,255,255,.55); }
.assess-img {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.assess-img img { width: 100%; height: 220px; object-fit: cover; }

/* ===== NEWS ===== */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-meta { display: flex; align-items: center; gap: 10px; }
.news-date { font-family: var(--en); font-size: .72rem; color: var(--text-muted); }
.news-cat {
  font-size: .65rem;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 1px 6px;
  border-radius: 2px;
}
.news-ttl { font-size: .88rem; color: var(--text); line-height: 1.6; }
.link-more { font-size: .78rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.link-more::after { content: ' →'; }

/* ===== PRESIDENT ===== */
.pres-inner { display: flex; flex-direction: column; gap: 28px; }
.pres-photo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  max-width: 160px;
  margin: 0 auto;
  flex-shrink: 0;
}
.pres-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.pres-label {
  font-family: var(--en);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.pres-name { font-size: 1.25rem; margin-bottom: 2px; }
.pres-pos { font-size: .75rem; color: var(--text-muted); margin-bottom: 18px; }
.pres-msg { font-size: .85rem; line-height: 2; color: var(--text-light); margin-bottom: 12px; }

/* ===== CTA ===== */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta-title { font-size: 1.4rem; margin-bottom: 12px; }
.cta-desc { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 28px; line-height: 1.85; }

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.65);
  padding: 48px 20px 24px;
}
.footer-company-name {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  letter-spacing: .03em;
  line-height: 1.4;
  display: block;
}
.footer-address {
  font-size: .78rem;
  line-height: 1.6;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.65);
  display: block;
}
.footer-nav { margin-bottom: 28px; }
.footer-nav h4 {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-nav a { font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .7rem;
  color: rgba(255,255,255,.3);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  header { padding: 0 40px; height: 72px; }
  .logo-mark { height: 56px; }
  .logo-text-main { font-size: 1.1rem; }
  .logo-text-sub { font-size: .6rem; }
  .hamburger { display: none; }
  .nav-desktop {
    display: flex;
    gap: 28px;
    align-items: center;
  }
  .nav-desktop a { font-size: .85rem; font-weight: 500; color: var(--text); }
  .nav-desktop a:hover { color: var(--primary); }
  .nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 2px;
    font-size: .8rem !important;
  }

  .hero {
    align-items: center;
    padding-bottom: 0;
    height: 100svh;
    min-height: 500px;
    max-height: 900px;
    aspect-ratio: unset;
  }
  .hero-bg {
    background-image: url('images/hero_pc.png');
    background-size: cover;
    background-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(0,0,0,.02) 0%,
      rgba(0,0,0,.01) 30%,
      rgba(0,0,0,.06) 55%,
      rgba(0,0,0,.20) 100%);
  }
  .hero-content { padding: 0 60px; max-width: 560px; }
  .hero-title { font-size: 2.4rem; }
  .hero-desc { font-size: .88rem; }

  .section { padding: 80px 60px; }
  .biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .biz-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .biz-card--featured .biz-img { height: auto; min-height: 280px; }
  .biz-card--pet { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .biz-card--pet .biz-img { height: auto; min-height: 220px; }

  .assess-section { padding: 80px 60px; }
  .assess-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .assess-img { margin-top: 0; }
  .assess-img img { height: 380px; }

  .pres-inner { flex-direction: row; gap: 48px; align-items: flex-start; }
  .pres-photo { max-width: 180px; margin: 0; flex-shrink: 0; }

  .footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ===== PAGE HERO & COMMON ===== */
.page-hero {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px 40px;
}
.page-hero .container { max-width: 900px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.page-label {
  font-family: var(--en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.page-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.page-lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 640px;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 720px; }
.section-header { margin-bottom: 28px; }
.section-header.text-center { text-align: center; }
.section-subtitle {
  font-family: var(--en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title { font-size: 1.35rem; font-weight: 700; }
.section--bg { background: var(--bg-light); }

/* 会社概要テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 140px;
  font-weight: 600;
  color: var(--text);
  background: rgba(0,0,0,.02);
}
.company-table td { color: var(--text-light); line-height: 1.8; }

/* 代表メッセージ（会社概要ページ用） */
.president-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.president-photo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  max-width: 160px;
  flex-shrink: 0;
}
.president-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.president-label {
  font-family: var(--en);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.president-name { font-size: 1.25rem; margin-bottom: 2px; font-weight: 700; }
.president-position { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.president-message { font-size: 0.9rem; line-height: 2; color: var(--text-light); margin-bottom: 12px; }

/* ===== 会社概要ページ：SPレスポンシブ ===== */
@media (max-width: 767px) {
  .page-hero {
    padding: 32px 20px 28px;
  }
  .page-hero .container {
    padding: 0 20px;
  }
  .page-title {
    font-size: 1.5rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }
  .page-lead {
    font-size: 0.875rem;
    line-height: 1.85;
  }
  .section {
    padding: 40px 20px 48px;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .section-subtitle {
    font-size: 0.6rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  /* 代表メッセージ：写真を中央に・余白最適化 */
  .president-inner {
    gap: 24px;
    align-items: center;
    text-align: center;
  }
  .president-photo {
    max-width: 140px;
    margin: 0 auto;
  }
  .president-label {
    font-size: 0.6rem;
  }
  .president-name {
    font-size: 1.15rem;
  }
  .president-position {
    font-size: 0.7rem;
    margin-bottom: 16px;
  }
  .president-message {
    font-size: 0.875rem;
    line-height: 1.95;
    margin-bottom: 14px;
    text-align: left;
  }
  .president-message:last-of-type {
    margin-bottom: 0;
  }
  /* 会社情報テーブル → SPではカード型に変換 */
  .company-table,
  .company-table thead,
  .company-table tbody,
  .company-table tr {
    display: block;
  }
  .company-table tr {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
  }
  .company-table tr:first-child {
    padding-top: 0;
  }
  .company-table th {
    display: block;
    width: 100%;
    padding: 0 0 8px 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: none;
    border: none;
  }
  .company-table td {
    display: block;
    padding: 0;
    border: none;
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text);
  }
  /* 会社概要セクションの余白 */
  .section--bg .container {
    padding: 0 20px;
  }
  #company-overview .section-header {
    margin-bottom: 24px;
  }
  /* CTA・戻るボタン */
  .back-btn-wrap {
    padding: 24px 20px 40px;
  }
  #contact-cta {
    padding: 40px 20px 48px;
  }
  #contact-cta .cta-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  #contact-cta .cta-desc {
    font-size: 0.8rem;
    margin-bottom: 24px;
    line-height: 1.8;
  }
  #contact-cta .btn {
    display: block;
    width: 100%;
    max-width: none;
    padding: 16px 24px;
    font-size: 0.9rem;
  }
}

/* 極小画面（〜374px）でのフォント・余白の微調整 */
@media (max-width: 374px) {
  .page-hero {
    padding: 28px 16px 24px;
  }
  .page-title {
    font-size: 1.35rem;
  }
  .section {
    padding: 32px 16px 40px;
  }
  .company-table tr {
    padding: 14px 0;
  }
  .company-table td {
    font-size: 0.85rem;
  }
}

/* 固定ページ・エントリー本文 */
.entry-content { font-size: 0.95rem; line-height: 2; color: var(--text-light); }
.entry-content p { margin-bottom: 1em; }
.entry-content h2 { font-size: 1.15rem; margin: 2em 0 0.75em; padding-bottom: 0.4em; border-bottom: 1px solid var(--border); font-weight: 700; }
.entry-content h3 { font-size: 1.05rem; margin: 1.5em 0 0.5em; font-weight: 700; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.5em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--primary); }
.entry-content a:hover { text-decoration: underline; }
.entry-content--policy { padding: 0 0 24px; }
.entry-lead { font-size: 0.95rem; color: var(--text-light); line-height: 2; }

/* サービスリスト（相続・不動産ページ） */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}
.service-list li {
  padding: 14px 20px 14px 44px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  color: var(--primary);
  font-weight: 700;
}

/* 事業カードをリンクに */
.biz-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.2s;
}
.biz-card--link:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.biz-grid--page .biz-card--full { grid-column: 1 / -1; }

/* CTA セクション（ID指定） */
#contact-cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
#contact-cta .cta-title { font-size: 1.4rem; margin-bottom: 12px; color: #fff; }
#contact-cta .cta-desc { font-size: 0.85rem; color: rgba(255,255,255,.85); margin-bottom: 28px; line-height: 1.85; }

/* ===== お問い合わせフォーム ===== */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.contact-form .form-group {
  margin-bottom: 24px;
}
.contact-form .form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form .form-label .required {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 4px;
}
.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: var(--text-muted);
}
.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 21, 28, 0.12);
}
.contact-form .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form .form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}
.contact-form .form-optional {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.contact-form .form-label--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
}
.contact-form .form-label-text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-form .form-label--checkbox a {
  color: var(--primary);
}
.contact-form .form-label--checkbox a:hover {
  text-decoration: underline;
}
.contact-form .form-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.contact-form .form-submit {
  margin-top: 32px;
  padding-top: 8px;
}
.contact-form .btn-submit {
  width: 100%;
  max-width: 280px;
  padding: 16px 32px;
  font-size: 0.95rem;
}
/* 送信結果メッセージ */
.form-message {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-message--success {
  background: #f0faf0;
  border: 1px solid #a8d5a2;
  color: #2d6a2d;
}
.form-message--error {
  background: #fff0f0;
  border: 1px solid #f5a0a0;
  color: #8b2020;
}

@media (min-width: 768px) {
  .page-hero { padding: 56px 20px 48px; }
  .page-title { font-size: 2rem; }
  .president-inner { flex-direction: row; gap: 48px; }
  .president-photo { max-width: 180px; }
  .biz-grid--page { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .biz-grid--page .biz-card--full { display: grid; grid-template-columns: 1fr 1fr; }
  .biz-grid--page .biz-card--full .biz-img { height: auto; min-height: 220px; }
}

/* ===== BACK BUTTON ===== */
.back-btn-wrap {
  text-align: center;
  padding: 32px 20px 48px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid var(--primary);
  border-radius: 2px;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-back:hover {
  background: var(--primary);
  color: #fff;
}
