@charset "UTF-8";
/* ==========================================================================
   plusta.biz 共通スタイル（ヘッダー / フッター）
   --------------------------------------------------------------------------
   ページ固有のインライン <style> と共存させるため、以下を厳守する。
     - クラス名は必ず  pl-  接頭辞
     - CSS変数は必ず  --pl-  接頭辞
     - * / body / a / h1 などのグローバルセレクタは書かない
     - アイコンはインラインSVG（Font Awesome に依存しない）
   配色は特定サービスの基調色に寄らないニュートラル。
   ========================================================================== */

:root {
  --pl-ink: #2f2b2b;
  --pl-body: #4d4643;
  --pl-muted: #7d7570;
  --pl-line: #e6e1dd;
  --pl-line-soft: #f0ece9;
  --pl-bg: #ffffff;
  --pl-bg-soft: #f8f6f4;
  --pl-dark: #2f2b2b;
  --pl-dark-soft: #4a4341;
  --pl-header-h: 68px;
  --pl-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.pl-wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* 画面外に隠しつつ、キーボード操作で現れるスキップリンク */
.pl-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--pl-ink);
  color: #fff;
  font-family: var(--pl-font);
  font-size: 14px;
  text-decoration: none;
}
.pl-skip:focus {
  left: 8px;
  top: 8px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.pl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pl-bg);
  border-bottom: 1px solid var(--pl-line);
  font-family: var(--pl-font);
  line-height: 1.6;
}

/* サービスLPなど、ページ内アンカーナビが別に sticky で存在するページ用。
   共通ヘッダーは追従させず、上部に置いたままスクロールで流す。 */
.pl-header--static {
  /* static にすると z-index が効かなくなり、LP側の sticky ヘッダーが
     サービスのプルダウンより手前に描画されてしまう。relative で重なり順を保つ。 */
  position: relative;
  z-index: 200; /* LP側ヘッダーは最大 z-index:100（wordpress-maintenance）なので必ず上に出る */
}

.pl-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--pl-header-h);
}

/* --- ロゴ --------------------------------------------------------------- */

.pl-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.pl-header__brand:hover {
  opacity: 1;
}
.pl-header__brand img {
  display: block;
  width: auto;
  height: 34px;
  max-width: none;
}
.pl-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-header__tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pl-muted);
  line-height: 1;
}
.pl-header__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pl-ink);
  line-height: 1;
}

/* --- グローバルナビ（デスクトップ） ------------------------------------- */

.pl-nav {
  margin-left: auto;
}
.pl-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-nav__list > li {
  position: relative;
  margin: 0;
}
.pl-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pl-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.pl-nav__link:hover,
.pl-nav__link:focus-visible {
  background: var(--pl-bg-soft);
  color: var(--pl-ink);
  opacity: 1;
}
.pl-nav__link.is-current {
  color: var(--pl-ink);
  background: var(--pl-bg-soft);
}
.pl-nav__chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

/* --- サービスのドロップダウン ------------------------------------------- */

.pl-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--pl-bg);
  border: 1px solid var(--pl-line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(47, 43, 43, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.pl-nav__item--parent:hover .pl-nav__sub,
.pl-nav__item--parent:focus-within .pl-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pl-nav__item--parent:hover .pl-nav__chevron,
.pl-nav__item--parent:focus-within .pl-nav__chevron {
  transform: rotate(180deg);
}
.pl-nav__sub li {
  margin: 0;
}
.pl-nav__sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pl-body);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.pl-nav__sub a:hover,
.pl-nav__sub a:focus-visible {
  background: var(--pl-bg-soft);
  color: var(--pl-ink);
  opacity: 1;
}
.pl-nav__sub a.is-current {
  background: var(--pl-bg-soft);
  color: var(--pl-ink);
}

/* --- ヘッダー右側のアクション ------------------------------------------- */

.pl-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.pl-header__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pl-ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.pl-header__tel:hover {
  opacity: 0.75;
}
.pl-header__tel svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.pl-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pl-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.pl-header__cta:hover {
  background: var(--pl-dark-soft);
  opacity: 1;
}
.pl-header__cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --- ハンバーガー ------------------------------------------------------- */

.pl-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--pl-line);
  border-radius: 8px;
  background: var(--pl-bg);
  color: var(--pl-ink);
  cursor: pointer;
}
.pl-burger svg {
  width: 20px;
  height: 20px;
}
.pl-burger__close {
  display: none;
}
.pl-burger[aria-expanded="true"] .pl-burger__open {
  display: none;
}
.pl-burger[aria-expanded="true"] .pl-burger__close {
  display: block;
}

/* ==========================================================================
   モバイルメニュー
   ========================================================================== */

.pl-mobile {
  display: none;
  position: fixed;
  inset: var(--pl-header-h) 0 0;
  z-index: 99;
  overflow-y: auto;
  padding: 24px 0 40px;
  background: var(--pl-bg);
  font-family: var(--pl-font);
  -webkit-overflow-scrolling: touch;
}
.pl-mobile.is-open {
  display: block;
}
.pl-mobile__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-mobile__list > li {
  margin: 0;
  border-bottom: 1px solid var(--pl-line-soft);
}
.pl-mobile__link {
  display: block;
  padding: 15px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-ink);
  text-decoration: none;
}
.pl-mobile__link.is-current {
  color: var(--pl-muted);
}
.pl-mobile__sub {
  margin: 0 0 12px;
  padding: 0 0 0 14px;
  list-style: none;
  border-left: 2px solid var(--pl-line);
}
.pl-mobile__sub li {
  margin: 0;
}
.pl-mobile__sub a {
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pl-body);
  text-decoration: none;
}
.pl-mobile__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.pl-mobile__cta,
.pl-mobile__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.pl-mobile__cta {
  background: var(--pl-ink);
  color: #fff;
}
.pl-mobile__tel {
  border: 1px solid var(--pl-line);
  background: var(--pl-bg);
  color: var(--pl-ink);
  flex-direction: column;
  gap: 2px;
}
.pl-mobile__tel span {
  font-size: 12px;
  font-weight: 500;
  color: var(--pl-muted);
}
.pl-mobile__cta svg,
.pl-mobile__tel svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.pl-mobile__tel-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.pl-footer {
  background: var(--pl-dark);
  color: #fff;
  font-family: var(--pl-font);
  font-size: 14px;
  line-height: 1.9;
}
.pl-footer__main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 56px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pl-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.pl-footer__logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: none;
}
.pl-footer__company {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.pl-footer__address {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}
.pl-footer__cert {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.pl-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.pl-footer__social:hover {
  color: #fff;
  opacity: 1;
}
.pl-footer__social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pl-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pl-footer__nav-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}
.pl-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-footer__links li {
  margin: 0 0 8px;
}
.pl-footer__links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.pl-footer__links a:hover {
  color: #fff;
  opacity: 1;
}

.pl-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.pl-footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.pl-footer__bottom a:hover {
  color: #fff;
  opacity: 1;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

/* 中間幅ではロゴ画像だけにして、ナビ・電話・CTAの横幅を確保する
   （ロゴ画像そのものに「PLUSTA」の文字が入っているため情報は失われない） */
@media (max-width: 1200px) {
  .pl-header__brand-text {
    display: none;
  }
}

@media (max-width: 1023px) {
  .pl-nav,
  .pl-header__tel,
  .pl-header__cta {
    display: none;
  }
  .pl-burger {
    display: inline-flex;
  }
  .pl-header__actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .pl-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 30px;
  }
}

@media (max-width: 600px) {
  :root {
    --pl-header-h: 60px;
  }
  .pl-wrap {
    width: calc(100% - 36px);
  }
  .pl-header__brand img {
    height: 30px;
  }
  .pl-header__name {
    display: none;
  }
  .pl-footer__nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pl-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-nav__link,
  .pl-nav__sub,
  .pl-nav__sub a,
  .pl-nav__chevron,
  .pl-header__cta,
  .pl-footer__links a,
  .pl-footer__social {
    transition: none;
  }
}
