@charset "UTF-8";

/* ====================================
	共通スタイル
 ==================================== */
article {
  padding-top: 55px;
}

main[data-header-type="sub-navi"] article {
  padding-top: 55px;
}

main[data-header-type="default"] article {
  padding-top: 0;
}

/* セクション */
.sub-section {
  padding-top: 6rem;
}

/* コラム */
.sub-contents {
  background: var(--white-gray);
  margin-top: var(--margin-medium);
}

.page-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 1.5em;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1em;
}

.section-sub-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1em;
}

.sub-item:has(.section-sub-title) {
  margin-top: 5rem;
}

/* テキストボックス */
.text-container {
  margin-top: var(--margin-small);
}

.section-title + .text-container, .section-sub-title + .text-container {
  margin-top: 0;
}

/* イメージボックス */
.img-container {
  margin-top: var(--margin-small);
}

.section-title + .img-container, .section-sub-title + .img-container {
  margin-top: 0;
}

/* 自動再生動画 */
.video-container {
  margin-top: var(--margin-small);
}

/* カテゴリスキップリンク */
.category-skip-link {
  background-color: #000;
  margin-top: 2rem;
}

.list-category-skip-link {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 3em;
  font-size: 1.4rem;
  padding-block: .8em;
}

.list-category-skip-link > li > a {
  font-size: inherit;
  font-weight: 500;
  color: #fff;
  padding-right: 1.5em;
  position: relative;
}

.list-category-skip-link > li > a::after {
  content: '';
  inline-size: 1em;
  block-size: 1em;
  background: url('/assets/common/images/chevron-down-solid-w.svg') no-repeat center center/contain;
  position: absolute;
  right: 0;
  top: .35em;
}

/* カテゴリタイトル */
.category-title-wrapper {
  padding-top: 6rem;
}

.category-title {
  display: flex;
  align-items: center;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.category-title span {
  font-size: 1.4rem;
  font-weight: 500;
  margin-left: .8em;
}

/* セクション罫線 */
.section-border {
  border-top: none;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--light-gray);
}

/* スライダー */
.swiper-caption {
  font-size: 1.2rem;
  font-weight: 400;
  margin-block: .5em 1.1em;
}

.swiper-outer {
  margin-top: 4rem;
}

.swiper-controller {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-swiper-next, .btn-swiper-prev {
  inline-size: 25px;
  block-size: 20px;
  background: no-repeat center center / contain;
  margin-left: 1rem;
}

.btn-swiper-next {
  background-image: url('/sentaku/assets/common/images/swiper-slide-arrow.svg');
}

.btn-swiper-prev {
  transform: rotate(180deg);
  background-image: url('/sentaku/assets/common/images/swiper-slide-arrow.svg');
}

.swiper-button-disabled {
  opacity: .5;
  pointer-events: none;
}

.swiper-pagination-fraction {
  position: static;
  display: inline-block;
  inline-size: fit-content;
  font-size: 2rem;
  font-weight: 500;
}

/* サムネイル設定 */
.swiper-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 9%));
  column-gap: 1%;
  row-gap: 1rem;
  margin-top: .6em;
}

/* サムネイル・アクティブスライド */
.swiper-thumbs > li {
  border: 2px solid #fff;
}

.swiper-thumbs > li:has(.active) {
  border-color: #000;
}

/* ボタンリンク */
.btn-has-arrow-left {
  color: #fff;
  background-color: #000;
  transition: background-color .3s ease;
}

/* 特長ポップアップボタン */
.btn-feature-open {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: .8em;
  inline-size: fit-content;
  block-size: fit-content;
  align-items: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  padding: .5em 1em;
  transition: background-color .3s ease;
}

.btn-feature-open svg {
  inline-size: 1em;
  block-size: auto;
}

/* 2カラムレイアウト */
.flex-container.column2 {
  row-gap: 0;
}

/* ====================================
	ホバーが有効な環境のみ
===================================== */
@media (hover:hover) and (pointer: fine) {
  /* 特長ポップアップボタン */ :is(.btn-has-arrow-left, .btn-feature-open):hover {
    background-color: #fff;
    color: #000;
  }
}

/* ====================================
	スマートフォン専用スタイル（～768px）
===================================== */
@media screen and (width <768px) {
  .category-section-wrapper section:first-of-type {
    padding-top: 4rem;
  }
}

/* ====================================
	TAB、PC、印刷専用スタイル（768px～）
===================================== */
@media print, screen and (width >=768px) {
  article {
    padding-top: 48px;
  }

  .inner-base-width {
    max-inline-size: 900px;
    margin-inline: auto 0;
  }

  /* セクション */
  .sub-section {
    padding-top: 10rem;
  }

  .page-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-sub-title {
    font-size: 2.4rem;
  }

  .sub-item:has(.section-sub-title) {
    margin-top: 7rem;
  }

  /* カテゴリスキップリンク */
  .category-skip-link {
    margin-top: 4rem;
  }

  .list-category-skip-link {
    font-size: 1.6rem;
  }

  /* カテゴリタイトル */
  .category-title-wrapper {
    padding-top: 10rem;
  }

  .category-title {
    font-size: 8rem;
  }

  .category-title span {
    font-size: 1.8rem;
  }

  /* セクション罫線 */
  .section-border {
    padding-bottom: 10rem;
  }

  /* 特長ポップアップボタン */
  .btn-feature-open {
    font-size: 1.6rem;
  }

  /* 2カラムレイアウト */
  .flex-container.column2 {
    column-gap: 4%;
    justify-content: center;
  }

  .flex-container.column2 .sub-item {
    display: flex;
    flex-direction: column;
    inline-size: 48%;
  }

  .flex-container.column2 .sub-item .text-container {
    flex-grow: 1;
  }
}

/* ====================================
	PC専用スタイル（1200px～）
===================================== */
@media screen and (768px<=width <1200px) {
  .category-section-wrapper section:first-of-type {
    padding-top: 6rem;
  }
}

/* ====================================
	PC専用スタイル（1200px～）
===================================== */
@media screen and (width >=1200px) {
  .category-section-container {
    display: flex;
    justify-content: space-between;
  }

  .category-title-wrapper {
    display: block;
    flex: 1 0;
  }

  .category-title {
    display: block;
    font-size: 10rem;
    font-weight: 700;
    text-align: center;
    inline-size: fit-content;
    position: sticky;
    top: 116px;
    opacity: 0;
    transform: translateX(-30px);
  }

  .category-title span {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 1em;
    margin-left: unset;
  }

  .category-section-wrapper {
    max-inline-size: 900px;
  }
}
