@charset "UTF-8";
/* footer.css — 会社サイト型フッター（footer-2.php の .site-footer）専用
   ページが増えたのでサイトマップ的に全ページを並べる4カラム構成。

   【重要】テーマの style.css は footer 配下の div に子孫セレクタで
     footer div:nth-of-type(1) { text-align:center / width:30% }
     footer div:nth-of-type(2) { flex:1; display:flex; gap:2rem }
   を当てている。詳細度 (0,1,2) なので .site-footer > div (0,1,1) では打ち消せない。
   そこで「打ち消しは nth-of-type で全divに当てる」→「自前レイアウトは同じクラスを2回書いて
   詳細度 (0,3,0) に上げて勝たせる」という形にしている。 */

.site-footer {
  display: block;
  padding: 0;
  gap: 0;
  background: #1f1f1f;
  color: #fff;
}
.site-footer * { box-sizing: border-box; }
.site-footer a { color: inherit; text-decoration: none; transition: 0.3s; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer p, .site-footer dl, .site-footer dd { margin: 0; }

/* --- テーマ指定の打ち消し（フッター内の全div） --- */
.site-footer div:nth-of-type(1),
.site-footer div:nth-of-type(2),
.site-footer div:nth-of-type(3),
.site-footer div:nth-of-type(4) {
  width: auto;
  flex: none;
  display: block;
  gap: 0;
  text-align: left;
  justify-content: flex-start;
}

/* .sf-inner も div なのでテーマの nth-of-type(1){text-align:left} を拾ってしまう。
   親（.sf-cta なら center）から継承させるため、詳細度を上げて inherit を指定する。 */
.site-footer .sf-inner.sf-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: inherit;
}

/* ── 上段CTA ─────────────────────────────── */
.site-footer .sf-cta.sf-cta {
  background: var(--primary-color);
  padding: 46px 0;
  text-align: center;
}
.site-footer .sf-cta__lead { font-size: 21px; font-weight: 800; line-height: 1.6; }
.site-footer .sf-cta__sub { font-size: 14px; margin-top: 10px; opacity: .95; }
.site-footer .sf-cta__btns.sf-cta__btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px;
}
.site-footer .sf-btn {
  display: inline-block; font-size: 15px; font-weight: 800;
  border-radius: 999px; padding: 15px 34px;
}
.site-footer .sf-btn--line { background: #1eb864; color: #fff; }
.site-footer .sf-btn--line:hover { background: #189a53; }
.site-footer .sf-btn--mail { background: #fff; color: var(--primary-color); }
.site-footer .sf-btn--mail:hover { opacity: .85; }

/* ── 本体（4カラム） ──────────────────────── */
.site-footer .sf-main.sf-main { padding: 56px 0 44px; }
.site-footer .sf-grid.sf-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 40px;
  text-align: left;
}
.site-footer .sf-brand.sf-brand { text-align: left; }
.site-footer .sf-logo { margin: 0 0 16px; }
.site-footer .sf-logo img { width: 200px; height: auto; display: block; }
.site-footer .sf-desc { font-size: 13px; line-height: 2.0; color: #bdbdbd; }
.site-footer .sf-sns.sf-sns { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .sf-sns a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #1eb864; color: #fff; font-size: 18px;
}
.site-footer .sf-sns a:hover { opacity: .85; }

.site-footer .sf-col__t {
  font-size: 15px; font-weight: 800; margin: 0 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid #3a3a3a;
}
.site-footer .sf-col__t span {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: .16em; color: var(--primary-color); margin-top: 5px;
}
.site-footer .sf-col ul li { margin-bottom: 11px; }
.site-footer .sf-col ul li a { font-size: 13px; color: #d5d5d5; }
.site-footer .sf-col ul li a:hover { color: #fff; }
.site-footer .sf-col ul li a::before { content: "・"; color: var(--primary-color); }

/* 会社情報 */
.site-footer .sf-company.sf-company { display: block; }
.site-footer .sf-info { margin: 0 0 18px; font-size: 12.5px; line-height: 1.9; }
.site-footer .sf-info dt { color: var(--primary-color); font-weight: 800; margin-top: 10px; }
.site-footer .sf-info dt:first-of-type { margin-top: 0; }
.site-footer .sf-info dd { margin: 2px 0 0; color: #d5d5d5; }
.site-footer .sf-info dd a:hover { color: #fff; text-decoration: underline; }
.site-footer .sf-sub.sf-sub {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding-top: 14px; border-top: 1px solid #333;
}
.site-footer .sf-sub li a { font-size: 12px; color: #a9a9a9; text-decoration: underline; }
.site-footer .sf-sub li a::before { content: none; }
.site-footer .sf-sub li a:hover { color: #fff; }

/* ── 下段 ────────────────────────────────── */
.site-footer .sf-bottom.sf-bottom { border-top: 1px solid #333; padding: 20px 0; }
.site-footer .sf-bottom__in.sf-bottom__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer .sf-bottom small { font-size: 12px; color: #9a9a9a; }
.site-footer .sf-top {
  font-size: 12px; font-weight: 800; color: #d5d5d5;
  border: 1px solid #4a4a4a; border-radius: 999px; padding: 9px 20px;
}
.site-footer .sf-top:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

@media screen and (max-width: 900px) {
  .site-footer .sf-grid.sf-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .sf-brand.sf-brand { grid-column: 1 / -1; }
}
@media screen and (max-width: 600px) {
  .site-footer .sf-cta.sf-cta { padding: 36px 0; }
  .site-footer .sf-cta__lead { font-size: 17px; }
  .site-footer .sf-btn { width: 100%; }
  .site-footer .sf-main.sf-main { padding: 40px 0 32px; }
  .site-footer .sf-grid.sf-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .sf-bottom__in.sf-bottom__in { flex-direction: column; align-items: flex-start; }
}

/* ── 下段のサイト情報リンク ────────────────────── */
.site-footer .sf-bottom__in.sf-bottom__in {
  flex-wrap: wrap;
  row-gap: 14px;
}
.site-footer .sf-links.sf-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  order: -1;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid #333;
}
.site-footer .sf-links li a {
  font-size: 13px;
  font-weight: 700;
  color: #d5d5d5;
}
.site-footer .sf-links li a:hover { color: #fff; }
/* お問い合わせだけはボタン型にして目立たせる */
.site-footer .sf-links__cta.sf-links__cta {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 26px;
}
.site-footer .sf-links__cta.sf-links__cta:hover { opacity: .85; color: #fff; }
.site-footer .sf-links__cta.sf-links__cta::after { content: " ▶"; font-size: 10px; }

@media screen and (max-width: 600px) {
  .site-footer .sf-links.sf-links { gap: 12px; }
  .site-footer .sf-links__cta.sf-links__cta { width: 100%; text-align: center; }
}