@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@500&display=swap');

/* 目次 */
.column-contents__anchor--list li ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 20px;
}

.column-contents__anchor--list li ul li {
  position: relative;
  padding-left: 2em;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  border-top: none;
}

.column-contents__anchor--list li ul li:last-child {
  margin-bottom: 0;
}

.column-contents__anchor--list li ul li::before {
  content: "―";
  position: absolute;
  left: 0.5em;
  top: 0;
  color: #666;
}

.column-contents__anchor--list li ul li a {
  text-decoration: none;
  display: block;
}

/* awooタグ表示エリア */
.tag-section {
  padding: 0;
}

/* 「awoo-product-tags」の中に要素がある場合のみ、親のsectionに余白を付ける */
.tag-section:has(.awoo-product-tags:not(:empty)) {
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .tag-section:has(.awoo-product-tags:not(:empty)) {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* h4 */
h4.column-title__lv4 {
  font-size: 20px;
  margin: 25px 0 0 0;
  font-weight: bold;
  display: block;
}

/* テキスト */
.color_red {
  color: #BF4B4B;
}

/* リンクテキスト・画像リンク */
.text-link {
  color: #1558d6;
  text-decoration: underline !important;
  transition: all .5s ease;
}

a.img-link img:hover {
  opacity: 0.8;
}

/* リストスタイル */
ul.list-text {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

li.list-text__item {
  padding-left: 1em;
  text-indent: -1em;
  margin-top: 15px;
  margin-bottom: 0;
}

li.list-text__item:first-child {
  margin-top: 0;
}

li.list-text__item>* {
  text-indent: 0;
  margin-bottom: 0;
  line-height: 1.8;
}

li.list-text__item>*:first-child {
  text-indent: -1em;
}

li.list-text__item>h4.column-title__lv4:first-child {
  margin-top: 25px;
  margin-bottom: 5px;
  display: block;
}

li.li-content-none{
  padding-left: 0 !important;
}
li.li-content-none::before{
  content: none !important;
}

/* 大きいリード文テキスト */
.contents-lead-text {
  text-align: center;
  font-size: 30px;
}

@media screen and (max-width: 767px) {
  .contents-lead-text {
    font-size: 24px;
  }
}

/* 画像 */
@media screen and (min-width: 768px) {
  .image-center img {
    max-width: 640px !important;
  }
}

.image-caption {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* テーブルレイアウト */
.table-wrapper {
  width: 100%;
  margin: 15px 0;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #a8c0cc;
  table-layout: fixed;
}

.custom-table th,
.custom-table td {
  padding: 12px 15px;
  border: 1px solid #a8c0cc;
  vertical-align: middle;
  word-break: break-all;
  text-align: left;
}

.custom-table th {
  background-color: #d0e4ed;
  font-weight: bold;
}

.custom-table td {
  font-weight: normal;
}

.custom-table tr>*:nth-child(1) {
  text-align: var(--col1-align);
}

.custom-table tr>*:nth-child(2) {
  text-align: var(--col2-align);
}

/* テーブルアコーディオン有り */
.table-accordion-container {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.table-accordion-container.is-collapsed {
  max-height: 250px;
  /* 高さは適宜調整 */
}

.table-accordion-container.is-collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
  pointer-events: none;
}

.table-expand-button-area {
  text-align: center;
  margin-top: 5px;
  position: relative;
  z-index: 2;
}

.table-expand-button {
  background: none;
  border: none;
  color: #0076a3;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 14px;
}

.table-expand-button:hover {
  text-decoration: underline;
}

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

  .custom-table th,
  .custom-table td {
    padding: 10px 8px;
  }
}

/* 商品紹介エリア（CTA無し） */
.product-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.6;
}

.product-section .product-header {
  text-align: center;
  margin-bottom: 30px;
}

.product-section .product-header .sub-title {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.product-section .product-header .main-title {
  display: block;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-size: 32px;
}

.product-section .product-intro {
  margin-bottom: 30px;
}

.product-section .product-intro p {
  margin: 0 0 10px 0;
}

.product-section .note-small {
  display: block;
  font-size: 0.8em;
}

.product-section .product-media-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.product-section .media-item {
  flex: 1;
}

.product-section .media-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.product-section .description-container {
  position: relative;
  margin-top: 20px;
}

.product-section .description-container::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #f0f7f9;
}

.product-section .description-box {
  background-color: #f0f7f9;
  padding: 20px;
  border-radius: 10px;
}

.product-section .description-box p {
  margin: 0 0 10px 0;
}

.product-section .description-box .footnotes {
  font-size: 0.8em;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .product-section .product-header .sub-title {
    font-size: 16px;
  }

  .product-section .product-header .main-title {
    font-size: 20px;
  }

  .product-section .product-media-grid {
    flex-direction: column;
    gap: 20px;
  }

  .product-section .media-item {
    width: 100%;
  }

  .product-section .description-container::before {
    right: 50%;
    transform: translateX(50%);
  }
}

/* 商品紹介ボックスタイプ（CTA無し） */
.item-link-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 30px;
  width: fit-content;
  max-width: 1000px;
  margin: 40px auto;
  border: 2px solid #ffccd1;
  padding: 30px 30px 20px;
  border-radius: 0.3em;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  text-align: center;
}

.item-link-box .item-card {
  flex: 1;
  width: 500px;
  min-width: 280px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-link-box .item-description {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: bold;
}

.item-link-box .item-anchor {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: opacity 0.3s;
}

.item-link-box .item-anchor:hover {
  opacity: 0.7;
}

.item-link-box .item-visual {
  width: 240px;
  margin: 0 auto 10px;
}

.item-link-box .item-visual img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.item-link-box .item-name {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline;
}

.item-link-box .item-spec {
  margin-top: 25px;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
  text-align: left;
  align-self: flex-start;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .item-link-box {
    width: 100%;
    padding: 30px 20px 20px;
  }

  .item-link-box .item-card {
    width: 100%;
    min-width: 100%;
  }
}

/* 引用元表示エリア */
.reference-list {
  padding: 0 10px 0 24px;
}

.reference-list li {
  margin-bottom: 16px;
}

.reference-list li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .reference-list {
    padding: 0;
  }
}

/* 商品紹介ボックスタイプ（CTA有り、追加スタイル） */
p.feature__products--limitedPrice--text {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background: #f05959;
  padding: 3px 5px 4px;
  margin-bottom: 4px;
}