/* ============================================================
   相川商店 カスタムCSS
   Google Fonts: Noto Serif JP 読み込み
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500&display=swap');

/* ============================================================
   aikawa-heading：全セクション見出し共通スタイル
   ============================================================ */
.aikawa-heading {
  text-align: center;
  margin: 0 0 2rem;
  padding: 0;
  border: none;
  background: none;
}

.aikawa-heading__eyebrow {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: #013927;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.aikawa-heading__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.aikawa-heading__line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #013927;
}

.aikawa-heading__diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #C4A96A;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.aikawa-heading__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #013927;
}

/* カラーミーデフォルトの見出しスタイルを上書き */
.c-section__heading.aikawa-heading {
  display: block;
  text-align: center;
}

/* ============================================================
   aikawa-section：セクション共通余白
   ============================================================ */
.aikawa-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.aikawa-section-header {
  margin-bottom: 36px;
}

/* ============================================================
   カテゴリから探す
   ============================================================ */
.aikawa-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.aikawa-cat-item {
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.aikawa-cat-item:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.aikawa-cat-circle-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  margin-bottom: 12px;
}

.aikawa-cat-circle-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #013927;
  padding: 5px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.aikawa-cat-item:hover .aikawa-cat-circle-outer {
  border-color: #C4A96A;
}

.aikawa-cat-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #EAF2EC;
}

.aikawa-cat-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: bottom;
}

.aikawa-cat-name {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #013927;
  margin-bottom: 2px;
  text-decoration: none;
}

.aikawa-cat-name-en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #C4A96A;
}

/* ============================================================
   ご予算から探す
   ============================================================ */
.aikawa-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.aikawa-budget-card {
  display: block;
  text-decoration: none;
  border: 1px solid #013927;
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.aikawa-budget-card:hover {
  background: #EAF2EC;
  border-color: #C4A96A;
  opacity: 1;
}

.aikawa-budget-label {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #013927;
  margin-bottom: 6px;
}

.aikawa-budget-price {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #013927;
}

/* ============================================================
   スマホ対応
   ============================================================ */
@media (max-width: 640px) {
  .aikawa-heading__title {
    font-size: 16px;
  }
  .aikawa-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
  }
  .aikawa-cat-name {
    font-size: 11px;
  }
  .aikawa-cat-name-en {
    font-size: 9px;
  }
  .aikawa-budget-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .aikawa-budget-card {
    padding: 14px 8px;
  }
  .aikawa-budget-price {
    font-size: 12px;
  }
  .aikawa-budget-label {
    font-size: 9px;
  }
  .aikawa-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

/* ============================================================
   既存スタイル（変更なし）
   ============================================================ */
.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #00CC00;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #f8f8f8;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

.slider {
  margin-left: auto;
  margin-right: auto;
  max-width: 100% !important;
}

.custom-button-full {
  background: #013927;
  border: 1px solid #013927;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
}

.custom-button-full:after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-bottom: 2px;
  vertical-align: middle;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}
/* 最近チェックした商品 見出し統一 */
.c-section__heading--title span {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  color: #013927 !important;
}