@charset "UTF-8";
/* ============================================================
   INBANKER株式会社 コーポレートサイト 共通スタイル
   配色はロゴ実測の緑 #6A8C31 を基準とする（2026-08-14 Webhook自動デプロイ 稼働確認済み）
   ============================================================ */

:root {
  --green:       #6A8C31;
  --green-deep:  #3F5A2A;
  --green-dark:  #2C401D;
  --ink:         #1F211D;
  --body-color:  #3A3D35;
  --muted:       #70766A;
  --grege:       #8B9187;
  --ivory:       #F3F1E9;
  --paper:       #FFFFFF;
  --line:        #E3E1D6;
  --line-soft:   #ECEAE0;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --w-content: 1080px;
  --w-narrow:  820px;
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  color: var(--body-color);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap   { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--w-narrow);  margin: 0 auto; padding: 0 24px; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: var(--w-content); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.header-logo img { height: 34px; width: auto; }

.global-nav { display: flex; align-items: center; gap: 34px; }
.global-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: 6px 0; position: relative;
}
.global-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width .25s ease;
}
.global-nav a:not(.nav-cta):hover::after,
.global-nav a[aria-current="page"]::after { width: 100%; }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 11px 26px !important; font-size: 13.5px !important;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--green-deep); }

/* モバイルメニュー（チェックボックス方式・JS不使用） */
.nav-toggle-input { display: none; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-toggle-input:checked ~ .global-nav { max-height: 480px; }
  .global-nav a {
    padding: 16px 28px; border-top: 1px solid var(--line-soft); font-size: 15px;
  }
  .global-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 14px 24px 20px; text-align: center; }
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--green-deep); color: rgba(255,255,255,.88);
  padding: 64px 0 32px; font-size: 13.5px; line-height: 1.9;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-logo img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-note { font-size: 12.5px; color: rgba(255,255,255,.62); }
.footer-head {
  font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.55);
  margin-bottom: 14px; font-weight: 700;
}
.footer-nav li { margin-bottom: 9px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  padding-top: 26px; font-size: 12px; color: rgba(255,255,255,.6);
}
.footer-bottom a:hover { color: #fff; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   見出し・共通部品
   ============================================================ */
.eyebrow {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; letter-spacing: .08em; color: var(--green);
  display: block; margin-bottom: 14px;
}
.heading {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 36px); line-height: 1.6;
  color: var(--ink); letter-spacing: .04em;
  text-wrap: balance;
}
.heading-lede { margin-top: 22px; max-width: 46em; color: var(--muted); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: .06em;
  padding: 15px 34px; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { font-family: sans-serif; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { border: 1px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-white:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green-deep); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.text-link:hover { color: var(--green-deep); border-color: var(--green-deep); }

section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 60px 0; } }
.section-ivory { background: var(--ivory); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-foot { margin-top: 44px; text-align: center; }

/* ============================================================
   トップ: ヒーロー
   ============================================================ */
.hero {
  position: relative; min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: center;
  background: var(--green-dark);
}
.hero-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,26,10,.62) 0%, rgba(18,26,10,.34) 46%, rgba(18,26,10,.05) 78%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--w-content); margin: 0 auto; padding: 120px 24px;
  width: 100%; color: #fff;
}
.hero-badge {
  display: inline-block; font-size: 12.5px; letter-spacing: .22em;
  border: 1px solid rgba(255,255,255,.65); padding: 7px 18px; margin-bottom: 34px;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.6vw, 58px); line-height: 1.55; letter-spacing: .06em;
  margin-bottom: 26px; text-wrap: balance;
}
.hero-copy { font-size: 15.5px; line-height: 2.3; color: rgba(255,255,255,.88); max-width: 34em; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   トップ: 事業・強み・カード
   ============================================================ */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 36px 28px 32px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s ease, transform .25s ease;
}
.service-card:hover { border-color: var(--green); transform: translateY(-3px); }
.service-card img.icon { width: 44px; height: 44px; }
.service-card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  color: var(--ink); line-height: 1.6;
}
.service-card p { font-size: 13.5px; color: var(--muted); line-height: 1.9; flex: 1; }
.service-card .card-more {
  font-size: 13px; color: var(--green-deep); font-weight: 500;
}

.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .reason-grid { grid-template-columns: 1fr; } }
.reason { border-top: 2px solid var(--green); padding-top: 24px; }
.reason .num {
  font-family: var(--serif); font-size: 15px; color: var(--green);
  letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.reason h3 {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--ink); line-height: 1.7; margin-bottom: 12px;
}
.reason p { font-size: 14px; color: var(--muted); }

/* トップ: メンバー抜粋 */
.member-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px;
}
@media (max-width: 860px) { .member-strip { grid-template-columns: repeat(3, 1fr); } }
.member-strip figure { text-align: center; }
.member-strip img {
  border-radius: 50%; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--line);
}
.member-strip figcaption { margin-top: 12px; font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.member-strip .role { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }

/* トップ: 中間バンド（湖） */
.band {
  position: relative; padding: 110px 0; color: #fff; background: var(--green-dark);
}
.band-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(24,34,14,.55); }
.band-inner {
  position: relative; z-index: 2; max-width: var(--w-content); margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.band h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.8; letter-spacing: .05em;
}
.band .eyebrow { color: rgba(255,255,255,.75); }

/* トップ: グループ会社 */
.group-box {
  border: 1px solid var(--line); background: var(--paper);
  padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.group-box h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.group-box p { font-size: 14px; color: var(--muted); }

/* ============================================================
   下層共通: ページヘッダー・パンくず
   ============================================================ */
.page-header {
  position: relative; min-height: 300px; display: flex; align-items: center;
  background: var(--green-dark);
}
.page-header-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.page-header::after { content: ""; position: absolute; inset: 0; background: rgba(22,30,12,.5); }
.page-header-inner {
  position: relative; z-index: 2; max-width: var(--w-content); margin: 0 auto;
  padding: 80px 24px 56px; width: 100%; color: #fff;
}
.page-header .en {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  letter-spacing: .1em; color: rgba(255,255,255,.8); display: block; margin-bottom: 10px;
}
.page-header h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: .08em; line-height: 1.5;
}
.breadcrumb {
  max-width: var(--w-content); margin: 0 auto; padding: 14px 24px;
  font-size: 12px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.breadcrumb a:hover { color: var(--green-deep); text-decoration: underline; }
.breadcrumb .sep { color: var(--grege); }

/* ============================================================
   会社概要
   ============================================================ */
.def-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.def-table th, .def-table td {
  text-align: left; padding: 20px 8px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-weight: 400;
}
.def-table th { width: 190px; color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 620px) {
  .def-table th, .def-table td { display: block; width: 100%; padding: 6px 0; }
  .def-table th { border-bottom: none; padding-top: 18px; font-size: 13.5px; color: var(--green-deep); }
  .def-table td { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}
.history-list li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.history-list .year { font-family: var(--serif); color: var(--green-deep); font-weight: 600; }
@media (max-width: 560px) { .history-list li { grid-template-columns: 92px 1fr; } }

.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
@media (max-width: 700px) { .photo-duo { grid-template-columns: 1fr; } }
.photo-duo figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-duo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   メンバー紹介
   ============================================================ */
.member-section-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink);
  letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  margin: 72px 0 40px; display: flex; align-items: baseline; gap: 16px;
}
.member-section-title:first-of-type { margin-top: 0; }
.member-section-title .en {
  font-style: italic; font-size: 13px; color: var(--green); font-weight: 400;
}
.member-section-note { font-size: 13.5px; color: var(--muted); margin: -26px 0 36px; }

.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
@media (max-width: 820px) { .member-grid { grid-template-columns: 1fr; } }
.member-card { display: grid; grid-template-columns: 128px 1fr; gap: 26px; align-items: start; }
@media (max-width: 480px) { .member-card { grid-template-columns: 96px 1fr; gap: 18px; } }
.member-card .photo img,
.member-card .photo-placeholder {
  width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.member-card .photo-placeholder {
  background: var(--ivory); display: flex; align-items: center; justify-content: center;
}
.member-card .photo-placeholder img { width: 42%; border: none; border-radius: 0; opacity: .5; }
.member-card .role { font-size: 12px; color: var(--green-deep); font-weight: 600; letter-spacing: .06em; }
.member-card h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink);
  margin: 4px 0 2px; letter-spacing: .1em;
}
.member-card .quals { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.member-card .bio { font-size: 13.5px; line-height: 1.95; color: var(--body-color); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-list li {
  font-size: 11px; color: var(--green-deep); border: 1px solid #CBD3B8;
  padding: 3px 10px; border-radius: 2px; background: #FAFAF5;
}

/* ============================================================
   サービス
   ============================================================ */
.service-index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .service-index-grid { grid-template-columns: 1fr; } }
.service-index-card {
  position: relative; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .25s ease;
}
.service-index-card:hover { border-color: var(--green); }
.service-index-card img.thumb { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.service-index-card .body { padding: 28px 30px 30px; }
.service-index-card h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.service-index-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

.support-list { border-top: 1px solid var(--line); }
.support-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.support-list .no { font-family: var(--serif); color: var(--green); font-size: 17px; }
.support-list b { color: var(--ink); font-weight: 600; }
.support-list small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.9; }

.service-note {
  background: var(--ivory); border-left: 3px solid var(--green);
  padding: 22px 26px; font-size: 13.5px; color: var(--body-color); margin-top: 40px; line-height: 2;
}

.cta-block { text-align: center; background: var(--ivory); padding: 72px 24px; }
.cta-block .heading { margin-bottom: 14px; }
.cta-block p { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
.cta-tel { font-family: var(--serif); font-size: 30px; color: var(--ink); letter-spacing: .06em; }
.cta-tel small { font-size: 13px; color: var(--muted); display: block; font-family: var(--sans); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; margin-top: 26px; }

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.contact-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 60px;
}
@media (max-width: 640px) { .contact-info { grid-template-columns: 1fr; } }
.contact-info .box { border: 1px solid var(--line); padding: 30px; text-align: center; }
.contact-info .label { font-size: 12px; letter-spacing: .16em; color: var(--muted); margin-bottom: 10px; }
.contact-info .value { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.contact-info .note { font-size: 12px; color: var(--muted); margin-top: 6px; }

.form-table { width: 100%; }
.form-row { margin-bottom: 28px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.form-row .req {
  font-size: 10.5px; color: #fff; background: var(--green); border-radius: 2px;
  padding: 2px 8px; margin-left: 10px; vertical-align: 2px; font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); background: #FDFDFB; color: var(--ink);
  transition: border-color .2s ease;
}
.form-row textarea { min-height: 180px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--green);
}
.form-agree { font-size: 13.5px; margin: 34px 0; text-align: center; }
.form-agree a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { text-align: center; }
.form-submit button {
  font-family: inherit; cursor: pointer; border: none;
  background: var(--green); color: #fff; font-size: 15px; letter-spacing: .1em;
  padding: 18px 72px; transition: background .2s ease;
}
.form-submit button:hover { background: var(--green-deep); }
/* ハニーポット: 人間には見えない欄 */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   汎用
   ============================================================ */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.prose p { margin-bottom: 1.6em; max-width: 44em; }
.prose h2 {
  font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 600;
  margin: 2.2em 0 .8em;
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
