@charset "UTF-8";
/*
 * PULL-NET リニューアル 新デザイン用スタイル
 * 対象：共通ヘッダー・共通フッター（全ページ共通）
 * Figma: PULL-NET_ECサイト (fileKey ESLPtaetNAYeAEKry21qFn)
 *   - ヘッダー: node 289:4104
 *   - フッター: node 366:1495
 *
 * 既存の css/style.css には手を加えず、新規クラス（pn- 接頭辞）のみで
 * 完結させることで、既存ページのスタイルに影響を与えないようにしている。
 */

/* ==========================================================================
   共通トークン（Figma Variablesより）
   ========================================================================== */
.pn-header,
.pn-header-mobile,
.pn-footer {
  --pn-brand-primary: #C7221B;
  --pn-text-primary: #333333;
  --pn-text-muted: #999999;
  --pn-text-inverse: #FFFFFF;
  --pn-bg-default: #FFFFFF;
  --pn-bg-subtle: #F5F5F5;
  --pn-border-default: #E5E5E5;
  --pn-container: 1280px;
  box-sizing: border-box;
}
.pn-header *,
.pn-header-mobile *,
.pn-footer * {
  box-sizing: border-box;
}

/* css/style.css 側に a:link, a:visited { text-decoration: underline; } という
   全ページ共通のデフォルトリンク下線スタイルがあり、通常状態・ホバー状態のどちらでも
   詳細度(0,0,1,1)がクラス単体(0,0,1,0)より高いため、そのままだと下線が出てしまう。
   ここで :link/:visited/:hover/:focus すべての状態を明示的に打ち消す。
   （フッターのサービス一覧等、意図的にホバーで下線を出す箇所は個別ルールの方が詳細度が高いため維持される） */
.pn-header a,
.pn-header a:link,
.pn-header a:visited,
.pn-header a:hover,
.pn-header a:focus,
.pn-header-mobile a,
.pn-header-mobile a:link,
.pn-header-mobile a:visited,
.pn-header-mobile a:hover,
.pn-header-mobile a:focus,
.pn-footer a:link,
.pn-footer a:visited,
.pn-footer a:hover,
.pn-footer a:focus {
  text-decoration: none;
}

/* 上と同じ理由(a:link/a:visited/a:hover/a:activeの詳細度 0,0,1,1)で、
   文字色(color)もクラス単体の指定(0,0,1,0)だと負けて #333 や #C6221B に
   置き換わってしまう。色が異なる要素ごとに :link/:visited/:hover/:active を
   明示して詳細度を確保する。 */
.pn-header__nav-link:link,
.pn-header__nav-link:visited {
  color: var(--pn-text-primary);
}

.pn-header__cta-btn:link,
.pn-header__cta-btn:visited {
  color: var(--pn-text-inverse);
}

.pn-footer__contact-phone:link,
.pn-footer__contact-phone:visited,
.pn-footer__contact-phone:hover,
.pn-footer__contact-phone:active,
.pn-footer__contact-link:link,
.pn-footer__contact-link:visited,
.pn-footer__contact-link:hover,
.pn-footer__contact-link:active,
.pn-footer__address a:link,
.pn-footer__address a:visited,
.pn-footer__address a:hover,
.pn-footer__address a:active,
.pn-footer__bottom a:link,
.pn-footer__bottom a:visited,
.pn-footer__bottom a:hover,
.pn-footer__bottom a:active {
  color: var(--pn-text-inverse);
}

/* ==========================================================================
   ヘッダー（デスクトップ）
   ========================================================================== */
/* display は .onlypc/.onlysp (css/style.css) と競合しないよう、下部で
   .pn-header.onlypc のように結合セレクタで明示的に制御する（読み込み順に依存させない） */
.pn-header {
  align-items: center;
  justify-content: space-between;
  height: 100px;
  width: 100%;
  padding-left: 30px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.pn-header.onlypc {
  display: flex;
}

.pn-header-mobile.onlysp {
  display: none;
}

@media (max-width: 768px) {
  .pn-header.onlypc {
    display: none;
  }
  .pn-header-mobile.onlysp {
    display: flex;
  }
}

.pn-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.pn-header__catch {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--pn-text-primary);
  white-space: nowrap;
}

.pn-header__logo {
  display: block;
  line-height: 0;
}

.pn-header__logo img {
  width: 220px;
  height: auto;
  display: block;
}

.pn-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 0 0;
  min-width: 0;
  gap: 32px;
  padding: 0 32px;
  height: 100%;
}

.pn-header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.pn-header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--pn-text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.pn-header__nav-link:hover {
  color: var(--pn-brand-primary);
}

.pn-header__chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.pn-header__nav-item:hover .pn-header__chevron {
  transform: rotate(180deg);
}

/* サービス ドロップダウン（Figmaは閉じた状態のみ確定のため、
   既存サイトの #main_gnavi:hover > #sub_navi と同じ「ホバーで開く」挙動のみ踏襲。
   パネルの見た目は暫定実装 — 要確認） */
.pn-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--pn-bg-default);
  border: 1px solid var(--pn-border-default);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.pn-header__nav-item:hover .pn-header__dropdown,
.pn-header__nav-item:focus-within .pn-header__dropdown {
  visibility: visible;
  opacity: 1;
}

.pn-header__dropdown li a {
  display: block;
  padding: 8px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--pn-text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.pn-header__dropdown li a:hover {
  color: var(--pn-brand-primary);
  background: var(--pn-bg-subtle);
}

.pn-header__cta {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex-shrink: 0;
}

.pn-header__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  color: var(--pn-text-inverse);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

/* ホバー時は文字色(白)を変えず、背景色を薄く(明るく)する */
.pn-header__cta-btn:hover {
  color: var(--pn-text-inverse);
}

.pn-header__cta-btn--estimate {
  background: var(--pn-text-primary);
}

.pn-header__cta-btn--estimate:hover {
  background: #5c5c5c;
}

.pn-header__cta-btn--contact {
  background: var(--pn-brand-primary);
}

.pn-header__cta-btn--contact:hover {
  background: #d24e49;
}

/* ==========================================================================
   ヘッダー（モバイル / 768px以下）
   既存の #toggle・#menu（ハンバーガーメニュー本体）は css/style.css 側の
   仕組みをそのまま流用し、ここではロゴのみを表示する簡易バーを用意する。
   モバイル版デザインは未確定（2026-09-04時点、安井さん確認済み）。確定まではこの暫定実装で保留。
   ========================================================================== */
.pn-header-mobile {
  align-items: center;
  height: 50px;
  padding: 0 15px;
  background: var(--pn-bg-default);
  border-bottom: 1px solid var(--pn-border-default);
}

.pn-header-mobile__logo img {
  height: 24px;
  width: auto;
  display: block;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.pn-footer {
  width: 100%;
  overflow: hidden;
}

.pn-footer a {
  text-decoration: none;
  color: inherit;
}

.pn-footer__inner {
  width: var(--pn-container);
  max-width: 100%;
  margin: 0 auto;
}

/* CONTACT セクション */
.pn-footer__contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 100px 20px;
  background: var(--pn-brand-primary);
  overflow: hidden;
}

.pn-footer__contact-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 698px;
  height: 698px;
  transform: translate(-50%, -50%) rotate(45deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.pn-footer__contact-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 80px;
}

.pn-footer__contact-label {
  display: flex;
  flex-direction: column;
}

.pn-footer__contact-label span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--pn-text-inverse);
}

.pn-footer__contact-label strong {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 48px;
  color: var(--pn-bg-subtle);
  line-height: 1.2;
}

.pn-footer__contact-lead {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: var(--pn-text-inverse);
  text-align: center;
}

.pn-footer__contact-lead .pn-footer__brandname {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.pn-footer__contact-items {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
}

.pn-footer__contact-phone {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--pn-text-inverse);
}

.pn-footer__contact-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
}

.pn-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--pn-text-inverse);
}

.pn-footer__contact-link .pn-footer__icon {
  width: auto;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.pn-footer__contact-link i {
  font-size: 20px;
}

/* パートナーバナー */
.pn-footer__partners {
  display: flex;
  justify-content: center;
  padding: 24px 20px;
  background: var(--pn-bg-subtle);
}

.pn-footer__partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 0;
}

.pn-footer__partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 100px;
  background: var(--pn-bg-default);
}

.pn-footer__partner img {
  max-width: 80%;
  max-height: 70%;
}

/* HubSpotバナーはFigma上でnode(366:1298)をそのまま380x100pxで書き出した画像のため、
   他2枠と違い余白を作らずボックス全体を埋める */
.pn-footer__partner--hubspot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

/* メインリンクエリア */
.pn-footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 20px;
  background: #333333;
}

.pn-footer__main-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.pn-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 260px;
}

.pn-footer__brand img {
  width: 200px;
  height: auto;
}

.pn-footer__address {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pn-text-inverse);
}

.pn-footer__nav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
}

.pn-footer__nav-group-title {
  margin: 0 0 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--pn-text-inverse);
}

.pn-footer__nav-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pn-footer__nav-group--grid ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 16px 32px;
}

.pn-footer__nav-group:not(.pn-footer__nav-group--grid) ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pn-footer__nav-group ul li a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--pn-text-inverse);
  white-space: nowrap;
}

.pn-footer__nav-group ul li a:hover {
  text-decoration: underline;
}

/* コピーライト */
.pn-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--pn-text-inverse);
}

/* ==========================================================================
   モバイル調整（768px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .pn-footer__contact-head,
  .pn-footer__contact-items {
    flex-direction: column;
    gap: 16px;
  }

  .pn-footer__contact-divider {
    width: 40px;
    height: 1px;
  }

  .pn-footer__main-row {
    flex-direction: column;
  }

  .pn-footer__nav-groups {
    gap: 32px;
  }
}
