﻿.kvArea {
  margin-bottom: 80px;
}

.page-contents {
  min-height: 600px;
  margin-bottom: 150px;
  padding-bottom: 0;
  margin-top: 30px;
}

.page-container {
  width: 950px;
  margin: 0 auto;
}

.kv-title {
  font-size: 18px;
  font-weight: bold;
}
.kv-text {
  font-size: 14px;
  line-height: 1.8;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid rgb(68, 68, 68);
  margin-bottom: 1em;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.keyword-list li {
  display: inline-block;
}

.keyword-list a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  background-color: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.keyword-list a:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #000;
}

.keyword-section {
  margin-bottom: 80px;
}

/* index-section: 左寄せ＆デザイン */
.index-section {
  background-color: #f9f9f9;
  padding: 1.5em;
  border-radius: 8px;
  margin: 2em 0;
  width: auto;
  max-width: 500px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.index-section .section-subtitle {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 1em;
  text-transform: uppercase;
  padding-bottom: 0.4em;
  text-align: left;
  border-bottom: none;
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc-counter;
}

.index-list li {
  counter-increment: toc-counter;
  padding: 0.6em 0;
  padding-left: 1.5em;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
  text-align: left;
}

.index-list li::before {
  content: counter(toc-counter) "．";
  position: absolute;
  left: 0;
  color: #999;
  font-weight: bold;
}

.index-list a {
  text-decoration: none;
  color: #0070c0;
  transition: color 0.2s;
}

.index-list a:hover {
  color: #005999;
}

/* category-section: ページ内リンクボタンスタイル */
.category-section {
  margin: 0 auto 80px;
  max-width: 950px;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin: 0;
}

.category-list a {
  display: block;
  justify-content: center;
  padding: 20px 16px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.category-list a::after {
  content: "\25BC";
  font-size: 10px;
  margin-left: 6px;
  transform: scale(0.8);
  color: #888;
}

.category-list a:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #000;
}


/* banner-section: 正方形バナー（4列） */
.banner-section {
  max-width: 950px;
  margin: 30px auto 40px;
}

.banner-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.banner-list li {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.banner-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
  display: block;
}


/* product-list: 商品カードグリッド */
.section-product{
  margin-bottom: 80px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 950px;
  margin: 0 auto 20px;
}

.product-card {
  border: 1px solid #ddd;
  padding: 1em;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-card-inner {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-image {
  position: relative;
  flex: 0 0 45%;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.badge {
  width: fit-content;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-info h3 {
  font-size: 16px;
  margin: 0 0 15px 0;
  font-weight: bold;
}

.product-info p {
  font-size: 14px;
  margin: 0 0 1em 0;
  line-height: 1.4;
}

.btn {
  background-color: #1E4B8B;
  color: white;
  text-align: center;
  display: block;
  width: 80%;
  padding: 12px 0;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin: 15px auto ;
}



/* item-section: 張り替えに必要なアイテム */
.section-items-hero{
  margin-bottom: 40px;
}

.item-section {
  max-width: 950px;
  margin: 3em auto;
  padding: 1em;
}

.item-section .section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
}



.item-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1em;
}

.catch-copy {
  font-size: 16px;
  font-weight: bold;
  margin: 1.5em 0 0.5em;
  color: #333;
}

.item-description {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1em;

}


/* step-section */
.step {
  max-width: 950px;
  margin: 20px auto 40px ;
}

.step h3 {
  font-size: 14px;
  font-weight: bold;
}

.step img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1em;
}

.step p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1em;
}


.video-wrapper {
  max-width: 950px;
  margin: 2em auto;
  background-color: #fff;
}

.video-wrapper h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1em;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  height: 0;
  overflow: hidden;
  border: 1px solid #ccc;

}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.qa-section {
  max-width: 950px;
  margin: 3em auto;
}

.qa-section .section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1.5em;
  color: #d60000;
  border-left: 4px solid #d60000;
  padding-left: 0.5em;
  border-bottom: none;
}

.qa-box {
  margin-bottom: 1.5em;
}

.qa-box h3 {
  background-color: #e6ecf8; /* Q背景色 */
  padding: 1em;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.qa-box p {
  background-color: #f5f5f5; /* A背景色 */
  padding: 1em;
  margin: 0;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #ddd;
}



/* swiper-section: カルーセル */
.swiper-section {
  max-width: 950px;
  margin: 4em auto;
  position: relative;
  overflow: visible; 
}

.swiper-section .swiper-title {
  font-size: 16px;
  display: inline-block;
  padding: 7px 10px;
  color: #fff;
  border-bottom: 1px solid #444;
  margin-bottom: 1em;
  font-weight: bold;
  background-color: #1e4b8b;
}

.swiper {
  width: 100%;
  padding-bottom: 2em;
}

.swiper-slide {
  text-align: center;
  background: #fff;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;

}

.swiper-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.swiper-more a {
  display: inline-block;
  /* background-color: #1e4b8b; */
  color: #1e4b8b;
  border: 1px solid #1e4b8b;
  padding: 18px 35px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.swiper-more a::after {
  content: '\25B6';
  font-size: 12px;
  margin-left: 0.5em;
}


.swiper-button-next,
.swiper-button-prev {
  width: 32px;          /* ← 元は44px */
  height: 32px;         /* ← 同上 */
  margin-top: 6px;    /* 高さの半分（中央配置のため） */
  top: 35%;
  z-index: 10;
  cursor: pointer;
}

.swiper-button-prev {
  left: 0px;
}

.swiper-button-next {
  right: 0px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;      /* ← 元は16px。矢印アイコン自体も小さく */
}






