:root {
  --maxw: 1100px;
  --brand: #297fc9;
  --ink: #1a202c;
  --border: #eef1f4;
  --surface: #f8fafc;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body {
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans JP";
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  color: #3b434f;
}

/* コンテナ */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ヒーロー */
.company_hero { width: 100%; margin: 0; }
.hero_image { width: 100%; height: 400px; object-fit: cover; }
.hero_title { margin: 30px auto; padding: 0 16px; font-size: 38px; color: var(--ink); text-align: center; letter-spacing: 0.3em; }

/* ブレッドクラム */
.breadcrumbs { max-width: 1100px; margin: 20px auto 16px; font-size: 0.9rem; color: #666; padding: 0 20px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* セクション */
.section { margin: 80px 0; }
.section-title { letter-spacing: 0.2em; font-size: 28px; color: var(--ink); text-align: center; padding: 10px 20px; background: var(--surface); border-bottom: 2px solid var(--brand); max-width: 1000px; margin: 0 auto 50px; }

/* トップメッセージ */
.content_wrapper { display: flex; gap: 30px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.content_image { flex: 0 0 auto; }
.president_image { width: 300px; height: 400px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); box-shadow: var(--shadow-sm); }
.top_content_message { flex: 1; max-width: 600px; min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.content_title { font-size: 24px; color: var(--ink); margin: 0 0 12px; text-align: left; }
.content_subtitle { font-size: 18px; color: var(--brand); margin: 0 0 20px; text-align: left; font-weight: 600; }
.content_message p { color: #3b434f; margin: 0 0 16px; line-height: 1.8; text-align: left; }
@media (max-width: 768px) {
  .content_wrapper { flex-direction: column; align-items: center; }
  .content_message { max-width: 100%; min-height: auto; }
  .content_image { text-align: center; }
  .president_image { width: 250px; height: 333px; }
}

/* 会社概要 */
.company-overview .content_wrapper { max-width: 1000px; margin: 0 auto; }
.content_message { width: 100%; margin: 0 auto; text-align: left; }
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.info-table th { font-weight: 700; text-align: left; padding: 12px 20px 12px 0; width: 30%; color: var(--ink); vertical-align: top; }
.info-table td { padding: 12px 0; color: #3b434f; vertical-align: top; }
.info-table a { text-decoration: none; }
.info-table td a + button { margin-left: 10px; padding: 5px 10px; background: var(--brand); color: #fff; border: none; border-radius: 4px; cursor: pointer; color: #3b434f; }
.info-table td a + button:hover { filter: brightness(1.1); }
.info-table a:hover { text-decoration: underline; }
.info-table th, .info-table td { border-bottom: 1px solid var(--border); }
.info-table tr:nth-child(odd) { background: var(--surface); }

.info-table { width: 100%; border-collapse: collapse; border: 1px solid #ccc; margin-bottom: 30px; }
.info-table th, .info-table td { border: 1px solid #ccc; padding: 12px 16px; text-align: left; }
.info-table th { background-color: #f4f4f4; font-weight: 600; width: 30%; color: #1a202c; }
.info-table td { color: #3b434f; }

/* 経営理念 */
.philosophy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.philosophy-card { background: linear-gradient(180deg, #f8fafc, rgba(41, 128, 185, 0.05)); border: 1px solid transparent; border-image: linear-gradient(to bottom, var(--brand), #4facfe) 1; padding: 32px; border-radius: 12px; box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; }
.philosophy-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1); }
.philosophy-card h3 { color: var(--brand); font-size: 24px; margin-bottom: 16px; }
.philosophy-card .card-quote { font-style: italic; font-size: 20px; color: var(--ink); margin: 16px 0; padding: 16px; background: rgba(41, 128, 185, 0.05); border-radius: 8px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.philosophy-card p { font-size: 16px; line-height: 1.8; color: #3b434f; margin-top: auto; display: flex; align-items: flex-start; justify-content: center; }
.philosophy-card { justify-content: flex-start; }
.philosophy-card p { margin-top: 16px; }
@media (max-width: 1024px) {
  .philosophy-cards { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .philosophy-card { min-height: 360px; }
}
@media (max-width: 768px) {
  .philosophy-cards { grid-template-columns: 1fr; gap: 24px; }
  .philosophy-card { padding: 24px; min-height: 340px; }
  .philosophy-card h3 { font-size: 20px; }
  .philosophy-card .card-quote { font-size: 18px; }
}

/* アクセス */
.access .card { max-width: 1000px; margin: 0 auto; }
.h3 { color: var(--brand); font-size: 24px; margin-bottom: 16px; }
.access p { font-size: 16px; line-height: 1.8; color: #3b434f; margin-bottom: 24px; }
.access a { color: var(--brand); text-decoration: none; }
.access a:hover { text-decoration: underline; }
.map { margin: 24px 0; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-sm); max-width: 1000px; margin-left: auto; margin-right: auto; }
.map iframe { width: 100%; height: 400px; border: none; }
#access .card {max-width: 1000px;margin: 0 auto;padding: 0 16px; }
@media (max-width: 768px) {
  .access .card { margin: 0; }
  .h3 { font-size: 20px; }
  .access p { font-size: 15px; }
  .map iframe { height: 300px; }
  .map { max-width: 100%; }
}

/* コンタクト */
.contact { position: relative; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 16px; }
.contact_bg { position: absolute; inset: 0; overflow: hidden; }
.contact_bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.contact_inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact p { margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .78rem 1.2rem; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(14,165,100,.25); }
.btn--brand:hover { filter: brightness(1.06); }


  .footer{background:#0b0f0c;color:#cbd5e1;padding:5px 0 0}
.footer a{color:#d1fae5}
.footer_cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px}
.footer_brand{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.footer_logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-ink))}
.footer_badge{display:block;width:88px;height:auto;aspect-ratio:1/1}
.footer_text strong{display:block;line-height:1.3}
.footer_brand .muted{white-space:nowrap;margin:0}
@media (max-width:640px){.footer_brand{justify-content:center}}
@media (min-width:641px) and (max-width:980px){.footer_cols{grid-template-columns:1fr 1fr}}


.contact_bg{ pointer-events: none;   z-index: 0;}
.contact_inner,
.contact .center{ position: relative; z-index: 1;   }
