﻿@charset "UTF-8";

.product-section {
  max-width: 1032px;
  margin: 0 auto;
  padding: 40px 16px;
  text-align: center;
  /*background-color: #f7f7f7;  背景色変更 */
  /*border-radius: 12px; */
}

.section-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3カラム */
  gap: 20px;
  row-gap: 40px;       /* 行間を広めに設定 */
  /*justify-items: center;  カード中央寄せ */
  justify-items: stretch; /* カラム幅を均等に */
}

.section3 {
  /*text-align: center; */
  /*width: 100%; */
  /*max-width: 320px;  任意でカード幅制限 */
  display: flex;
  flex-direction: column; /* 縦積み */
  justify-content: space-between; /* 上のコンテンツとCTAを上下に配置 */
  height: 100%; /* カード高さを揃える */
  background-color: #fff; /* 必要に応じて背景色 */
  padding: 12px;
  box-sizing: border-box;
}

.section3 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.section-content {
  flex-grow: 1; /* 余白を埋めてCTAボタンを下に固定 */
  display: flex;
  flex-direction: column;
  text-align: left; /* 表を左寄せに */
  margin-bottom: 12px; /* 下の画像との余白 */
}

.section-content h3 {
  font-size: 1.2rem;
  margin: 8px 0;
  text-align: center; /* タイトル中央寄せ */
}

.section-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 10px; /* h3との余白・表との余白 */
  text-align: center; /* 中央揃えにする場合 */
}

.section-banner img {
  width: 70%;
}

/* 表 */
.product-table {
  width: 100%;
  border-collapse: collapse; /* 直角の罫線用 */
  /*margin-top: 10px;*/
  font-size: 0.8rem;
  text-align: left;
}

/* PC時：2行4列 */
.product-table th,
.product-table td {
  padding: 10px 12px;
  border: 1px solid #C8CED0; /* 薄いグレーの罫線 */
  vertical-align: middle;
}

.product-table th {
  background-color: #E9EBEC;
  font-weight: 600;
  width: 40%;
  color: #333;
}

.product-table td {
  background-color: #fff;
  width: 60%;
  color: #444;
}

.product-table td span {
  color: #B62B2B;
  font-weight: 600;
}

.size-table tr:last-child th,
.size-table tr:last-child td {
  border-bottom: none;
}

/* ボタン */
.section3 .cta-button {
  display: block;
  width: 90%;
  margin: 12px auto 0;
  padding: 10px 0;
  /*background-color: #333;*/
  background-color: #75787b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}
.section3 .cta-button:hover {
  /*background-color: #555;*/
  background-color: #96999C;
}

/* 共通_大見出し */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px !important;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #ccc;
  border-radius: 2px;
}

/* 共通_リード文 */
.section-lead {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

#itemList_wrap {
  display: none;
}

/* ナビ */
.anchor-nav {
  max-width: 1032px;
  margin: 0 auto 40px;
  background: #fff;
}

.anchor-nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #ccc; /* 左端の縦線 */
  border-right: 1px solid #ccc; /* 右端の縦線 */
}

.anchor-nav li {
  flex: 1;
  text-align: center;
  position: relative;
}

.anchor-nav li:not(:last-child) {
  border-right: 1px solid #ccc; /* 各項目の区切り線 */
}

.anchor-nav a {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 10px 0;
  position: relative;
  transition: color 0.2s;
}

/* 下線アニメーション部分 */
.anchor-nav a::after {
  content: "";
  position: absolute;
  left: 25%;        /* ← 左から25%の位置に配置 */
  right: 25%;       /* ← 右から25%の位置で終わる（つまり中央50%の長さ） */
  bottom: 4px;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}

.anchor-nav a:hover::after {
  transform: scaleX(1); /* アニメーションで線が伸びる */
}

.anchor-nav a:hover {
  color: #000;
}

.desc-section {
  /*background-color: #f7f7f7;*/
  padding: 60px 20px;
  text-align: center;
}

.desc-content .desc-cta-button {
  display: inline-block;
  /*background-color: #333;*/
  background-color: #75787b;
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.desc-content .desc-cta-button:hover {
  /*background-color: #555;*/
  background-color: #96999C;
}


@media (max-width: 1024px) {
  .section-container {
    grid-template-columns: repeat(2, 1fr); /* タブレット：2カラム */
    row-gap: 30px; /* タブレット時は少し狭め */
  }
}


/* スマホ対応 */
@media (max-width: 768px) {

   .anchor-nav {
    max-width: 90%;
    margin: 10px auto;
    background: #fff;
  }
  .section-container {
    grid-template-columns: 1fr; /* SP：1カラム */
    row-gap: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-lead {
    font-size: 0.95rem;
    text-align: left;
  }

  .section-banner img {
    width: 100%;
  }

  .section-content {
    text-align: center;
  }

  .product-table {
    font-size: 0.85rem;
  }

  .anchor-nav a {
    font-size: 14px;
    padding: 12px 0;
  }
}