@charset "UTF-8";

/* ============================================================
   UPF 共通ヘッダー・フッター（使い回し用）
   ------------------------------------------------------------
   ・レイアウト/構造はAIMS LPを踏襲（PC/SP出し分け・vwスケーリング・sticky）
   ・案件ごとに変えるのは【色】と【テキスト/リンク/画像パス】のみ
   ・SPブレークポイントは 767px 以下
   ・依存: 電話アイコンはHTML側にインラインSVGで記述
   ------------------------------------------------------------
   ▼案件ごとに変更する箇所（このCSS内）
     --brand-tel   … 電話番号の色
     --brand-cta1 / --brand-cta2 … CTAボタンのグラデ色
     --footer-text … フッター文字色
   ============================================================ */

:root {
  --brand-tel: #193f94;      /* 電話番号の色 */
  --brand-cta1: #fb9f02;     /* CTAグラデ 上 */
  --brand-cta2: #fb7d02;     /* CTAグラデ 下 */
  --footer-text: #45556b;    /* フッター文字色 */
}

/* ---------- 最低限のリセット（既存プロジェクトに揃っていれば削除可） ---------- */
.adlp-header *,
#footer * { box-sizing: border-box; }
.adlp-header img,
#footer img { display: block; max-width: 100%; }

/* ---------- PC/SP 出し分けユーティリティ ---------- */
.pc-only { display: none; }
.sp-only { display: block; }
@media (min-width: 768px) {
  .pc-only { display: block; }
  .sp-only { display: none !important; }
}

/* ============================================================
   ヘッダー
   ============================================================ */
.adlp-header {
  width: 100%;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  height: calc(100 / 750 * 100vw);
}
.adlp-header__inner {
  width: min(calc(1380 / 1280 * 100vw), 1380px);
  height: 100%;
  margin: auto;
  position: relative;
  max-width: 100%;
}
.adlp-header .w100 { width: 100% !important; display: block; }

/* width/height属性による縦伸び防止（SP限定） */
@media screen and (max-width: 767px) {
  .adlp-header img { max-width: 100%; height: auto; }
}

/* --- SPヘッダー --- */
.adlp-header__logo {
  position: absolute;
  left: calc(25 / 750 * 100vw);
  width: calc(123 / 750 * 100vw);
  top: calc(28 / 750 * 100vw);
}
.adlp-header__logo2 {
  position: absolute;
  left: calc(161 / 750 * 100vw);
  width: calc(160 / 750 * 100vw);
  top: calc(28 / 750 * 100vw);
}
.adlp-header__btn {
  position: absolute;
  right: calc(25 / 750 * 100vw);
  width: calc(150 / 750 * 100vw);
  height: calc(80 / 750 * 100vw);
  top: 0;
}
.adlp-header__btn .adlp-btn { display: block; width: 100%; height: 100%; }
.adlp-header__btn .adlp-btn__bg {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: auto;
  height: calc(50 / 750 * 100vw);
  background: linear-gradient(to bottom, var(--brand-cta1) 4.225%, var(--brand-cta2) 82.306%);
  border-radius: 5px;
  box-shadow: 0 calc(4 / 750 * 100vw) calc(4 / 750 * 100vw) 0 #9d9d9d;
}
.adlp-header__btn .adlp-btn__label {
  position: absolute;
  top: calc(50% - 1px);
  left: calc(50% + 0.5px);
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: calc(16 / 750 * 100vw);
  line-height: 1.1;
  color: #fff;
  text-align: center;
  font-feature-settings: "halt" 1;
  white-space: nowrap;
}

/* SP電話表示 */
.adlp-header-sp-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  color: var(--brand-tel);
  position: absolute;
  top: calc(13 / 750 * 100vw);
  right: min(calc(280 / 1080 * 100vw), 350px);
  width: min(calc(316 / 1080 * 100vw), 316px);
  height: min(calc(80 / 1080 * 100vw), 80px);
  font-weight: 700;
  line-height: 1.3;
}
.adlp-header-sp-tel-text { font-size: min(calc(12 / 750 * 100vw), 12px); color: #000; }
.adlp-header-sp-tel-text02 {
  font-size: min(calc(12 / 750 * 100vw), 12px);
  color: #000;
  position: absolute;
  right: calc(25 / 750 * 100vw);
  bottom: 3px;
  font-weight: 700;
}
.adlp-header-sp-tel-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  top: 3px;
}
.adlp-header-sp-tel-number {
  font-size: calc(30 / 750 * 100vw);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--brand-tel);
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}

/* --- PCヘッダー --- */
@media screen and (min-width: 768px) {
  .adlp-header { height: min(calc(110 / 1080 * 100vw), 110px); }
  .adlp-header__inner--pc {
    position: static;
    max-width: 100%;
    height: 100%;
    padding: 0 min(calc(34 / 1080 * 100vw), 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: min(calc(20 / 1080 * 100vw), 20px);
  }
  .adlp-header__logos {
    display: flex;
    align-items: center;
    gap: min(calc(20 / 1080 * 100vw), 20px);
    flex: none;
  }
  .adlp-header__logo-main { height: min(calc(58 / 1080 * 100vw), 58px); width: auto; display: block; }
  .adlp-header__badge { height: min(calc(40 / 1080 * 100vw), 40px); width: auto; display: block; }
  .adlp-header__right {
    display: flex;
    align-items: center;
    gap: min(calc(24 / 1080 * 100vw), 24px);
    flex: none;
  }
  .adlp-header__tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: min(calc(5 / 1080 * 100vw), 5px);
  }
  .adlp-header__tel-label { font-size: min(calc(12 / 1080 * 100vw), 12px); font-weight: 700; color: #000; line-height: 1; }
  .adlp-header__tel-number {
    display: flex;
    align-items: center;
    gap: min(calc(8 / 1080 * 100vw), 8px);
    color: var(--brand-tel);
  }
  .adlp-header__tel-number svg {
    display: block;
    flex-shrink: 0;
    width: min(calc(28 / 1080 * 100vw), 28px);
    height: min(calc(28 / 1080 * 100vw), 28px);
  }
  .adlp-header__tel-num {
    font-size: min(calc(36 / 1080 * 100vw), 36px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .01em;
    color: var(--brand-tel);
  }
  .adlp-header__tel-divider { width: 100%; height: 1px; background: #e2e2e2; margin: 1px 0; }
  .adlp-header__tel-hours { font-size: min(calc(11 / 1080 * 100vw), 11px); color: #000; line-height: 1; }
  .adlp-header__cta {
    display: flex;
    align-items: center;
    gap: min(calc(14 / 1080 * 100vw), 14px);
    color: #fff;
    background: linear-gradient(180deg, var(--brand-cta1), var(--brand-cta2));
    border-radius: min(calc(6 / 1080 * 100vw), 6px);
    padding: min(calc(12 / 1080 * 100vw), 12px) min(calc(26 / 1080 * 100vw), 26px);
    box-shadow: 0 min(calc(4 / 1080 * 100vw), 4px) min(calc(10 / 1080 * 100vw), 10px) rgba(251, 125, 2, .3);
    transition: opacity 0.2s;
    text-decoration: none;
  }
  .adlp-header__cta:hover { opacity: 0.85; }
  .adlp-header__cta-text { display: flex; flex-direction: column; line-height: 1.25; }
  .adlp-header__cta-main { font-size: min(calc(18 / 1080 * 100vw), 18px); font-weight: 800; color: #fff; }
  .adlp-header__cta-sub { font-size: min(calc(11 / 1080 * 100vw), 11px); opacity: .95; color: #fff; }
  .adlp-header__cta-arrow { font-size: min(calc(20 / 1080 * 100vw), 20px); font-weight: 700; line-height: 1; color: #fff; }
}

/* ============================================================
   フッター
   ============================================================ */
#footer {
  background: #fff;
  border-top: 1px solid #e0e4ea;
  padding: 40px 0 0;
}
.footer-inner {
  width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  max-width: 100%;
}
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-badges { height: 42px; width: auto; }
.footer-logo { height: 50px; width: auto; }
.footer-service { font-size: 15px; font-weight: 500; color: var(--footer-text); }
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  font-size: 14px;
  max-width: 400px;
}
.footer-links a { color: var(--footer-text); text-decoration: none; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 0.6; }
.footer-copy {
  font-size: 13px;
  color: var(--footer-text);
  text-align: center;
  border-top: 1px solid #e0e4ea;
  margin-top: 32px;
  padding: 20px 0;
}

/* --- フッター SP --- */
@media (max-width: 767px) {
  #footer { padding: 36px 0 24px; }
  .footer-inner { flex-direction: column; align-items: center; padding: 0 20px; gap: 16px; }
  .footer-left, .footer-right { align-items: center; gap: 16px; }
  .footer-logo { height: 45px; }
  .footer-service { font-size: 12px; text-align: center; padding: 0 20px; }
  .footer-copy { font-size: 11px; text-align: center; border-top: none; margin-top: 0; padding: 0; }
  .footer-brand { justify-content: center; }
  .footer-badges { height: 35px; }
  .footer-links { justify-content: center; max-width: none; gap: 8px 18px; font-size: 11px; }
}
