@charset "UTF-8";
/* ============================================================
   ヘッダー・フッター（試験実装・仮）
   出典: ROBOT PAYMENT Design System v1.1（Figma）
     Website/SiteHeader  Purpose=Service（62:3905 / 62:4173 / 62:4180）
     Website/SiteFooter  Purpose=Service（62:4023 / 62:4048）
   ブレークポイントは Figma 上 1200px だが、ページ本体に合わせて 768px で切り替えている（確認中）
   ============================================================ */

/* = トークン（Figma の変数名に揃える）
   ----------------------------------------------------------------------------- */
:root {
  --rp-font-family: Helvetica, Roboto, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "メイリオ", "Yu Gothic", YuGothic, "游ゴシック体", sans-serif;
  --rp-font-web-16n-170: 400 16px/1.7 var(--rp-font-family);
  --rp-font-web-14n-175: 400 14px/1.75 var(--rp-font-family);
  --rp-font-web-14b-175: 700 14px/1.75 var(--rp-font-family);

  --rp-spacing-8: 8px;
  --rp-spacing-16: 16px;
  --rp-spacing-24: 24px;
  --rp-spacing-32: 32px;

  --rp-header-surface: #fff;
  --rp-header-canvas: #f7f7f7;
  --rp-header-divider: #d2d2d2;

  --rp-footer-canvas: #f7f7f7;
  --rp-footer-divider: #d2d2d2;
  --rp-footer-muted: #666;

  --rp-link-action: #0049bb;
  --rp-link-hover: #003077;
  --rp-link-active: #001733;
  --rp-link-radius: 8px;

  --rp-button-action: #0049bb;
  --rp-button-hover: #003077;
  --rp-button-active: #001733;
  --rp-button-surface: #fff;
  --rp-button-canvas: #f7f7f7;
  --rp-button-inverse: #fff;
  --rp-button-radius: 8px;
  --rp-button-stroke: 1px;
  --rp-button-heightsmall: 48px;

  --rp-icon-button-action: #0049bb;
  --rp-icon-button-ink: #212121;
  --rp-icon-button-surface: #fff;
  --rp-icon-button-canvas: #f7f7f7;
  --rp-icon-button-radius: 8px;

  --rp-focus: #998a00;
  --rp-strokefocus: 4px;
  --rp-strokestrong: 2px;

  --website-cta-default: #ff7f00;
  --website-cta-hover: #dd6e00;
  --website-cta-active: #bb5d00;
}

/* = 共通: フォーカス表示（4px の枠 + 内側 2px の白）
   ----------------------------------------------------------------------------- */
.c-site-header__logo:focus-visible,
.c-site-header__link:focus-visible,
.c-site-header__menu-btn:focus-visible,
.c-site-header__back:focus-visible,
.c-site-header__cta:focus-visible,
.c-site-footer__logo:focus-visible,
.c-site-footer__link:focus-visible,
.c-site-footer__totop:focus-visible {
  outline: var(--rp-strokefocus) solid var(--rp-focus);
  outline-offset: 0;
  box-shadow: inset 0 0 0 var(--rp-strokestrong) #fff;
}

/* ============================================================
   ヘッダー
   ============================================================ */
/* スクロールしても上に残す。fixed と違って元の場所に高さが残るので、下の要素に余白を足さなくてよい */
.c-site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--rp-header-surface);
  border-bottom: 1px solid var(--rp-header-divider);
}

/* ページ内リンクの移動先がヘッダーの下に隠れないようにする（ヘッダーの高さ 104px + 下線 1px） */
html {
  scroll-padding-top: 105px;
}

.c-site-header__skip {
  position: absolute;
  top: var(--rp-spacing-8);
  left: var(--rp-spacing-8);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: var(--rp-button-heightsmall);
  padding: 0 var(--rp-spacing-16);
  border-radius: var(--rp-button-radius);
  background-color: var(--rp-button-surface);
  color: var(--rp-link-action);
  font: var(--rp-font-web-14b-175);
  text-decoration: underline;
  transform: translateY(-200%);
}

.c-site-header__skip:focus {
  transform: none;
  outline: var(--rp-strokefocus) solid var(--rp-focus);
}

.c-site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--rp-spacing-16);
  max-width: 1240px;
  height: 104px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.c-site-header__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 104px;
  opacity: 1;
}

.c-site-header__logo-img {
  display: block;
  width: 176px;
  height: auto;
}

.c-site-header__panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: var(--rp-spacing-16);
  min-width: 0;
}

.c-site-header__list {
  display: flex;
  gap: var(--rp-spacing-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-site-header__item {
  margin: 0;
  padding: 0;
}

.c-site-header__link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--rp-button-heightsmall);
  padding: 0 var(--rp-spacing-8);
  border-radius: var(--rp-link-radius);
  color: var(--rp-link-action);
  font: var(--rp-font-web-16n-170);
  text-decoration: underline;
  white-space: nowrap;
  opacity: 1;
  transition: none;
}

.c-site-header__link:hover {
  color: var(--rp-link-hover);
  opacity: 1;
}

.c-site-header__link:active {
  color: var(--rp-link-active);
}

.c-site-header__menu-btn,
.c-site-header__back {
  display: none;
}

.c-site-header__cta {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: var(--rp-button-heightsmall);
  margin-left: auto;
  padding: 0 var(--rp-spacing-16);
  border-radius: var(--rp-button-radius);
  background-color: var(--website-cta-default);
  color: var(--rp-button-inverse);
  font: var(--rp-font-web-14b-175);
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: none;
}

.c-site-header__cta:hover {
  background-color: var(--website-cta-hover);
  color: var(--rp-button-inverse);
  opacity: 1;
}

.c-site-header__cta:active {
  background-color: var(--website-cta-active);
}

@media screen and (max-width: 768px) {
  .c-site-header__inner {
    flex-wrap: wrap;
    row-gap: 0;
    height: auto;
    padding: 0 var(--rp-spacing-16);
  }

  .c-site-header__logo {
    width: 192px;
  }

  .c-site-header__logo-img {
    width: 144px;
  }

  .c-site-header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--rp-button-heightsmall);
    height: var(--rp-button-heightsmall);
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: var(--rp-icon-button-radius);
    background-color: var(--rp-icon-button-surface);
    color: var(--rp-icon-button-action);
    cursor: pointer;
  }

  .c-site-header__menu-btn:hover {
    background-color: var(--rp-icon-button-canvas);
  }

  .c-site-header__icon {
    display: block;
    width: 24px;
    height: 24px;
  }

  .c-site-header__icon--close {
    display: none;
  }

  .c-site-header.is-open .c-site-header__menu-btn {
    color: var(--rp-icon-button-ink);
  }

  .c-site-header.is-open .c-site-header__icon--menu {
    display: none;
  }

  .c-site-header.is-open .c-site-header__icon--close {
    display: block;
  }

  /* メニューパネル: ヘッダー行の下に全幅で開く */
  .c-site-header__panel {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--rp-spacing-8);
    width: calc(100% + var(--rp-spacing-16) * 2);
    margin: 0 calc(var(--rp-spacing-16) * -1);
    padding: var(--rp-spacing-24);
    background-color: var(--rp-header-canvas);
    box-sizing: border-box;
  }

  .c-site-header.is-open .c-site-header__panel {
    display: flex;
  }

  .c-site-header__list {
    flex-direction: column;
    gap: var(--rp-spacing-8);
  }

  .c-site-header__back {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--rp-button-heightsmall);
    margin: 0;
    padding: 0 var(--rp-spacing-16);
    border: var(--rp-button-stroke) solid var(--rp-button-action);
    border-radius: var(--rp-button-radius);
    background-color: transparent;
    color: var(--rp-button-action);
    font: var(--rp-font-web-14b-175);
    cursor: pointer;
  }

  .c-site-header__back:hover {
    border-color: var(--rp-button-hover);
    color: var(--rp-button-hover);
  }

  .c-site-header__back:active {
    border-color: var(--rp-button-active);
    color: var(--rp-button-active);
  }

  .c-site-header__cta {
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================================
   フッター
   ============================================================ */
.c-site-footer {
  width: 100%;
  background-color: var(--rp-footer-canvas);
}

.c-site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--rp-spacing-24);
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--rp-spacing-32) 20px;
  box-sizing: border-box;
}

.c-site-footer__top {
  display: flex;
  align-items: flex-start;
  gap: var(--rp-spacing-24);
}

.c-site-footer__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 104px;
  opacity: 1;
}

.c-site-footer__logo-img {
  display: block;
  width: 176px;
  height: auto;
}

.c-site-footer__list {
  display: flex;
  gap: var(--rp-spacing-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-site-footer__item {
  margin: 0;
  padding: 0;
}

.c-site-footer__link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--rp-button-heightsmall);
  padding: 0 var(--rp-spacing-8);
  border-radius: var(--rp-link-radius);
  color: var(--rp-link-action);
  font: var(--rp-font-web-16n-170);
  text-decoration: underline;
  white-space: nowrap;
  opacity: 1;
  transition: none;
}

.c-site-footer__link:hover {
  color: var(--rp-link-hover);
  opacity: 1;
}

.c-site-footer__link:active {
  color: var(--rp-link-active);
}

.c-site-footer__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rp-footer-divider);
}

.c-site-footer__bottom {
  display: flex;
  align-items: center;
  gap: var(--rp-spacing-24);
}

.c-site-footer__copyright {
  flex: 0 1 840px;
  margin: 0;
  color: var(--rp-footer-muted);
  font: var(--rp-font-web-14n-175);
}

.c-site-footer__totop {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: var(--rp-button-heightsmall);
  padding: 0 var(--rp-spacing-16);
  border: var(--rp-button-stroke) solid var(--rp-button-action);
  border-radius: var(--rp-button-radius);
  background-color: var(--rp-button-surface);
  color: var(--rp-button-action);
  font: var(--rp-font-web-14b-175);
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: none;
}

.c-site-footer__totop:hover {
  border-color: var(--rp-button-hover);
  background-color: var(--rp-button-canvas);
  color: var(--rp-button-hover);
  opacity: 1;
}

.c-site-footer__totop:active {
  border-color: var(--rp-button-active);
  background-color: var(--rp-button-canvas);
  color: var(--rp-button-active);
}

@media screen and (max-width: 768px) {
  .c-site-footer__inner {
    padding: var(--rp-spacing-24);
  }

  .c-site-footer__top {
    flex-direction: column;
  }

  .c-site-footer__list {
    flex-direction: column;
    gap: var(--rp-spacing-8);
  }

  .c-site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .c-site-footer__copyright {
    flex: none;
  }
}
