/* =========================================================
   郵便と住所の困りごとノート：トップページ専用CSS
========================================================= */

body.home #content,
body.home #content-in,
body.home #main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home #content {
  display: block !important;
  background: transparent !important;
}

body.home #content-in {
  display: block !important;
}

body.home #main {
  float: none !important;
  flex: 0 0 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home #sidebar {
  display: none !important;
}

body.home .fp-root {
  --fp-primary: #b32632;
  --fp-primary-dark: #7f1822;
  --fp-primary-soft: #fff0f1;
  --fp-navy: #18364f;
  --fp-navy-light: #284d69;
  --fp-ink: #24323d;
  --fp-muted: #687680;
  --fp-line: #dfe6ea;
  --fp-bg: #f5f7f8;
  --fp-sky: #edf6fa;
  --fp-cream: #faf6ee;
  --fp-white: #ffffff;
  --fp-inner: 1160px;
  --fp-radius-sm: 12px;
  --fp-radius-md: 20px;
  --fp-radius-lg: 30px;
  --fp-shadow-sm: 0 8px 24px rgba(24, 54, 79, 0.08);
  --fp-shadow-md: 0 18px 50px rgba(24, 54, 79, 0.13);

  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--fp-ink);
  background: var(--fp-white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic Medium",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.home .fp-root,
body.home .fp-root *,
body.home .fp-root *::before,
body.home .fp-root *::after {
  box-sizing: border-box;
}

body.home .fp-root h1,
body.home .fp-root h2,
body.home .fp-root h3,
body.home .fp-root p,
body.home .fp-root figure,
body.home .fp-root ul,
body.home .fp-root ol {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

body.home .fp-root h1,
body.home .fp-root h2,
body.home .fp-root h3 {
  color: inherit;
  font-weight: 700;
  line-height: 1.4;
}

body.home .fp-root ul,
body.home .fp-root ol {
  list-style: none;
}

body.home .fp-root a {
  color: inherit;
  text-decoration: none;
}

body.home .fp-root img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  box-shadow: none;
}

body.home .fp-root button,
body.home .fp-root input {
  max-width: 100%;
  margin: 0;
  font: inherit;
}

body.home .fp-root button {
  border: 0;
  cursor: pointer;
}

body.home .fp-root :focus-visible {
  outline: 3px solid rgba(179, 38, 50, 0.35);
  outline-offset: 3px;
}

body.home .fp-root .fp-inner {
  width: min(calc(100% - 48px), var(--fp-inner));
  margin-inline: auto;
}

body.home .fp-root .fp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ヒーロー */

body.home .fp-root .fp-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 7vw, 108px) 0 clamp(74px, 8vw, 122px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(255, 255, 255, 0.9) 0 7%,
      transparent 7.4%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(179, 38, 50, 0.08) 0 12%,
      transparent 12.5%
    ),
    linear-gradient(
      135deg,
      #f9fbfc 0%,
      #eef6fa 54%,
      #f8f1ec 100%
    );
}

body.home .fp-root .fp-hero::before,
body.home .fp-root .fp-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

body.home .fp-root .fp-hero::before {
  top: -190px;
  left: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(24, 54, 79, 0.1);
}

body.home .fp-root .fp-hero::after {
  right: -130px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background: rgba(255, 255, 255, 0.38);
}

body.home .fp-root .fp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(46px, 7vw, 90px);
  align-items: center;
}

body.home .fp-root .fp-hero__copy {
  min-width: 0;
}

body.home .fp-root .fp-eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--fp-primary-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.home .fp-root .fp-eyebrow__mark {
  position: relative;
  width: 30px;
  height: 22px;
  border: 2px solid var(--fp-primary);
  border-radius: 4px;
  background: var(--fp-white);
}

body.home .fp-root .fp-eyebrow__mark::before,
body.home .fp-root .fp-eyebrow__mark::after {
  position: absolute;
  content: "";
}

body.home .fp-root .fp-eyebrow__mark::before {
  top: 4px;
  left: 5px;
  width: 16px;
  height: 2px;
  background: var(--fp-primary);
  box-shadow: 0 5px 0 var(--fp-primary);
}

body.home .fp-root .fp-eyebrow__mark::after {
  top: -8px;
  right: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--fp-primary);
  border-bottom: 0;
}

body.home .fp-root .fp-hero__title {
  max-width: 760px;
  color: var(--fp-navy);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

body.home .fp-root .fp-hero__title span {
  display: block;
  color: var(--fp-primary);
}

body.home .fp-root .fp-hero__lead {
  max-width: 690px;
  margin-top: 24px;
  color: #4d606e;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.95;
}

body.home .fp-root .fp-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 34px;
  padding: 9px 9px 9px 50px;
  border: 1px solid rgba(24, 54, 79, 0.12);
  border-radius: 18px;
  background: var(--fp-white);
  box-shadow: var(--fp-shadow-md);
}

body.home .fp-root .fp-search__icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--fp-navy-light);
  border-radius: 50%;
  transform: translateY(-58%);
}

body.home .fp-root .fp-search__icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: var(--fp-navy-light);
  transform: rotate(45deg);
  content: "";
}

body.home .fp-root .fp-search__input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  color: var(--fp-ink);
  background: transparent;
  font-size: 15px;
  outline: none;
}

body.home .fp-root .fp-search__input::placeholder {
  color: #84919a;
  opacity: 1;
}

body.home .fp-root .fp-search__button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  color: var(--fp-white);
  background: var(--fp-primary);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

body.home .fp-root .fp-search__button:hover {
  background: var(--fp-primary-dark);
  transform: translateY(-1px);
}

body.home .fp-root .fp-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
}

body.home .fp-root .fp-hero__quick-label {
  margin-right: 3px;
  color: var(--fp-muted);
  font-size: 13px;
  font-weight: 700;
}

body.home .fp-root .fp-hero__quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid rgba(24, 54, 79, 0.14);
  border-radius: 999px;
  color: var(--fp-navy);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

body.home .fp-root .fp-hero__quick-link:hover {
  border-color: var(--fp-primary);
  color: var(--fp-primary-dark);
  background: var(--fp-white);
}

body.home .fp-root .fp-hero__visual {
  position: relative;
  min-width: 0;
  padding: 18px 16px 24px 28px;
}

body.home .fp-root .fp-hero__image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background: #dfe9ee;
  box-shadow: var(--fp-shadow-md);
  transform: rotate(1.3deg);
}

body.home .fp-root .fp-hero__image-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(24, 54, 79, 0.14)
    );
  content: "";
}

body.home .fp-root .fp-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home .fp-root .fp-hero__note {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(24, 54, 79, 0.09);
  border-radius: 14px;
  color: var(--fp-navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--fp-shadow-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

body.home .fp-root .fp-hero__note--top {
  top: -8px;
  left: 0;
}

body.home .fp-root .fp-hero__note--bottom {
  right: 0;
  bottom: 0;
}

body.home .fp-root .fp-hero__note-icon,
body.home .fp-root .fp-hero__note-check {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--fp-white);
  background: var(--fp-primary);
  font-size: 14px;
  font-weight: 800;
}

body.home .fp-root .fp-hero__note-check {
  background: var(--fp-navy);
}

/* 共通見出し */

body.home .fp-root .fp-section-heading {
  margin-bottom: clamp(34px, 5vw, 54px);
}

body.home .fp-root .fp-section-heading--center {
  max-width: 770px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

body.home .fp-root .fp-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: end;
}

body.home .fp-root .fp-section-heading__group {
  min-width: 0;
}

body.home .fp-root .fp-section-heading__label {
  margin-bottom: 10px;
  color: var(--fp-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home .fp-root .fp-section-heading__title {
  color: var(--fp-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

body.home .fp-root .fp-section-heading__text {
  color: var(--fp-muted);
  font-size: 15px;
  line-height: 1.95;
}

body.home .fp-root .fp-section-heading--center .fp-section-heading__text {
  margin-top: 16px;
}

/* 役立つ場面 */

body.home .fp-root .fp-support {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--fp-white);
}

body.home .fp-root .fp-support__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.home .fp-root .fp-support-item {
  position: relative;
  padding: 32px 30px 30px;
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-md);
  background: var(--fp-white);
  box-shadow: 0 10px 32px rgba(24, 54, 79, 0.05);
}

body.home .fp-root .fp-support-item::after {
  position: absolute;
  top: -35px;
  right: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--fp-primary-soft);
  content: "";
}

body.home .fp-root .fp-support-item__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: var(--fp-white);
  background: var(--fp-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.home .fp-root .fp-support-item__title {
  margin-bottom: 10px;
  color: var(--fp-navy);
  font-size: 20px;
}

body.home .fp-root .fp-support-item__text {
  color: var(--fp-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* カテゴリー */

body.home .fp-root .fp-categories {
  padding: clamp(74px, 8vw, 116px) 0;
  background: var(--fp-bg);
}

body.home .fp-root .fp-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

body.home .fp-root .fp-category-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 79, 0.09);
  border-radius: var(--fp-radius-md);
  background: var(--fp-white);
  box-shadow: 0 8px 28px rgba(24, 54, 79, 0.06);
  flex-direction: column;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

body.home .fp-root .fp-category-card:hover {
  border-color: rgba(179, 38, 50, 0.38);
  box-shadow: var(--fp-shadow-md);
  transform: translateY(-5px);
}

body.home .fp-root .fp-category-card__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eef1;
}

body.home .fp-root .fp-category-card__figure::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(24, 54, 79, 0.18)
    );
  content: "";
}

body.home .fp-root .fp-category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.home .fp-root .fp-category-card:hover .fp-category-card__image {
  transform: scale(1.045);
}

body.home .fp-root .fp-category-card__label {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--fp-white);
  background: rgba(24, 54, 79, 0.88);
  font-size: 12px;
  font-weight: 700;
}

body.home .fp-root .fp-category-card__body {
  display: flex;
  min-height: 238px;
  padding: 23px 22px 21px;
  flex: 1;
  flex-direction: column;
}

body.home .fp-root .fp-category-card__title {
  color: var(--fp-navy);
  font-size: 19px;
}

body.home .fp-root .fp-category-card__text {
  margin-top: 10px;
  color: var(--fp-muted);
  font-size: 14px;
  line-height: 1.85;
}

body.home .fp-root .fp-category-card__more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  color: var(--fp-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

body.home .fp-root .fp-category-card__more span {
  font-size: 17px;
  transition: transform 0.2s ease;
}

body.home .fp-root .fp-category-card:hover .fp-category-card__more span {
  transform: translateX(4px);
}

/* 新着・人気記事 */

body.home .fp-root .fp-articles {
  padding: clamp(74px, 8vw, 116px) 0;
}

body.home .fp-root .fp-articles--new {
  background: var(--fp-white);
}

body.home .fp-root .fp-articles--popular {
  background: var(--fp-cream);
}

body.home .fp-root .fp-post-list {
  min-width: 0;
}

body.home .fp-root .fp-post-list .new-entry-cards,
body.home .fp-root .fp-post-list .popular-entry-cards,
body.home .fp-root .fp-post-list .widget-entry-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px !important;
  margin: 0 !important;
}

body.home .fp-root .fp-post-list .new-entry-card-link,
body.home .fp-root .fp-post-list .popular-entry-card-link,
body.home .fp-root .fp-post-list .widget-entry-card-link {
  display: block !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 79, 0.1) !important;
  border-radius: var(--fp-radius-md) !important;
  color: var(--fp-ink) !important;
  background: var(--fp-white) !important;
  box-shadow: 0 8px 28px rgba(24, 54, 79, 0.06) !important;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

body.home .fp-root .fp-post-list .new-entry-card-link:hover,
body.home .fp-root .fp-post-list .popular-entry-card-link:hover,
body.home .fp-root .fp-post-list .widget-entry-card-link:hover {
  border-color: rgba(179, 38, 50, 0.35) !important;
  box-shadow: var(--fp-shadow-md) !important;
  transform: translateY(-5px);
}

body.home .fp-root .fp-post-list .new-entry-card,
body.home .fp-root .fp-post-list .popular-entry-card,
body.home .fp-root .fp-post-list .widget-entry-card {
  display: flex !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex-direction: column;
}

body.home .fp-root .fp-post-list .new-entry-card-thumb,
body.home .fp-root .fp-post-list .popular-entry-card-thumb,
body.home .fp-root .fp-post-list .widget-entry-card-thumb,
body.home .fp-root .fp-post-list .card-thumb {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9;
  border-radius: 0 !important;
  background: #e8eef1;
}

body.home .fp-root .fp-post-list .new-entry-card-thumb img,
body.home .fp-root .fp-post-list .popular-entry-card-thumb img,
body.home .fp-root .fp-post-list .widget-entry-card-thumb img,
body.home .fp-root .fp-post-list .card-thumb img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none;
  transition: transform 0.35s ease;
}

body.home .fp-root .fp-post-list .widget-entry-card-link:hover .card-thumb img {
  transform: scale(1.04);
}

body.home .fp-root .fp-post-list .new-entry-card-content,
body.home .fp-root .fp-post-list .popular-entry-card-content,
body.home .fp-root .fp-post-list .widget-entry-card-content,
body.home .fp-root .fp-post-list .large-thumb-on .widget-entry-card-content {
  position: static !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 21px 22px !important;
  color: var(--fp-ink) !important;
  background: transparent !important;
  text-align: left !important;
  transform: none !important;
}

body.home .fp-root .fp-post-list .new-entry-card-title,
body.home .fp-root .fp-post-list .popular-entry-card-title,
body.home .fp-root .fp-post-list .widget-entry-card-title,
body.home .fp-root .fp-post-list .large-thumb-on .widget-entry-card-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fp-navy) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  text-shadow: none !important;
}

body.home .fp-root .fp-post-list .new-entry-card-snippet,
body.home .fp-root .fp-post-list .popular-entry-card-snippet,
body.home .fp-root .fp-post-list .widget-entry-card-snippet {
  margin-top: 9px !important;
  color: var(--fp-muted) !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

body.home .fp-root .fp-post-list .popular-entry-card-rank,
body.home .fp-root .fp-post-list .card-thumb .popular-entry-card-rank {
  top: 10px !important;
  left: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  color: var(--fp-white) !important;
  background: var(--fp-primary) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 34px !important;
  box-shadow: 0 4px 12px rgba(24, 54, 79, 0.22) !important;
}

/* 確認順 */

body.home .fp-root .fp-guide {
  padding: clamp(76px, 8vw, 116px) 0;
  color: var(--fp-white);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.04) 0 18%,
      transparent 18% 100%
    ),
    var(--fp-navy);
}

body.home .fp-root .fp-guide__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  gap: clamp(54px, 8vw, 104px);
  align-items: center;
}

body.home .fp-root .fp-guide .fp-section-heading__label {
  color: #f6bdc1;
}

body.home .fp-root .fp-guide .fp-section-heading__title {
  color: var(--fp-white);
}

body.home .fp-root .fp-guide__lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.95;
}

body.home .fp-root .fp-guide__steps {
  display: grid;
  gap: 14px;
}

body.home .fp-root .fp-guide-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--fp-radius-md);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(5px);
}

body.home .fp-root .fp-guide-step__number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--fp-primary-dark);
  background: var(--fp-white);
  font-size: 16px;
  font-weight: 800;
}

body.home .fp-root .fp-guide-step__title {
  color: var(--fp-white);
  font-size: 18px;
}

body.home .fp-root .fp-guide-step__text {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

/* ボタン */

body.home .fp-root .fp-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

body.home .fp-root .fp-button span {
  font-size: 17px;
}

body.home .fp-root .fp-button:hover {
  transform: translateY(-2px);
}

body.home .fp-root .fp-button--light {
  margin-top: 30px;
  color: var(--fp-navy);
  background: var(--fp-white);
}

body.home .fp-root .fp-button--light:hover {
  color: var(--fp-primary-dark);
  background: #fff7f7;
}

body.home .fp-root .fp-button--primary {
  color: var(--fp-white);
  background: var(--fp-primary);
}

body.home .fp-root .fp-button--primary:hover {
  background: var(--fp-primary-dark);
}

/* 運営情報 */

body.home .fp-root .fp-about {
  padding: clamp(74px, 8vw, 112px) 0;
  background: var(--fp-sky);
}

body.home .fp-root .fp-about__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}

body.home .fp-root .fp-about__logo-wrap {
  position: relative;
  display: grid;
  width: min(100%, 370px);
  margin-inline: auto;
  padding: 28px;
  place-items: center;
  border: 1px solid rgba(24, 54, 79, 0.09);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--fp-shadow-sm);
}

body.home .fp-root .fp-about__logo-wrap::before {
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(179, 38, 50, 0.24);
  border-radius: 25px;
  pointer-events: none;
  content: "";
}

body.home .fp-root .fp-about__logo {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  border-radius: 24px;
}

body.home .fp-root .fp-about__text {
  margin-top: 22px;
  color: #536571;
  font-size: 15px;
  line-height: 2;
}

body.home .fp-root .fp-about__notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--fp-primary);
  border-radius: 0 10px 10px 0;
  color: #596772;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

body.home .fp-root .fp-about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
}

body.home .fp-root .fp-text-link {
  position: relative;
  padding: 8px 2px;
  color: var(--fp-navy);
  font-size: 14px;
  font-weight: 800;
}

body.home .fp-root .fp-text-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.55);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

body.home .fp-root .fp-text-link:hover::after {
  transform: scaleX(1);
}

/* タブレット */

@media screen and (max-width: 1024px) {
  body.home .fp-root .fp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 42px;
  }

  body.home .fp-root .fp-hero__title {
    font-size: clamp(36px, 5vw, 50px);
  }

  body.home .fp-root .fp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .fp-root .fp-category-card__body {
    min-height: 215px;
  }

  body.home .fp-root .fp-guide__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 48px;
  }
}

@media screen and (max-width: 834px) {
  body.home .fp-root .fp-inner {
    width: min(calc(100% - 40px), var(--fp-inner));
  }

  body.home .fp-root .fp-hero__inner,
  body.home .fp-root .fp-guide__inner,
  body.home .fp-root .fp-about__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home .fp-root .fp-hero__copy {
    max-width: 710px;
  }

  body.home .fp-root .fp-hero__visual {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  body.home .fp-root .fp-section-heading--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body.home .fp-root .fp-section-heading--split .fp-section-heading__text {
    max-width: 680px;
  }

  body.home .fp-root .fp-support__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home .fp-root .fp-support-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 18px;
  }

  body.home .fp-root .fp-support-item__icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  body.home .fp-root .fp-post-list .new-entry-cards,
  body.home .fp-root .fp-post-list .popular-entry-cards,
  body.home .fp-root .fp-post-list .widget-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .fp-root .fp-guide__copy {
    max-width: 720px;
  }

  body.home .fp-root .fp-guide__steps {
    width: 100%;
  }

  body.home .fp-root .fp-about__logo-wrap {
    width: min(100%, 330px);
  }
}

/* スマートフォン */

@media screen and (max-width: 600px) {
  body.home .fp-root {
    font-size: 15px;
  }

  body.home .fp-root .fp-inner {
    width: calc(100% - 32px);
  }

  body.home .fp-root .fp-hero {
    padding: 52px 0 72px;
  }

  body.home .fp-root .fp-eyebrow {
    margin-bottom: 15px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  body.home .fp-root .fp-hero__title {
    font-size: clamp(32px, 10vw, 43px);
    line-height: 1.3;
  }

  body.home .fp-root .fp-hero__lead {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.9;
  }

  body.home .fp-root .fp-search {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }

  body.home .fp-root .fp-search__icon {
    top: 36px;
    left: 22px;
  }

  body.home .fp-root .fp-search__input {
    height: 52px;
    padding: 0 12px 0 40px;
    font-size: 14px;
  }

  body.home .fp-root .fp-search__button {
    width: 100%;
  }

  body.home .fp-root .fp-hero__quick {
    align-items: flex-start;
  }

  body.home .fp-root .fp-hero__quick-label {
    width: 100%;
  }

  body.home .fp-root .fp-hero__visual {
    padding: 24px 0 34px;
  }

  body.home .fp-root .fp-hero__image-frame {
    border-width: 7px;
    border-radius: 25px;
    transform: none;
  }

  body.home .fp-root .fp-hero__note {
    max-width: calc(100% - 18px);
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  body.home .fp-root .fp-hero__note--top {
    top: 4px;
    left: 4px;
  }

  body.home .fp-root .fp-hero__note--bottom {
    right: 4px;
    bottom: 8px;
  }

  body.home .fp-root .fp-hero__note-icon,
  body.home .fp-root .fp-hero__note-check {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  body.home .fp-root .fp-section-heading {
    margin-bottom: 32px;
  }

  body.home .fp-root .fp-section-heading__title {
    font-size: clamp(26px, 8vw, 34px);
  }

  body.home .fp-root .fp-section-heading__text {
    font-size: 14px;
  }

  body.home .fp-root .fp-support,
  body.home .fp-root .fp-categories,
  body.home .fp-root .fp-articles,
  body.home .fp-root .fp-guide,
  body.home .fp-root .fp-about {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  body.home .fp-root .fp-support-item {
    display: block;
    padding: 26px 23px;
  }

  body.home .fp-root .fp-support-item__icon {
    margin-bottom: 18px;
  }

  body.home .fp-root .fp-category-grid,
  body.home .fp-root .fp-post-list .new-entry-cards,
  body.home .fp-root .fp-post-list .popular-entry-cards,
  body.home .fp-root .fp-post-list .widget-entry-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }

  body.home .fp-root .fp-category-card__body {
    min-height: 0;
  }

  body.home .fp-root .fp-post-list .new-entry-card-content,
  body.home .fp-root .fp-post-list .popular-entry-card-content,
  body.home .fp-root .fp-post-list .widget-entry-card-content,
  body.home .fp-root .fp-post-list .large-thumb-on .widget-entry-card-content {
    padding: 18px 18px 20px !important;
  }

  body.home .fp-root .fp-guide-step {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 17px;
  }

  body.home .fp-root .fp-guide-step__number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  body.home .fp-root .fp-guide-step__title {
    font-size: 16px;
  }

  body.home .fp-root .fp-guide-step__text {
    font-size: 13px;
  }

  body.home .fp-root .fp-button {
    width: 100%;
  }

  body.home .fp-root .fp-about__logo-wrap {
    width: min(100%, 290px);
    padding: 22px;
    border-radius: 27px;
  }

  body.home .fp-root .fp-about__links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.home .fp-root .fp-text-link {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .fp-root *,
  body.home .fp-root *::before,
  body.home .fp-root *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}