@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .sg-header / __inner / __logo / __nav / __right / __tel / __telnum / __hours / __sp / __icon
 *                          - ヘッダー（半透明白+blur+下線、EN/JA縦積みナビ、電話2段表示、SP用アイコン）
 * .sg-nav-toggle           - ハンバーガーをヘッダー高さに合わせた位置・グレー角型に
 * .sg-spnav / __tel        - SPナビをヘッダー直下のドロップダウン型（黒背景）に
 * .sg-footer / __body / __inner / __info / __logo / __address / __tel / __nav / __right / __map / __bottom
 *                          - フッター（黒背景2カラムgrid、電話ブロック、グレースケール地図）
 * .sg-hero / __mark / __inner / __bc - 下層ヒーロー（グレー地・左揃え・ロゴマーク透かし）
 * .sg-heading / __en / __ja / __ja--lg / __num / __line / --left / --compact
 *                          - 英字大（Oswald）＋和文＋短ライン見出し、英字1文字ずつ表示
 * .sg-text / .sg-lead / .sg-sub - 本文・リード・サブコピー
 * .sg-btn / --sm / --left / --submit / __arrow / .sg-btnwrap - 黒角型ボタン（hoverで濃茶）
 * .sg-link                 - 下線付きテキストリンク
 * .sg-split / __text / __img / __img--portrait - 2カラム（auto-fit grid）
 * .sg-dark                 - 黒背景セクション内の文字色
 * .sg-mv / __overlay / __body / __label / __catch / __text - TOPメインビジュアル
 * .sg-svcards / .sg-svcard / __body / __en / __head / __no / __title / __text / __more - 事業案内カード
 * .sg-photogrid / .sg-photo - 正方形写真グリッド
 * .sg-gallery__legend / __item / __mark / --s / --e - ギャラリー凡例・種別マーク
 * .sg-lightbox / __inner / __ctrl - ギャラリー拡大表示
 * .sg-sign / __line / __role / __name - 代表署名
 * .sg-company              - 会社概要表（上罫線黒・行罫線のみ）
 * .sg-ruletitle / __rule   - 見出し＋右に伸びる罫線
 * .sg-flow / __list / __item / __step / __name / __text - ご提案の流れ
 * .sg-makers / __label / __list / __note - 取り扱いメーカー
 * .sg-telbox / __tel / __hours - 電話番号枠
 * .sg-cta                  - 共通お問い合わせCTA
 * .sg-form / __title / __body / __field / __label / __radios / __radio / __row - フォーム
 * .sg-access / __map / __info - アクセス
 * .sg-form .form-contents 以下 - CMSフォーム（mail-form.css .form-pattern-1）の上書き
 * .sg-pagetop / __link    - ページトップボタン（黒角型、Font Awesome \f077）
 * .sg-spnav__telnum        - SPナビ電話番号（アイコン付き）
 * .sg-btnrow               - 左寄せボタンの包み（SPで中央）
 * .sg-anchor               - ページ内リンク先（固定ヘッダー分の scroll-margin）
 * .sg-br-sp / .sg-br-pc / .sg-hide-sp - 改行・区切り記号の切り替え（SP＝699px以下）
 * .sg-container-narrow / .sg-container-visit - 狭幅コンテナ（960px / 880px）
 * .sg-section-gallery / .sg-section-form - セクション個別の上下余白
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 【値の粒度不足】
 *  - .section / .container の余白が固定値（120px / 95%+10px）。clamp() による可変余白
 *    （上下 clamp(72px,10vw,128px)、左右 clamp(20px,4vw,56px)）を表現できない → 本ファイルで上書き
 *  - 見出し英字・本文などのサイズが clamp() 指定できない（fz-* は固定値のみ）
 *  - gap utility に 12px / clamp 値がない
 * 【指定方向不足】
 *  - page-hero--solid に左揃え版がない
 * 【状態不足】
 *  - ボタン hover で背景色をアクセント色にする modifier がない（btn--dark は opacity のみ）
 *  - ナビ現在ページを「項目幅いっぱいの下線」で示す modifier がない
 * 【構造不足】
 *  - sp-nav にヘッダー直下ドロップダウン型がない（フルスクリーン型のみ）
 *  - heading に「番号＋英字＋和文」縦積み型、英字1文字ずつ表示アニメーションがない
 *  - 2カラムを auto-fit grid で折り返す column2 の modifier がない
 *  - フォームの選択肢をボタン型ラジオで並べるパーツがない
 *  - ギャラリー用ライトボックス（Vanilla JS）がない
 * 【装飾パターン不足】
 *  - 見出し右に伸びる細罫線（.sg-ruletitle）
 *  - ヒーロー右側のロゴマーク透かし（mix-blend-mode:multiply）
 *
 */

/* ========== Tokens ========== */
:root {
  --sg-main: #B5B8BC;
  --sg-ink: #080808;
  --sg-accent: #330000;
  --sg-text: #2b2c2e;
  --sg-sub: #55585c;
  --sg-line: #d9dadd;
  --sg-bg-light: #f3f3f4;
  --sg-ph: #2a2b2d;
  --sg-f-en: "Barlow", sans-serif;
  --sg-f-title: "Oswald", sans-serif;
  --sg-pad-x: clamp(20px, 4vw, 56px);
  --sg-sec-y: clamp(72px, 10vw, 128px);
  --sg-header-h: clamp(64px, 7vw, 88px);
}

/* ========== Base ========== */
a {
  color: var(--sg-ink);
  transition: color .2s, background-color .2s, border-color .2s, opacity .2s;
}
a:hover {
  color: var(--sg-accent);
  opacity: 1;
}
img {
  max-width: 100%;
  display: block;
}
input, select, textarea, button {
  font-family: inherit;
}

/* ========== Layout（共通クラスの値をデザイン実数に合わせる） ========== */
.section {
  padding-top: var(--sg-sec-y);
  padding-bottom: var(--sg-sec-y);
}
.section--pt0 { padding-top: 0; }
.section--pb0 { padding-bottom: 0; }
.container {
  max-width: calc(1200px + var(--sg-pad-x) * 2);
  padding-left: var(--sg-pad-x);
  padding-right: var(--sg-pad-x);
}
.sg-container-narrow { max-width: calc(960px + var(--sg-pad-x) * 2); }
.sg-container-visit { max-width: calc(880px + var(--sg-pad-x) * 2); }
.sg-section-gallery { padding-top: clamp(64px, 8vw, 112px); }
.sg-section-form {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.sg-dark { color: #fff; }

/* ========== Header ========== */
.sg-header {
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e3e4e6;
}
.sg-header__inner {
  max-width: 1280px;
  height: var(--sg-header-h);
  padding: 0 clamp(16px, 3vw, 40px);
  gap: 24px;
}
.sg-header__logo img { height: clamp(30px, 3.4vw, 40px); }
.sg-header__nav {
  gap: 22px;
  margin-right: 8px; /* __inner の gap 24px と合わせて 32px */
}
.sg-header .header__nav-item a {
  gap: 2px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.sg-header .header__nav-item a::after { display: none; }
.sg-header .header__nav-item--current a { border-bottom-color: var(--sg-ink); }
.sg-header .header__nav-en {
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: normal;
  color: inherit;
}
.sg-header .header__nav-ja {
  margin-top: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: normal;
  color: var(--sg-sub);
}
.sg-header__right { gap: 18px; }
.sg-header__tel {
  flex-direction: column;
  align-items: flex-end;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.2;
  color: var(--sg-ink);
}
.sg-header__tel::before { display: none; }
.sg-header__tel:hover { opacity: 1; }
.sg-header__telnum {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
}
.sg-header__hours {
  font-size: 11px;
  color: var(--sg-sub);
}
.sg-header__sp {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 52px; /* ハンバーガー(44px)+gap(8px)分 */
}
.sg-header__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sg-ink);
  color: var(--sg-ink);
}
.sg-header__icon--dark,
.sg-header__icon--dark:hover {
  background: var(--sg-ink);
  color: #fff;
}
@media (max-width: 1199px) {
  .sg-header__sp { display: flex; }
}

/* ハンバーガー */
.sg-nav-toggle {
  top: calc((var(--sg-header-h) - 44px) / 2);
  right: clamp(16px, 3vw, 40px);
  background: var(--sg-main);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0;
}
.sg-nav-toggle .nav-toggle__line {
  width: 20px;
  background: var(--sg-ink);
}

/* SPナビ（ヘッダー直下ドロップダウン） */
.sg-spnav {
  top: var(--sg-header-h);
  bottom: auto;
  max-height: calc(100vh - var(--sg-header-h));
  display: block;
  padding: 8px 20px 28px;
  background: var(--sg-ink);
}
.sg-spnav .sp-nav__list {
  max-width: none;
  text-align: left;
}
.sg-spnav .sp-nav__item { border-bottom: 1px solid #2c2d2f; }
.sg-spnav .sp-nav__item:first-child { border-top: 0; }
.sg-spnav .sp-nav__link {
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sg-spnav .sp-nav__link::after { display: none; }
.sg-spnav .sp-nav__link:hover {
  background: none;
  color: var(--sg-main);
}
.sg-spnav .sp-nav__en {
  order: 1;
  margin: 0 0 0 auto;
  padding-left: 12px;
  font-family: var(--sg-f-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--sg-main);
  opacity: 1;
}
.sg-spnav .sp-nav__bottom {
  max-width: none;
  margin-top: 24px;
}
.sg-spnav__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--sg-main);
  color: var(--sg-ink);
}
.sg-spnav__tel:hover { color: var(--sg-ink); }
.sg-spnav__telnum,
.sg-spnav__tel small {
  align-self: stretch;
  text-align: center;
}
.sg-spnav__telnum {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .04em;
}
.sg-spnav__tel small { font-size: 12px; }

/* ========== Footer ========== */
.sg-footer__body { padding: 0; }
.sg-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  max-width: 1280px;
  padding: clamp(56px, 7vw, 88px) var(--sg-pad-x) 32px;
}
.sg-footer__info,
.sg-footer__right { width: auto; }
.sg-footer__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sg-footer .sg-footer__logo { margin-bottom: 0; }
.sg-footer .sg-footer__logo img {
  height: 44px;
  width: auto;
  filter: invert(1);
}
.sg-footer .sg-footer__address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #c9cbce;
}
.sg-footer__tel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  padding: 20px 24px;
  background: var(--sg-main);
  color: var(--sg-ink);
}
.sg-footer__tel:hover {
  background: #fff;
  color: var(--sg-ink);
}
.sg-footer__tellabel {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.sg-footer__telnum {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: .04em;
  line-height: 1.1;
}
.sg-footer__fax { font-size: 12px; }
.sg-footer__nav {
  flex-direction: row;
  gap: 12px 24px;
  padding-top: 8px;
}
.sg-footer .footer-body__nav-item a {
  font-size: 13px;
  color: #fff;
}
.sg-footer .footer-body__nav-item a:hover { color: var(--sg-main); }
.sg-footer__map {
  height: 100%;
  min-height: 320px;
  margin-top: 0;
  border-radius: 0;
}
.sg-footer__map iframe {
  display: block;
  min-height: 320px;
  filter: grayscale(1) contrast(.9);
}
.sg-footer__bottom {
  padding: 0;
  text-align: left;
  background: var(--sg-ink);
  border-top: 1px solid #2c2d2f;
}
.sg-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px var(--sg-pad-x);
}
.sg-footer__bottom .footer-bottom__copyright {
  font-family: var(--sg-f-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  color: #8d9095;
}
@media (max-width: 699px) {
  .sg-footer__nav { display: none; }
  .sg-footer__info { align-items: center; }
  .sg-footer__info > * { align-self: stretch; }
  .sg-footer .sg-footer__logo img { margin: 0 auto; }
  .sg-footer .sg-footer__address,
  .sg-footer__bottom-inner { text-align: center; }
  .sg-footer__tel {
    width: 100%;
    max-width: none;
    text-align: center;
  }
  .sg-footer__telnum { justify-content: center; }
}

/* ========== 見出し ========== */
.sg-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sg-heading--left {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
}
.sg-heading--compact { margin-bottom: 24px; }
/* 縦並び中央寄せの中の文字は幅いっぱいに広げ、text-align で中央にそろえる */
.sg-heading > .sg-heading__en,
.sg-heading > .sg-heading__ja,
.sg-heading > .sg-heading__num { align-self: stretch; }
@media (max-width: 699px) {
  .sg-heading--left {
    align-items: center;
    text-align: center;
  }
}
.sg-heading__en {
  font-family: var(--sg-f-title);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  font-size: clamp(52px, 7vw, 96px);
  color: var(--sg-ink);
}
.sg-heading--left .sg-heading__en { font-size: clamp(44px, 5.5vw, 72px); }
.sg-heading__ja {
  margin-top: 0;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: normal;
}
.sg-heading__ja--lg {
  margin-top: 8px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  letter-spacing: .04em;
}
.sg-heading__ja small {
  margin-left: 8px;
  font-size: .6em;
  font-weight: 400;
  color: var(--sg-sub);
}
.sg-dark .sg-heading__ja small { color: var(--sg-main); }
.sg-heading__num {
  font-family: var(--sg-f-title);
  font-size: 22px;
  line-height: 1;
  color: var(--sg-accent);
}
.sg-dark .sg-heading__num { color: var(--sg-main); }
.sg-heading__line {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 12px;
  background: var(--sg-ink);
}
/* 英字アニメーション（1文字ずつ下から） */
.sg-split__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em);
}
.is-act .sg-split__char { animation: sgSplitUp .7s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes sgSplitUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== テキスト ========== */
.sg-text {
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: .03em;
  color: var(--sg-text);
  text-wrap: pretty;
}
.sg-dark .sg-text { color: #e6e7e9; }
.sg-lead {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}
/* 見出しの1文字落ち対策（縦並び中央寄せの中の見出しには付けない） */
.sg-lead,
.sg-hero .heading__ja,
.sg-svcard__title,
.sg-flow__name,
.sg-ruletitle > span:first-child { text-wrap: balance; }

/* 改行切り替え（SP＝699px以下） */
.sg-br-sp { display: none; }
@media (max-width: 699px) {
  .sg-br-sp { display: inline; }
  .sg-br-pc,
  .sg-hide-sp { display: none; }
}
.sg-sub {
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: .06em;
  color: var(--sg-main);
}

/* ========== ボタン・リンク ========== */
.sg-btnwrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 56px);
}
.sg-btn {
  justify-content: space-between;
  gap: 40px;
  width: auto;
  max-width: none;
  min-width: 280px;
  padding: 20px 28px;
  border: 0;
  border-radius: 0;
  background: var(--sg-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: normal;
  white-space: nowrap;
}
.sg-btn:hover {
  background: var(--sg-accent);
  color: #fff;
  opacity: 1;
}
.sg-btn__arrow { font-family: var(--sg-f-en); }
.sg-btn--sm {
  min-width: 0;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: .06em;
}
.sg-btn--left { margin-top: 8px; }
.sg-btn--submit {
  align-self: center;
  min-width: min(100%, 320px);
  margin-top: 12px;
  padding: 22px 32px;
  letter-spacing: .1em;
}
/* SP：ボタンの横幅をそろえ、左寄せのボタンは中央へ */
@media (max-width: 699px) {
  .sg-btn {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    gap: 16px;
    padding: 20px 24px;
    font-size: 14px;
    letter-spacing: .06em;
  }
  .sg-btn--left,
  .sg-link { align-self: center; }
  .sg-btnrow {
    display: flex;
    justify-content: center;
  }
}
.sg-link {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sg-ink);
  font-weight: 700;
}

/* ========== 2カラム ========== */
.sg-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.sg-split > .column2__child {
  width: auto;
  margin-bottom: 0;
}
.sg-split__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sg-split__img { aspect-ratio: 3 / 2; }
.sg-split__img--portrait { aspect-ratio: 4 / 5; }

/* ========== ページヒーロー（下層） ========== */
.sg-hero {
  text-align: left;
  padding: clamp(56px, 8vw, 96px) var(--sg-pad-x) clamp(48px, 6vw, 72px);
}
.sg-hero__mark {
  position: absolute;
  right: clamp(12px, 4vw, 64px);
  bottom: clamp(12px, 2vw, 24px);
  height: calc(100% - clamp(24px, 4vw, 48px));
  width: auto;
  max-width: none;
  opacity: .12;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.sg-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  gap: 14px;
}
.sg-hero .heading__en {
  margin-bottom: 0;
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: .08em;
  line-height: 1;
  color: var(--sg-ink);
}
.sg-hero .heading__ja {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: normal;
  color: var(--sg-ink);
}
.sg-hero__bc {
  margin-top: 12px;
  padding: 0;
  font-size: 12px;
  color: var(--sg-text);
}
.sg-hero__bc .breadcrumb__item:not(:last-child)::after {
  content: "／";
  margin: 0 10px;
  color: var(--sg-text);
}
.sg-hero__bc .breadcrumb__link { color: var(--sg-ink); }
.sg-hero__bc .breadcrumb__link:hover {
  color: var(--sg-accent);
  text-decoration: none;
}
.sg-hero__bc .breadcrumb__current { color: var(--sg-text); }

/* ========== TOP：メインビジュアル ========== */
.sg-mv { background: #141516; }
/* CMSスライダーが内部で z-index:1〜5 を使うため、重なり順を #slideshow 内に閉じ込める */
#slideshow {
  position: relative;
  z-index: 0;
  height: clamp(560px, 82vh, 820px);
}
#slideshow .swiper-slide,
#slideshow .main_slider__inner { height: 100%; }
#slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-mv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, .82) 0%, rgba(8, 8, 8, .55) 50%, rgba(8, 8, 8, .15) 100%);
}
.sg-mv__body {
  position: absolute;
  inset: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sg-pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3vw, 36px);
}
.sg-mv__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sg-f-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--sg-main);
}
.sg-mv__label span {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: var(--sg-main);
}
.sg-mv__catch {
  color: #fff;
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 68px);
  line-height: 1.35;
  letter-spacing: .04em;
  text-wrap: pretty;
}
.sg-mv__text {
  max-width: 560px;
  color: #e6e7e9;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 2.1;
  letter-spacing: .04em;
  text-wrap: pretty;
}
@media (min-width: 897px) {
  .sg-mv__text { max-width: none; }
}
/* SP：MVは1画面ぴったり（100svh − ヘッダー高さ） */
@media (max-width: 699px) {
  #slideshow { height: calc(100svh - var(--sg-header-h)); }
  .sg-mv__body { gap: 20px; }
  .sg-mv__label {
    font-size: 10px;
    letter-spacing: .2em;
  }
  .sg-mv__label span { width: 24px; }
  /* 1行の最大文字数（キャッチ11字・サブ26字）が画面幅に収まるサイズにする */
  .sg-mv__catch { font-size: min(32px, calc((100vw - var(--sg-pad-x) * 2) / 11.8)); }
  .sg-mv__text {
    font-size: min(14px, calc((100vw - var(--sg-pad-x) * 2) / 26.8));
    line-height: 1.9;
    letter-spacing: .02em;
  }
}

/* ========== TOP：事業案内カード ========== */
.sg-svcards { gap: clamp(20px, 2.4vw, 32px); }
.sg-svcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sg-line);
  color: var(--sg-ink);
}
.sg-svcard:hover {
  border-color: var(--sg-ink);
  color: var(--sg-ink);
}
.sg-svcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 32px;
}
.sg-svcard__en {
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sg-sub);
}
.sg-svcard__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.sg-svcard__no {
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--sg-accent);
}
.sg-svcard__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}
.sg-svcard__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.95;
  color: var(--sg-text);
  text-wrap: pretty;
}
.sg-svcard__more {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
}
.sg-svcard__more span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sg-ink);
}

/* ========== 写真グリッド（TOPピックアップ／ギャラリー） ========== */
.sg-photogrid { gap: 12px; }
.sg-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sg-ph);
}
.sg-photo:hover { opacity: .85; }
.sg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-gallery__item { cursor: zoom-in; }
.sg-gallery__mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  outline: 1px solid #fff;
}
.sg-gallery__mark--s { background: var(--sg-accent); }
.sg-gallery__mark--e { background: var(--sg-ink); }
.sg-gallery__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.sg-gallery__legend span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--sg-text);
}
.sg-gallery__legend i {
  display: block;
  width: 8px;
  height: 8px;
}
.sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 8, .94);
}
.sg-lightbox[hidden] { display: none; }
.sg-lightbox__inner {
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sg-lightbox__inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.sg-lightbox__ctrl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-family: var(--sg-f-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
}
.sg-lightbox__ctrl button {
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--sg-sub);
  color: #fff;
  font-family: var(--sg-f-en);
  font-size: 18px;
  cursor: pointer;
}

/* ========== ABOUT ========== */
.sg-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.sg-sign__line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sg-ink);
}
.sg-sign__role {
  font-size: 13px;
  color: var(--sg-sub);
}
.sg-sign__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
}
.sg-company { border-top: 1px solid var(--sg-ink); }
.sg-company th,
.sg-company td {
  border: 0;
  border-bottom: 1px solid var(--sg-line);
  background: transparent;
  vertical-align: top;
}
.sg-company th {
  width: 196px; /* ラベル160px + 左4px + 間32px */
  padding: 24px 32px 24px 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 28.5px;
}
.sg-company td {
  padding: 24px 4px 24px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sg-text);
}
@media (max-width: 639px) {
  .sg-company th {
    width: 100%;
    padding: 24px 4px 8px;
    border-bottom: 0;
  }
  .sg-company td { padding: 0 4px 24px; }
}

/* ========== SERVICE ========== */
.sg-ruletitle {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}
.sg-ruletitle__rule {
  flex: 1;
  display: block;
  height: 1px;
  background: var(--sg-line);
}
.sg-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
}
.sg-flow__list { gap: clamp(16px, 2vw, 24px); }
.sg-flow__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 36px;
  background: var(--sg-bg-light);
}
.sg-flow__step {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sg-flow__step span {
  font-family: var(--sg-f-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--sg-accent);
}
.sg-flow__step strong {
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
}
.sg-flow__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.sg-flow__text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--sg-text);
  text-wrap: pretty;
}
.sg-makers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid #2c2d2f;
}
.sg-makers__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sg-main);
}
.sg-makers__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sg-makers__list li {
  padding: 8px 16px;
  border: 1px solid var(--sg-sub);
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
}
.sg-makers__note {
  font-size: 13px;
  line-height: 1.8;
  color: #c9cbce;
}

/* ========== 電話枠（CTA／CONTACT） ========== */
.sg-telbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 40px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 24px 32px;
  border: 1px solid var(--sg-ink);
}
.sg-telbox__tel {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sg-telbox__tel span {
  font-size: 13px;
  font-weight: 700;
}
.sg-telbox__tel strong {
  font-family: var(--sg-f-en);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .04em;
}
.sg-telbox__hours {
  font-size: 13px;
  color: var(--sg-text);
}

/* ========== CONTACT：フォーム ========== */
.sg-form {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: var(--sg-bg-light);
}
.sg-form__title {
  margin-bottom: clamp(28px, 4vw, 40px);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: .06em;
}
.sg-form__title .sg-ruletitle__rule { background: #c9cbce; }
.sg-form__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sg-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sg-form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.sg-form__label em {
  padding: 2px 8px;
  background: var(--sg-accent);
  color: #fff;
  font-style: normal;
  font-size: 11px;
}
.sg-form__label em.is-opt { background: #8d9095; }
.sg-form input[type="text"],
.sg-form input[type="tel"],
.sg-form input[type="email"],
.sg-form input[type="date"],
.sg-form select,
.sg-form textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--sg-ink);
  border: 1px solid #c9cbce;
  border-radius: 0;
  background: #fff;
}
.sg-form textarea {
  height: auto;
  padding: 14px 16px;
  line-height: 1.8;
  resize: vertical;
}
.sg-form input:focus,
.sg-form select:focus,
.sg-form textarea:focus {
  outline: 2px solid var(--sg-ink);
  outline-offset: -1px;
}
.sg-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sg-form__row > * { flex: 1 1 200px; }
.sg-form__radios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sg-form__radio {
  position: relative;
  cursor: pointer;
}
.sg-form__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sg-form__radio span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  font-size: 14px;
  border: 1px solid #c9cbce;
  background: #fff;
}
.sg-form__radio span::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--sg-ink);
}
.sg-form__radio input:checked + span {
  background: var(--sg-ink);
  border-color: var(--sg-ink);
  color: #fff;
}
.sg-form__radio input:checked + span::before {
  border-color: #fff;
  background: radial-gradient(#fff 0 0) center / 8px 8px no-repeat;
}
.sg-form__radio input:focus-visible + span { outline: 2px solid var(--sg-accent); }

/* ========== CONTACT：アクセス ========== */
.sg-access {
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.sg-access__map {
  min-height: 380px;
  border-radius: 0;
}
.sg-access__map iframe {
  min-height: 380px;
  filter: grayscale(.6);
}
.sg-access__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sg-text);
}
.sg-access__info strong {
  font-size: 18px;
  color: var(--sg-ink);
}

/* ========== ページトップ ========== */
/* 白・黒どちらの背景でも見えるようグレー地＋黒アイコン */
.sg-pagetop__link {
  border-radius: 0;
  background: var(--sg-main);
  color: var(--sg-ink);
  border: 1px solid var(--sg-ink);
}
.sg-pagetop__link::before {
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
}
.sg-pagetop__link:hover {
  background: var(--sg-ink);
  border-color: var(--sg-main);
  color: #fff;
}

/* ========== CONTACT：CMSフォーム（mail-form.css .form-pattern-1 の上書き） ==========
 * CMS側CSSが詳細度の高いセレクタで指定しているため、ここだけ !important で上書きする */
.sg-form .form-contents {
  padding: 0 !important;
  background: transparent !important;
}
.sg-form .form-contents form dl {
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}
/* 行：ラベル上・入力欄下の縦積み（罫線なし） */
.sg-form .form-contents form dl dt:not(.pattern-exclusion) {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 0 10px !important;
  font-size: 14px;
  font-weight: 700;
}
.sg-form .form-contents form dl dt:not(.pattern-exclusion):first-child { padding-top: 0 !important; }
.sg-form .form-contents form dl dd:not(.pattern-exclusion) {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  line-height: 1.5;
}
.sg-form .form-contents form dl .custom-area { padding-top: 28px; }
.sg-form .form-contents form dl dt:not(.pattern-exclusion) span {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
/* 必須・任意バッジ */
.sg-form .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  order: 2;
  top: 0 !important;
  margin: 0 !important;
  padding: 2px 8px !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.6;
}
.sg-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before { background: var(--sg-accent) !important; }
.sg-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.optional::before {
  content: "任意" !important;
  background: #8d9095 !important;
}
/* 入力欄 */
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-date,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-time,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetime,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetimepicker {
  height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid #c9cbce !important;
  border-radius: 0 !important;
  background: #fff !important;
  font-size: 15px;
  color: var(--sg-ink);
}
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) textarea.textarea {
  height: auto !important;
  padding: 14px 16px !important;
  line-height: 1.8;
  resize: vertical;
}
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea:focus,
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect:focus {
  outline: 2px solid var(--sg-ink) !important;
  outline-offset: -1px;
}
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .textarea::placeholder { color: #9a9da1; }
/* ファイル添付欄 */
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-area {
  border: 1px dashed var(--sg-sub) !important;
  background: #fff !important;
}
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-area .upload-msg p { color: var(--sg-text) !important; }
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button {
  border: 1px solid var(--sg-ink) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--sg-ink) !important;
}
.sg-form .form-pattern-1 dd:not(.pattern-exclusion) .input-file-clear {
  border: 1px solid var(--sg-sub) !important;
  border-radius: 0 !important;
  background: var(--sg-sub) !important;
}
/* エラー表示 */
.sg-form .form-contents .form-err-msg {
  margin: 0 0 28px !important;
  padding: 16px 20px !important;
  border: 1px solid var(--sg-accent) !important;
  background: #f3eded !important;
  color: var(--sg-accent) !important;
  font-size: 14px;
  line-height: 1.8;
}
/* 送信完了メッセージ */
.sg-form .form-pattern-1 .form-thanks-msg {
  padding: 32px 24px !important;
  border: 1px solid var(--sg-line) !important;
  background: #fff !important;
  line-height: 2;
}
.sg-form .form-pattern-1 .form-thanks-msg .back-home-btn a {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--sg-ink) !important;
  color: #fff !important;
}
.sg-form .form-pattern-1 .form-thanks-msg .back-home-btn a:hover { background: var(--sg-accent) !important; }
/* 送信ボタン（.sg-btn と同じ見た目・中央配置） */
.sg-form .form-pattern-1 .submit-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px) !important;
  margin: 40px auto 0 !important;
  padding: 22px 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--sg-ink) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .1em;
  white-space: nowrap;
}
.sg-form .form-pattern-1 .submit-btn:hover { background: var(--sg-accent) !important; }
.sg-form .form-pattern-1 .submit-btn::before { background-color: #fff !important; }
.sg-form .form-pattern-1 .submit-btn:disabled { opacity: .5; }

/* ========== SP調整 ========== */
@media (max-width: 699px) {
  .sg-photogrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .sg-telbox {
    width: 100%;
    padding: 20px 16px;
    text-align: center;
  }
}
@media (max-width: 699px) {
  .sg-form__title { font-size: 16px; }
  .sg-form__title > span:first-child { white-space: nowrap; }
}
@media (max-width: 699px) {
  .sg-lead,
  .sg-sub { text-align: center; }
  .sg-sign { justify-content: center; }
}
@media (max-width: 699px) {
  .sg-heading__ja small {
    display: block;
    margin: 4px 0 0;
  }
}
/* 2カラムで高さをそろえる */
.sg-form__radio { display: flex; }
.sg-form__radio span { flex: 1; }
@media (max-width: 699px) {
  .sg-form__radio span {
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .sg-form__radio span::before {
    width: 14px;
    height: 14px;
  }
}

/* ページ内リンク先：固定ヘッダーに隠れないよう停止位置をずらす */
.sg-anchor { scroll-margin-top: var(--sg-header-h); }
