@charset "UTF-8";

/* ==========  FV  ========== */

.p-fv {
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
  background-color: var(--color-bg);
}

/* ----------  上部バー  ---------- */

.p-fv__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 8px 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-fv);
  font-size: calc(14px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1;
}

/* ----------  ヘッダー  ---------- */

.p-fv__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}

.p-fv__logo img {
  width: 168px;
  height: auto;
}

.p-fv__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  width: 158px;
  height: 48px;
  font-size: calc(16px + var(--sp-fs-adjust));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  transition: background-color 0.2s ease;
  padding: 0 16px;
  box-sizing: content-box;
}

.p-fv__btn:hover {
  background-color: var(--color-primary-dark);
}

.p-fv__btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* ----------  キャッチコピー・タグ・リード文  ---------- */

/*
 * 縦書きのため視覚順は右から「キャッチ → タグ → リード文」。
 * DOM は読み順どおりに並べ、row-reverse で右起点に配置する。
 */
.p-fv__copy {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  margin-top: 34px;
  margin-right: 32px;
}

.p-fv__catch {
  writing-mode: vertical-rl;
  font-family: var(--font-catch);
  font-size: calc(32px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.4em;
  font-feature-settings: "vpal";
  font-variation-settings:
    "wght" 700,
    "wdth" 100,
    "ital" 0;
  margin-left: 24px;
}

/*
 * letter-spacing で空いた「し」と「、」の間を詰め、
 * 縦書きの句点を字形の右寄りに寄せる。
 */
.p-fv__touten {
  display: inline-block;
  letter-spacing: 0;
  margin-inline-start: -0.15em;
  translate: -0.05em 0;
}

.p-fv__catch-offset {
  display: inline-block;
  padding-top: 24px;
}

.p-fv__catch-offset-2 {
  display: inline-block;
  padding-top: 32px;
}

.p-fv__tags {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
  gap: 9px;
  margin-left: 20px;
  z-index: 3;
}

.p-fv__tag {
  writing-mode: vertical-rl;
  padding: 8px 6px;
  border-radius: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-fv);
  font-size: calc(12px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1;
  font-feature-settings: "vpal";
  padding-right: 8px;
  letter-spacing: 0.15em;
}

.p-fv__lead {
  font-family: var(--font-en);
  writing-mode: vertical-rl;
  font-size: calc(16px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.5em;
  z-index: 1;
}

/* ----------  メインビジュアル  ---------- */

.p-fv__visual {
  position: relative;
  z-index: var(--z-visual);
  margin-top: -48px;
  aspect-ratio: 390 / 298;
  z-index: 0;
}

.p-fv__photo {
  position: absolute;
  width: auto;
  object-fit: cover;
}

.p-fv__photo--consult {
  top: 0;
  left: -8%;
  width: 61%;
  aspect-ratio: 1 / 0.95;
  border-radius: 48% 52% 42% 58% / 55% 45% 55% 45%;
}

.p-fv__photo--care {
  top: 26%;
  right: -6%;
  width: 58%;
  aspect-ratio: 1 / 1.1;
  border-radius: 55% 45% 50% 50% / 45% 52% 48% 55%;
}

.p-fv__illust {
  position: absolute;
  width: auto;
}

.p-fv__illust--walk {
  top: 1%;
  left: 56%;
  width: 17%;
}

.p-fv__illust--wheelchair {
  top: 65%;
  left: 32%;
  width: 15%;
}

/* ----------  CTA  ---------- */

.p-fv__cta {
  position: relative;
  z-index: var(--z-cta);
  margin-top: -73px;
}

.p-fv__cta-inner {
  position: relative;
  padding-top: 76px;
}

.p-fv__badge {
  position: absolute;
  top: 0;
  left: var(--inner-padding);
  width: 100px;
  height: auto;
  margin: 0;
  z-index: 3;
}

.p-fv__badge img {
  display: block;
  width: 100%;
  height: auto;
}

.p-fv__note {
  margin-top: 13px;
  font-size: calc(13px + var(--sp-fs-adjust));
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  font-family: var(--font-display);
}

/* ==========  PC  ========== */

@media (min-width: 1024px) {
  /*
   * バーは .l-main の外にあり、画面上部に固定する。
   * fixed のため文書流から外れるので、.l-main 側で高さ＋余白を確保する。
   */
  .p-fv__bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    padding: 10px 0;
    font-size: calc(15px + var(--sp-fs-adjust));
    letter-spacing: 0.08em;
  }

  /* 390px列では13pxだと1行に収まらないため、最小限だけ下げる */
  .p-fv__note {
    font-size: calc(12px + var(--sp-fs-adjust));
  }
}
