/* ============================================
   リセット・基本スタイル
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #222e47;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   SVGアイコン
   ============================================ */
.ico-svg {
  fill: currentColor;
  flex-shrink: 0;
}

.ico-red {
  fill: #E60012;
}

.ico-yellow {
  fill: #FFD700;
}

.ico-gray {
  fill: #6b7280;
}

.ico-lightgray {
  fill: #9CA3AF;
}

.ico-white {
  fill: #ffffff;
}

.ico-w12 {
  width: 12px;
  height: 12px;
}

.ico-w14 {
  width: 14px;
  height: 14px;
}

.ico-w16 {
  width: 16px;
  height: 16px;
}

.ico-w18 {
  width: 18px;
  height: 18px;
}

.ico-w24 {
  width: 24px;
  height: 24px;
}

.ico-w30 {
  width: 30px;
  height: 30px;
}

.ico-w40 {
  width: 40px;
  height: 40px;
}

/* ============================================
   レイアウト（Layout）
   ============================================ */
.l-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.l-main {
  width: 100%;
}

@media (max-width: 768px) {
  .l-container {
    padding: 0 20px;
  }
}

/* ============================================
   ヘッダー（Header）
   ============================================ */
.l-header {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 48px;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.l-header__logo-link {
  display: block;
}

.l-header__logo-img {
  height: 40px;
  width: auto;
}

.l-header__nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.l-header__nav-list {
  display: flex;
  gap: 16px;
  align-items: center;
}

.l-header--menu-open .l-header__nav-list {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.l-header--menu-open .l-header__nav-item {
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
}

.l-header--menu-open .l-header__nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  width: 100%;
}

.l-header__nav-link {
  padding: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #e60012;
  transition: opacity 0.3s ease;
}

.l-header__nav-link:hover {
  opacity: 0.8;
}

.l-header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-header__menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.l-header__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  position: relative;
}

.l-header__menu-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #222e47;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}

.l-header__menu-line:nth-child(1) {
  top: 0;
}

.l-header__menu-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.l-header__menu-line:nth-child(3) {
  bottom: 0;
}

.l-header__menu--active .l-header__menu-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.l-header__menu--active .l-header__menu-line:nth-child(2) {
  opacity: 0;
}

.l-header__menu--active .l-header__menu-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .l-header__inner {
    padding-left: 20px;
    padding-right: 10px;
    justify-content: flex-start;
  }

  .l-header__nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .l-header--menu-open .l-header__nav {
    transform: translateX(0);
  }

  .l-header__logo {
    flex-shrink: 0;
  }

  .l-header__logo-img {
    height: 32px;
  }

  .l-header__cta {
    margin-left: auto;
    gap: 8px;
  }

  .l-header__cta .c-button {
    height: 40px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 18px;
  }

  .l-header__menu {
    display: flex;
    margin-left: 8px;
  }
}

/* ============================================
   フッター（Footer）
   ============================================ */
.l-footer {
  background-color: #e60012;
  padding: 80px 0;
  color: #ffffff;
}

.l-footer__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 48px;
}

.l-footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.l-footer__left {
  flex: 1;
  min-width: 320px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.l-footer__logo-link {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.l-footer__logo-link:hover {
  opacity: 0.8;
}

.l-footer__logo-img {
  height: 40px;
  width: auto;
}

.l-footer__description {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ffffff;
}

.l-footer__privacy {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.l-footer__privacy:hover {
  opacity: 0.8;
}

.l-footer__sns {
  display: flex;
  gap: 16px;
}

.l-footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffd700;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.l-footer__sns-link:hover {
  opacity: 0.8;
}

.l-footer__right {
  flex: 1;
  min-width: 320px;
  max-width: 540px;
  display: flex;
  gap: 40px;
}

.l-footer__nav {
  flex: 1;
  min-width: 100px;
}

.l-footer__contact {
  width: 250px;
}

.l-footer__nav-title,
.l-footer__contact-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #ffffff;
  margin-bottom: 16px;
}

.l-footer__nav-list,
.l-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.l-footer__nav-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ffffff;
  padding: 8px 0;
  display: block;
}

.l-footer__contact-link {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
}

.l-footer__contact-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ffffff;
}

.l-footer__copyright {
  border-top: 1px solid #ffffff;
  padding-top: 16px;
  text-align: center;
}

.l-footer__copyright-text {
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .l-footer__inner {
    padding: 0 20px;
  }

  .l-footer__content {
    flex-direction: column;
  }

  .l-footer__left,
  .l-footer__right {
    min-width: 100%;
    max-width: 100%;
  }

  .l-footer__left {
    align-items: center;
  }

  .l-footer__privacy {
    align-self: flex-start;
  }

  .l-footer__right {
    flex-direction: column;
    gap: 32px;
  }

  .l-footer__nav {
    display: none;
  }

  .l-footer__contact {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
}

/* ============================================
   コンポーネント（Components）
   ============================================ */

/* ボタン */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.c-button--primary {
  background-color: #e60012;
  color: #ffffff;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
}

.c-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
}

.c-button--secondary {
  background-color: #ffd700;
  color: #222e47;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
}

.c-button--secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.c-button--small {
  padding: 8px 24px;
  font-size: 14px;
  height: 40px;
}

.c-button--line {
  background-color: #06c755;
  color: #ffffff;
}

.p-line__qr .c-button--line {
  width: 100%;
  height: 48px;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  gap: 8px;
  box-shadow: none;
}

.p-line__qr .c-button--line:hover {
  opacity: 0.9;
  transform: none;
  box-shadow: none;
}

.c-button--text {
  color: #e60012;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  background: none;
  box-shadow: none;
}

.c-button--text:hover {
  text-decoration: underline;
  transform: none;
}

/* カテゴリータブ */
.c-category-tab {
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  background-color: #e5e7eb;
  color: #222e47;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.c-category-tab--active {
  background-color: #e60012;
  color: #ffffff;
}

.c-category-tab:hover {
  opacity: 0.8;
}

/* カテゴリータグ */
.c-category-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  background-color: #6b7280;
  color: #ffffff;
}

.c-category-tag--primary {
  background-color: #e60012;
}

/* PCのみ改行を表示する共通クラス */
.c-br-pc {
  display: block;
}

@media (max-width: 768px) {
  .c-br-pc {
    display: none;
  }
}

/* SPのみ改行を表示する共通クラス */
.c-br-sp {
  display: none;
}

@media (max-width: 768px) {
  .c-br-sp {
    display: block;
  }
}

/* ============================================
   ページセクション（Page Sections）
   ============================================ */

/* セクションタイトル共通スタイル */
.c-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.c-section-title {
  font-size: 0;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.c-section-title-text {
  display: inline-block;
  font-size: 48px;
}

.c-section-title-text--primary {
  color: #e60012;
}

.c-section-subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .c-section-header {
    margin-bottom: 32px;
  }

  .c-section-title-text {
    font-size: 32px;
    line-height: 40px;
  }

  .c-section-subtitle {
    line-height: 28px;
  }
}

/* MVセクション */
.p-mv {
  position: relative;
  height: calc(100vh - 64px);
  overflow: hidden;
}

.p-mv__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.p-mv__slider .swiper-wrapper {
  height: 100%;
}

.p-mv__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.p-mv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-mv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.p-mv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.p-mv__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 100%;
}

.p-mv__logo {
  width: 200px;
  height: 179.65px;
}

.p-mv__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-mv__title {
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  color: #ffffff;
}

.p-mv__title-text {
  font-size: 96px;
  display: inline-block;
}

.p-mv__title-text--primary {
  color: #e60012;
}

.p-mv__title-text--white {
  color: #ffffff;
}

.p-mv__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.p-mv__description-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
}

.p-mv__description-text--primary {
  color: #e60012;
}

.p-mv__description-text--white {
  color: #ffffff;
}

.p-mv__description-text--white {
  color: #ffffff;
}

.p-mv__buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.p-mv__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36.5px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  z-index: 2;
  margin-top: 0;
}

.p-mv__nav::after {
  font-size: 12px;
  color: #ffffff;
}

.p-mv__nav--prev {
  left: 24px;
}

.p-mv__nav--next {
  right: 24px;
}

/* Swiperボタンのデフォルトスタイルをリセット */
.p-mv__slider .swiper-button-prev,
.p-mv__slider .swiper-button-next {
  width: 36.5px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 9999px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-mv__slider .swiper-button-prev {
  padding-left: 5px;
}

.p-mv__slider .swiper-button-next {
  padding-right: 5px;
}

.p-mv__slider .swiper-button-prev::after,
.p-mv__slider .swiper-button-next::after {
  display: none;
}

.p-mv__slider .swiper-button-prev::before,
.p-mv__slider .swiper-button-next::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  display: block;
}

.p-mv__slider .swiper-button-prev::before {
  transform: rotate(-135deg);
}

.p-mv__slider .swiper-button-next::before {
  transform: rotate(45deg);
}

.p-mv__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.p-mv__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  margin: 0 !important;
  opacity: 1;
  transition: all 0.3s ease;
  padding: 0;
}

.p-mv__dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.p-mv__dot.swiper-pagination-bullet-active {
  background-color: #ffffff;
  opacity: 1;
  width: 15px;
  height: 15px;
  transform: scale(1.2);
}

/* Swiperページネーションのデフォルトスタイルをリセット */
.p-mv__slider .swiper-pagination {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  gap: 12px;
  position: absolute;
}

.p-mv__slider .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0;
}

.p-mv__slider .swiper-pagination-bullet-active {
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .p-mv {
    height: 500px;
  }

  .p-mv__content {
    gap: 20px;
    padding-bottom: 100px;
  }

  .p-mv__logo {
    width: 120px;
    height: 107.79px;
  }

  .p-mv__title {
    font-size: 0;
  }

  .p-mv__title-text,
  .p-mv__title-text--primary,
  .p-mv__title-text--white {
    font-size: 32px;
    line-height: 40px;
  }

  .p-mv__description {
    gap: 8px;
  }

  .p-mv__description-text {
    font-size: 18px;
    line-height: 24px;
  }

  .p-mv__buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .p-mv__buttons .c-button,
  .p-parking-anker__content .c-button,
  .p-banner .c-button,
  .p-track-record__footer .c-button,
  .p-news__footer .c-button,
  .p-flow__footer .c-button,
  .p-column__footer .c-button {
    width: 240px;
    height: 60px;
  }

  .p-mv__slider .swiper-button-prev {
    left: 8px;
  }

  .p-mv__slider .swiper-button-next {
    right: 7.5px;
  }

  .p-mv__dots {
    bottom: 18px;
  }

  .p-mv__dot {
    width: 15px;
    height: 15px;
  }

  .p-mv__slider .swiper-pagination {
    bottom: 18px;
  }

  .p-mv__slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}

/* 駐車場のご案内セクション */
.p-parking-anker {
  padding: 80px 0;
  background-color: #e60012;
  color: #ffffff;
}

.p-parking-anker__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-parking-anker__title-block {
  margin-bottom: 16px;
}

.p-parking-anker__title {
  font-size: 48px;
  line-height: 60px;
  font-weight: 900;
}

.p-parking-anker__text {
  margin-bottom: 32px;
}

.p-parking-anker__text p {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

@media (max-width: 768px) {
  .p-parking-anker {
    padding: 80px 0;
  }

  .p-parking-anker__content {
    padding: 0 24px;
    gap: 16px;
  }

  .p-parking-anker__title-block {
    gap: 16px;
  }

  .p-parking-anker__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 0;
  }

  .p-parking-anker__text {
    margin-bottom: 32px;
  }

  .p-parking-anker__text p {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
  }
}

/* ALLYが選ばれる理由セクション */
.p-reason {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-reason__cards {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.p-reason__card {
  flex: 1;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(130.6deg, #fc765e 9.32%, #b91c1c 90.68%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.p-reason__card--gradient-2 {
  background: linear-gradient(130.6deg, #e60012 9.32%, #b91c1c 90.68%);
}

.p-reason__card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.p-reason__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-reason__card-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-reason__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
  margin-bottom: 8px;
}

.p-reason__card-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.29;
  height: 52px;
  display: flex;
  align-items: center;
}

.p-reason__card-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-reason__card-point {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-reason__card .c-button {
  border-radius: 12px;
  height: 48px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .p-parking__header {
    padding: 0 24px;
  }

  .p-reason__cards {
    padding: 0 20px;
  }

  .p-reason__card {
    min-width: 100%;
    padding: 24px;
  }

  .p-reason__card-title {
    line-height: 32px;
  }

  .p-reason__card-description {
    line-height: 18px;
  }

  .p-reason__card-point {
    line-height: 18px;
  }
}

/* 買取強化中バナーセクション */
.p-banner {
  padding: 80px 0;
  background-color: #f9fafb;
}

.p-banner__content {
  max-width: 1280px;
  max-height: 640px;
  min-height: 160px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 1280 / 640;
  border-radius: 24px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.p-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .p-banner {
    padding: 80px 0;
  }

  .p-banner__content {
    margin: 0 20px;
  }
}

/* 買取強化ブランドセクション */
.p-brand {
  padding: 80px 0;
  background-color: #f9fafb;
}

.p-brand__categories {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.p-brand__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-brand__card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transition: opacity 0.3s ease;
}

.p-brand__card[style*="display: none"] {
  display: none !important;
}

.p-brand__card-img {
  width: 100%;
  max-width: 200px;
  max-height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-brand__card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.p-brand__card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #222e47;
  margin: 0;
}

.p-brand__card-price {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #e60012;
  margin: 0;
}

.p-brand__card-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  text-align: justify;
  margin: 0;
}

.p-brand__empty-message {
  text-align: center;
  padding: 80px 0;
  grid-column: 1 / -1;
}

.p-brand__empty-text {
  font-size: 20px;
  font-weight: 700;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 768px) {
  .p-brand {
    padding: 80px 0;
  }

  .p-brand__categories {
    margin-bottom: 32px;
  }

  .p-brand__categories .c-category-tab {
    font-size: 12px;
    padding: 12px;
    height: 48px;
  }

  .p-brand__cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* 最新の買取実績セクション */
.p-track-record {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-track-record__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.p-track-record__card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
}

.p-track-record__card-img {
  width: 100%;
  height: 256px;
  overflow: hidden;
}

.p-track-record__card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-track-record__card-content {
  padding: 24px;
}

.p-track-record__card-categories {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.p-track-record__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
  margin: 0 0 16px 0;
}

.p-track-record__card-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #6b7280;
  margin: 0 0 16px 0;
}

.p-track-record__card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 52px;
}

.p-track-record__card-price,
.p-track-record__card-condition {
  display: flex;
  flex-direction: column;
}

.p-track-record__card-price {
  align-items: flex-start;
}

.p-track-record__card-condition {
  align-items: flex-end;
  text-align: right;
}

.p-track-record__card-price-label,
.p-track-record__card-condition-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #6b7280;
  margin: 0;
}

.p-track-record__card-price-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #e60012;
  margin: 0;
}

.p-track-record__card-condition-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #222e47;
  margin: 0;
}

.p-track-record__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.p-track-record__footer-text {
  font-size: 14px;
  font-weight: 500;
  color: #222e47;
  text-align: center;
}

@media (max-width: 768px) {
  .p-track-record__cards {
    padding: 0 20px;
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .p-track-record__footer {
    padding: 0 20px;
  }
}

/* 最新ニュースセクション */
.p-news {
  padding: 80px 0;
  background-color: #f9fafb;
}

.p-news__list {
  max-width: 960px;
  margin: 0 auto 64px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.p-news__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.3s;
  text-decoration: none;
}

.p-news__item-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.p-news__item--last {
  border-bottom: none;
}

.p-news__item:hover {
  background-color: #f9fafb;
}

.p-news__item-date {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #e60012;
  min-width: 96px;
  flex-shrink: 0;
}

.p-news__item-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #222e47;
  margin: 0;
}

.p-news__item .ico-svg {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.p-news__item:hover .ico-svg {
  transform: rotate(90deg) translateY(-4px);
}

.p-news__empty {
  padding: 80px 24px;
  text-align: center;
}

.p-news__empty-text {
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  margin: 0;
}

.p-news__footer {
  text-align: center;
}

@media (max-width: 768px) {
  .p-news__list {
    margin-bottom: 32px;
  }

  .p-news__item-content {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .p-news__item-date {
    font-size: 16px;
    line-height: 24px;
    min-width: auto;
    height: auto;
  }

  .p-news__item-title {
    font-size: 16px;
    line-height: 24px;
  }

  .p-news__footer {
    padding: 0 20px;
  }
}

/* ニュースアーカイブページ */

/* 買取の流れセクション */
.p-flow {
  padding: 80px 0;
  background-color: #f9fafb;
}

.p-flow__steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-flow__step {
  display: flex;
  gap: 40px;
  align-items: center;
}

.p-flow__step-img {
  flex: 1;
  aspect-ratio: 300 / 200;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.p-flow__step-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-flow__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-flow__step-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.p-flow__step-number {
  width: 32px;
  height: 32px;
  background-color: #e60012;
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  flex-shrink: 0;
}

.p-flow__step-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
  margin: 0;
  flex: 1;
}

.p-flow__step-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  margin: 0;
}

@media (max-width: 768px) {
  .p-flow__steps {
    padding: 0 20px;
  }

  .p-flow__step {
    flex-direction: column;
    align-items: flex-start;
  }

  .p-flow__step-img {
    width: 100%;
  }
}

/* LINEで来店予約セクション */
.p-line {
  padding: 80px 0;
  background: linear-gradient(154.398deg, rgb(22, 163, 74) 0%, rgb(22, 101, 52) 100%);
  color: #ffffff;
}

.p-line__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 60px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
}

.p-line__title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.p-line__subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #dcfce7;
}

.p-line__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  margin-left: auto;
  margin-right: auto;
}

.p-line__card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 0 32px;
}

.p-line__card-icon {
  width: 64px;
  height: 64px;
  background-color: #06c755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-line__card-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
}

.p-line__card-title-step {
  display: block;
}

.p-line__card-title-text {
  display: block;
}

.p-line__card-description {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #dcfce7;
  margin: 0;
}

.p-line__card-description span {
  display: block;
}

.p-line__qr {
  max-width: 400px;
  min-width: 320px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.p-line__qr-code {
  width: 160px;
  height: 160px;
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  flex-shrink: 0;
}

.p-line__qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .p-line__title {
    font-size: 32px;
    line-height: 40px;
  }

  .p-line__title-icon {
    width: 32px;
    height: 32px;
  }

  .p-line__subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .p-line__cards {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .p-line__card {
    padding: 0 16px;
  }

  .p-line__card-title {
    font-size: 20px;
    line-height: 28px;
  }

  .p-line__qr {
    padding: 24px;
  }
}

/* 買取コラムセクション */
.p-column {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-column__categories {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.p-column__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.p-column__card {
  background: linear-gradient(126.235deg, rgb(255, 255, 255) 0%, rgb(249, 250, 251) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.p-column__card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.15);
}

.p-column__card-img {
  width: 100%;
  height: 256px;
  overflow: hidden;
  flex-shrink: 0;
}

.p-column__card-img-src {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.p-column__card-content {
  background-color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.p-column__card-content .c-category-tag {
  align-self: flex-start;
  width: auto;
}

.p-column__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
  margin: 0;
}

.p-column__card-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #6b7280;
  margin: 0;
}

.p-column__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.p-column__card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #6b7280;
}

.p-column__card-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #e60012;
  text-decoration: none;
}

.p-column__card-link-arrow {
  width: 12px;
  height: 12px;
  fill: #e60012;
  transition: transform 0.3s ease;
}

.p-column__card:hover .p-column__card-link-arrow {
  transform: translateX(4px);
}

.p-column__empty-message {
  display: none;
  text-align: center;
  padding: 80px 0;
  grid-column: 1 / -1;
}

.p-column__empty-message .p-column__empty-text {
  font-size: 20px;
  font-weight: 700;
  color: #6b7280;
  margin: 0;
}

.p-column__empty {
  padding: 80px 0;
  text-align: center;
  grid-column: 1 / -1;
}

.p-column__empty-text {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
}

.p-column__footer {
  text-align: center;
}

@media (max-width: 768px) {
  .p-column__categories {
    margin-bottom: 32px;
  }

  .p-column__categories .c-category-tab {
    justify-content: center;
    font-size: 12px;
    padding: 12px;
    height: 48px;
  }

  .p-column__cards {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .p-column__footer {
    padding: 0 20px;
  }
}

/* よくある質問セクション */
.p-faq {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-faq__list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-faq__item {
  background-color: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-faq__item:hover {
  background-color: #f3f4f6;
}

.p-faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.p-faq__question-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #222e47;
  flex: 1;
}

.p-faq__question-icon {
  transition: transform 0.6s ease;
  transform: rotate(0deg);
}

.p-faq__item--active .p-faq__question-icon {
  transform: rotate(180deg);
}

.p-faq__answer {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #6b7280;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, margin-top 0.6s ease;
  margin-top: 0;
}

.p-faq__item--active .p-faq__answer {
  max-height: 500px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .p-faq__list {
    padding: 0 20px;
    gap: 24px;
  }

  .p-faq__item {
    padding: 20px;
  }

  .p-faq__question-text {
    font-size: 16px;
    line-height: 22px;
  }
}

/* お問い合わせセクション */
.p-contact {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.p-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background-color: #f9fafb;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.15);
}

.p-contact__card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.p-contact__card-icon--tel {
  background-color: #e60012;
}

.p-contact__card-icon--mail {
  background-color: #daa520;
}

.p-contact__card-icon--line {
  background-color: #06c755;
}

.p-contact__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
}

.p-contact__card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: center;
}

.p-contact__card-tel,
.p-contact__card-email,
.p-contact__card-line {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  margin: 0;
}

.p-contact__card-tel {
  color: #e60012;
}

.p-contact__card-email {
  color: #daa520;
}

.p-contact__card-line {
  color: #06c755;
}

.p-contact__card-time {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 768px) {
  .p-contact__cards {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .p-contact__card {
    padding: 24px;
  }

  .p-contact__card-tel,
  .p-contact__card-email,
  .p-contact__card-line {
    font-size: 24px;
    line-height: 30px;
  }
}

/* 駐車場のご案内セクション */
.p-parking {
  padding: 80px 0;
  background-color: #f9fafb;
}

.p-parking__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 64px;
}

.p-parking__card {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.p-parking__card-img {
  width: 100%;
  aspect-ratio: 300 / 200;
  max-height: 256px;
  overflow: hidden;
}

.p-parking__card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-parking__card-content {
  padding: 24px;
  min-height: 104px;
  display: flex;
  align-items: flex-start;
}

.p-parking__card-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.p-parking__card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #e60012;
  color: #ffffff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  flex-shrink: 0;
}

.p-parking__card-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #e60012;
  margin: 0;
  flex: 1;
}

.p-parking__map {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 80px 32px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
}

.p-parking__map-header {
  text-align: center;
  margin-bottom: 64px;
}

.p-parking__map-title {
  font-size: 0;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.p-parking__map-title-text,
.p-parking__map-title-text--primary {
  font-size: 48px;
  display: inline-block;
  line-height: 60px;
}

.p-parking__map-title-text--primary {
  color: #e60012;
}

.p-parking__map-subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #6b7280;
}

.p-parking__map-content {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.p-parking__map-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .p-parking__header {
    padding: 0 24px;
  }

  .p-parking__cards {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .p-parking__card {
    min-width: 100%;
  }

  .p-parking__card-content {
    min-height: auto;
  }

  .p-parking__map-header {
    margin-bottom: 32px;
  }

  .p-parking__map-title-text,
  .p-parking__map-title-text--primary {
    font-size: 32px;
    line-height: 40px;
  }

  .p-parking__map-subtitle {
    line-height: 28px;
  }

  .p-parking__map-content {
    max-width: 263px;
  }
}

/* ============================================
   パンくずリスト（下層ページ共通）
   ============================================ */

.p-breadcrumb {
  background-color: #f9fafb;
  padding: 16px 32px;
}

.p-breadcrumb__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
}

.p-breadcrumb__item {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #6b7280;
  flex-shrink: 0;
  white-space: nowrap;
}

.p-breadcrumb__item:last-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-breadcrumb__item a {
  color: #e60012;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.p-breadcrumb__item a:hover {
  opacity: 0.8;
}

.p-breadcrumb__separator {
  transform: rotate(90deg);
}

/* ============================================
   ヒーローセクション（下層ページ共通）
   ============================================ */

.p-hero {
  background-color: #f9fafb;
  padding: 80px 0 64px;
}

.p-hero__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.p-hero__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 60px;
  color: #222e47;
  margin-bottom: 16px;
}

.p-hero__title-primary {
  color: #e60012;
}

.p-hero__subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #6b7280;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .p-breadcrumb {
    padding: 16px 20px;
  }

  .p-hero {
    padding: 80px 0 32px;
  }

  .p-hero__content {
    padding: 0 20px;
  }

  .p-hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .p-hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ============================================
   404ページ
   ============================================ */
.p-404 {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-404__content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.p-404__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 60px;
  color: #222e47;
  margin: 0;
}

.p-404__subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #6b7280;
  margin: 0;
}

.p-404__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  text-align: center;
}

.p-404__text p {
  margin: 0;
}

.p-404__link {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .p-404 {
    padding: 80px 0;
  }

  .p-404__content {
    gap: 16px;
  }

  .p-404__title {
    font-size: 32px;
    line-height: 40px;
  }

  .p-404__subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .p-404__text {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }
}

/* ============================================
   アーカイブページネーション（共通）
   ============================================ */
.p-archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}

.p-archive-pagination .navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.p-archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-archive-pagination .nav-links > * {
  margin: 0;
  padding: 0;
}

.p-archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.p-archive-pagination .page-numbers.current {
  background-color: #e60012;
  color: #ffffff;
}

.p-archive-pagination .page-numbers:not(.current):not(.prev):not(.next) {
  background-color: #ffffff;
  color: #222e47;
  border: 1px solid #e5e7eb;
}

.p-archive-pagination .page-numbers:not(.current):not(.prev):not(.next):hover {
  background-color: #f9fafb;
}

.p-archive-pagination .page-numbers.prev,
.p-archive-pagination .page-numbers.next {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #222e47;
}

.p-archive-pagination .page-numbers.prev:hover,
.p-archive-pagination .page-numbers.next:hover {
  background-color: #f9fafb;
}

.p-archive-pagination .page-numbers.prev {
  transform: rotate(-90deg);
}

.p-archive-pagination .page-numbers.next {
  transform: rotate(90deg);
}

.p-archive-pagination .page-numbers.prev svg,
.p-archive-pagination .page-numbers.next svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* 新しいクラス名に対応（archive-pagination.php用） */
.p-archive-pagination__prev,
.p-archive-pagination__next,
.p-archive-pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.p-archive-pagination__number {
  background-color: #ffffff;
  color: #222e47;
  border: 1px solid #e5e7eb;
}

.p-archive-pagination__number:hover {
  background-color: #f9fafb;
}

.p-archive-pagination__number--active {
  background-color: #e60012;
  color: #ffffff;
  border: none;
}

.p-archive-pagination__prev,
.p-archive-pagination__next {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #222e47;
}

.p-archive-pagination__prev:hover,
.p-archive-pagination__next:hover {
  background-color: #f9fafb;
}

.p-archive-pagination__prev {
  transform: rotate(-90deg);
}

.p-archive-pagination__next {
  transform: rotate(90deg);
}

.p-archive-pagination__prev svg,
.p-archive-pagination__next svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .p-archive-pagination {
    margin-top: 40px;
    padding: 0 20px;
  }
}

/* ============================================
   アーカイブページ共通スタイル
   ============================================ */

/* アーカイブセクション */
.p-archive {
  padding: 0 0 80px;
  background-color: #f9fafb;
}

/* フィルターセクション */
.p-archive__filter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 0;
}

.p-archive__filter-box {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
}

.p-archive__filter-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #111827;
  margin-bottom: 24px;
}

.p-archive__filter-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-archive__filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.p-archive__filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-archive__filter-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #222e47;
}

.p-archive__filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.p-archive__filter-select {
  width: 160px;
  height: 46px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #222e47;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.p-archive__filter-result {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
}

.p-archive__filter-result-count {
  color: #e60012;
}

/* カードグリッド */
.p-archive__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

/* カード基本構造 */
.p-archive__card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.p-archive__card-img {
  width: 100%;
  height: 256px;
  overflow: hidden;
  flex-shrink: 0;
}

.p-archive__card-img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-archive__card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.p-archive__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
  margin: 0;
}

/* 空状態 */
.p-archive__empty {
  padding: 80px 0;
  text-align: center;
}

.p-archive__empty-text {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* CTAセクション */
.p-archive__cta {
  margin: 64px auto 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.p-archive__cta-note {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  text-align: center;
  margin: 0;
}

.p-archive__cta-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 60px;
  background-color: #e60012;
  color: #ffffff;
  border-radius: 9999px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-archive__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
}

.p-archive__cta-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .p-archive {
    padding: 0 0 40px;
  }

  .p-archive__filter-box {
    padding: 20px;
    margin-bottom: 20px;
  }

  .p-archive__filter-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .p-archive__filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .p-archive__filter-group {
    width: 100%;
  }

  .p-archive__filter-select {
    width: 100%;
    max-width: 160px;
  }

  .p-archive__filter-result {
    font-size: 14px;
    line-height: 20px;
  }

  .p-archive__cards {
    margin-bottom: 40px;
  }

  .p-archive__card-title {
    font-size: 20px;
    line-height: 28px;
  }

  .p-archive__cta {
    margin: 32px auto 0;
    padding: 24px;
  }
}

/* ============================================
   プライバシーポリシーページ
   ============================================ */
.p-privacy-policy {
  padding: 80px 0;
  background-color: #ffffff;
}

.p-privacy-policy__content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.p-privacy-policy__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.p-privacy-policy__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 60px;
  color: #222e47;
  margin: 0;
}

.p-privacy-policy__subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #6b7280;
  margin: 0;
  text-align: justify;
  width: 100%;
}

.p-privacy-policy__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-privacy-policy__section:has(ul) {
  gap: 16px;
}

.p-privacy-policy__section:has(.p-privacy-policy__contact) {
  gap: 24px;
}

.p-privacy-policy__section:has(.p-privacy-policy__dates) {
  gap: 24px;
}

.p-privacy-policy__content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #222e47;
  margin: 0;
}

.p-privacy-policy__content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  margin: 0;
  text-align: justify;
}

.p-privacy-policy__section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-privacy-policy__section ul li {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
  text-align: justify;
}

.p-privacy-policy__section ul li::before {
  content: '●';
  font-size: 12px;
  line-height: 24px;
  flex-shrink: 0;
  width: 12px;
  text-align: center;
}

.p-privacy-policy__contact {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
}

.p-privacy-policy__contact-text {
  margin: 0;
}

.p-privacy-policy__contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-privacy-policy__contact-info p {
  margin: 0;
}

.p-privacy-policy__dates {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
  align-items: flex-end;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #222e47;
}

.p-privacy-policy__dates p {
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .p-privacy-policy {
    padding: 80px 0;
  }

  .p-privacy-policy__content {
    gap: 64px;
  }

  .p-privacy-policy__title {
    font-size: 32px;
    line-height: 40px;
  }

  .p-privacy-policy__subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .p-privacy-policy__content h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .p-privacy-policy__content p {
    font-size: 16px;
    line-height: 24px;
  }

  .p-privacy-policy__section ul li {
    font-size: 16px;
    line-height: 24px;
  }

  .p-privacy-policy__contact {
    padding: 24px;
    width: 100%;
  }

  .p-privacy-policy__dates {
    font-size: 16px;
    line-height: 24px;
  }
}