/* ============================================================
   NAYOSEL 共通スタイル（NAYOSEL_LP.xd 準拠）
   PC=1440 / SP=375
   色: 文字#182c37 / オレンジ#f27405 / グレー#6c8d95 / 下地#f1f5f4 / 帯#e6eff1
   ============================================================ */
.sp-only { display: none; }
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #182c37;
  --orange: #f27405;
  --gray: #6c8d95;
  --bg-base: #f1f5f4;
  --bg-card: #e6eff1;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-top: 138px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.en { font-family: "Roboto", sans-serif; }

.l-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー（XD: 1440x138・固定） ---------- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #fff; box-shadow: 0 2px 14px rgba(24, 44, 55, 0.08); }
.header__inner { max-width: 1440px; margin: 0 auto; height: 138px; padding: 0 20px 0 25px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.header__logo { flex: 0 0 auto; }
.header__logo img { width: 211px; height: 34px; }
.header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.header__cta { display: flex; gap: 10px; }
.hbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 100px; color: #fff; font-size: 14px; font-weight: 500; transition: 0.2s; }
.hbtn:hover { opacity: 0.85; }
.hbtn--dark { background: var(--ink); width: 230px; padding-right: 48px; }
.hbtn--orange { background: var(--orange); width: 167px; }
.hbtn__ico { width: 24px; height: 24px; }
.hbtn__badge { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 56px; height: 30px; border-radius: 100px; background: #dfebe7; color: var(--ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gnav__list { list-style: none; display: flex; gap: 36px; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: 0.1em; }
.gnav__list a { transition: 0.2s; }
.gnav__list a:hover { color: var(--orange); }
.header__spBtns { display: none; }
.spmenu { display: none; }

/* ---------- 下層ページヒーロー（オレンジグラデ角丸カード） ---------- */
.page-hero { padding: 10px 10px 0; }
.page-hero__box {
  border-radius: 30px;
  /* XD: 斜めグラデ #f1f5f4 → #e4ede6 → #f5da78 → #f8c37a（ベクトル(0.714,-0.065)→(0.667,0.942)を1420x438でCSS換算） */
  background: linear-gradient(188.7deg, #f1f5f4 5.1%, #e4ede6 24.1%, #f5da78 49.6%, #f8c37a 74%);
  min-height: 438px;
  padding: 105px 110px 0;
}
.page-hero__ttl { font-size: 42px; font-weight: 700; letter-spacing: 0.2em; line-height: 60px; }
.page-hero__lead { margin-top: 56px; font-size: 15px; font-weight: 500; line-height: 30px; letter-spacing: 0.02em; }

/* ---------- 下層共通見出し（44 Bold・字間0.15em・部分オレンジ） ---------- */
.c-ttl { font-size: 44px; font-weight: 700; text-align: center; letter-spacing: 0.15em; line-height: 54px; }
.c-lead { margin-top: 40px; font-size: 16px; font-weight: 500; text-align: center; letter-spacing: 0.12em; line-height: 30px; }
.ac { color: var(--orange); }

/* ---------- パンくず（CTA帯の中・上端） ---------- */
.breadcrumb { max-width: 1440px; margin: 0 auto; padding: 42px 120px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0; font-size: 10px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid #c9d6d4; }
.breadcrumb li + li::before { content: "／"; margin: 0 12px; color: var(--ink); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- お問い合わせCTA帯（footer_お問い合わせ付） ---------- */
.contact-cta__fade { height: 168px; background: linear-gradient(0deg, var(--bg-card) 0%, rgba(230, 239, 241, 0) 100%); }
.contact-cta { background: var(--bg-card); padding: 0 0 96px; }
.contact-cta__ttl { margin-top: 66px; text-align: center; font-size: 50px; font-weight: 700; letter-spacing: 0.02em; }
.contact-cta__lead { margin-top: 22px; text-align: center; font-size: 15px; font-weight: 500; line-height: 30px; }
.contact-cta__grid { max-width: 1440px; margin: 96px auto 0; padding: 0 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 51px; }
.contact-cta__card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 15px rgba(27, 53, 146, 0.05);
  padding: 118px 32px 88px;
  text-align: center;
  transition: 0.2s;
}
.contact-cta__card:hover { transform: translateY(-3px); box-shadow: 0 14px 20px rgba(27, 53, 146, 0.1); }
.contact-cta__ico { position: absolute; top: -44px; left: 50%; transform: translateX(-50%); height: 120px; display: flex; align-items: flex-end; }
.contact-cta__ico img { max-height: 120px; width: auto; }
.contact-cta__name { font-size: 26px; font-weight: 700; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; gap: 12px; }
.contact-cta__badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 30px; border-radius: 100px; background: #dfebe7; color: var(--ink); font-size: 16px; font-weight: 700; box-shadow: 0 5px 3px rgba(27, 53, 146, 0.15); }
.contact-cta__txt { display: block; margin-top: 24px; font-size: 15px; font-weight: 500; line-height: 30px; text-align: left; }
.contact-cta__arrow { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: #114c5a; display: flex; align-items: center; justify-content: center; }
.contact-cta__arrow img { width: 13px; height: 15px; margin-left: 2px; }

/* ---------- フッター ---------- */
.footer { background: var(--bg-base); padding: 58px 0 56px; }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 0 120px; display: flex; justify-content: space-between; }
.footer__brand { display: flex; flex-direction: column; justify-content: space-between; }
.footer__logo img { width: 123px; height: 110px; }
.footer__copy { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }
.footer__nav { display: flex; gap: 0; }
.footer__col { width: 182px; }
.footer__col--wide { width: 259px; }
.footer__col ul { list-style: none; font-size: 14px; font-weight: 500; }
.footer__col li { margin-bottom: 18px; line-height: 1.6; }
.footer__col a:hover { color: var(--orange); }
.footer__sec-ttl { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.footer__sec-txt { font-size: 12px; font-weight: 500; line-height: 22px; }
.footer__certs { margin-top: 24px; display: flex; gap: 7px; }
.footer__certs img { width: 78px; height: 78px; object-fit: contain; background: #fff; }

/* ============================================================
   SP（〜768px）
   ============================================================ */
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  body { padding-top: 60px; }

  /* SPヘッダー（XD: 375x60・固定） */
  .header__inner { height: 60px; padding: 0 0 0 14px; }
  .header__logo img { width: 150px; height: auto; }
  .header__right { display: none; }
  .header__spBtns { display: flex; position: absolute; right: 0; top: 0; }
  .spbtn { width: 70px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9px; font-weight: 700; line-height: 1.3; text-align: center; }
  .spbtn--dark { background: var(--ink); color: #fff; }
  .spbtn--orange { background: var(--orange); color: #fff; }
  .spbtn--menu { background: #fff; color: var(--ink); border: 0; font-family: inherit; cursor: pointer; }
  .spbtn__ico { width: 20px; height: 20px; }
  .spbtn__bars { width: 24px; height: 15px; margin-bottom: 2px; }

  /* SPメニュー（デザイン未提供のため最小構成） */
  .spmenu { display: none; position: fixed; top: 60px; left: 0; width: 100%; z-index: 999; background: #fff; box-shadow: 0 10px 15px rgba(24, 44, 55, 0.12); }
  .spmenu.is-open { display: block; }
  .spmenu ul { list-style: none; padding: 8px 0; }
  .spmenu a { display: block; padding: 13px 24px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; border-bottom: 1px solid #e6eff1; }

  /* 下層ヒーロー */
  .page-hero { padding: 10px 10px 0; }
  .page-hero__box { min-height: 420px; padding: 66px 20px 36px; border-radius: 30px; background: linear-gradient(182.5deg, #f1f5f4 -5.2%, #e4ede6 21.6%, #f5da78 57.5%, #f8c37a 92%); }
  .page-hero__ttl { font-size: 26px; line-height: 32px; letter-spacing: 0.2em; }
  .page-hero__lead { margin-top: 44px; font-size: 15px; line-height: 28px; }

  .breadcrumb { padding: 32px 20px 0; }

  /* CTA帯 */
  .contact-cta { padding: 60px 0 70px; }
  .contact-cta__ttl { font-size: 25px; line-height: 1.6; }
  .contact-cta__lead { margin-top: 16px; padding: 0 24px; font-size: 14px; line-height: 26px; text-align: left; }
  .contact-cta__grid { margin-top: 80px; padding: 0 20px; grid-template-columns: 1fr; gap: 74px; }
  .contact-cta__card { padding: 96px 24px 80px; }

  /* フッター（XD SP: ロゴ中央最上部→2カラムメニュー→セキュリティ中央→コピーライト中央） */
  .footer { padding: 30px 0 15px; }
  .footer__inner { flex-direction: column; padding: 0; }
  .footer__brand { display: contents; }
  .footer__logo { order: 1; display: flex; justify-content: center; }
  .footer__logo img { width: 67px; height: 60px; }
  .footer__copy { order: 3; margin-top: 40px; font-size: 9px; text-align: center; }
  .footer__nav { order: 2; margin-top: 44px; padding: 0 30px; flex-wrap: wrap; justify-content: space-between; }
  .footer__col { width: calc(50% - 14px); }
  .footer__col ul { font-size: 12px; border-top: 1px solid #dce6e4; }
  .footer__col li { margin-bottom: 0; line-height: 1.5; border-bottom: 1px solid #dce6e4; }
  .footer__col ul a { display: flex; align-items: center; min-height: 52px; padding: 0 0 0 7px; }
  .footer__col--wide { width: 100%; margin-top: 64px; text-align: center; }
  .footer__sec-ttl { font-size: 12px; margin-bottom: 0; }
  .footer__sec-txt { margin-top: 14px; font-size: 11px; line-height: 17px; }
  .footer__certs { margin-top: 12px; justify-content: center; gap: 7px; }
  .footer__certs img { width: 87px; height: 87px; }
}
