@charset "utf-8";

/* ============================================================
  Custom Properties
============================================================ */
:root {
  /* color */
  --color-text-primary: #3c3c3c;
  --color-text-white: #fff;
  --color-bg-white: #fff;
  --color-bg-footer: #f2f2f2;
  --color-red: #e60012;
  --color-brand-line: #06c755;

  /* transition */
  --transition-base: 0.2s ease;
}

/* ============================================================
  Base
============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text-primary);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:lang(en) {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

/* ============================================================
  Layout (l-)
============================================================ */
/* inner */
.l-inner {
  max-width: 1366px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 9%;

  @media screen and (max-width: 768px) {
    max-width: none;
    padding-inline: 0.938rem;
  }
}

/* main */
.l-main {
  max-inline-size: 1920px;
  overflow: hidden;
  padding-block-start: 74px;
  margin-inline: auto;

  @media screen and (max-width: 768px) {
    padding-block-start: 52px;
  }
}

.l-main[class*='page-'] .l-inner {
  /* padding-block: 6.25rem; */

  @media screen and (max-width: 768px) {
    /* position: relative; */
    /* padding-block: 5rem; */
  }
}

/* Background */
.l-bg {
  width: 100%;
  background-size: cover;
}

/* サイドバー有り固定ページ */
.l-content-sidebar {
  display: grid;
  grid-template-columns: minmax(auto, 783px) minmax(auto, 297px);
  gap: clamp(1rem, 2.93vw, 2.5rem);

  max-width: 1366px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 7.688rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 5rem;

    max-width: none;
    padding-inline: 0;
  }

  .c-pagination-wrapper {
    margin-block-start: 6.25rem;
    @media screen and (max-width: 768px) {
      margin-block-start: 5rem;
    }
  }
}

.l-content {
  overflow-x: visible;

  display: flex;
  flex-direction: column;

  margin-block-end: 6.25rem;

  border-right: 1px solid #e6e6e6;

  @media screen and (max-width: 768px) {
    margin-block-end: 0;
    border-right: none;
  }

  & .l-content__item {
    padding-inline-end: 2.5rem;

    @media screen and (max-width: 768px) {
      padding-inline-end: 0;
    }
  }

  & .l-content__item:not(:last-of-type) {
    margin-block-end: 4rem;
  }

  & .l-content__sub-item + .l-content__sub-item {
    margin-block-start: 4rem;
  }
}

/* ============================================================
  Component (c-)
============================================================ */
/* ============================
*  Title
* ========================== */
/* Section title */
.c-section-heading {
  & .l-bg {
    background-image: url(../images/bg/bg-top-section-title.png);
    
    @media screen and (max-width: 768px) {
      background-image: url(../images/bg/bg-top-section-title-sp.png);
      background-position: center;
    }
  }
}

.c-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-block: 2.25rem 2.5rem;

  color: var(--color-text-white);

  @media screen and (max-width: 768px) {
    padding-block: 1.375rem 1.5rem;
  }

  & .c-section-title--en {
    font-size: 1.5rem;
    line-height: 1.333;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      font-size: 1rem;
      line-height: 1.313;
    }
  }

  & .c-section-title--ja {
    font-size: 2.5rem;
    line-height: 1.45;
    font-weight: 900;

    @media screen and (max-width: 768px) {
      font-size: 1.5rem;
      text-align: center;
    }
  }
}

/* ============================
*  Link Button
* ========================== */
/* More Link Button */
.c-more-link {
  display: block;

  max-width: 20rem;
  width: 100%;
  margin-inline: auto;
  padding-block: 0.875rem;

  background-color: var(--color-red);
  box-shadow: inset 0 0 0 2px transparent;
  border-radius: 4px;

  transition: var(--transition-base);

  & .c-more-link__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.429;
    color: var(--color-text-white);
  }

  & .c-more-link__label::before {
    flex-shrink: 0;
    content: '';
    width: 0.688rem;
    height: 0.688rem;
    margin-block-start: 2px;
    background-image: url(../images/arrow/arrow-circle-white.svg);
  }

  /* Hover State */
  &:hover {
    background-color: var(--color-bg-white);
    box-shadow: inset 0 0 0 2px var(--color-red);
  }

  &:hover .c-more-link__label {
    color: var(--color-red);
  }

  &:hover .c-more-link__label::before {
    background-image: url(../images/arrow/arrow-circle-red.svg);
  }

  /* Outline Modifier */
  &.c-more-link--outline {
    background-color: var(--color-bg-white);
    box-shadow: inset 0 0 0 2px var(--color-red);

    & .c-more-link__label {
      color: var(--color-red);
    }

    & .c-more-link__label::before {
      background-image: url(../images/arrow/arrow-circle-red.svg);
    }

    &:hover {
      background-color: var(--color-red);
      box-shadow: inset 0 0 0 2px transparent;
    }

    &:hover .c-more-link__label {
      color: var(--color-text-white);
    }

    &:hover .c-more-link__label::before {
      background-image: url(../images/arrow/arrow-circle-white.svg);
    }
  }
}

/* ============================
*  CTA Component
* ========================== */
.p-top .c-cta {
  display: block;
  margin-block-start: -2.1rem;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.c-cta .l-bg {
  height: fit-content;
  background-image: url(../images/bg/bg-top-action.png);

  @media screen and (max-width: 768px) {
    margin-block-start: 0;
  }
}

[class*='page-'] .c-cta .l-bg {
  margin-block-start: 0;
}

.c-cta__content {
  padding-block: 5rem 3.25rem;

  @media screen and (max-width: 768px) {
    padding-block: 2.5rem;
  }
}

.c-contact-banner {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  gap: clamp(1.5rem, 5.27vw, 4.5rem);
  width: 100%;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

/* 左エリア */
.c-contact-banner__left {
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-contact-banner__headline {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  margin-block-end: 0.5rem;

  font-size: 2rem;
  font-size: clamp(1.125rem, 2.34vw, 2rem);
  font-weight: 700;
  line-height: 1.469;
  white-space: nowrap;

  @media screen and (max-width: 768px) {
    align-items: flex-end;

    margin-block-end: 1rem;

    font-size: 1.25rem;
    text-align: center;
  }

  &::before,
  &::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-size: cover;
    background-position: center;

    @media screen and (max-width: 768px) {
      width: 2rem;
      height: 2rem;
    }
  }

  &::before {
    background-image: url(../images/deco/deco-slash-red-left.svg);
  }

  &::after {
    background-image: url(../images/deco/deco-slash-red-right.svg);
  }
}

.c-contact-banner__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: 
  "badge1 badge2 badge3"
  "contact contact contact";
  gap: 1.5rem;
  margin-block-end: 0.625rem;

  @media screen and (max-width: 768px) {
    gap: 0.5rem;

    margin-block-end: 1rem;
  }
}

.c-badge {
  width: 100%;
  padding: 0.25em 1em;

  border-radius: 50px;
  background-color: var(--color-red);

  font-size: min(1.5rem,1.756vw);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-white);
  text-align: center;

  &:first-of-type {
    grid-area: badge1;
  }
  &:nth-of-type(2) {
    grid-area: badge2;
  }
  &:nth-of-type(3) {
    grid-area: badge3;
  }

  @media screen and (max-width: 768px) {
    padding-inline: 1rem;

    font-size: 0.9rem;
  }
}

.c-cta .c-contact__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background-color: var(--color-bg-white);
  padding-inline: 6.99vw;

  & .c-contact__number {
    font-size: min(3rem,3.51vw);
    line-height: 1.188;
  }

  & .c-contact__icon {
    width: min(1.563rem,2.92vw);
    height: auto;
  }

  & .c-contact__tel-row {
    gap: 0.25rem;
  }

  & .c-contact__hours {
    padding-inline-end: 0.75rem;

    font-size: min(1.25rem,1.46vw);
    font-weight: 500;
    letter-spacing: 0;
  }

  @media screen and (max-width: 768px) {
    max-width: 345px;
    width: 100%;
    align-items: center;
    padding-inline: 0;

    & .c-contact__number {
      font-size: 1.875rem;
      line-height: 1.167;
    }

    & .c-contact__icon {
      width: 1.563rem;
      height: auto;
      object-fit: contain;
    }

    & .c-contact__hours {
      padding-inline-end: 0.875rem;

      font-size: 0.75rem;
      line-height: 1.5;
    }
  }
}

/* 右エリア */
.c-contact-banner__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.c-banner {
  position: relative;
  max-width: min(360px,26.3vw);

  &::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: transparent;
    transition: var(--transition-base);
  }

  &.c-takuhai:hover::after {
    background-color: rgba(230, 0, 18, 0.6);
  }

  &.c-line:hover::after {
    background-color: rgba(4, 199, 85, 0.6);
  }

  @media screen and (max-width: 768px) {
    max-width: 346px;
  }
}

.c-banner__img {
  aspect-ratio: 360 / 96;
}

/* ============================
*  Card component
* ========================== */
.c-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  width: auto;
  padding: 0.813rem;

  background-color: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px #ddd;

  box-sizing: border-box;

  /* Hover State */
  &:hover .c-card__image {
    opacity: 0.6;
  }

  &:hover .c-card__name {
    color: var(--color-red);
  }

  &:hover .c-card__button {
    background-color: var(--color-red);
  }

  &:hover .c-card__button-label {
    color: var(--color-text-white);
  }

  &:hover .c-card__button-label::before {
    background-image: url(../images/arrow/arrow-circle-white.svg);
  }

  @media screen and (max-width: 768px) {
    gap: 0.5rem;
  }
}

.c-card__inner {
  display: grid;
  grid-template-columns: minmax(0, 111px) 1fr;
  gap: 0.5rem;
  flex-grow: 1;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.c-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    justify-content: center;
    gap: 0.5rem;
  }
}
.c-card__image {
  opacity: 1;
  transition: var(--transition-base);

  & .c-card__img {
    max-width: 111px;
    aspect-ratio: 111 / 156;
    object-fit: contain;

    @media screen and (max-width: 768px) {
      /* max-width: 21.3vw; */
      aspect-ratio: 80 / 112;
    }
  }
}
.c-card__notfound {
  background-color: #F0F0F0;
  border-radius: 8px;
}

.c-card__name {
  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 500;

  transition: var(--transition-base);

  @media screen and (max-width: 768px) {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

.c-card__price-list {
  border: 1px solid #f2f2f2;
}

.c-card__price-item {
  @media screen and (max-width: 768px) {
    display: grid;
    grid-template-columns: minmax(auto, 46px) 1fr;
  }
}

.c-card__price-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;

  background-color: #f2f2f2;

  font-size: 0.625rem;
  line-height: 1.5;
  font-weight: 700;
  color: #8c8c8c;
}

.c-card__price-value {
  padding-block-end: 2px;

  text-align: center;
  & .u-number {
    font-size: 0.875rem;
    font-weight: 700;
  }

  & .u-yen {
    font-size: 0.625rem;
  }
}

.c-card__button {
  width: 100%;
  padding-block: 0.875rem;

  background-color: var(--color-bg-white);
  border: 1px solid var(--color-red);
  border-radius: 4px;

  & .c-card__button-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    font-size: 0.875rem;
    line-height: 1.429;
    font-weight: 700;
    color: var(--color-red);

    transition: var(--transition-base);
  }

  & .c-card__button-label::before {
    content: '';

    width: 0.688rem;
    height: 0.688rem;
    background-image: url(../images/arrow/arrow-circle-red.svg);

    transition: var(--transition-base);
  }

  @media screen and (max-width: 768px) {
    padding-block: 0.438rem;

    & .c-card__button-label {
      font-size: 0.75rem;
      line-height: 1.5;
    }
  }
}

/* ============================
*  Not found component
* ========================== */

.c-not-found {
  font-weight: 500;
  text-align: center;
  margin-block-end: 2rem;
}

/* ============================
*  Article list and card  conponent
* ========================== */
.c-article-list-block {
  & .c-group-title {
    margin-block-end: 2.5rem;
  }
  & .c-article-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.875rem, 2.05vw, 1.75rem);

    margin-block-end: 2.5rem;

    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem 0.5rem;
    }
  }
}
.c-article-card {
  & .c-article-card__link {
    display: grid;
    grid-template-rows: 1fr minmax(auto, 84px) minmax(auto, 17px);

    padding-block-end: 1rem;

    border-bottom: 1px solid #e6e6e6;
    transition: 0.2s opacity;

    &:hover {
      opacity: 0.6;
    }

    @media screen and (max-width: 768px) {
      display: grid;
      grid-template-rows: 1fr minmax(auto, 36px) minmax(auto, 17px);
      gap: 0.5rem;
      padding-block-end: 0.5rem;
    }
  }

  /* サムネ */
  & .c-article-card__thumb {
    margin-block-end: 0.625rem;
    @media screen and (max-width: 768px) {
      margin-block-end: 0;
    }
  }

  & .c-article-card__img {
    border-radius: 4px;
    aspect-ratio: 259 / 146;
  }

  /* タイトル */
  & .c-article-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin-block-end: 1.375rem;

    font-size: 0.875rem;
    line-height: 1.571;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      -webkit-line-clamp: 2;

      margin-block-end: 0;

      font-size: 0.75rem;
      line-height: 1.5;
    }
  }

  /* メタ情報 */
  & .c-article-card__meta {
    position: relative;

    display: flex;
    align-items: center;
    gap: 1rem;
  }

  & .c-article-card__meta::after {
    position: absolute;
    content: '';

    top: 50%;
    transform: translateY(-50%);
    right: 0;

    width: 13px;
    height: 13px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* 日付 */
  & .c-article-card__date {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: #8c8c8c;

    @media screen and (max-width: 768px) {
      font-size: 0.688rem;
    }
  }

  /* タグ */
  & .c-article-card__tags {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  & .c-article-card__tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    font-size: 0.688rem;
    line-height: 1.455;
  }

  & .c-article-card__tag::before {
    content: '';

    width: 0.25rem;
    height: 1rem;
    background-color: #bebebe;
  }
}

/* ============================
*  固定ページタイトル
*  page-heading.php（コンポーネント）
* ========================== */
.c-page-heading {
  position: relative;
  width: 100%;
  height: 246px;

  margin-block-end: 6.25rem;

  @media screen and (max-width: 768px) {
    height: 110px;
    margin-block-end: 5rem;
  }

  /* 背景画像 */
  & .c-page-heading__bg-picture {
    position: absolute;
    inset: 0;
    z-index: 0;

    & .c-page-heading__bg-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  /* タイトル */
  & .c-page-heading__title {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;

    height: 100%;

    text-align: center;

    @media screen and (max-width: 768px) {
      gap: 0.25rem;
    }
  }

  /* 日本語タイトル */
  & .c-page-heading__titl--ja {
    font-size: 2rem;
    line-height: 1.469;
    font-weight: 700;
    letter-spacing: 0.1em;

    @media screen and (max-width: 768px) {
      font-size: 1.375rem;
      letter-spacing: 0.05em;
    }
  }

  /* 英語タイトル */
  & .c-page-heading__titl--en {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: #64625e;

    @media screen and (max-width: 768px) {
      font-size: 0.625rem;
      letter-spacing: 0.1em;
    }
  }
}

/* ============================
*  パンくずリスト
*  breadcrumb.php
* ========================== */
.c-breadcrumb {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    position: absolute;
    top: 10.75rem;
    left: 0;

    max-width: 92vw;
    width: 100%;
    height: fit-content;
    padding-inline: 0.938rem;
  }

  .l-main & .l-inner {
    padding-block: 0;
  }

  & .c-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-color-breadcrumb);

    @media screen and (max-width: 768px) {
      display: grid;
      grid-template-columns: repeat(3, auto);
      justify-content: start;
    }
  }

  & .c-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    font-size: 0.688rem;
    line-height: 1.455;
  }

  & .c-breadcrumb__item:not(:last-of-type)::after {
    content: '>';
  }

  & .c-breadcrumb__link {
    font-size: 0.688rem;
    line-height: 1.455;
  }

  & .c-breadcrumb__link:first-of-type {
    color: var(--color-red);
    font-weight: 500;
  }

  & .c-breadcrumb__item--current {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ========================================
 * Feature List
 * ======================================== */

/* リスト */
.c-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* カード */
.c-feature-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  padding: 2.5rem;

  background-color: var(--color-bg-white);
  border-radius: 4px;

  @media screen and (max-width: 768px) {
    flex-direction: column;

    padding: 1.5rem;
  }
}

/* 反転レイアウト */
.c-feature-card--reverse {
  flex-direction: row-reverse;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

/* ========================================
 * Image Area
 * ======================================== */

/* 画像エリア */
.c-feature-card__image {
  position: relative;

  flex-shrink: 0;
}

/* ナンバー */
.c-feature-card__num {
  position: absolute;
  top: -46px;
  left: -8px;

  font-size: 6.25rem;
  line-height: 1.32;
  font-weight: 700;
  color: var(--color-red);

  @media screen and (max-width: 768px) {
    top: -30px;
    left: -6px;

    font-size: 5rem;
    line-height: 1.325;
  }
}

/* 画像 */
.c-feature-card__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;

  border-radius: 4px;
}

/* ========================================
 * Body
 * ======================================== */

/* コンテンツ */
.c-feature-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;

  @media screen and (max-width: 768px) {
    gap: 1rem;
  }
}

/* タイトル */
.c-feature-card__title {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 900;
  color: var(--color-red);
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    line-height: 1.458;
  }
}

/* キャッチコピー */
.c-feature-card__copy {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;

  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;

  @media screen and (max-width: 768px) {
    align-items: center;
    gap: 0;

    font-size: 0.938rem;
    line-height: 1.333;
  }
}

/* SP時の改行削除 */
.c-feature-card__copy br {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

/* 装飾 */
.c-feature-card__copy::before,
.c-feature-card__copy::after {
  content: '';

  flex-shrink: 0;

  width: 1.5rem;
  height: 1.5rem;

  background-size: cover;

  @media screen and (max-width: 768px) {
    width: 1rem;
    height: 1rem;
  }
}

/* 左装飾 */
.c-feature-card__copy::before {
  background-image: url(../images/deco/deco-slash-red-left.svg);
}

/* 右装飾 */
.c-feature-card__copy::after {
  background-image: url(../images/deco/deco-slash-red-right.svg);
}

/* 本文 */
.c-feature-card__desc {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.714;
  }
}

/* ============================
* c-info-list コンポーネント
* 汎用：下線ラインのあるdlリスト
* ========================== */
.c-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  width: 100%;
}

.c-info-list__item {
  position: relative;
  display: grid;
  grid-template-columns: 15.875rem 1fr;
  align-items: center;

  padding-block-end: 1.5rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 0.5rem;

    padding-block-end: 0;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: 0;

    width: 100%;
    height: 2px;
    background-image: url(../images/deco/deco-line-red.svg);
    background-size: cover;
    background-repeat: no-repeat;

    @media screen and (max-width: 768px) {
      background-image: none;
    }
  }
}

.c-info-list__term {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    position: relative;
    padding-block-end: 0.5rem;

    font-size: 0.875rem;
    line-height: 1.714;

    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;

      width: 100%;
      height: 2px;
      background-image: url(../images/deco/deco-line-red-sp.svg);
      background-size: cover;
      background-repeat: no-repeat;
    }
  }
}

.c-info-list__desc {
  padding-inline-start: 1.25rem;

  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  @media screen and (max-width: 768px) {
    padding-inline: 0;

    font-size: 0.875rem;
    line-height: 1.714;
  }
}

.c-info-list__desc p + p {
  margin-top: 1em;
}

/* ============================
*  固定ページ セクションタイトル
* ========================== */
/* H3 */
.c-heading--h3,
h3.wp-block-heading {
  margin-block-end: 1.5rem;
  padding-block: 1.281rem;
  padding-inline-start: 2rem;

  background-color: #f2f2f2;
  box-shadow: inset 6px 0 0 0 var(--color-red);

  font-size: 1.75rem;
  line-height: 1.464;
  font-weight: 700;
  letter-spacing: 0.05em;

  @media screen and (max-width: 768px) {
    padding-block: 0.781rem;
    padding-inline-start: 1rem;

    font-size: 1.188rem;
    line-height: 1.474;
    letter-spacing: 0;
  }
}

/* H4 */
.c-heading--h4,
h4.wp-block-heading {
  /* TEMP: remove before launch */
  margin-block-end: 2.5rem;

  padding-inline-start: 1rem;

  box-shadow: inset 6px 0 0 0 var(--color-red);

  font-size: 1.438rem;
  line-height: 1.478;
  font-weight: 700;
  letter-spacing: 0.05em;

  @media screen and (max-width: 768px) {
    padding-inline-start: 0.875rem;

    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
}

/* H5 */
.c-heading--h5,
h5.wp-block-heading {
  padding-block-end: 0.5rem;
  margin-block-end: 1rem;

  border-bottom: 1px solid var(--color-red);

  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.05em;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.429;
    letter-spacing: 0.05em;
  }
}

.c-inline-block {
  display: inline-block;
}

/* ============================
*  アコーディオン
* ========================== */
/* トグルアイコン */
.c-accordion__toggle {
  flex-shrink: 0;
  display: block;
  position: relative;
  width: 1.188rem;
  height: 1.188rem;

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
    transform: translateY(-50%);
  }

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background-color: var(--color-red);
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
  }

  [data-accordion-trigger][aria-expanded='true'] &::after {
    opacity: 0;
  }
}

/* ボディ */
[data-accordion-body] {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  max-height: 0;

  &.is-open {
    grid-template-rows: 1fr;
  }
}

[data-accordion-body] > * {
  overflow: hidden;
}

/* ============================================================
  Utility (u-)
============================================================ */
.u-visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

.u-sp-only {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

.u-pc-only {
  display: block;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.u-number {
  font-family: 'Roboto', sans-serif;
}

.u-yen {
  font-weight: 700;
}

/* ============================================================
  Header (l-header)
============================================================ */
/* ----------------------------
  Base
---------------------------- */
.l-header {
  position: fixed;
  z-index: 200;

  width: 100%;
  height: 74px;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid #e6e6e6;

  @media screen and (max-width: 768px) {
    height: 52px;
    background-color: var(--color-red);
    border-bottom: none;
  }
}

.l-header__inner {
  width: 100%;
  max-width: 1366px;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  padding-inline: 1rem 1.5rem;

  @media screen and (max-width: 768px) {
    padding-inline: 0;
  }
}

.l-header__content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.l-header__top {
  position: relative;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #fff;

  @media screen and (max-width: 768px) {
    padding-block: 0.406rem;
    padding-inline: 1rem 0.5rem;
    background-color: var(--color-red);
  }
}

/* ----------------------------
  Logo
---------------------------- */
.l-header__logo {
  display: flex;
  align-items: center;
  height: 100%;

  @media screen and (max-width: 768px) {
    padding: 0.25rem;

    background-color: var(--color-bg-white);
    border-radius: 4px;
  }
}

.l-header__img {
  max-width: 208px;
  height: auto;

  aspect-ratio: 9 / 2;

  @media screen and (max-width: 768px) {
    width: auto;
    height: 31px;
  }
}

/* ----------------------------
  Hamburger Menu
---------------------------- */
.c-hamburger {
  display: none;

  @media screen and (max-width: 768px) {
    position: relative;
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 34px;
    height: 36px;

    border: 1px solid #fff;
    border-radius: 4px;
  }
}

.c-hamburger__line {
  position: relative;
  width: 16px;
  height: 2px;

  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;

  &::before,
  &::after {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;

    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  &::before {
    top: -5px;
  }

  &::after {
    top: 5px;
  }
}

.is-open .c-hamburger__line {
  background-color: transparent;

  &::before,
  &::after {
    top: 0;
  }

  &::before {
    transform: rotate(315deg);
  }

  &::after {
    transform: rotate(-315deg);
  }
}

/* ----------------------------
  Drawer Menu
---------------------------- */
.c-drawer {
  position: relative;
  right: auto;
  width: fit-content;
  height: 100%;
  background-color: transparent;
  flex-shrink: 0;
  display: flex;

  @media screen and (max-width: 768px) {
    overflow-y: scroll;
    position: fixed;
    right: 0;
    top: 0;

    flex-direction: column;
    gap: 1rem;

    width: 100%;
    height: 100vh;
    padding-block-start: 5rem;
    background-color: #fff;
    transition: 0.3s ease;
    z-index: 50;

    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;

    &.is-open {
      opacity: 1;
      pointer-events: auto;
    }
  }
}

.c-drawer__content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  height: 100%;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    height: auto;
    padding-inline: 0.75rem;
  }
}

/* Mega Menu PC */
.c-mega-nav__group:hover .c-accordion-nav__label {
  color: var(--color-red);

  &::after {
    left: 0;
    width: 100%;
  }
}

.c-accordion-nav__label {
  position: relative;
  display: inline-block;

  padding-block: 0.813rem;

  text-transform: uppercase;
  font-size: min(0.938rem, 1.09vw);
  font-weight: 700;
  line-height: 1.467;
  width: 100%;

  transition: color var(--transition-base);

  &::after {
    position: absolute;
    content: '';
    left: 50%;
    right: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-red);
    transition:
      width var(--transition-base),
      left var(--transition-base);
  }
  &.current::after {
    left: 0;
    width: 100%;
  }
  @media screen and (max-width: 768px) {
    font-size: 0.9375rem;
  }
}

/* ----------------------------
  Navigation
---------------------------- */
/* Navigation 共通 */
.l-header__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;

  @media screen and (max-width: 768px) {
    width: 100%;
    height: fit-content;
  }
}

/* Mega Menu PC */
.c-mega-nav {
  display: block;
  block-size: 100%;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.c-mega-nav__list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  block-size: 100%;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.c-mega-nav__list .c-mega-nav__group {
  padding-inline: min(1.39vw, 1.188rem);
}

.c-mega-nav__group {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;

  @media screen and (max-width: 768px) {
    width: 100%;
    height: auto;
    display: block;
  }

  /* リストの定義 */
  .c-mega-nav__items {
    display: none;
    list-style: none;
    margin: 0;
    background-color: #fff;

    top: 74px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem;
    border: none;
  }

  /* Hover State PC */
  &:hover {
    .c-mega-nav__panel {
      display: flex;
    }

    .c-mega-nav__items {
      display: grid;
      grid-template-columns: repeat(4, minmax(auto, 226px));
      justify-content: center;
      margin-inline: auto;

      max-width: 902px;
      width: 100%;
      border-bottom: 1px solid #e6e6e6;
    }

    .c-mega-nav__bg {
      visibility: visible;
      display: block;
      position: fixed;
      top: 74px;
      left: 0;
      z-index: 0;
      content: "";
      width: 100vw;
      height: 100vh;
      opacity: 0.5;
      background-color: #000000;
      pointer-events: none;
    }
  }

  &.is-open .c-mega-nav__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(auto, 226px));
    justify-content: center;
    margin-inline: auto;
    max-width: 902px;
    width: 100%;
    border-bottom: 1px solid #e6e6e6;
  }
}
/* パネル本体の定義 */
.c-mega-nav__panel {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  z-index: 100;
  width: 100%;
  height: fit-content;
  padding: 2rem;
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.is-open[data-menu-toggle="pc"] ~ [data-menu-panel="pc"] {
  display: flex;
}

.c-mega-nav__item {
  position: relative;
  padding: 0.5rem;

  /* Hover State PC */
  &:hover .c-mega-nav__link {
    color: var(--color-red);
  }
}

.c-mega-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.429;
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }
}

.c-mega-nav__icon {
  max-width: 75px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.c-mega-nav__top-link {
  position: relative;
  z-index: 200;

  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  transition: 0.2s opacity;

  &::before {
    display: block;
    width: 11px;
    height: 11px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    content: '';
  }

  &:hover {
    opacity: 0.6;
  }
}

.c-mega-nav__bg {
  pointer-events: none;
}

/* Menu SP */
.c-sp-nav__list {
  position: relative;
}
[data-menu-panel="sp"] {
  display: none;
}
.is-open[data-menu-toggle="sp"] + [data-menu-panel="sp"] {
  display: block;

  & .c-sp-nav__bg {
    display: block;
    position: fixed;
    z-index: 31;
    content: "";
    width: 100vw;
    height: 100vh;
    opacity: 0.9;
    background-color: #3C3C3C;
  }
}

.c-sp-nav__bg {
  display: none;
}

.c-sp-nav {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

.c-sp-nav__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  background-color: var(--color-red);
}

.c-sp-nav__group {
  width: 100%;
}

.c-sp-nav__label {
  display: grid;
  grid-template-rows: 20px auto;
  place-items: center;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  height: 52px;
  padding-block: 6px 5px;
  transition: 0.2s opacity;
  opacity: 0.6;
  cursor: pointer;

  &.is-open {
    opacity: 1;
    border-bottom: 2px solid #fff;
  }

  &:before {
    content: "";
    width: 20px;
    height: 20px;
  }
  
  &.c-sp-nav__label--pokemon:before {
    background: url(../images/icon/icon-pokemon.png) no-repeat center / contain;
  }
  &.c-sp-nav__label--onepiece:before {
    background: url(../images/icon/icon-onepiece.png) no-repeat center / contain;
  }
  &.c-sp-nav__label--yugioh:before {
    background: url(../images/icon/icon-yugioh.png) no-repeat center / contain;
  }
  &.c-sp-nav__label--dm:before {
    background: url(../images/icon/icon-duel.png) no-repeat center / contain;
  }
}

.c-sp-nav__panel {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background-color: #fff;

  & .c-sp-nav__close {
    z-index: 31;
    border-top: 1px solid #B4B4B4;
  }
}

.c-sp-nav__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
  z-index: 31;
  position: relative;
  background-color: #fff;
}

.c-sp-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem;
}

.c-sp-nav__icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
}

.c-sp-nav__text {
  font-weight: 700;
  font-size: 0.6875rem;
}

/* Accordion Menu SP */
.c-accordion-nav {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    width: 100%;
  }
}

.c-accordion-nav__header {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;

  @media screen and (max-width: 768px) {
    justify-content: space-between;
    width: 100%;
    height: auto;
  }
}

.c-accordion-nav__list {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

.c-accordion-nav__trigger {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 0.75rem;
    height: 0.75rem;

    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 3px;
      border-radius: 10px;
      background-color: red;
      transform: translateY(-50%);
    }

    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 3px;
      height: 100%;
      background-color: red;
      border-radius: 10px;
      transform: translateX(-50%);
      transition: opacity 0.3s ease;
    }

    &[aria-expanded='true']::after {
      opacity: 0;
    }
  }
}

.c-accordion-nav__sub-list {
  display: none;

  @media screen and (max-width: 768px) {
    position: static;
    padding: 0.5rem 0 0;
    background-color: transparent;
    border: none;

    &.is-open {
      display: flex;
      flex-direction: column;
    }
  }
}

.c-accordion-nav__list > .c-accordion-nav__item:first-child .c-accordion-nav__link {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-block: 0.813rem;

    font-size: 0.938rem;
    font-weight: 700;
    line-height: 1.467;

    &::after {
      content: '';

      width: 7px;
      height: 11px;
      background-image: url(../images/arrow/arrow-red.svg);
    }
  }
}

.c-accordion-nav__group .c-accordion-nav__link {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-block: 0.875rem;
    padding-inline-start: 0.75rem;

    font-size: 0.875rem;
    line-height: 1.75;
    font-weight: 700;

    &::after {
      content: '';

      width: 7px;
      height: 11px;
      background-image: url(../images/arrow/arrow-red.svg);
    }
  }
}

/* ----------------------------
  Tool
---------------------------- */
.l-header__tool {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* ----------------------------
  Contact
---------------------------- */
.c-contact {
  display: flex;
  flex-direction: row;
  gap: 1rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    width: 100%;

    .l-footer & {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, auto);
      justify-content: space-between;
      gap: 1.5rem 1rem;

      /* max-width: 350px; */
      width: 100%;
      padding-block: 1.5rem 1rem;
    }
  }
}

/* 電話 */
.c-contact__tel {
  padding-block: 0.719rem;

  @media screen and (max-width: 768px) {
    width: 100%;
    padding-block: 0.375rem;
    /* padding-inline: 3.75rem; */

    border: 2px solid var(--color-text-primary);
    border-radius: 8px;
    box-shadow: 3px 3px 0 #000;
  }
}

.c-contact__tel:not(.l-header .c-contact__tel) {
  grid-area: contact;
  padding-block: 0.375rem;
  padding-inline: 3.75rem 6.25rem;

  border: 2px solid var(--color-text-primary);
  border-radius: 8px;
  box-shadow: 3px 3px 0 #000;

  @media screen and (max-width: 768px) {
    max-width: 92vw;
    width: 100%;
    padding-inline: 0;
  }
}

.c-contact__tel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.c-contact__icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;

  aspect-ratio: 1 / 1;

  @media screen and (max-width: 768px) {
    width: 25px;
    height: auto;
  }
}

.c-contact__number {
  font-size: min(2.2vw,30px);
  line-height: 1.167;
  font-weight: 800;
  @media screen and (max-width: 768px) {
    font-size: 1.875rem;
  }
}

.c-contact__hours {
  font-size: min(1.02vw,0.875rem);
  line-height: 1.429;
  letter-spacing: 0.05em;

  @media screen and (max-width: 768px) {
    padding-inline-start: 0.875rem;

    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
  }
}

/* 買取申込み・無料査定 */
.c-contact__buttons {
  display: flex;
  align-items: center;
  gap: 0.875rem;

  @media screen and (max-width: 768px) {
    justify-content: space-between;
    gap: 0;
    width: 100%;

    .l-footer & {
      display: contents;
    }
  }
}

.c-button {
  display: flex;
  align-items: center;

  width: min(180px, 13.1vw);
  height: 47px;
  padding-block: 0.625rem;

  border: 2px solid transparent;
  border-radius: 2px;

  font-size: min(1.125rem,1.31vw);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text-white);

  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);

  &::before {
    content: '';
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    transition: background-color var(--transition-base);
  }

  .l-footer & {
    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }
  /* 買取 */
  &.c-button--primary {
    gap: 1rem;

    padding-inline-start: min(1rem,1.17vw);

    background-color: var(--color-red);

    @media screen and (max-width: 768px) {
      padding-inline-start: 1rem;
    }
  }

  &.c-button--primary::before {
    width: 24px;
    height: 17px;
    background-color: #fff;
    -webkit-mask-image: url(../images/icon/icon-mail-white.svg);
    mask-image: url(../images/icon/icon-mail-white.svg);
  }

  &.c-button--primary:hover {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-red);

    color: var(--color-red);
  }

  &.c-button--primary:hover::before {
    background-color: var(--color-red);
  }

  /* 無料LINE査定 */
  &.c-button--line {
    gap: 0.5rem;

    padding-inline-start: 0.5rem;

    background-color: var(--color-brand-line);
  }

  &.c-button--line::before {
    width: 32px;
    height: 32px;
    background-image: url(../images/icon/icon-line-white.svg);
    background-size: cover;
  }

  &.c-button--line:hover {
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-brand-line);

    color: var(--color-brand-line);
  }

  @media screen and (max-width: 768px) {
    width: 165px;
    height: 47px;

    padding-block: 0;

    border: none;

    font-size: min(1rem, 4.26vw);
  }

  /* 買取 */
  &.c-button--primary {
    gap: 0.5rem;
  }

  &.c-button--primary::before {
    width: min(1.61vw,22px);
    height: min(1.17vw,16px);
    @media screen and (max-width: 768px) {
      width: 22px;
      height: 16px;
    }
  }

  /* 無料LINE査定 */
  &.c-button--line {
    gap: 3px;

    padding-inline-start: 0.656rem;
  }
}

/* ----------------------------
  Search
---------------------------- */
.c-search-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  & .c-search-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    font-size: 0.688rem;
    line-height: 1.545;
    color: var(--color-text-white);
  }

  & .c-search-label::before {
    content: '';

    width: 1rem;
    height: 1rem;
    background-image: url(../images/icon/icon-search.svg);
    background-size: cover;
  }
}

.c-drawer__search-bar {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

.c-search-bar {
  display: none;

  @media screen and (max-width: 768px) {
    &.is-open {
      position: fixed;
      top: 52px;
      left: 0;
      z-index: 50;
      display: block;
      width: 100%;
      height: calc(100dvh - 52px);
      background-color: rgba(60, 60, 60, 0.9);
    }

    &.is-open .c-search__button {
      display: none;
    }

    &.is-open .c-search__icon path {
      fill: #8c8c8c;
    }

    &.is-open .c-search__clear::after {
      display: none;
    }
  }
}

.c-search__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: #fff;
  border: 1px solid #cdcdca;

  &::before {
    color: transparent;
    background-color: transparent;
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
    border: 2px solid #fff;
    position: relative;
  }

  @media screen and (max-width: 768px) {
    height: 60px;
  }
}

.c-search__inner {
  display: flex;
  align-items: center;
  flex: 1;
}

.c-search__icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.l-header .c-search__icon path {
  fill: #8c8c8c;
}

.c-search__input {
  display: flex;
  align-items: center;
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.875rem;
  height: 100%;
  color: #333;
  background: transparent;

  &::placeholder {
    color: #aaa;
  }

  @media screen and (max-width: 768px) {
    font-size: 0.75rem;
  }
}

.c-search__buttons {
  display: flex;
  align-items: center;
  gap: 1.375rem;
}

/* さがす */
.c-search__button {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 68px;
  height: 42px;

  background-color: var(--color-text-primary);
  color: var(--color-text-white);
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s background-color;

  &:hover {
    background-color: var(--color-red);
  }
}

/* クリアボタン */
.c-search__clear {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: #e6e6e6;
  border-radius: 50%;

  color: #b3b3b3;
  font-size: 0.5rem;

  &::after {
    position: absolute;
    content: '';
    top: 0;
    right: -0.625rem;

    width: 1px;
    height: 17px;
    background-image: repeating-linear-gradient(to bottom, #b4b4b4 0px, #b4b4b4 1px, transparent 1px, transparent 4px);
  }
}

.c-drawer__close,
.c-search-bar__close,
.c-sp-nav__close {
  display: none;

  @media screen and (max-width: 768px) {
    position: relative;
    display: block;

    width: 100%;
    padding-block: 1.25rem;
    padding-inline: 1rem;
    background-color: #f7f7f6;

    font-size: 0.75rem;
    color: var(--color-text-primary);
    text-align: center;

    &::before {
      position: absolute;
      content: '';
      top: 50%;
      transform: translateY(-50%);
      left: 1rem;

      width: 15px;
      height: 15px;
      background-image: url(../images/icon/icon-close.svg);
      background-size: cover;
    }
  }
}

/* ============================
*  Footer
* ========================== */
.l-footer {
  width: 100%;
  background-color: var(--color-bg-footer);

  & .l-footer__inner {
    max-width: 1366px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 7.688rem;

    @media screen and (max-width: 768px) {
      padding-inline: 0.938rem;
    }
  }
}

/*-------------------------
  Top
-------------------------*/
.l-footer__top {
  display: flex;
  align-items: center;

  width: 100%;
  height: 100px;
  background-color: var(--color-red);

  @media screen and (max-width: 768px) {
    height: 62px;
  }

  & .l-footer__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1366px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 7.688rem 3.5rem;

    @media screen and (max-width: 768px) {
      padding-inline: 0.938rem;
    }
  }
}

.l-footer__logo {
  width: fit-content;
  height: fit-content;

  padding: 0.5rem;
  background-color: var(--color-bg-white);
  border-radius: 8px;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.6;
  }

  @media screen and (max-width: 768px) {
    padding: 0.25rem;

    background-color: var(--color-bg-white);
    border-radius: 4px;
  }
}

.l-footer__img {
  max-width: 208px;
  height: auto;

  aspect-ratio: 9 / 2;

  @media screen and (max-width: 768px) {
    max-width: 160px;
  }
}

/* トップに戻る */
.l-footer__page-top {
  position: relative;

  padding-block: 1.25rem;
  padding-inline: 1.5rem;

  @media screen and (max-width: 768px) {
    padding-block: 1rem 0.825rem;
    padding-inline: 1.25rem;
  }

  &::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;

    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-image: repeating-linear-gradient(to bottom, #fff 0px, #fff 1px, transparent 1px, transparent 4px);
  }

  & .l-footer__page-top-icon {
    display: block;

    width: 19px;
    height: 12px;

    aspect-ratio: 19 / 12;

    @media screen and (max-width: 768px) {
      width: 14px;
      height: 9px;

      aspect-ratio: 14 / 9;
    }
  }
}

/*-------------------------
  Middle
-------------------------*/
.l-footer__middle {
  padding-block: 2.5rem 4rem;

  border-bottom: 1px solid #e6e6e6;

  @media screen and (max-width: 768px) {
    padding-block: 1.5rem;
    border-bottom: none;
  }
}

.l-footer__middle .l-footer__inner {
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    flex-direction: column;

    padding-block-start: 1.5rem;
  }
}

.c-footer-nav__group a {
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }
}

.c-footer-nav__label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;

  margin-block-end: 1rem;

  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;

  &::before {
    content: '';

    width: 6px;
    height: 0.938rem;
    background-color: #b4b4b4;
    margin-block-end: 2px;
  }

  @media screen and (max-width: 768px) {
    margin-block-end: 1.5rem;
    font-size: 0.875rem;
  }
}

.c-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.c-footer-nav__sub-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media screen and (max-width: 768px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    padding-inline: 1rem;
  }
}

.c-footer-nav__item {
  @media screen and (max-width: 768px) {
    border-bottom: 1px solid #e6e6e6;
    padding-block: 0.75rem;
  }
}

.c-footer-nav__link {
  font-size: 0.938rem;
  line-height: 1.4;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.6;
  }

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;

    &::after {
      content: '';

      width: 5px;
      height: 8px;
      background-image: url(../images/arrow/arrow-gray.svg);
      background-size: cover;
    }
  }
}

.l-footer .c-contact {
  flex-direction: column;

  @media screen and (max-width: 768px) {
    border-bottom: 1px solid #e6e6e6;
  }
}

.l-footer .c-contact__buttons {
  width: fit-content;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;

    width: 100%;
    margin-block-start: 1.5rem;
  }
}

.c-contact__inquiry {
  display: flex;
  align-items: center;
  gap: 0.375rem;

  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.417;

  transition: opacity 0.2s;

  &:hover {
    opacity: 0.6;
  }

  &::before {
    content: '';

    width: 10px;
    height: 10px;
    margin-block-start: 3px;
    background-image: url(../images/arrow/arrow-circle-gray.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-inline-start: 0.75rem;

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;

    &::before {
      display: none;
    }

    &::after {
      content: '';
      width: 5px;
      height: 8px;
      background-image: url(../images/arrow/arrow-gray.svg);
      background-size: cover;
      background-repeat: no-repeat;
      flex-shrink: 0;
    }
  }
}

/* Footer Nav SP */
.c-footer-nav-sp {
  padding-block-start: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.c-footer-nav-sp__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-footer-nav-sp__group {
  border-bottom: 1px solid #e6e6e6;
}

.c-footer-nav-sp__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  margin-block-end: 1.5rem;

  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;

  &::before {
    content: '';
    width: 6px;
    height: 0.938rem;
    background-color: #b4b4b4;
  }
}

.c-footer-nav-sp__sub-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding-inline: 1rem;
}

.c-footer-nav-sp__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-block-end: 1rem;

  &:not(:last-child) {
    border-bottom: 1px solid #e6e6e6;
  }
}

.c-footer-nav-sp__link {
  display: none;
  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;

    &::after {
      content: '';
      width: 5px;
      height: 8px;
      background-image: url(../images/arrow/arrow-gray.svg);
      background-size: cover;
      background-repeat: no-repeat;
      flex-shrink: 0;
    }
  }
}

/*-------------------------
  Bottom
-------------------------*/
.l-footer__bottom {
  padding-block: 0.75rem;

  @media screen and (max-width: 768px) {
    padding-block: 0;
  }
}

.l-footer__bottom .l-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding-block-end: 2.5rem;
  }
}

.l-footer__copyright {
  font-size: 0.75rem;
  line-height: 1.417;

  @media screen and (max-width: 768px) {
    font-size: 0.625rem;
    line-height: 1.5;
  }
}

.l-footer__bottom-row {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    border-top: 1px solid #e6e6e6;

    & .l-footer__inner {
      flex-direction: row;
      justify-content: space-between;

      padding-block: 0.75rem 5.125rem;
    }
  }
}

/* PC用ナビ */
.c-footer-bottom-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.c-footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.c-footer-bottom-nav__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;

  font-size: 0.75rem;
  line-height: 1.417;

  transition: opacity 0.2s;

  &:hover {
    opacity: 0.6;
  }

  &::before {
    content: '';

    width: 10px;
    height: 10px;
    margin-block-start: 3px;
    background-image: url(../images/arrow/arrow-circle-gray.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

/* SP用ナビ */
.c-footer-bottom-nav-sp {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  width: 100%;
  padding-inline: 0.75rem;
}

.c-footer-bottom-nav-sp__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;

  padding-block-end: 1rem;

  border-bottom: 1px solid #e6e6e6;
}

.c-footer-bottom-nav-sp__link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;

  &::after {
    content: '';

    width: 5px;
    height: 8px;
    background-image: url(../images/arrow/arrow-gray.svg);
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
}

/* Information */
.page-information .l-inner {
  padding-block-end: 6.25rem;
  
  @media screen and (max-width: 768px) {
    padding-block-end: 5rem;
  }
}

/* サイトマップリンク */
.l-footer__bottom-nav-link--sitemap {
  display: flex;
  align-items: center;
  gap: 6px;

  height: 30px;
  padding-inline: 1rem;
  background-color: #e6e6e6;

  font-size: 0.75rem;
  line-height: 1.417;
  font-weight: 700;

  transition: opacity 0.2s;

  &:hover {
    opacity: 0.6;
  }

  &::before {
    content: '';

    width: 10px;
    height: 10px;
    background-image: url(../images/arrow/arrow-circle-gray.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
  @media screen and (max-width: 768px) {
    height: 20px;
    padding-inline: 0.5rem;

    font-size: 0.625rem;
    line-height: 1.5;

    &::before {
      width: 0.5rem;
      height: 0.5rem;
    }
  }
}

/*-------------------------
  SP固定フッターバー
-------------------------*/
.sp-fixed-bar {
  display: none;

  @media (max-width: 768px) {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 30;

    & .l-bg {
      background-image: url(../images/bg/bg-footer-sp-fixed-bar.png);
    }

    & .sp-fixed-bar__content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5px;
      padding: 0.5rem;
      padding: calc(0.5rem + env(safe-area-inset-bottom));
    }

    & .sp-fixed-bar__item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
    }

    & .sp-fixed-bar__label {
      display: flex;
      align-items: flex-end;
      gap: 0.25rem;
      font-size: 0.813rem;
      line-height: 1.462;
      font-weight: 900;

      &::before,
      &::after {
        content: '';
        width: 0.875rem;
        aspect-ratio: 1 / 1;
        background-size: cover;
      }

      &::before {
        background-image: url(../images/deco/deco-slash-black-left.svg);
      }

      &::after {
        background-image: url(../images/deco/deco-slash-black-right.svg);
      }
    }

    /* 共通アクション */
    & .sp-fixed-bar__action {
      display: flex;
      align-items: center;
      width: 100%;
      height: 2rem;
      padding-inline: 1rem;
      border-radius: 999px;
    }

    /* 買取価格検索 */
    & .sp-fixed-bar__form {
      justify-content: space-between;
      background-color: var(--color-bg-white);
      border: 2px solid #d9d9d9;
    }

    & .sp-fixed-bar__input {
      font-size: 0.688rem;
      block-size: 100%;
      inline-size: 90%;
    }

    & .sp-fixed-bar__search-button {
      width: 1rem;
      aspect-ratio: 1 / 1;
    }

    /* 宅配買取申込 */
    & .sp-fixed-bar__link {
      position: relative;
      gap: 1.125rem;
      background-color: var(--color-red);

      &::after {
        position: absolute;
        content: '';
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
        width: 0.688rem;
        aspect-ratio: 1 / 1;
        background-image: url(../images/arrow/arrow-circle-white.svg);
        background-size: cover;
      }
    }

    & .sp-fixed-bar__link-label {
      font-size: 0.688rem;
      font-weight: 900;
      color: var(--color-text-white);
    }

    & .sp-fixed-bar__apply-icon {
      width: 1rem;
      height: auto;
      aspect-ratio: 16 / 11.35;
    }
  }
}

/* ============================
*  TOP
* ========================== */
/*-------------------------
  FV
-------------------------*/
.p-fv {
  max-inline-size: 100%;
}

/*-------------------------
  Search Bar
-------------------------*/
.p-top__search {
  position: relative;
  z-index: 5;
  display: block;

  max-width: 790px;
  margin-block-start: -2rem;
  margin-inline: auto;

  & .c-search {
    display: block;
  }

  & .l-inner {
    padding-inline: 0;
  }

  & .c-search__label {
    display: none;
  }

  & .c-search__form {
    padding-block: 0.688rem;
    padding-inline: 2rem 0.688rem;
    border-radius: 8px;

    @media screen and (max-width: 768px) {
      padding-inline: 0.875rem;
    }
  }

  @media screen and (max-width: 768px) {
    margin-block-start: 0;

    & .l-bg {
      background-image: url(../images/bg/bg-top-seach-sp.png);
    }

    & .l-inner {
      padding-block: 1.5rem;
      padding-inline: 0.938rem;
    }

    & .c-search__label {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.06vw;

      margin-block-end: 0.5rem;

      font-size: 4.8vw;
      line-height: 1.5;
      font-weight: 700;
      white-space: nowrap;
    }

    & .c-search__label::before,
    & .c-search__label::after {
      content: '';
      width: 4.8vw;
      height: 4.8vw;
      background-size: cover;
      background-position: center;
    }

    & .c-search__label::before {
      background-image: url(../images/deco/deco-slash-red-left.svg);
    }

    & .c-search__label::after {
      background-image: url(../images/deco/deco-slash-red-right.svg);
    }
  }
}

/*-------------------------
  Pick Up
-------------------------*/
.p-pickup__body {
  & .l-bg {
    background-image: url(../images/bg/bg-top-pickup.png);
  }

  & .l-inner {
    padding-block: 2.5rem 6.25rem;
  }
}

.p-pickup__group {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  &:not(:last-child) {
    margin-block-end: 4rem;
  }
}

.c-group-title {
  position: relative;
  display: flex;
  justify-content: space-between;

  padding-block-end: 0.5rem;

  &::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #e60012 4rem, #e6e6e6 4rem);
  }

  & .c-group-title--ja {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      font-size: 1.125rem;
    }
  }

  & .c-group-title--en {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.313;
    color: #b4b4b4;

    @media screen and (max-width: 768px) {
      display: none;
    }
  }
}

.p-pickup__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 254px);
  gap: 1rem;
  justify-content: center;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;

    & .p-pickup__item {
      width: 100%;
    }
  }
}

/*-------------------------
  Featured
-------------------------*/
.p-featured__body {
  padding-block: 5.5rem 6.25rem;

  @media screen and (max-width: 768px) {
    padding-block: 2.5rem 5rem;
  }
}

.p-featured__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    gap: 0.625rem;
    justify-content: space-between;
  }
}

.p-featured__item {
  width: 100%;
  max-height: 109px;
  background-size: cover;

  @media screen and (max-width: 768px) {
    max-height: none;
    border: 2px solid #ddd;
    border-radius: 4px;
  }
}

.p-featured__link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }

  @media screen and (max-width: 768px) {
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
  }

  & .p-featured__img {
    @media screen and (max-width: 768px) {
      width: 100%;
      height: auto;
      aspect-ratio: 168 / 80;
    }
  }

  & .p-featured__label {
    z-index: 5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* gap: 3rem; */

    width: 100%;

    font-size: 1.5rem;
    font-family: 'Dela Gothic One', sans-serif;
    color: var(--color-text-white);
    text-align: center;
    text-shadow: 0 0 4px #000;

    content: '';

    @media screen and (max-width: 768px) {
      position: relative;
      top: auto;
      transform: translateY(0);
      right: auto;

      gap: 0;
      justify-content: space-between;

      width: 100%;
      height: 100%;
      margin-inline-end: 0;
      padding-block: 0.625rem;
      padding-inline: 0.5rem;
      background-color: var(--color-bg-white);

      font-size: 0.875rem;
      line-height: 1.429;
      color: var(--color-text-primary);
      text-shadow: none;
      text-align: left;
    }
  }

  span {
    display: inline-block;
    inline-size: 42.7%;
    font-size: min(1.5rem, 1.75vw);

    @media screen and (max-width: 768px) {
      inline-size: auto;
      font-size: 0.875rem;
    }
  }

  & .p-featured__label::after {
    content: '';

    width: 0.688rem;
    height: 0.688rem;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: cover;
  }
}

/*-------------------------
  Flow
-------------------------*/
.p-flow__heading {
  position: relative;

  max-width: 640px;
  width: 100%;
  margin-inline: auto;

  @media screen and (max-width: 768px) {
    margin-block-start: 5.25rem;
    padding-inline: 0.938rem;
  }

  & .c-section-title {
    width: 100%;

    padding-block: 1.125rem 0;

    aspect-ratio: 640 / 138;
    background-image: url(../images/deco/deco-title-ribbon-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;

    @media screen and (max-width: 768px) {
      padding-block-start: 0;
      padding-inline: 0;
      justify-content: center;
    }
  }

  & .p-flow__copy-wrapper {
    position: absolute;
    top: -2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 128px;
    height: 87px;
    aspect-ratio: 128 / 87;
    background-size: cover;

    @media screen and (max-width: 768px) {
      top: -2.5rem;

      width: 103px;
      height: auto;

      aspect-ratio: 103 / 71;
    }
  }

  & .p-flow__copy-wrapper--left {
    left: 5.25rem;

    background-image: url(../images/deco/deco-bubble-blue-left.svg);
    transform: rotate(-8deg);

    @media screen and (max-width: 768px) {
      left: 1.7rem;
    }
  }

  & .p-flow__copy-wrapper--right {
    right: 5.25rem;

    background-image: url(../images/deco/deco-bubble-blue-right.svg);
    transform: rotate(8deg);

    @media screen and (max-width: 768px) {
      right: 1.7rem;
    }
  }

  & .p-flow__copy {
    font-size: 1.25rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-family: 'Dela Gothic One', sans-serif;
    text-align: center;
    padding-block-end: 0.5rem;

    transform: rotate(-2deg);

    @media screen and (max-width: 768px) {
      font-size: 0.875rem;
    }
  }

  & .p-flow__copy--left {
    color: var(--color-text-white);
  }

  & .p-flow__copy--right {
    color: #ffef02;
  }
}

.p-flow__body {
  margin-block-start: -5.5rem;
  padding-block: 8.125rem 6.25rem;

  @media screen and (max-width: 768px) {
    margin-block-start: -10rem;
    padding-block: 12.5rem 5rem;
  }

  .l-bg:has(&) {
    height: fit-content;
    background-image: url(../images/bg/bg-top-flow.png);
  }
}
.p-flow__list-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }

  @media screen and (max-width: 768px) {
    overflow-x: scroll;
  }
}

.p-flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 1.5rem;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    width: 298.67vw;
    padding-inline-end: 0.938rem;
  }
}

.p-flow__item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  padding-block: 1rem;
  padding-inline: 1.5rem 1.375rem;

  background-color: var(--color-bg-white);
  border-radius: 4px;

  @media screen and (max-width: 768px) {
    padding-inline: 1.5rem;
  }

  &:not(:last-of-type)::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -1rem;

    width: 0.5rem;
    height: 1.5rem;

    background-image: url(../images/arrow/arrow-triangle-red.svg);
    background-size: cover;

    content: '';
  }

  & .p-flow__step {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 2.625rem;
    height: auto;

    aspect-ratio: 42 / 43;
    background-image: url(../images/deco/deco-number-ribbon-red.svg);
    background-size: cover;

    font-size: 1.5rem;
    line-height: 1.333;
    font-weight: 700;
    color: var(--color-text-white);
    font-family: 'Roboto', sans-serif;
  }

  & .p-flow__icon {
    max-width: 100px;

    height: auto;
    aspect-ratio: 1 / 1;
  }
  & .p-flow__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding-block-start: 1rem;

    &::after {
      position: absolute;
      content: '';
      left: 0;
      top: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, #e60012 2rem, #e6e6e6 2rem);
    }
  }

  & .p-flow__title {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-red);
    text-align: center;

    @media screen and (max-width: 768px) {
      font-size: 1rem;
    }
  }

  & .p-flow__desc {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 500;

    @media screen and (max-width: 768px) {
      font-size: 0.875rem;
      line-height: 1.714;
    }
  }
}

/*-------------------------
  List
-------------------------*/
.c-page-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c-page__link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 2px solid var(--color-red);
  border-left: 2px solid #DEDEDE;
  border-right: 2px solid #DEDEDE;
  border-bottom: 2px solid #DEDEDE;
  padding: 1.5rem;
  cursor: pointer;
  height: 100%;

  @media screen and (max-width: 768px) {
    gap: 0.5rem;
  }

  & .c-more-link {
    padding-inline: 0.5rem;
    margin-top: auto;
  }

  & .c-more-link__label {
    @media screen and (max-width: 768px) {
      font-size: 0.6875rem;
    }
  }
  
  &:hover {
    .c-more-link {
      background-color: var(--color-bg-white);
      box-shadow: inset 0 0 0 2px var(--color-red);
    }
    
    .c-more-link__label {
      color: var(--color-red);
    }
  
    .c-more-link__label::before {
        background-image: url(../images/arrow/arrow-circle-red.svg);
    }

    .c-page__img-wrapper {
      opacity: 0.6;
    }

    .c-page__label {
      text-decoration: underline;
    }
  }
}

.c-page__label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-red);

  &::before {
    display: inline-block;
    content: "";
    background: url(../images/arrow/arrow-circle-red.svg) no-repeat center / contain;
    width: 11px;
    height: 11px;
    margin-inline-end: 0.5rem;
  }

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
  }
}

.c-page__img-wrapper {
  aspect-ratio: 315 / 177;
  transition: 0.2s opacity;
}

.c-page__img--dummy {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #E4E4E4;
}

.c-page__items {
  font-weight: 500;
  line-height: 1.75;

  &:empty {
    display: contents;
  }

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
  }
}

/*-------------------------
  Strength
-------------------------*/
.p-strength .l-bg {
  background-image: url(../images/bg/bg-top-strength.png);
  background-position: center;

  @media screen and (max-width: 768px) {
    background-image: url(../images/bg/bg-top-strength-sp.png);
  }
}

.p-strength .l-inner {
  padding-block: 6.25rem;

  @media screen and (max-width: 768px) {
    padding-block: 5rem;
  }
}

/* タイトル */
.p-strength__heading {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 280px;
  margin-block-end: 2.5rem;
  margin-inline: auto;

  @media screen and (max-width: 768px) {
    max-width: 247px;
  }
}

.p-strength__lead {
  width: 100%;
  padding-block: 0.25rem;

  border-radius: 1000px;
  background-color: #ffe0e2;

  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  & .p-strength__lead-small {
    font-size: 1.25rem;
    line-height: 1.8;

    @media screen and (max-width: 768px) {
      font-size: 1rem;
      line-height: 1.813;
    }
  }
}

.p-strength__title {
  width: 100%;
  border-bottom: 4px solid var(--color-red);
  color: var(--color-red);
  letter-spacing: -1px;

  @media screen and (max-width: 768px) {
    width: fit-content;
  }

  & .p-strength__title-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;

    @media screen and (max-width: 768px) {
      font-size: 1.25rem;
      line-height: 1.45;
    }
  }

  & .p-strength__title-num.u-number {
    display: inline-block;
    margin-block-end: -1rem;

    font-size: 6.25rem;
    font-weight: 800;
    font-style: italic;

    @media screen and (max-width: 768px) {
      font-size: 5rem;
    }
  }

  & .p-strength__title-text.p-strength__title-text--big {
    font-size: 2.5rem;
    font-weight: 900;

    @media screen and (max-width: 768px) {
      font-size: 2rem;
      font-weight: 700;
    }
  }
}

/* リスト */
.p-strength__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

  margin-block-end: 4rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }
}

.p-strength__item {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  padding: 1.5rem;

  background-color: var(--color-bg-white);
  border: 2px solid #f3f3f3;

  @media screen and (max-width: 768px) {
    gap: 1rem;

    padding-inline: 0.25rem;
  }

  &:last-child {
    @media screen and (max-width: 768px) {
      grid-column: 1 / 3;
      justify-self: center;
      width: 50%;
    }
  }

  /* キャッチ */
  & .p-strength__item-catch {
    display: flex;
    gap: 0.5rem;

    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      align-items: flex-end;

      gap: 0.25rem;

      font-size: 1rem;
      line-height: 1.25;
      text-align: center;
    }
  }

  & .p-strength__item-catch::before,
  & .p-strength__item-catch::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-size: cover;

    @media screen and (max-width: 768px) {
      width: 1rem;
      height: 1rem;
    }
  }

  & .p-strength__item-catch::before {
    background-image: url(../images/deco/deco-slash-red-left.svg);
  }

  & .p-strength__item-catch::after {
    background-image: url(../images/deco/deco-slash-red-right.svg);
  }

  /* アイコン */
  & .p-strength__icon-wrapper {
    position: relative;

    width: 138px;
    height: auto;

    background-image: url(../images/deco/deco-top-strength.svg);
    background-size: cover;

    aspect-ratio: 138 / 132;

    @media screen and (max-width: 768px) {
      width: 100px;
      aspect-ratio: 100 / 96;
    }
  }

  & .p-strength__icon {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;

    @media screen and (max-width: 768px) {
      width: 80px !important;
      height: 80px !important;
    }
  }

  /* 数字 */
  & .p-strength__item-num {
    position: absolute;
    content: '';
    bottom: -2rem;
    right: 0;

    font-size: 6.25rem;
    line-height: 1.32;
    font-weight: 700;
    color: #f3f3f3;
    font-family: 'Roboto', sans-serif;

    @media screen and (max-width: 768px) {
      bottom: -1.6rem;

      font-size: 5rem;
      line-height: 1.325;
    }
  }

  /* 本文 */
  & .p-strength__item-desc {
    position: relative;
    z-index: 5;

    padding-inline: 1rem;

    font-size: 1rem;
    line-height: 1.75;
    font-weight: 500;

    @media screen and (max-width: 768px) {
      padding-inline: 0.5rem;

      font-size: 0.875rem;
      line-height: 1.714;
    }
  }
}

/*-------------------------
  FAQ
-------------------------*/
.p-faq {
  & .l-bg {
    background: url(../images/bg/bg-top-faq.png) no-repeat bottom / cover;
  }

  & .l-inner {
    position: relative;

    padding-block: 1.5rem 6.25rem;

    @media screen and (max-width: 768px) {
      padding-block: 2.5rem 5rem;
    }
  }

  & .c-more-link {
    margin-block-start: 2.5rem;

    @media screen and (max-width: 768px) {
      position: relative;
      bottom: auto;
      left: auto;
      transform: translateX(0);
    }
  }
}

.p-faq__heading {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;

  margin-block-end: 2.875rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;

    margin-block-end: 2.5rem;
  }

  & .p-faq__heading-icon {
    max-width: 200px;
    height: auto;

    aspect-ratio: 200 / 143;

    @media screen and (max-width: 768px) {
      max-width: 120px;

      aspect-ratio: 120 / 86;
    }
  }

  & .c-section-title {
    padding-block: 0 1rem;
    color: var(--color-text-primary);
  }
}

.c-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (max-width: 768px) {
    gap: 1rem;

    margin-block-end: 2.5rem;
  }
}

.c-faq__item {
  padding-block: 1rem;
  padding-inline: 1.5rem 2rem;

  background-color: var(--color-bg-white);
  border: 2px solid var(--color-text-primary);
  border-radius: 2px;

  transition: var(--transition-base);

  @media screen and (max-width: 768px) {
    padding-block: 0.75rem;
    padding-inline: 0.875rem;

    border-radius: 4px;
  }
}

/* 質問 */
.c-faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  @media screen and (max-width: 768px) {
    gap: 1.125rem;
  }

  /* Hover State */
  &:hover {
    opacity: 0.6;

    @media screen and (max-width: 768px) {
      opacity: 1;
    }
  }

  & .c-faq__q-head {
    display: flex;
    align-items: center;
    gap: 1rem;

    @media screen and (max-width: 768px) {
      gap: 0.5rem;
    }
  }

  /* アイコン */
  & .c-faq__q-icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 3.375rem;
    height: 3.375rem;

    background-color: #1182fe;
    border-radius: 50%;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1.156;
    color: var(--color-text-white);

    @media screen and (max-width: 768px) {
      width: 2.5rem;
      height: 2.5rem;

      font-size: 1.5rem;
      line-height: 1.333;
    }
  }

  /* テキスト */
  & .c-faq__q-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;

    @media screen and (max-width: 768px) {
      font-size: 1rem;
      line-height: 1.5;
    }
  }
}

/* 回答 */
.c-faq__answer {
  display: flex;
  align-items: center;
  gap: 1rem;

  max-height: 0;
  overflow: hidden;
  padding-block: 0;

  transition:
    max-height 0.3s ease-in-out,
    padding 0.3s ease-in-out;

  @media screen and (max-width: 768px) {
    align-items: flex-start;
    gap: 0.5rem;
  }

  &.is-open {
    max-height: 500px;
    padding-block: 1rem 0;

    @media screen and (max-width: 768px) {
      align-items: flex-start;
      gap: 0.5rem;
    }
  }

  & .c-faq__a-icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 3.375rem;
    height: 3.375rem;

    background-color: var(--color-red);
    border-radius: 50%;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1.156;
    color: var(--color-text-white);

    @media screen and (max-width: 768px) {
      width: 2.5rem;
      height: 2.5rem;

      font-size: 1.5rem;
      line-height: 1.333;
    }
  }

  & .c-faq__answer-text {
    font-size: 1rem;
    line-height: 1.75;

    @media screen and (max-width: 768px) {
      font-size: 0.875rem;
      line-height: 1.714;
    }
  }
}

/*-------------------------
  Column
-------------------------*/
.p-column__body {
  & .l-bg {
    background-image: url(../images/bg/bg-top-column.png);
  }
}

/* 上段：買取速報・お知らせ・キャンペーン */
.p-column__item--top {
  & .l-inner {
    display: grid;
    grid-template-columns: minmax(auto, 640px) 1fr;
    gap: clamp(1.5rem, 2.93vw, 2.5rem);
    padding-block: 2.5rem 6.25rem;

    @media screen and (max-width: 1200px) {
      grid-template-columns: 1fr;
      gap: 1.5rem;

      padding-block: 2.5rem 5rem;
    }
  }
}

.p-column__news,
.p-column__news-sub-item {
  padding: 1.5rem;
  background-color: var(--color-bg-white);
  border-radius: 4px;
}

/* 買取速報 */
/* Heading */
.p-column__news-heading {
  display: flex;
  align-items: center;
  gap: 1rem;

  margin-block-end: 1.5rem;

  @media screen and (max-width: 768px) {
    gap: 0.5rem;
  }

  /* アイコン */
  & .p-column__news-icon-wrapper {
    width: fit-content;
    padding: 1rem;

    background-color: var(--color-red);
    border-radius: 4px;

    @media screen and (max-width: 768px) {
      display: flex;
      justify-content: center;
      align-items: center;

      padding: 0;

      width: 2.5rem;
      height: 2.5rem;
    }
  }

  & .p-column__news-icon {
    width: 2rem;
    height: 2rem;

    aspect-ratio: 1 / 1;

    @media screen and (max-width: 768px) {
      width: 1.667rem;
      height: auto;
    }
  }

  & .p-column__news-title {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      font-size: 1.25rem;
      line-height: 1.45;
    }
  }
}

/* List */
.p-column__news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-block-end: 1.5rem;
}

.p-column__news-item {
  border-bottom: 1px solid #e6e6e6;
  /* リンク */
  & .p-column__news-link {
    position: relative;

    display: flex;
    gap: 2.125rem;

    width: 100%;
    height: 100%;
    padding-block-end: 1rem;
    transition: opacity 0.2s;

    @media screen and (max-width: 768px) {
      gap: 0.5rem;
      padding-inline-end: 1.813rem;
    }

    &:hover {
      opacity: 0.6;
    }
  }

  & .p-column__news-link::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 0;

    width: 13px;
    height: 13px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* サムネ */
  & .p-column__news-thumb {
    flex-shrink: 0;

    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
  }

  /* タイトル */
  & .p-column__news-title {
    margin-block-end: 1.5rem;

    max-width: 30rem;

    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.429;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* メタ情報 */
  & .p-column__news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  /* 日付 */
  & .p-column__news-date {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: #8c8c8c;
  }

  /* タグ */
  & .p-column__news-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    font-size: 0.688rem;
    line-height: 1.455;
  }

  & .p-column__news-tag::before {
    content: '';

    width: 0.25rem;
    height: 1rem;
    background-color: #bebebe;
  }
}

/* お知らせ・キャンペーン */
.p-column__news-sub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media screen and (max-width: 1200px) {
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

/* List */
.p-column__simple-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-column__simple-item {
  /* リンク */
  & .p-column__simple-link {
    position: relative;

    display: flex;
    padding-inline-start: 1.313rem;
    transition: 0.2s opacity;

    &:hover {
      opacity: 0.6;
    }
  }

  & .p-column__simple-link::before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    left: 0;

    width: 13px;
    height: 13px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: cover;
  }

  /* タイトル */
  & .p-column__simple-title {
    max-width: 23.25rem;

    font-size: 0.875rem;
    line-height: 1.429;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 日付 */
  & .p-column__simple-date::before {
    content: '[';
  }

  & .p-column__simple-date::after {
    content: ']';
    margin-right: 0.5em; /* 日付とテキストの余白 */
  }
}

/* 中段：ロゴグリッド */
.p-column__brands {
  & .l-inner {
    padding-block: 4rem;

    @media screen and (max-width: 768px) {
      padding-block: 2.5rem;
    }
  }

  & .p-column__brands-label {
    display: none;

    @media screen and (max-width: 768px) {
      display: block;

      margin-block-end: 0.625rem;

      font-size: 1.25rem;
      line-height: 1.45;
      font-weight: 900;
      text-align: center;
    }
  }
}
/* リスト */
.p-column__brand-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  
  &:has(> :nth-child(3)) {
    grid-template-columns: repeat(3, 1fr);
  }

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-column__brand-item {
  border: 2px solid #efefef;
  border-radius: 4px;

  & .p-column__brand-link {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;
    padding: 0.875rem;
    transition: 0.2s opacity;

    &:hover {
      opacity: 0.6;
    }

    @media screen and (max-width: 768px) {
      padding-block: 0.781rem;
      padding-inline: 1rem;
    }
  }

  & .p-column__brand-img {
    max-width: 242px;
    width: 100%;
    height: auto;

    aspect-ratio: 242 / 103;

    @media screen and (max-width: 768px) {
      max-width: 136px;

      aspect-ratio: 136 / 58;
    }
  }
}

/* 下段：コラム一覧 */
.p-column__articles {
  & .l-inner {
    padding-block: 2.5rem 6.25rem;
  }
}

/* ============================
*  よくある質問
* ========================== */
.page-faq {
  & .l-bg {
    background-image: url(../images/bg/bg-top-faq.png);
  }

  & .l-inner {
    padding-block-end: 6.25rem;
  }
}

/* ============================
*  選ばれる理由
* ========================== */
.page-strength {
  & .l-bg {
    margin-block-start: -6.25rem;
    padding-block-start: 6.25rem;
    background-image: url(../images/strength/bg.png);
    background-position: top center;

    @media screen and (max-width: 768px) {
      margin-block-start: -5rem;
      padding-block-start: 5rem;
      background-image: url(../images/strength/bg-sp.png);
    }
  }

  & .l-inner {
    padding-block-end: 6.25rem;

    @media screen and (max-width: 768px) {
      padding-block-end: 5rem;
    }
  }
}

/* ============================
*  買取の流れ
* ========================== */
.page-flow {
  & .l-bg {
    margin-block-start: -6.25rem;
    padding-block-start: 6.25rem;
    background-image: url(../images/flow/bg.png);

    @media screen and (max-width: 768px) {
      margin-block-start: -5rem;
      padding-block-start: 5rem;
      background-image: url(../images/flow/bg-sp.png);
    }
  }

  &.l-main .l-inner {
    padding-block-end: 11.5rem;

    @media screen and (max-width: 768px) {
      padding-block-end: 5rem;
    }
  }
}

.page-flow .p-flow__list {
  margin-block-end: 6.25rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;

    max-width: 69.87vw;
    width: 100%;
    margin-bottom: 5rem;
    margin-inline: auto;
    padding-inline-end: 0;
  }
}

.page-flow .p-flow__item {
  @media screen and (max-width: 768px) {
    &:not(:last-of-type)::after {
      top: auto;
      bottom: -1.5rem;
      right: auto;
      left: 50%;
      transform: translate(-50%, -0) rotate(90deg);
      transform-origin: center;
    }
  }
}

.page-flow .c-feature-card {
  box-shadow: inset 0 0 0 2px var(--color-red);

  @media screen and (max-width: 768px) {
    padding-block: 2rem;
    padding-inline: 1rem;
  }

  & .c-feature-card__copy {
    @media screen and (max-width: 768px) {
      align-items: flex-end;
    }
  }

  & .c-feature-card__num {
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: auto;
    aspect-ratio: 64 / 67;
    background-image: url(../images/deco/deco-number-ribbon-red.svg);
    background-size: cover;

    font-size: 2.063rem;
    line-height: 1.333;
    font-weight: 700;
    color: var(--color-text-white);

    @media screen and (max-width: 768px) {
      width: 3.5rem;
      height: auto;
      aspect-ratio: 56 / 58;

      font-size: 1.688rem;
      line-height: 1.296;
    }
  }
}

/* ============================
*  タイトル 固定ページ
* ========================== */
.page-sidebar {
  @media screen and (max-width: 768px) {
    position: relative;

    &.l-main .l-inner {
      padding-block-end: 0;
      padding-inline: 0;
    }

    & .l-content {
      padding-inline: 0.938rem;
    }

    & .l-sidebar__banners {
      padding-inline: 0.938rem;
    }

    & .c-sidebar-section {
      padding-inline: 0.938rem;
    }
  }
}

.l-content__item-desc,
p.wp-block-paragraph {
  margin-bottom: 1.5rem;

  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.714;
  }
}

/*-------------------------
  買取できる主なカードリスト
-------------------------*/
.c-title-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.938rem;
  }
}

.c-title-list__item {
  display: flex;
  gap: 0.5rem;

  &::before {
    flex-shrink: 0;
    content: '';

    width: 0.813rem;
    height: 0.813rem;
    margin-block-start: 0.25rem;

    aspect-ratio: 1 / 1;

    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.c-title-list__link {
  max-width: 220px;
  width: 100%;

  font-size: 0.875rem;
  line-height: 1.571;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.538;
  }
}

/*-------------------------
  高価買取中のカード
-------------------------*/
.c-premium-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 178px);
  gap: 0.625rem;

  margin-block-end: 1.5rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c-card--single {
  &.c-card {
    height: 100%;
    gap: 0.875rem;
  }

  & .c-card__inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    height: stretch;
  }

  & .c-card__image {
    max-width: 100px;
    height: 100%;

    transition: var(--transition-base);

    @media screen and (max-width: 768px) {
      max-width: 21.33vw;
    }
  }

  & .c-card__img {
    object-fit: contain;
    @media screen and (max-width: 768px) {
      aspect-ratio: 80 / 112;
    }
  }

  & .c-card__price-list {
    border: none;
  }

  & .c-card__price-item {
    @media screen and (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }

  & .c-card__price-label {
    width: fit-content;
    margin-block-end: 0.5rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
  }

  & .c-card__price-value {
    display: flex;
    justify-content: center;
    align-items: baseline;
  }

  & .u-number {
    color: var(--color-red);
    font-size: 1.25rem;
    line-height: 1.1;
  }

  & .u-yen {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-red);
  }

  & .c-card__button {
    padding-block: 0;
    border: none;
  }
}

/* Hover State */
.c-premium-list__item {
  .c-card__name {
    transition: var(--transition-base);
  }

  &:hover .c-card__image {
    opacity: 0.6;
  }

  &:hover .c-card__name {
    color: var(--color-red);
  }

  &:hover .c-card__button {
    background-color: transparent;
  }

  &:hover .c-card__button-label {
    color: var(--color-red);
  }

  &:hover .c-card__button-label::before {
    background-image: url(../images/arrow/arrow-circle-red.svg);
  }
}

/*-------------------------
  目次
-------------------------*/
.c-index {
  max-width: 783px;
  width: 100%;
  margin-block-end: 4rem;
  padding: 1.5rem;
  border: 2px solid #d9d9d9;

  /* Hover State */
  &:hover .c-index__toggle-label {
    color: var(--color-red);

    @media screen and (max-width: 768px) {
      color: var(--color-text-primary);
    }
  }

  @media screen and (max-width: 768px) {
    padding-block: 1.375rem;
    padding-inline: 1.5rem;
  }
}

.c-index__button {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.c-index__label {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 700;

  &::before {
    position: absolute;
    content: '';
    top: -1.625rem;
    width: 4.188rem;
    height: 2px;
    background-color: var(--color-red);

    @media screen and (max-width: 768px) {
      top: -1.5rem;
    }
  }
}

.c-index__toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.c-index__toggle-label {
  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 500;

  transition: var(--color-red);
}

.c-index__panel {
  max-height: 0;
  overflow: hidden;
  padding-block: 0;

  transition: var(--transition-base);

  &.is-open {
    max-height: 500px;
    padding-block: 1rem 0;
  }
}

.c-index__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-index__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  &::before {
    flex-shrink: 0;
    content: '';

    width: 0.813rem;
    height: 0.813rem;
    margin-block-start: 0.25rem;

    aspect-ratio: 1 / 1;

    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.c-index__link {
  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 700;
}

/*-------------------------
  買取相場推移
-------------------------*/
.page-card__chart-trend {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* テーブル */
.chart-trend__table-wrapper {
  position: relative;

  & .c-more-link {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

.chart-trend__table {
  width: 100%;
  max-height: 743px;

  border-collapse: collapse;

  font-size: 0.938rem;
  line-height: 1.867;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.462;
  }
}

.chart-trend__head-row,
.chart-trend__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;

  @media screen and (max-width: 768px) {
    grid-template-columns: minmax(auto, 76px) repeat(3, 1fr);
  }
}

.chart-trend__body {
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.chart-trend__th,
.chart-trend__td--date {
  background-color: #c1c1c1;
  width: 100%;
}

.chart-trend__th,
.chart-trend__td {
  padding-block: 0.656rem;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding-block: 0.406rem;
  }
}
.chart-trend__td--date {
  border-top: 1px solid #ccc;
}

.chart-trend__th + .chart-trend__th {
  border-left: 1px solid #ccc;
}

.chart-trend__td:not(.chart-trend__td--date) {
  width: 100%;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.c-index {
  max-width: 783px;
  width: 100%;
  padding: 1.5rem;
  border: 2px solid #d9d9d9;

  /* Hover State */
  &:hover .c-index__toggle-label {
    color: var(--color-red);

    @media screen and (max-width: 768px) {
      color: var(--color-text-primary);
    }
  }

  @media screen and (max-width: 768px) {
    padding-block: 1.375rem;
    padding-inline: 1.5rem;
  }
}

.c-index__button {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.c-index__label {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 700;

  &::before {
    position: absolute;
    content: '';
    top: -1.625rem;
    width: 4.188rem;
    height: 2px;
    background-color: var(--color-red);

    @media screen and (max-width: 768px) {
      top: -1.5rem;
    }
  }
}

/* 価格履歴詳細を見る */
.chart-trend__history {
  width: 100%;
}

.chart-trend__history-button {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;

  width: 100%;
  padding: 0.875rem;

  border: 2px solid #d9d9d9;

  & .c-accordion__toggle {
    position: absolute;
    right: 0.875rem;
  }

  &[data-accordion-trigger][aria-expanded='true'] {
    margin-block-end: 1rem;
  }

  &[data-accordion-trigger][aria-expanded='true'] .chart-trend__history-label::before {
    transform: rotate(-450deg);
  }
}

.chart-trend__history-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.875rem;
  line-height: 1.571;
  font-weight: 700;
  color: var(--color-red);

  &::before {
    content: '';
    width: 0.688rem;
    height: 0.688rem;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    transform: rotate(90deg);
    transition: var(--transition-base);
  }
}

[data-accordion-trigger][aria-expanded='true'] .chart-trend__history-label {
  font-size: 0;

  &::after {
    content: attr(data-label-close);
    font-size: 0.875rem;
  }
}

.chart-trend__history-panel {
  max-height: 0;
  overflow: hidden;

  &.is-open {
    max-height: 800px;
  }

  .chart-trend__table {
    max-height: 0;
  }

  &.is-open .chart-trend__table {
    max-height: 800px;
  }
}

/* カード詳細 */
.chart-trend__detail {
  display: grid;
  grid-template-columns: minmax(auto, 281px) 1fr;
  gap: clamp(1rem, 2.93vw, 2.5rem);

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
  }

  /* カード画像 */
  & .chart-trend__detail-image {
    @media screen and (max-width: 768px) {
      max-width: 64vw;
    }
  }

  & .chart-trend__detail-img {
    height: auto;
    aspect-ratio: 281 / 393;

    @media screen and (max-width: 768px) {
      aspect-ratio: 240 / 336;
    }
  }

  /* カード情報 */
  & .c-info-list {
    gap: 0.875rem;

    @media screen and (max-width: 768px) {
      gap: 0.5rem;
    }
  }

  & .c-info-list__item {
    grid-template-columns: 6.25rem 1fr;
    padding-block-end: 0.875rem;

    border-bottom: 2px solid #f0f0f0;

    @media screen and (max-width: 768px) {
      grid-template-columns: 6.75rem 1fr;
      gap: 1.5rem;

      padding-block-end: 0.5rem;
    }
  }

  & .c-info-list__item::after {
    display: none;
  }

  & .c-info-list__item:first-of-type {
    padding-block-start: 0.875rem;
    border-top: 2px solid #f0f0f0;

    @media screen and (max-width: 768px) {
      padding-block-start: 0.5rem;
    }
  }

  & .c-info-list__term {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #918787;
  }

  & .c-info-list__term::after {
    @media screen and (max-width: 768px) {
      display: none;
    }
  }

  & .c-info-list__desc {
    padding-inline-start: 0;
    font-size: 0.875rem;
    line-height: 1.429;

    @media screen and (max-width: 768px) {
      font-size: 0.813rem;
      line-height: 1.462;
      font-weight: 400;
    }
  }
}

/* 価格履歴詳細テーブル */
.chart-trend__table--history {
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  border-top: 1px solid #999;

  font-weight: 500;

  & .chart-trend__head-row,
  & .chart-trend__row {
    grid-template-columns: minmax(auto, 297px) 1fr 1fr;

    @media screen and (max-width: 768px) {
      grid-template-columns: minmax(auto, 120px) 1fr 1fr;
    }
  }

  & .chart-trend__head-row {
    border-bottom: 1px solid #999;
  }

  & .chart-trend__th + .chart-trend__th {
    border-left: 1px solid #999;
  }

  & .chart-trend__body {
    mask-image: none;
    -webkit-mask-image: none;
  }

  & .chart-trend__td--date {
    background-color: #fff;
    border-top: none;

    font-weight: 500;
  }

  & .chart-trend__td {
    border-bottom: 1px solid #999;
    border-right: none;
  }

  & .chart-trend__td + .chart-trend__td {
    border-left: 1px solid #999;
  }

  & .chart-trend__th {
    background-color: #e2e2e2;
  }
}

/*-------------------------
  買取実績
-------------------------*/
.c-voice__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-voice__item {
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px #dedede;

  @media screen and (max-width: 768px) {
    padding: 1rem;
  }
}

.c-voice__inner {
  display: grid;
  grid-template-areas:
    'image title'
    'image desc';
  grid-template-columns: 100px 1fr;
  gap: 0 1rem;
  transition: 0.2s opacity;

  @media screen and (max-width: 768px) {
    grid-template-columns: 21.33vw 1fr;
    grid-template-areas:
      'image title'
      'desc desc';
    align-items: center;
    gap: 1rem 0.5rem;
  }

  &:hover {
    opacity: 0.6;
  }
}

.c-voice__image {
  grid-area: image;

  & .c-voice__img {
    max-width: 100px;
    height: auto;

    border-radius: 4px;

    aspect-ratio: 1 / 1;
  }
}

.c-voice__title {
  grid-area: title;

  margin-block-end: 1rem;
  padding-block-end: 1rem;

  border-bottom: 1px solid #e6e6e6;

  font-size: 1rem;
  line-height: 1.75;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin-block-end: 0;
    padding-block-end: 0;

    border-bottom: none;

    font-size: 0.875rem;
    line-height: 1.714;
  }
}

.c-voice__desc {
  grid-area: desc;

  font-size: 0.875rem;
  line-height: 1.571;

  @media screen and (max-width: 768px) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;

    padding-block-start: 1rem;
    border-top: 1px solid #e6e6e6;
  }
}

/*-------------------------
  関連ページ
-------------------------*/
.c-related {
  margin-block-end: 6.25rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 0;
  }

  .page-card & > .l-inner {
    padding-block: 0;

    @media screen and (max-width: 768px) {
      padding-inline: 0.938rem;
    }
  }

  &.c-related-card .c-more-link {
    margin-block-start: 2.5rem;
    @media screen and (max-width: 768px) {
      margin-block-start: 1.5rem;
    }
  }

  & .c-group-title {
    margin-block-end: 2.5rem;

    @media screen and (max-width: 768px) {
      margin-block-end: 1.5rem;
    }
  }
}

.c-related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  place-content: center;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;

    margin-block-end: 1.5rem;
  }

  & .c-related__link {
    display: block;
    transition: 0.2s opacity;
    &:hover {
      opacity: 0.6;
    }
    
    @media screen and (max-width: 768px) {
      aspect-ratio: 168 / 95;
    }
  }

  & .c-voice__img {
    min-block-size: 203px;
    @media screen and (max-width: 768px) {
      min-block-size: 95px;
    }
  }

  & .c-voice__img--dummy {
    display: grid;
    place-items: center;
    font-size: 1.375rem;
    font-weight: 700;
    inline-size: 100%;
    block-size: 100%;
    background-color: #E4E4E4;
    line-height: 1.5;
    padding: 16px;
    min-block-size: 203px;
    @media screen and (max-width: 768px) {
      min-block-size: 95px;
    }
  }
}

/* ============================
*  固定ページ サイドバー
* ========================== */
.l-sidebar__content {
  width: 100%;
}

.l-sidebar__banner-link {
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }
}

/*-------------------------
  バナー
-------------------------*/
.l-sidebar__banners {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 5rem;
  }
}

/*-------------------------------
  買取対象商品一覧、買取速報 共通
---------------------------------*/
.c-sidebar-section {
  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 0;
    padding-block: 0.938rem;
    background-color: #e6e6e6;
  }
}

.c-sidebar-section__title {
  position: relative;
  padding: 1.5rem;

  background-color: var(--color-bg-white);
  border: 3px solid #e6e6e6;

  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;

  @media screen and (max-width: 768px) {
    margin-block-end: 0.5rem;
    border: none;
  }

  &::before {
    position: absolute;
    content: '';
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10.625rem;
    height: 3px;

    @media screen and (max-width: 768px) {
      top: 0;
      width: 100%;
    }
  }
}

.c-sidebar__list {
  margin-block-start: -3px;
  box-shadow: inset 0 0 0 3px #e6e6e6;
}

/*-------------------------
  買取対象商品一覧
-------------------------*/
.c-sidebar-nav {
  & .c-sidebar-section__title {
    color: var(--color-red);
  }
  & .c-sidebar-section__title::before {
    background-color: var(--color-red);
  }
}

.c-sidebar-nav__item {
  padding-block: 1rem;
  padding-inline: 0.813rem 1.313rem;

  @media screen and (max-width: 768px) {
    background-color: var(--color-bg-white);
  }

  & + & {
    border-top: 1px solid #e6e6e6;
  }

  /* Hover State */
  &:hover .c-sidebar-nav__link {
    color: var(--color-red);
  }

  &:hover .c-sidebar-nav__link::after {
    margin-inline-end: -1px;
  }
}

.c-sidebar-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 700;

  transition: var(--transition-base);

  &::after {
    content: '';
    width: 6px;
    height: 9px;
    background-image: url(../images/arrow/arrow-red.svg);
    background-size: contain;

    margin-inline-end: 0;
    transition: var(--transition-base);
  }
}

/*-------------------------
  買取速報
-------------------------*/
.c-sidebar-sokuhou {
  & .c-sidebar-section__title {
    color: #7dbfe7;
  }
  & .c-sidebar-section__title::before {
    background-color: #7dbfe7;
  }
}

.c-sidebar-sokuhou__list {
  margin-block-end: 1.5rem;
}

.c-sidebar-sokuhou__item {
  padding-block: 1rem;
  padding-inline: 0.813rem 1.313rem;

  @media screen and (max-width: 768px) {
    background-color: var(--color-bg-white);
  }

  & + & {
    border-top: 1px solid #e6e6e6;
  }

  /* Hover State */
  &:hover .c-sidebar-sokuhou__img {
    opacity: 0.6;
  }

  &:hover .c-sidebar-sokuhou__link::after {
    transform: translateX(1px);
  }
}

.c-sidebar-sokuhou__link {
  display: grid;
  grid-template-columns: minmax(auto, 64px) 1fr 0.81rem;
  align-items: center;
  gap: 1rem;

  &::after {
    content: '';
    width: 0.81rem;
    height: 0.81rem;
    margin-block-start: 2px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
    background-size: contain;
    background-repeat: no-repeat;

    justify-self: end;
    transform: translateX(0);
    transition: var(--transition-base);
  }
}

.c-sidebar-sokuhou__image {
  flex-shrink: 0;

  width: 4rem;
  height: 4rem;

  @media screen and (max-width: 768px) {
    width: 5rem;
    height: 5rem;
  }

  & .c-sidebar-sokuhou__img {
    aspect-ratio: 1 / 1;

    transition: var(--transition-base);
  }
}

.c-sidebar-sokuhou__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.875rem;
}

.c-sidebar-sokuhou__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  font-size: 0.75rem;
  line-height: 1.333;
  font-weight: 700;
}

.c-sidebar-sokuhou__date {
  font-size: 0.688rem;
  line-height: 1.545;
  font-weight: 700;
  color: #8c8c8c;
}

.c-sidebar-sokuhou .c-more-link {
  box-shadow: inset 0 0 0 2px #d9d9d9;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    margin-block-start: -1rem;

    box-shadow: none;
  }

  & .c-more-link__label {
    color: var(--color-text-primary);
    font-weight: 700;
  }
}

/* ============================
*  コラム一覧
* ========================== */
.page-column .l-content {
  padding-inline-end: 2.5rem;

  @media screen and (max-width: 768px) {
    padding-inline: 0.938rem;
  }
}

/* ============================
*  コラム一覧
* ========================== */

.page-column__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px,1fr));
  gap: 1.563rem 1.5rem;
  width: 100%;

  margin-block-end: 6.25rem;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);

    margin-block-end: 5rem;

    border-right: none;
  }
}

/* ==================================
*  ページネーション
* ================================ */
.pagination {
  align-items: center;
  width: fit-content;
  margin-inline: auto;

  @media screen and (max-width: 768px) {
    display: flex;
    justify-content: center;
    max-width: 100%;
  }
}

.nav-links {
  display: flex;
  gap: 5px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2.25rem;
  height: 2.25rem;

  font-size: 0.813rem;
  line-height: 1.154;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;

  transition: var(--transition-base);

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.385;
    width: 44px;
    height: 44px;
  }

  /* Hover State */
  &.page-numbers:not(.dots,.current):hover {
    background-color: #dbdada;
  }
}

.page-numbers:not(.dots) {
  background-color: #f0f0f0;
  border-radius: 8px;
}

.c-archive-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.c-archive-pagination__number {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(47, 34, 34, 0.6);
  font-family: 'Prompt', sans-serif;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.385;
  }
}

/* 該当ページ */
.page-numbers.current {
  background-color: var(--color-bg-white);
}

/* ============================
*  コラム詳細
* ========================== */
.p-article-header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;

  margin-block-end: 2rem;
  padding-block-start: 2rem;

  @media screen and (max-width: 768px) {
    gap: 1.5rem;
    margin-block-end: 1rem;
    padding-block-start: 1.5rem;
  }

  &::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e60012 6rem, #e6e6e6 6rem);

    @media screen and (max-width: 768px) {
      height: 3px;
    }
  }
}

/* メタ情報 */
.p-article-header__meta {
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* 日付 */
  & .p-article-header__date {
    font-size: 1.5rem;
    line-height: 1.167;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    color: var(--color-red);

    @media screen and (max-width: 768px) {
      font-size: 1.063rem;
      line-height: 1.176;
    }
  }

  /* カテゴリー・タグ */
  & .p-article-header__taxonomies {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* カテゴリー */
  & .p-article-header__category {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-red);

    @media screen and (max-width: 768px) {
      font-size: 0.625rem;
    }
  }

  & .p-article-header__category::after {
    content: '';

    width: 1px;
    height: 1.125rem;
    background-color: #d9d9d9;

    @media screen and (max-width: 768px) {
      height: 0.938rem;
    }
  }

  /* タグ */
  & .p-article-header__tag {
    font-size: 0.75rem;
    line-height: 1.45;
    color: #959595;

    @media screen and (max-width: 768px) {
      font-size: 0.625rem;
    }
  }
}

/* タイトル */
.p-article-header__title {
  font-size: 1.875rem;
  line-height: 1.4;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    font-size: 1.063rem;
    line-height: 1.588;
  }
}

.p-article-body {
  @media screen and (max-width: 768px) {
    overflow-x: visible;
  }
}

/* 画像 */
.wp-block-image {
  margin-block-end: 2rem;

  @media screen and (max-width: 768px) {
    width: 100vw;
    margin-block-end: 2.5rem;
    margin-inline-start: -0.938rem;
  }
}

/* 本文 */
.p-article-body p {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.p-article-body .is-last-p {
  margin-block-end: 2.5rem;
}

.c-related.c-related-column .l-inner {
  padding-block: 0;

  @media screen and (max-width: 768px) {
    padding-inline: 0.938rem;
  }
}

/* ============================
*  買取リスト 一覧
* ========================== */
.page-list {
  & .l-content-sidebar {
    grid-template-columns: minmax(auto, 297px) minmax(auto, 783px);

    padding-block-end: 6.25rem;

    @media screen and (max-width: 768px) {
      grid-template-columns: 1fr;

      padding-block-end: 5rem;
    }
  }

  & .l-content {
    padding-inline-start: 2.5rem;
    border-right: none;
    border-left: 1px solid #e6e6e6;

    @media screen and (max-width: 768px) {
      padding-inline-start: 0.938rem;
    }
  }
}

.page-list__heading {
  margin-block-end: 4.25rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 1rem;
  }
}

/*-------------------------
  検索バー
-------------------------*/
.page-list .c-search__form {
  position: relative;
  z-index: 10;

  max-width: 970px;
  margin-block-start: -8.25rem;
  margin-inline: auto;
  padding-inline-start: 2rem;

  height: 64px;

  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #d9d9d9;

  @media screen and (max-width: 768px) {
    max-width: 89.33vw;
    padding-inline-start: 1.25rem;

    margin-block-start: 0;
  }
}

.page-list .l-content__heading {
  display: flex;
  justify-content: space-between;

  margin-block-end: 1.5rem;
}

/*-------------------------
  メインコンテンツ
-------------------------*/
/* 本文 */
.page-list__desc {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;

  & .u-pc-only {
    display: inline;

    @media screen and (max-width: 768px) {
      display: none;
    }
  }
}

/* 検索結果 */
.result-count {
  font-weight: 700;
  color: var(--color-red);
}

.p-button-wrapper {
  @media screen and (max-width: 768px) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* 表示方法切り替えボタン */
.c-view-toggle {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 9.625rem;
  height: 2.25rem;

  border-radius: 4px;

  @media screen and (max-width: 768px) {
    max-width: 7.188rem;
    height: 1.875rem;
  }

  & .c-view-toggle__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    height: 100%;

    color: #6a6a6a;
    box-shadow: inset 0 0 0 1px #ccc;

    @media screen and (max-width: 768px) {
      gap: 0.375rem;
    }
  }

  & .c-view-toggle__button.is-active {
    box-shadow: inset 0 0 0 1px #7dbfe7;
    background-color: #7dbfe7;
    color: var(--color-text-white);
  }

  & .c-view-toggle__button-label {
    font-size: 0.875rem;
    line-height: 1.143;
    font-weight: 100;
    text-transform: inherit;

    @media screen and (max-width: 768px) {
      font-size: 0.688rem;
      line-height: 1;
    }
  }

  & .c-view-toggle__grid-icon,
  & .c-view-toggle__list-icon {
    display: block;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* グリッド */
  & .c-view-toggle__button--grid {
    flex-shrink: 0;

    border-radius: 4px 0 0 4px;
  }

  & .c-view-toggle__grid-icon {
    width: 1.25rem;
    height: auto;

    aspect-ratio: 1 / 1;

    @media screen and (max-width: 768px) {
      width: 0.938rem;
    }
  }

  /* リスト */
  & .c-view-toggle__button--list {
    border-radius: 0 4px 4px 0;
  }

  & .c-view-toggle__list-icon {
    width: 1.313rem;
    height: auto;

    aspect-ratio: 21 / 16;

    @media screen and (max-width: 768px) {
      width: 0.938rem;

      aspect-ratio: 5 / 4;
    }
  }
}

/*-------------------------
  カード一覧
-------------------------*/
/* グリッド表示 */
.c-card-list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(308px, 1fr));
  gap: 1rem;
  
  @media screen and (max-width: 768px) {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  /* カード */
  & .c-card {
    display: grid;
    grid-template-areas:
      'image body'
      'image button';
    align-items: stretch;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 0.5rem 1rem;

    padding: 1rem;

    @media screen and (max-width: 768px) {
      display: block;
    }
  }

  & .c-card__body {
    gap: 0.5rem;
  }

  & .c-card__inner {
    display: contents;

    @media screen and (max-width: 768px) {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-block-end: 0.5rem;
    }
  }

  & .c-card__image {
    grid-area: image;

    max-width: 141px;
  }

  & .c-card__img {
    height: auto;
    aspect-ratio: 141 / 198;
  }

  & .c-card__body {
    grid-area: body;
  }

  & .c-card__price-item + .c-card__price-item {
    @media screen and (max-width: 768px) {
      border-top: 1px solid #f1f2f2;
    }
  }

  & .c-card__price-value {
    @media screen and (max-width: 768px) {
      padding-block-end: 0;
    }
  }

  & .c-card__button {
    grid-area: button;

    height: fit-content;
    padding-block: 0.438rem;
  }

  & .c-card__price-label--condition {
    font-size: 0;

    &::before {
      content: '状態A';
      display: flex;
      align-items: center;
      justify-content: center;
      height: 1.25rem;
      background-color: #f2f2f2;
      font-size: 0.625rem;
      line-height: 1.5;
      font-weight: 700;
      color: #8c8c8c;
    }
  }
}

.c-card__pack,
.c-card__price-highlight {
  display: none;
}

/* リスト表示 */
.c-card-list.is-list {
  display: grid;
  gap: 1.5rem;
  /* カード */
  & .c-card {
    position: relative;
    padding-block: 1rem;
    padding-inline: 1rem 2.813rem;

    @media screen and (max-width: 768px) {
      display: grid;
      grid-template-areas:
        'name price'
        'list list';
      gap: 1rem;
      padding: 1rem;
    }
  }

  & .c-card::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;

    width: 0.688rem;
    height: 0.688rem;
    background-image: url(../images/arrow/arrow-circle-red.svg);

    transition: var(--transition-base);
  }

  & .c-card__image,
  & .c-card__button {
    display: none;
  }

  & .c-card__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media screen and (max-width: 768px) {
      display: contents;
    }
  }

  & .c-card__body {
    flex-direction: row;
    align-items: center;
    inline-size: 100%;

    @media screen and (max-width: 768px) {
      display: contents;
    }
  }

  & .c-card__name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.625rem;

    max-width: 297px;
    margin-inline-end: 0.5rem;

    @media screen and (max-width: 768px) {
      grid-area: name;

      gap: 0.5rem;

      max-width: 156px;
      margin-inline-end: 0;
    }
  }

  & .c-card__pack {
    font-size: 0.688rem;
    line-height: 1.545;
    font-weight: 500;
    color: #918787;

    @media screen and (max-width: 768px) {
      font-size: 0.625rem;
    }
  }

  & .c-card__price-list {
    flex-shrink: 0;

    max-width: 230px;
    /* height: 44px; */

    @media screen and (max-width: 768px) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      max-width: 100%;
      width: 100%;
      height: auto;

      grid-area: list;
    }
  }

  & .c-card__price-item {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(auto, 6.375rem) 8rem;

    @media screen and (max-width: 768px) {
      display: flex;
    }
  }

  & .c-card__price-item:first-of-type {
    border-bottom: 1px solid #f2f2f2;
  }

  & .c-card__price-label {
    height: 100%;

    @media screen and (max-width: 768px) {
      padding: 0.25rem;
      width: 100%;

      content: '素体状態A';
    }
  }

  & .c-card__price-value {
    @media screen and (max-width: 768px) {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      text-align: center;
    }
  }

  & .c-card__price-highlight {
    display: flex;
    gap: 2px;
    align-items: baseline;

    color: var(--color-red);
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;

    @media screen and (max-width: 768px) {
      grid-area: price;

      align-items: center;

      padding-inline-end: 1.813rem;
    }
  }

  & .c-card__price-highlight .u-yen {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* ============================
*  絞り込み
* ========================== */
/*-------------------------
  SP ボタン
-------------------------*/
.c-list-filter__trigger {
  display: none;

  @media screen and (max-width: 768px) {
    flex-shrink: 0;
    display: block;

    width: 100px;
    height: 30px;
    padding-block: 5px;
    padding-inline: 0.625rem 0.5rem;

    border-radius: 4px;
    box-shadow: inset 0 0 0 2px #f0f0f0;

    & .c-list-filter__trigger-label {
      display: flex;
      align-items: center;
      gap: 0.5rem;

      font-size: 0.875rem;
      line-height: 1.429;
      font-weight: 700;
    }

    & .c-list-filter__trigger-label::after {
      flex-shrink: 0;
      content: '';

      width: 1.125rem;
      height: 1.125rem;
      background-image: url(../images/icon/icon-settings-sliders.svg);
    }
  }
}

/*-------------------------
  絞り込みパネル
-------------------------*/
.post-type-archive-list {
  @media screen and (max-width: 768px) {
    position: relative;
  }
}

.c-list-filter {
  display: block;

  @media screen and (max-width: 768px) {
    display: none;

    &.is-open {
      overflow: scroll;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 50%;
      transform: translateX(-50%);

      width: 100vw;
      height: 100dvh;
      display: block;
      padding-block: 2.5rem;
      background-color: rgba(60, 60, 60, 0.8);
    }
  }

  & .c-sidebar-section__title {
    @media screen and (max-width: 768px) {
      margin-block-end: 1.5rem;
      padding: 0;
    }
  }

  & .c-sidebar-section__title::before {
    background-color: var(--color-red);

    @media screen and (max-width: 768px) {
      background-color: transparent;
    }
  }
}

.c-list-filter__inner {
  @media screen and (max-width: 768px) {
    overflow-y: scroll;
    width: 92vw;
    height: fit-content;

    margin-inline: auto;
    padding-block: 2.5rem;
    padding-inline: 1.25rem;

    background-color: var(--color-bg-white);

    border-radius: 16px;
  }
}

/* 閉じるボタン */
.c-list-filter__close {
  display: none;
  z-index: 10001;
  position: absolute;
  top: 1.875rem;
  right: 2vw;

  width: 1.5rem;
  height: 1.5rem;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

/* 絞り込み項目 */
.c-list-filter__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding-block: 1.5rem;
  padding-inline: 1.25rem;

  @media screen and (max-width: 768px) {
    &.c-sidebar__list {
      margin-block-start: 0;
      padding: 0;
      box-shadow: none;
    }

    & + & {
      margin-block-start: 1.5rem;
    }
  }
}

.c-list-filter__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;

  &.c-list-filter__list--flex {
    display: flex;
    flex-wrap: wrap;
  }

  @media screen and (max-width: 768px) {
    &.c-list-filter__list--type {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.875rem;
    }
    &.c-list-filter__list--type {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.875rem;
    }
  }

  & .c-list-filter__item {
    min-inline-size: calc(50% - 0.4875rem);
  }
}

.c-list-filter__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;

  &:hover {
    color: var(--color-red);
  }
}

.c-list-filter__checkbox {
  position: absolute;
  appearance: none;
  -webkit-appearance: none;
  /* flex-shrink: 0; */

  /* width: 1.375rem;
  height: 1.375rem;
  border-radius: 3px;
  box-shadow: inset 0 0 0 3px #dbd3d2; */

  & + span {
    content: "";
    background: url(../images/icon/icon-checkbox.svg) no-repeat center / contain;
    width: 1.375rem;
    height: 1.375rem;
    transition: background-image 0.2s;
    flex-shrink: 0;
  }

  &:checked + span {
    background-image: url(../images/icon/icon-checkbox--checked.svg);
  }
}

.c-list-filter__label {
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
  color: #908887;
}

.c-list-filter__term {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;

  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
}

.c-list-filter__count {
  font-size: 0.688rem;
  line-height: 1.063;
  font-weight: 500;
}

.c-list-filter__button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 3rem;
  background-color: #9a9a99;

  border-radius: 14px;
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }

  & .c-list-filter__button-label {
    font-size: 1.063rem;
    line-height: 1.471;
    font-weight: 700;
    color: var(--color-text-white);
  }
}

/*-------------------------
  クリア・検索ボタン
-------------------------*/
.c-list-filter__footer {
  display: grid;
  grid-template-columns: minmax(auto, 100px) 1fr;
  gap: 0.5rem;

  margin-block-start: -3px;
  padding-block: 1.5rem;
  padding-inline: 1.25rem;
  box-shadow: inset 0 0 0 3px #dbd3d2;

  @media screen and (max-width: 768px) {
    grid-template-areas:
      'clear submit'
      'close close';
    gap: 1.5rem 0.5rem;

    margin-block-start: 2.5rem;
    padding: 0;

    box-shadow: none;
  }

  & .c-list-filter__footer-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 3rem;

    border-radius: 14px;

    font-size: 1.063rem;
    line-height: 1.471;
    font-weight: 700;
    transition: 0.2s opacity;

    &:hover {
      opacity: 0.6;
    }
  }

  /* クリアボタン */
  & .c-list-filter__clear {
    background-color: #f0f0f0;
    
    @media screen and (max-width: 768px) {
      grid-area: clear;
    }
  }

  /* 検索するボタン */
  & .c-list-filter__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-inline: 1rem 2rem;
    background-color: var(--color-red);
    color: var(--color-text-white);

    @media screen and (max-width: 768px) {
      grid-area: submit;
      justify-content: flex-start;
      gap: 2.156rem;
    }
  }
  & .c-list-filter__submit::before {
    content: '';

    width: 1.125rem;
    height: 1.125rem;
    background-image: url(../images/icon/icon-search.svg);
    background-size: cover;
  }

  /* SPのみ 閉じるボタン */
  & .c-list-filter__footer-close {
    display: none;

    @media screen and (max-width: 768px) {
      grid-area: close;

      display: flex;
      align-items: center;
      justify-content: center;

      width: 100%;
      height: 2.125rem;
      border-radius: 14px;
      background-color: #f0f0f0;

      font-size: 0.75rem;
      line-height: 1.5;
      font-weight: 700;
    }
  }
}

/* ============================
*  買取リスト詳細
* ========================== */
.p-list-detail__heading {
  grid-area: heading;

  display: flex;
  justify-content: space-between;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;

    width: 100%;

    margin-block-end: 4rem;
  }
}

/* タイトル */
.p-list-detail__title-wrapper {
  @media screen and (max-width: 768px) {
    margin-block-end: 1rem;
  }
}

.p-list-detail__title {
  margin-block-end: 1rem;

  font-size: 1.625rem;
  line-height: 1.5;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

/* 収録パック */
.p-list-detail__series {
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 500;
  color: #918787;

  @media screen and (max-width: 768px) {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

/* 買取価格 */
.p-list-detail__price-highlight {
  display: flex;
  align-items: baseline;
  gap: 2px;

  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-red);

  @media screen and (max-width: 768px) {
    justify-content: flex-end;

    font-size: 1.125rem;
    line-height: 1.5;
  }

  & .u-number {
    font-size: 2.5rem;

    @media screen and (max-width: 768px) {
      font-size: 2rem;
      line-height: 1;
    }
  }
}

.p-list-detail__content {
  @media screen and (max-width: 768px) {
    display: grid;
    grid-template-areas:
      'image'
      'heading'
      'list';
    justify-items: center;
  }
}

.p-list-detail__body {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;

  margin-block-end: 4rem;

  @media screen and (max-width: 768px) {
    display: contents;
  }
}

.p-list-detail__image {
  grid-area: image;

  max-width: 414px;
  width: 100%;

  @media screen and (max-width: 768px) {
    max-width: 64vw;

    margin-block-end: 1.5rem;
  }

  & .p-list-detail__img {
    height: auto;
    object-fit: contain;
  }
}

.p-list-detail__list {
  max-width: 600px;
  width: 100%;
}

.p-list-detail__label {
  margin-block-end: 1rem;

  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    font-size: 1.188rem;
    line-height: 1.474;
  }
}

/* 買取価格 */
.p-list-detail__price-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;

  margin-block-end: 2.5rem;
  padding-block: 1.25rem;

  box-shadow: inset 0 0 0 2px #f0f0f0;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;

    margin-block-end: 4rem;
    padding-block: 0;

    box-shadow: none;
  }
}

.p-list-detail__price-item {
  width: 100%;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding-block: 0.5rem;

    border-radius: 4px;
    box-shadow: inset 0 0 0 2px #f0f0f0;
  }

  &:not(:last-of-type) {
    border-right: 2px dotted #f0f0f0;

    @media screen and (max-width: 768px) {
      border-right: none;
    }
  }
}

.p-list-detail__price-label {
  margin-block-end: 1rem;

  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
  color: #918787;

  @media screen and (max-width: 768px) {
    margin-block-end: 0.25rem;

    font-size: 0.813rem;
    line-height: 1.462;
    font-weight: 500;
  }
}

.p-list-detail__price-value {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;

  & .u-number {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

/* 詳細情報 */
.p-list-detail__info-item {
  display: grid;
  grid-template-columns: minmax(auto, 10rem) 1fr;
  gap: 1.5rem;

  padding-block: 1rem 0.875rem;

  border-top: 2px solid #f0f0f0;

  @media screen and (max-width: 768px) {
    grid-template-columns: minmax(auto, 6.75rem) 1fr;

    padding-block: 0.688rem;
  }

  &:last-of-type {
    border-bottom: 2px solid #f0f0f0;
  }
}

.p-list-detail__info-term {
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 700;
  color: #918787;
}

.p-list-detail__info-desc {
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 500;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.462;
  }
}

/*-------------------------
  買取相場推移
-------------------------*/
.p-list-detail .page-card__chart-trend {
  display: block;

  margin-block-end: 6.25rem;
}

.page-card__chart-trend-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.93vw, 2.5rem);

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1rem;

    margin-block-end: 5rem;
  }

  /* グラフ */
  & .chart-trend__graph img {
    height: auto;
  }

  /* テーブル */
  & .chart-trend__table {
    font-size: 0.75rem;

    @media screen and (max-width: 768px) {
      font-size: 0.813rem;
    }
  }

  & .chart-trend__th,
  & .chart-trend__td {
    padding-block: 0.25rem;

    @media screen and (max-width: 768px) {
      padding-block: 0.406rem;
    }
  }
}

/*-------------------------
  関連コラム
-------------------------*/
.p-list-detail .c-related {
  @media screen and (max-width: 768px) {
    margin-block: 5rem;
  }
}

/* ============================
*  宅配買取 / お問い合わせ
* ========================== */
.page-form {
  background-color: #f4f4f4;

  & .c-page-heading {
    margin-block-end: 4rem;
  }
}

/*-------------------------
  進捗バー
-------------------------*/
.c-step-progress__list {
  position: relative;

  display: grid;
  grid-template-columns: minmax(auto, 235px) minmax(auto, 235px) minmax(auto, 235px);
  justify-content: space-between;

  max-width: 785px;
  width: 100%;
  margin-block-end: 4rem;
  margin-inline: auto;

  &::after {
    position: absolute;
    z-index: 1;
    content: '';
    top: 50%;
    transform: translateY(-50%);

    height: 4px;
    width: 100%;
    background-color: #e2e2e2;
  }

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;

    max-width: 92vw;
    margin-block-end: 2.5rem;
  }
}

.c-step-progress__item {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  padding-block: 1rem 0.625rem;

  background-color: var(--color-bg-white);
  border-radius: 4px;

  @media screen and (max-width: 768px) {
    gap: 3px;

    padding-block: 1rem;
    padding-inline: 0.625rem 0.75rem;
  }

  &.is-active {
    background-color: #7dbfe7;
  }

  &.is-active .c-step-progress__number,
  &.is-active .c-step-progress__label {
    color: var(--color-bg-white);
  }
}

.c-step-progress__number {
  font-size: 1rem;
  line-height: 1.188;
  font-weight: 700;
  color: #7dbfe7;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.143;
  }
}

.c-step-progress__label {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  color: #201919;

  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

/*-------------------------
  コンテンツ
-------------------------*/
.page-form__content {
  max-width: 814px;
  width: 100%;
  margin-inline: auto;
  margin-block-end: 6.25rem;

  &:not(.page-thanks__content) {
    padding: 3rem;

    background-color: var(--color-bg-white);
    box-shadow: inset 0 0 0 3px #b4b4b4;
    border-radius: 24px;

    @media screen and (max-width: 768px) {
      padding-block: 2.5rem;
      padding-inline: 1.5rem;
    }
  }

  @media screen and (max-width: 768px) {
    max-width: 92vw;
    margin-block-end: 5rem;
  }
}
/*-------------------------
  入力画面 page-input
-------------------------*/
/* 入力フォーム */
.page-application-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.c-form-input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;

  & + & {
    margin-block-start: 0.5rem;
  }

  @media screen and (max-width: 768px) {
    &.c-form-input-group--col2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
    }
  }
}

.c-form-label {
  margin-block-end: 1rem;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control:not(:has(.wpcf7-list-item), .wpcf7-submit) {
  display: block;

  max-width: 252px;
  width: 100%;
  padding-block: 0.75rem;
  padding-inline: 1rem;

  background-color: #deeff9;
  box-shadow: inset 0 0 0 1px #c1c1c1;
  border-radius: 4px;

  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}

.wpcf7-radio {
  display: flex;
  gap: 0.5rem;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.wpcf7-form-control.radio-only {
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  padding-block: 0.875rem;
  padding-inline: 1rem 2rem;

  @media screen and (max-width: 768px) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 0.5rem;

    padding-block: 0.719rem;
    padding-inline: 0;
  }
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-radio:not(.radio-only) .wpcf7-list-item {
  max-width: 252px;
  width: 100%;
  margin-inline: 0;

  background-color: #deeff9;
  box-shadow: inset 0 0 0 1px #c1c1c1;
  border-radius: 4px;

  overflow: hidden;

  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}

.wpcf7-radio:not(.radio-only) .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: 0.75rem;
  padding-inline: 1rem;
}

.wpcf7-list-item-label,
.wpcf7-form-control {
  font-size: 0.875rem;
  line-height: 1.25;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.462;
  }
}

.wpcf7-list-item-label {
  display: flex;
  align-items: center;
}

/* inputを非表示 */
.wpcf7-form-control input[type='radio'] {
  display: none;
}

/* 外円 */
.wpcf7-list-item-label::before {
  content: '';
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;

  width: 1rem;
  height: 1rem;

  margin-block-end: 3px;
  margin-inline-end: 3px;

  background-color: var(--color-bg-white);
  box-shadow: inset 0 0 0 1px #c1c1c1;
  border-radius: 100%;
  vertical-align: middle;

  overflow: hidden;

  @media screen and (max-width: 768px) {
    width: 0.875rem;
    height: 0.875rem;

    margin-inline-end: 2px;
  }
}

/* チェック時 */
/* 共通：中の丸 */
input[type='radio']:checked + .wpcf7-list-item-label::before {
  box-shadow:
    inset 0 0 0 1px #7dbfe7,
    inset 0 0 0 4px white,
    inset 0 0 0 8px #7dbfe7;

  background-color: white;
}

/* radio-only 以外だけ背景変更 */
.wpcf7-radio:not(.radio-only) input[type='radio']:checked + .wpcf7-list-item-label {
  width: 100%;
  height: 100%;
  background-color: #7dbfe7;

  color: var(--color-text-white);
}

/* 項目名 */
.c-form-label.c-form-label--required {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    gap: 1rem;

    font-size: 0.875rem;
    line-height: 1.429;
  }

  /* 必須バッジ */
  &::before {
    flex-shrink: 0;
    content: '必須';

    width: fit-content;
    padding-block: 0.438rem;
    padding-inline: 0.938rem;

    background-color: var(--color-red);
    border-radius: 4px;

    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-text-white);

    box-shadow: inset 0 0 0 4px var(--main-color-green);

    @media screen and (max-width: 768px) {
      padding-block: 0.25rem;
      padding-inline: 0.625rem;

      font-size: 0.688rem;
      line-height: 1.545;
    }
  }
}

.c-form-note {
  margin-inline-start: 1rem;

  font-size: 1rem;
  line-height: 1.5;

  @media screen and (max-width: 768px) {
    margin-inline-start: 0;

    font-size: 0.688rem;
    line-height: 1.545;
  }
}

.c-form-caption {
  margin-block-start: 1rem;

  font-size: 0.875rem;
  line-height: 1.25;

  & strong {
    color: var(--color-red);
  }

  @media screen and (max-width: 768px) {
    margin-block-start: 0.5rem;

    font-size: 0.75rem;
    line-height: 1.417;

    & strong {
      font-size: 0.875rem;
      line-height: 1.429;
    }
  }
}

.wpcf7-radio:has(.c-label-main) .wpcf7-list-item:first-child {
  max-width: 282px;

  white-space: nowrap;

  & .c-label-main {
    font-size: 1rem;
    font-weight: 700;
  }

  @media screen and (max-width: 768px) {
    max-width: 100%;
  }
}

.c-form-links {
  display: flex;
  gap: 1.25rem;
  margin-block-end: 0.5rem;

  @media screen and (max-width: 768px) {
    gap: 1rem;
  }
}

.c-form-link {
  position: relative;

  font-size: 0.875rem;
  line-height: 1.429;
  color: #1176d4;

  &:not(:last-of-type)::before {
    position: absolute;
    content: '/';

    right: -0.875rem;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1176d4;
  }

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;

    &:not(:last-of-type)::before {
      right: -0.65rem;
    }
  }
}

.wpcf7-acceptance .wpcf7-list-item-label {
  display: block;

  padding-block: 0.625rem;
  padding-inline: 1rem;

  box-shadow: inset 0 0 0 1px #c1c1c1;
  border-radius: 4px;

  font-size: 1rem;
  line-height: 1.5;
  color: #1176d4;

  @media screen and (max-width: 768px) {
    padding-inline-start: 2rem;

    font-size: 0.813rem;
    text-indent: -1rem;
  }
}

/* 入力内容確認ボタン */
.wpcf7-submit-wrap {
  position: relative;

  max-width: 360px;
  width: 100%;
  margin-inline: auto;
  padding-block: 0.625rem;

  background-color: #f5f5f5;
  box-shadow: 0 2px 0 #ccc;
  border-radius: 4px;

  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;

  transition: var(--transition-base);

  @media screen and (max-width: 768px) {
    padding-block: 0.75rem;
    font-size: 1rem;
  }

  &::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    pointer-events: none;

    width: 0.813rem;
    height: 0.813rem;
    background-image: url(../images/arrow/arrow-circle-gray-thin.svg);
    background-size: cover;
  }

  &:has(.c-form-back)::after {
    left: 1.5rem;

    transform: translateY(-50%) rotate(180deg);
  }

  & .wpcf7-submit {
    width: 100%;

    font-size: 1.125rem;
    line-height: 1.5;

    @media screen and (max-width: 768px) {
      font-size: 1rem;
    }
  }

  /* Hover State */
  &:hover {
    background-color: var(--color-red);

    color: var(--color-text-white);
  }

  &:hover::after {
    background-image: url(../images/arrow/arrow-circle-white.svg);
  }
}

.wpcf7-spinner {
  display: none;
}

/* checkboxを非表示 */
.wpcf7-acceptance input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* チェック時 */
.wpcf7-acceptance input[type='checkbox']:checked + .wpcf7-list-item-label {
  width: 100%;
  background-color: #7dbfe7;

  color: var(--color-text-white);

  &::before {
    box-shadow:
      inset 0 0 0 1px #7dbfe7,
      inset 0 0 0 4px white,
      inset 0 0 0 8px #7dbfe7;
    background-color: white;
  }
}

.wpcf7 form .wpcf7-response-output {
  display: none;
}

/*-------------------------
  確認画面画面 page-confirm
-------------------------*/
.page-confirm {
  & .c-form-input-group--col1 {
    flex-direction: column;
  }

  & .wpcf7-form-control:not(:has(.wpcf7-list-item), .wpcf7-submit) {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }

  & .c-confirm-value {
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.5;

    @media screen and (max-width: 768px) {
      font-size: 0.813rem;
      line-height: 1.769;
    }
  }

  & .c-form-note,
  & .c-form-caption {
    display: none;
  }

  & .c-form-input-group--col2 .wpcf7-form-control-wrap {
    display: inline;
    margin-block-start: 0;

    @media screen and (max-width: 768px) {
      width: fit-content;
    }
  }

  & [data-name='job'] .wpcf7-form-control,
  & [data-name='box-time'] .wpcf7-form-control {
    background-image: none;
    margin-block-start: 0;
  }

  & .wpcf7-radio:not(.radio-only) input[type='radio']:checked + .wpcf7-list-item-label {
    background-color: transparent;
    color: var(--color-text-primary);
  }

  & .c-form-input-group {
    align-items: flex-start;
    gap: 0 0.875rem;

    @media screen and (max-width: 768px) {
      grid-template-columns: auto auto;
      justify-content: start;
    }
  }

  & .wpcf7-acceptance {
    display: none;
  }

  & .c-form-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/*-------------------------
  完了画面 page-thanks
-------------------------*/
.page-thanks__descs {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;

  margin-block-end: 4rem;

  @media screen and (max-width: 768px) {
    gap: 1.5rem;
  }
}

.page-thanks__desc {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.714;
  }
}

/* ============================
*  宅配買取
* ========================== */
/*-------------------------
  ヒント モーダル
-------------------------*/
/* ボタン */
.c-form-hint {
  max-width: 512px;
  width: 100%;
  margin-block-start: 1.125rem;
  padding-block: 0.563rem 0.688rem;
  padding-inline: 0.875rem;

  background-color: #f5f5f5;
  border-radius: 4px;
}

.c-hint-button__icon,
.c-modal__icon {
  width: 1.125rem;
  height: auto;

  aspect-ratio: 1 / 1;
}

.c-hint-button__text {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 500;

  &::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text-primary);
  }
}

.c-form-radio-group:has(input:checked) ~ .c-form-hint {
  display: none;
}

/* モーダル */
.c-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.c-modal[aria-hidden='false'] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-modal__overlay {
  position: absolute;

  inset: 0;
  background-color: rgba(60, 60, 60, 0.6);
}

.c-modal__content {
  position: absolute;
  z-index: 2000;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;

  width: 100%;
  max-width: 785px;

  padding: 3rem;

  background-color: var(--color-bg-white);
  border-radius: 24px;
  overflow-y: auto;

  @media screen and (max-width: 768px) {
    top: 2.5rem;

    max-width: 92vw;
    padding-block: 2.5rem;
    padding-inline: 0.938rem;
  }
}

.c-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 2.188rem;
  }
}

.c-modal__title {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.25;
  }
}

.c-modal__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  margin-block-end: 2.5rem;

  @media screen and (max-width: 768px) {
    gap: 2.188rem;

    margin-block-end: 2.188rem;
  }
}

.c-modal__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-modal__section-title {
  width: 100%;

  padding-block-end: 0.5rem;
  border-bottom: 2px solid var(--color-red);

  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.25;
  }
}

.c-modal__desc {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.769;
  }
}

.u-text-blue {
  display: inline;
  color: #1176d4;
}

.c-modal__link {
  display: inline-flex;
  width: fit-content;
  position: relative;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  &::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1176d4;
  }
}

/* 閉じるボタン */
.c-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
}

.c-modal__close-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 500;

  &::before {
    content: '';

    width: 1rem;
    height: 1rem;
    background-image: url(../images/icon/icon-close-black.svg);
    background-size: cover;
  }
}

/*-------------------------
 宅配キットを利用して配送する
-------------------------*/
[data-id='cardboard-kit'] {
  & > .c-form-group:first-child {
    margin-block-end: 2.5rem;
  }
}

[data-name='job'] {
  & .wpcf7-form-control {
    appearance: none;
    background-image: url(../images/arrow/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px;
    padding-inline-end: 2.5rem;
  }
}

[data-name='box-time'] {
  max-width: 509px;
  width: 100%;
  margin-block-start: 0.5rem;

  & .wpcf7-form-control {
    max-width: 100%;

    appearance: none;
    background-image: url(../images/arrow/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px;
    padding-inline-end: 2.5rem;
  }
}

[data-name='box-date'] input[type='date'] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url(../images/form/calendar.svg);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-inline-end: 2.5rem;

  &::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
}

.c-form-cardboard {
  display: flex;
  gap: 2.5rem;

  width: 100%;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  & .wpcf7-form-control-wrap {
    flex-shrink: 0;

    max-width: 252px;
    width: 100%;
    margin-block-start: 1.688rem;

    @media screen and (max-width: 768px) {
      max-width: 100%;
      margin-block-start: 0;
    }
  }

  & .wpcf7-form-control {
    appearance: none;
    background-image: url(../images/arrow/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px;
    padding-inline-end: 2.5rem;
  }

  & .wpcf7-form-control-wrap + & .wpcf7-form-control-wrap {
    margin-block-start: 0.5rem;
  }
}

.c-form-cardboard__image {
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  max-width: 160px;
  width: 100%;

  & .c-form-cardboard__size {
    font-size: 0.875rem;
    line-height: 1.429;
    font-weight: 700;
    text-align: center;
  }
}

/* ============================
*  お問い合わせ
* ========================== */
.page-contact {
  & .wpcf7-textarea {
    max-width: 100%;
    height: 11rem;

    @media screen and (max-width: 768px) {
      height: 10.5rem;
    }
  }

  & .wpcf7-form-control-wrap {
    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }

  & .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    max-width: 515px;
    width: 100%;

    @media screen and (max-width: 768px) {
      display: block;
      width: 100%;
    }
  }
}

/* ============================
*  プライバシーポリシー/利用規約
* ========================== */
.page-legal .l-inner {
  padding-block-end: 6.25rem;
  
  @media screen and (max-width: 768px) {
    padding-block-end: 5rem;
  }
}
.c-legal__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  font-size: 0.875rem;
  line-height: 1.571;

  @media screen and (max-width: 768px) {
    font-size: 0.813rem;
    line-height: 1.769;
  }
}

.c-legal__title {
  margin-block-end: 1.5rem;

  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;

  @media screen and (max-width: 768px) {
    margin-block-end: 1rem;

    font-size: 1rem;
    line-height: 1.5;
  }
}

.c-legal__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  list-style-type: decimal;
  list-style-position: inside;
}

.c-legal__desc {
  margin-block-end: 1.5rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 0;
  }
}

.c-legal__sub-list {
  list-style-type: lower-alpha;
  list-style-position: inside;

  padding-inline-start: 1rem;
}

.page-pp .c-legal__sub-list {
  list-style-type: none;

  & .c-legal__item::before {
    content: '・';
  }
}

.c-legal__box {
  margin-block-start: 2.188rem;

  padding: 1.5rem;
  box-shadow: inset 0 0 0 2px #b4b4b4;

  @media screen and (max-width: 768px) {
    margin-block-start: 1rem;
    padding: 1rem;
  }

  & .c-legal__link-list {
    display: flex;
    flex-direction: column;
  }

  & .c-legal__link {
    color: #005bac;

    word-break: break-all;
  }

  &:has(.c-legal__info) {
    margin-block-start: 0;

    @media screen and (max-width: 768px) {
      margin-block-start: 1rem;
    }
  }
}

.c-legal__info {
  & .c-legal__info-term::after {
    content: '：';
  }
}

/* ============================
*  サイトマップ
* ========================== */
.page-sitemap .c-page-heading {
  margin-block-end: 0;
}

.page-sitemap .l-inner {
  padding-block: 6.25rem;
  @media screen and (max-width: 768px) {
    padding-block: 2.375rem 5rem;
  }
}

.c-sitemap__nav {
  display: flex;
  gap: clamp(2rem, 11.71vw, 10rem);

  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.c-sitemap__list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2.5rem 10rem;

  @media screen and (max-width: 768px) {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 0;

    padding-inline-start: 1.5rem;
  }
}

.c-sitemap__item {
  position: relative;
  padding-inline-start: 1.25rem;

  transition: var(--transition-base);

  &::before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 0.688rem;
    height: 0.688rem;
    margin-block-start: 2px;
    background-image: url(../images/arrow/arrow-circle-red.svg);
  }

  &:first-of-type {
    height: fit-content;
  }

  /* Hover State */
  &:hover {
    opacity: 0.6;
  }

  @media screen and (max-width: 768px) {
    .c-sitemap__list &:not(.c-sitemap__item--single) {
      width: 160px;
    }
  }
}

.c-sitemap__link {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-red);
}

/* ============================
*  404 Not Foud
* ========================== */
.page-404__content {
  .page-404 & .l-inner {
    padding-block-start: 0;
    padding-block-end: 6.25rem;
  }
}

.page-404__desc {
  margin-block-end: 4rem;

  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    line-height: 1.714;
  }
}
