@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ※ 接頭辞 lm- = リニアマーケティング（Linear Marketing）固有
 *
 * .lm-fw-300            - font-weight:300（Roboto Light の英字見出し用）
 * .lm-marker            - 先頭に青の小さな四角（6px）を置くラベル。日本語見出し・英字ラベルに付与
 * .lm-label             - 英字の小ラベル（Roboto Light 12px / 字間0.22em）
 * .lm-header            - ヘッダー（header-bar の差分。下線なし。全幅の濃紺バー＋白文字・白ロゴ、PCは高さ76px・SPは64px、SPは社名なし）
 * .lm-header--top / .is-scrolled - TOPのMV上は透明、スクロールで濃紺（is-scrolled は common.js で付与）
 * .lm-logo / __img / __text - ロゴ画像＋社名テキストの横並び（ヘッダー・フッター共通）
 * .lm-nav-toggle        - 背景なしの白い三本線ハンバーガー（nav-toggle の差分）
 * .lm-sp-nav            - 黒背景のSPナビ（sp-nav の配色差分）
 * .lm-anchor            - アンカー着地位置を固定ヘッダー分ずらす
 * .lm-mv / __overlay / __content / __copy / __title / __lead / __links / __copyright - TOPメインビジュアル
 * .lm-mv-link / --white / __icon / __label / __en - MV右下の横長リンクボタン
 * .lm-biz-row / __img / __img--illust / __body - 正方形画像＋テキスト＋丸矢印の罫線区切りリンク行（--illust：黒地イラストを全体表示）
 * .lm-circle-arrow / --lg - 白枠の丸囲み矢印（親リンクhoverで白地黒文字）
 * .lm-bnr / __content / __more - 写真全面＋暗幕のリンクバナー（page-hero の3層構造を流用）
 * .lm-tag / --pill      - 枠線タグ（角 / 丸）
 * .lm-notch-card / __label - 写真の左下を背景色でくり抜いてタイトルを置くカード
 * .lm-page-hero / __overlay - 下層ヒーローの余白・左濃→右薄＋下グラデーション暗幕
 * .lm-media / --illust / --illust-body / --16-10 - 角丸6pxの画像枠（イラスト用：黒地を#2A2A2A／#1E1E1E に置換・16:10）
 * .lm-cells / --dark / __item / __item--center - 1px罫線で区切ったマス目（要点3マス・サポート内容）
 * .lm-steps / __item / __line - 点と線でつなぐ横一列のステップ
 * .lm-dl                - 会社概要の項目リスト（dl-timeline の差分）
 * .lm-recruit / __body / __box - 募集案内パネル（濃グレー面＋右下の黒い小箱）
 * .lm-tel-card / __body - スクロール追従の電話問い合わせカード
 * .lm-border-top        - 白30%の上罫線
 * .lm-form             - CMSフォーム（mail-form.css）を暗背景デザインに上書きするラッパー
 * .lm-icon              - 線画アイコン（SVG）
 * .lm-footer / __left / __nav / __map - フッター本体（footer-body--dark の差分。Googleマップ付き）
 * .lm-footer-bottom     - 罫線付きコピーライト行（footer-bottom--dark の差分）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 【値の粒度不足】
 *  - fw-* が 400〜900 のみ。300（Light）がない → .lm-fw-300
 *  - fz-* / section 余白が固定値のみ。clamp() による連続的な伸縮（MVキャッチ・ヒーロー余白・MVボタン高さ）を表現できない
 *  - aspect-* に 16:10 がない → .lm-media--16-10
 *  - body 文字サイズが tablet / SP で 1.4rem / 1.2rem まで自動縮小される。本案件は 1.5rem / 1.4rem で止めたい
 *  - breadcrumb / sp-nav__en の font-size が rem 単位で極小（0.85rem / 0.75rem = 8.5px / 7.5px）
 *  - border-* utility の色が $border_color 固定。白30〜50%の強めの罫線が引けない → .lm-border-top
 * 【指定方向不足】
 *  - nav-toggle の固定位置が top/right:10px 固定。浮いたヘッダーの中央に合わせられない
 * 【状態不足】
 *  - 親リンク hover 時に子の丸矢印を反転させる state がない（btn-circle-arrow は自身の hover のみ）
 * 【構造不足】
 *  - ロゴ画像＋社名テキスト横並びのロゴがない（header-logo はアイコン丸前提）
 *  - 画面端から余白を取って浮かせたヘッダーバーがない（header-bar は全幅）
 *  - 写真左下を背景色でくり抜くカードがない（card-bnr は写真上に暗幕＋文字）
 *  - 1px 罫線区切りのマス目（gap:1px + 背景色で罫線を出す grid）がない
 *  - 点と線で横につなぐステップ表示がない（timeline は縦、card-flow は矢印カード）
 *  - 正方形写真＋本文＋右端丸矢印の横長リンク行がない
 *  - 暗背景用の入力欄・必須/任意バッジがない（form-input は明背景前提）。CMSフォーム出力の上書き用クラスもない
 * 【装飾パターン不足】
 *  - 見出し前の小さな四角マーカーがない（heading__icon は Font Awesome 前提）
 *  - 写真暗幕が単色のみ。左右＋上下を重ねたグラデーション暗幕がない
 *
 */

/* ==========================================================================
   Base 調整
   ========================================================================== */
@media (max-width: 896px) {
  body { font-size: 1.5rem; }
}
@media (max-width: 639px) {
  body { font-size: 1.4rem; }
}

::placeholder { color: rgba(255, 255, 255, 0.4); }

/* 改行調整：太字の見出し・リードは文節で改行 */
h1, h2, h3, .fw-700 { word-break: auto-phrase; }
/* 中央揃えは行長をそろえ、文節で改行する */
.text-center,
.heading:not(.heading--left),
.lm-cells__item--center {
  text-wrap: balance;
  word-break: auto-phrase;
}

.lm-fw-300 { font-weight: 300; }

/* 見出し前の青い四角 */
.lm-marker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lm-marker::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: #2D6BFF;
}

/* 英字小ラベル */
.lm-label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.22em;
  opacity: 0.85;
}
.lm-label.lm-marker { display: flex; }

/* ==========================================================================
   Header
   ========================================================================== */
/* 全幅の濃紺バー（画面上端・左右の余白なし）。TOPのMV上のみ透明→スクロールで濃紺 */
.lm-header {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.lm-header .header__inner {
  max-width: none;
  height: 64px;
  padding: 0 clamp(16px, 2.4vw, 32px);
  background: rgba(15, 27, 51, 0.96);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.lm-header--top:not(.is-scrolled) .header__inner {
  background: transparent;
  box-shadow: none;
}
.lm-header .lm-logo__text { color: #fff; }
.lm-header .lm-logo .lm-logo__img { filter: brightness(0) invert(1); }
.lm-header .header__nav { margin-right: 0; }
.lm-header .header__nav-item a { padding: 6px clamp(10px, 1.3vw, 20px); }
.lm-header .header__nav-item a::after { display: none; } /* 下線なし（hover・現在ページとも） */
.lm-header .header__nav-en {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: #1E1E1E;
}
.lm-header .header__nav-ja {
  margin-top: 7px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #1E1E1E;
}

/* ロゴ（画像＋社名） */
.lm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1E1E1E;
}
.lm-logo .lm-logo__img {
  display: block;
  width: auto;
  height: 60px;
}
.lm-logo__text {
  font-weight: 700;
  font-size: clamp(1.3rem, 1.3vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: #1E1E1E;
}

/* ハンバーガー（三本線・背景なし） */
/* 高さ44pxのボタンを64pxのバーの上下中央に置く（(64-44)/2=10px） */
.lm-nav-toggle {
  top: 10px;
  right: 10px;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
}
.lm-nav-toggle .nav-toggle__line { background: #fff; }

/* SP：社名は出さずロゴ画像のみ */
@media (max-width: 639px) {
  .lm-header .lm-logo .lm-logo__img { height: 40px; }
  .lm-header .lm-logo__text { display: none; }
}

/* PC（グロナビ表示幅）：バーを高くし、ナビ文字を白に */
@media (min-width: 900px) {
  .lm-header .header__inner {
    height: 76px;
    padding: 0 clamp(24px, 3vw, 48px);
  }
  .lm-header .header__nav-en,
  .lm-header .header__nav-ja { color: #fff; }
}

/* SPナビ */
.lm-sp-nav { background: rgba(30, 30, 30, 0.98); }
.lm-sp-nav .sp-nav__en { font-size: 1.1rem; }
.lm-sp-nav .sp-nav__link::after {
  content: "→";
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
}

.lm-anchor { scroll-margin-top: 76px; } /* 固定ヘッダー分ずらしてアンカー着地 */

/* ==========================================================================
   TOP：メインビジュアル
   ========================================================================== */
.lm-mv {
  position: relative;
  overflow: hidden;
  color: #fff;
}
#slideshow {
  position: relative;
  z-index: 0; /* CMSスライダー内の z-index をここで閉じ込め、暗幕・文字の下に置く */
  height: clamp(640px, 100vh, 1000px);
}
/* CMSスライダー：高さは 100vh 固定ではなく #slideshow に追従させる */
#slideshow #cms-slider-1-1-area { height: 100%; }
#slideshow #main_slider.slider_wrapper { --swiper-wrapper-height: 100%; }
#slideshow .swiper-slide,
#slideshow .main_slider__inner {
  height: 100%;
}
#slideshow .main_slider__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-mv__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0) 22%, rgba(18, 18, 18, 0) 40%, rgba(18, 18, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0) 60%);
}
.lm-mv__content {
  position: absolute;
  inset: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 64px) clamp(84px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px clamp(32px, 5vw, 80px);
  align-content: flex-end;
}
.lm-mv__copy {
  flex: 1 1 480px;
  min-width: 0;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}
.lm-mv__title {
  font-weight: 700;
  font-size: clamp(2.8rem, 3.6vw, 5.2rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
}
@media (max-width: 639px) {
  .lm-mv__title { font-size: 2.2rem; }
}
.lm-mv__lead {
  font-size: clamp(1.4rem, 1.3vw, 1.7rem);
  letter-spacing: 0.06em;
  color: #EDEDED;
}
.lm-mv__links {
  flex: 0 1 460px;
  min-width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lm-mv__copyright {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: 0.06em;
}

@media (max-width: 639px) {
  .lm-mv { padding-bottom: 72px; }
  #slideshow { height: 65vh; }
  .lm-mv__overlay { bottom: auto; height: 65vh; }
  .lm-mv__content {
    position: static;
    display: block;
    padding: 24px 20px 0;
  }
  .lm-mv__copy {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(65vh - 12px);
    transform: translateY(-100%);
  }
  .lm-mv__lead { margin-top: 16px; }
  .lm-mv__copyright { bottom: 28px; }
}

/* MV リンクボタン */
.lm-mv-link {
  display: flex;
  align-items: center;
  gap: 20px;
  height: clamp(56px, 5vw, 68px);
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: clamp(1.4rem, 1.3vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}
.lm-mv-link:hover {
  opacity: 1;
  background: #fff;
  color: #1E1E1E;
}
.lm-mv-link--white {
  background: #fff;
  border-color: #fff;
  color: #1E1E1E;
}
.lm-mv-link--white:hover { opacity: 0.85; }
.lm-mv-link__icon {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 2rem;
}
.lm-mv-link__label { flex: 1; }
.lm-mv-link__en {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   TOP：サービス内容（写真＋テキスト＋丸矢印の行）
   ========================================================================== */
.lm-biz-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 3.4vw, 40px) 0;
  color: #fff;
}
.lm-biz-row:hover { opacity: 1; }
.lm-biz-row__img {
  flex: none;
  width: clamp(120px, 16vw, 200px);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
}
.lm-biz-row__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.lm-biz-row:hover .lm-biz-row__img img { transform: scale(1.05); }
/* イラスト（黒地）：全体を見せ、黒地を枠の #2A2A2A まで持ち上げる */
.lm-biz-row__img--illust { background: #2A2A2A; }
.lm-biz-row__img--illust img {
  object-fit: contain;
  mix-blend-mode: lighten;
}
.lm-biz-row__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
@media (max-width: 639px) {
  .lm-biz-row { gap: 16px; }
  .lm-biz-row__img { width: 88px; }
  .lm-biz-row .lm-circle-arrow { display: none; }
  .lm-biz-row__body { gap: 10px; }
}

/* 丸囲み矢印 */
.lm-circle-arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid #fff;
  border-radius: 50%;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.lm-circle-arrow--lg {
  width: 64px;
  height: 64px;
  margin-left: 0;
  font-size: 2rem;
}
a:hover .lm-circle-arrow {
  background: #fff;
  color: #1E1E1E;
}
@media (max-width: 639px) {
  .lm-circle-arrow { width: 40px; height: 40px; }
  .lm-circle-arrow--lg { width: 52px; height: 52px; }
}

/* ==========================================================================
   TOP：販売パートナー募集バナー（page-hero の3層構造を流用）
   ========================================================================== */
.lm-bnr {
  display: block;
  min-height: clamp(320px, 34vw, 440px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.lm-bnr:hover { opacity: 1; }
.lm-bnr .page-hero__bg { transition: transform 0.8s ease; }
.lm-bnr:hover .page-hero__bg { transform: scale(1.04); }
.lm-bnr__content {
  min-height: inherit;
  padding: clamp(32px, 5vw, 64px);
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
@media (max-width: 639px) {
  /* SPは文字が写真に重なる面積が大きいため暗幕を濃くする */
  .lm-bnr .page-hero__overlay { background: rgba(22, 22, 22, 0.6); }
}
.lm-bnr__more {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* 枠線タグ */
.lm-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  line-height: 1.4;
}
.lm-tag--pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* ==========================================================================
   TOP：コンテンツ（左下くり抜きカード）
   ========================================================================== */
.lm-notch-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
}
.lm-notch-card:hover { opacity: 1; }
.lm-notch-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.lm-notch-card:hover img { transform: scale(1.05); }
.lm-notch-card__label {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px clamp(28px, 3vw, 40px) 4px 0;
  background: #1E1E1E;
  border-top-right-radius: 12px;
}

/* ==========================================================================
   下層：ページヒーロー
   ========================================================================== */
.lm-page-hero {
  /* ヘッダー（76px）を重ねるため、その分を上余白に含める */
  padding: calc(76px + clamp(56px, 7vw, 100px)) 0 clamp(56px, 7vw, 96px);
  color: #fff;
}
.lm-page-hero__overlay {
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.72) 0%, rgba(22, 22, 22, 0.5) 50%, rgba(22, 22, 22, 0.2) 100%),
    linear-gradient(0deg, rgba(30, 30, 30, 0.75) 0%, rgba(30, 30, 30, 0) 45%);
}
.lm-page-hero .breadcrumb__link { color: rgba(255, 255, 255, 0.7); }
.lm-page-hero .breadcrumb__current { color: rgba(255, 255, 255, 0.7); }
.lm-page-hero .heading__en { text-shadow: none; }

/* ==========================================================================
   画像枠
   ========================================================================== */
.lm-media {
  border-radius: 6px;
  overflow: hidden;
}
.lm-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-media--illust { background: #2A2A2A; }
.lm-media--illust-body { background: #1E1E1E; } /* #1E1E1E のセクション上で使う */
.lm-media--illust img {
  object-fit: contain;
  mix-blend-mode: lighten; /* 画像の黒地を枠の背景色まで持ち上げる */
}
.lm-media--16-10 { aspect-ratio: 16 / 10; }

/* ==========================================================================
   1px罫線のマス目（要点・サポート内容）
   ========================================================================== */
.lm-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.lm-cells__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
  background: #2A2A2A;
}
.lm-cells--dark .lm-cells__item {
  padding: clamp(32px, 4vw, 48px);
  background: #1E1E1E;
}
.lm-cells__item--center {
  align-items: center;
  gap: 32px;
  text-align: center;
}
.lm-icon {
  display: block;
  color: #fff;
}
@media (max-width: 896px) {
  .lm-cells { grid-template-columns: 1fr; }
}

/* ==========================================================================
   点と線のステップ
   ========================================================================== */
.lm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.lm-steps__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.lm-steps__line {
  display: flex;
  align-items: center;
}
.lm-steps__line::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}
.lm-steps__line::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.5);
}
.lm-steps__item:last-child .lm-steps__line::after { background: transparent; }
@media (max-width: 896px) {
  .lm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  /* SPは縦のタイムライン：左に点と縦線、右にテキスト */
  .lm-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lm-steps__item {
    display: grid;
    grid-template-columns: 14px 1fr;
    column-gap: 16px;
    row-gap: 8px;
    padding-bottom: 28px;
  }
  .lm-steps__item > :not(.lm-steps__line) { grid-column: 2; }
  .lm-steps__line {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
  }
  .lm-steps__line::after {
    width: 1px;
    height: auto;
    margin: 8px 0 -28px;
  }
}

/* ==========================================================================
   会社概要（dl-timeline の差分）
   ========================================================================== */
.lm-dl .dl-timeline__row {
  flex-wrap: wrap;
  gap: 8px 40px;
  padding: 28px 0;
}
.lm-dl .dl-timeline__row:first-child { border-top-color: rgba(255, 255, 255, 0.5); }
.lm-dl .dl-timeline__year {
  flex: 0 0 180px;
  min-width: 0;
  font-family: "M PLUS 2", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 2;
  color: #fff;
}
.lm-dl .dl-timeline__text {
  flex: 1 1 300px;
  font-size: 1.6rem;
  line-height: 2;
  color: #E6E6E6;
}
@media (max-width: 639px) {
  .lm-dl .dl-timeline__row { padding: 20px 0; }
  .lm-dl .dl-timeline__year { flex-basis: 100%; font-size: 1.4rem; }
  .lm-dl .dl-timeline__text { font-size: 1.4rem; }
}

/* ==========================================================================
   販売パートナー募集：募集案内
   ========================================================================== */
.lm-recruit {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px);
  border-radius: 6px;
  background: #2A2A2A;
}
.lm-recruit__body {
  position: relative;
  flex: 1 1 480px;
  min-width: 0;
}
.lm-recruit__box {
  position: relative;
  flex: 0 1 300px;
  min-width: min(100%, 240px);
  padding: 24px 28px;
  border-radius: 4px;
}
@media (max-width: 639px) {
  /* SPは「取扱商材」タグと商材名を横並び */
  .lm-recruit__box {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.lm-tel-card {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  border-radius: 6px;
  overflow: hidden;
  background: #2A2A2A;
}
.lm-tel-card__body { padding: clamp(28px, 3vw, 40px); }
@media (max-width: 896px) {
  .lm-tel-card { position: static; }
}
.lm-border-top { border-top: 1px solid rgba(255, 255, 255, 0.3); }

/* CMSフォーム（mail-form.css / form-pattern-1）を暗背景デザインに上書き
   ※ CMS側CSSが後から読み込まれるため、.lm-form を前置して詳細度で上回らせる */
.lm-form .form-contents.form-pattern-1 {
  padding: 0;
  background: transparent;
}
.lm-form .form-contents form dl dt:not(.pattern-exclusion) {
  float: none;
  width: auto;
  margin: 0 0 12px;
  padding-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}
.lm-form .form-contents form dl dd:not(.pattern-exclusion) {
  padding: 0 0 28px;
  border-bottom: none;
}
/* ラベル右に必須／任意バッジ */
.lm-form .form-contents form dl dt:not(.pattern-exclusion) span {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}
.lm-form .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  top: 0;
  margin: 0;
  padding: 4px 6px;
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.lm-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  background: #fff;
  color: #1E1E1E;
}
.lm-form .form-pattern-1 dl dt:not(.pattern-exclusion) span.optional::before {
  content: "任意";
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}
/* 入力欄 */
.lm-form .form-contents dd:not(.pattern-exclusion) .textarea,
.lm-form .form-contents dd:not(.pattern-exclusion) .textarea-serect {
  height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #2A2A2A;
  color: #fff;
  font-family: inherit;
  font-size: 1.6rem; /* 16px未満だとiOSで入力時に拡大される */
  outline: none;
  transition: border-color 0.3s ease;
}
.lm-form .form-contents dd:not(.pattern-exclusion) textarea.textarea {
  height: auto;
  padding: 14px 16px;
  line-height: 1.9;
  resize: vertical;
}
.lm-form .form-contents dd:not(.pattern-exclusion) .textarea-serect {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background: #2A2A2A url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 16px center / 14px;
  cursor: pointer;
}
.lm-form .form-contents dd:not(.pattern-exclusion) .textarea:focus,
.lm-form .form-contents dd:not(.pattern-exclusion) .textarea-serect:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
/* 送信ボタン：白地黒文字＋右端矢印 */
.lm-form .form-contents .submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 320px);
  height: 64px;
  margin: 16px auto 0;
  padding: 0 28px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: #1E1E1E;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.lm-form .form-contents .submit-btn::before { display: none; }
.lm-form .form-contents .submit-btn::after {
  content: "→";
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
}
.lm-form .form-contents .submit-btn:hover {
  background: transparent;
  color: #fff;
}
/* 送信完了表示 */
.lm-form .form-pattern-1 .form-thanks-msg {
  padding: 48px 24px;
  border: none;
  border-radius: 6px;
  background: #2A2A2A;
  color: #fff;
}
.lm-form .form-pattern-1 .form-thanks-msg .back-home-btn a {
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: #1E1E1E;
}
.lm-form .form-pattern-1 .form-thanks-msg .back-home-btn a:hover {
  background: transparent;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lm-footer {
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lm-footer .footer-body__inner {
  flex-wrap: wrap;
  gap: 48px;
  padding: 0;
}
@media (max-width: 1320px) {
  /* 他セクションの .container と同じ左右余白（95% + 10px）にそろえる */
  .lm-footer .footer-body__inner { max-width: 95%; padding: 0 10px; }
}
.lm-footer .lm-logo__text { color: #fff; }
.lm-footer .lm-logo .lm-logo__img { height: 40px; }
.lm-footer__left {
  flex: 1 1 360px;
  width: auto;
}
@media (max-width: 896px) {
  .lm-footer__left { flex: none; }
}
.lm-footer .footer-body__info {
  font-size: 1.4rem;
  line-height: 2;
  color: #D6D6D6;
}
.lm-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, auto));
  gap: 16px 48px;
  align-content: start;
}
.lm-footer .footer-body__nav-item a {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #fff;
}
@media (max-width: 639px) {
  .lm-footer__nav { display: none; } /* SPはフッターナビ非表示（ハンバーガーで代替） */
  /* SPはフッターを中央揃え */
  .lm-footer__left { text-align: center; }
  .lm-footer .lm-logo { justify-content: center; }
}
.lm-footer__map {
  flex: 1 1 360px;
  max-width: 440px;
  height: 220px;
  margin-top: 0;
  border-radius: 6px;
}
@media (max-width: 896px) {
  .lm-footer__map { flex: none; max-width: none; }
}

.lm-footer-bottom {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  text-align: center;
}
.lm-footer-bottom .container {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lm-footer-bottom .footer-bottom__copyright {
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
