/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 24 2026 | 14:49:00 */
/* =========================================
   墓石建立 お墓づくり一覧
========================================= */

.nagata-grave-select {
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 10px 20px 70px;
  color: #332211;
  line-height: 1.8;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  box-sizing: border-box;
}

.nagata-grave-select *,
.nagata-grave-select *::before,
.nagata-grave-select *::after {
  box-sizing: border-box;
}

/* WordPress側の余白対策 */
.entry-content .nagata-grave-select,
.wp-block-html .nagata-grave-select {
  margin-top: 0 !important;
}

/* =========================================
   H2見出し
========================================= */

.nagata-grave-select .ns-h2-wrapper {
  text-align: center;
  padding: 28px 0 18px;
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nagata-grave-select .ns-h2-sub {
  font-size: 1.1rem;
  margin: 0 0 6px;
  letter-spacing: 0.1em;
  color: #4e342e;
  line-height: 1.7;
  background: transparent !important;
  border: none !important;
}

.nagata-grave-select .ns-h2-wrapper h2 {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 0 0.4em !important;
  font-size: 2.15rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.4em !important;
  color: #332211 !important;
  text-align: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.nagata-grave-select .ns-h2-wrapper h2::before,
.nagata-grave-select .ns-h2-wrapper h2::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nagata-grave-select .ns-h2-line {
  width: 78%;
  margin: 16px auto 0;
  border-bottom: 1px dotted #888;
  height: 1px;
}

/* =========================================
   導入文
========================================= */

.nagata-grave-select .grave-select-intro {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.nagata-grave-select .grave-select-intro p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #332211;
}

/* =========================================
   一覧
========================================= */

.nagata-grave-select .grave-select-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================================
   各項目
========================================= */

.nagata-grave-select .grave-select-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 34px;
  padding: 34px 40px;
  background: #fff;
  border: 1px solid rgba(112, 98, 65, 0.18);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(45, 52, 40, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nagata-grave-select .grave-select-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(45, 52, 40, 0.11);
}

.nagata-grave-select .grave-select-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, #867040, #c9b071);
}

.nagata-grave-select .grave-select-item.featured::before {
  background: linear-gradient(180deg, #5d4a22, #d5b766);
}

/* =========================================
   デザイン墓：ダーク背景
========================================= */

.nagata-grave-select .grave-select-item.design {
  background: #2f3f32;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 46px rgba(47, 63, 50, 0.22);
}

.nagata-grave-select .grave-select-item.design::before {
  background: linear-gradient(180deg, #c9b071, #8d7847);
}

.nagata-grave-select .grave-select-item.design .grave-select-label {
  color: #d8c58a;
}

.nagata-grave-select .grave-select-item.design h3,
.nagata-grave-select .grave-select-item.design h3 span {
  color: #fffaf0 !important;
}

.nagata-grave-select .grave-select-item.design .grave-select-lead {
  color: #efe6c8;
}

.nagata-grave-select .grave-select-item.design p {
  color: #f5f0e6;
}

.nagata-grave-select .grave-select-item.design .grave-select-bottom {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.nagata-grave-select .grave-select-item.design .grave-select-price span {
  color: #d8c58a;
}

.nagata-grave-select .grave-select-item.design .grave-select-price strong {
  color: #fffaf0;
}

.nagata-grave-select .grave-select-item.design .grave-select-button {
  background: #c9b071;
  color: #2f3f32 !important;
}

.nagata-grave-select .grave-select-item.design .grave-select-button:hover {
  background: #fffaf0;
  color: #2f3f32 !important;
}

/* =========================================
   左アイコン画像
========================================= */

.nagata-grave-select .grave-select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nagata-grave-select .grave-select-icon-img {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* デザイン墓の画像も同じサイズ */
.nagata-grave-select .grave-select-item.design .grave-select-icon-img {
  width: 170px;
}

/* =========================================
   本文
========================================= */

.nagata-grave-select .grave-select-body {
  min-width: 0;
}

.nagata-grave-select .grave-select-label {
  margin-bottom: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #9a8450;
  font-family: "Times New Roman", serif;
}

.nagata-grave-select .grave-select-body h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
  color: #2d3428 !important;
  line-height: 1.35;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nagata-grave-select .grave-select-body h3::before,
.nagata-grave-select .grave-select-body h3::after {
  content: none !important;
  display: none !important;
}

.nagata-grave-select .grave-select-body h3 span {
  font-size: 0.7em;
  color: #6f665b;
}

.nagata-grave-select .grave-select-lead {
  margin: 0 0 8px !important;
  font-size: 1.15rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: #3f5744;
  font-weight: 600;
}

.nagata-grave-select .grave-select-body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #4c4740;
}

/* =========================================
   価格・ボタン
========================================= */

.nagata-grave-select .grave-select-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(112, 98, 65, 0.16);
}

.nagata-grave-select .grave-select-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.nagata-grave-select .grave-select-price span {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #7a7167;
}

.nagata-grave-select .grave-select-price strong {
  font-size: 1.05rem;
  font-weight: 500;
  color: #2d3428;
  letter-spacing: 0.05em;
}

/* =========================================
   詳しく見るボタン
========================================= */

.nagata-grave-select .grave-select-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 11px 22px;
  background: #2f3f32;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  border: none !important;
}

.nagata-grave-select .grave-select-button::after {
  content: "〉";
  margin-left: 8px;
  font-size: 0.9rem;
}

.nagata-grave-select .grave-select-button:hover {
  background: #7c6a43;
  color: #fff !important;
  transform: translateX(2px);
}

/* =========================================
   注釈
========================================= */

.nagata-grave-select .grave-select-note {
  margin-top: 26px;
  padding: 16px 20px;
  background: #fbfaf6;
  border: 1px solid rgba(112, 98, 65, 0.16);
}

.nagata-grave-select .grave-select-note p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5f5a52;
  letter-spacing: 0.04em;
}

/* =========================================
   スマホ調整
========================================= */

@media screen and (max-width: 768px) {

  .nagata-grave-select {
    padding: 5px 18px 55px;
  }

  .nagata-grave-select .ns-h2-wrapper {
    padding: 24px 0 16px;
  }

  .nagata-grave-select .ns-h2-sub {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .nagata-grave-select .ns-h2-wrapper h2 {
    font-size: 1.75rem !important;
    letter-spacing: 0.25em !important;
    padding-left: 0.25em !important;
    line-height: 1.45 !important;
    background: transparent !important;
    border: none !important;
  }

  .nagata-grave-select .ns-h2-line {
    width: 100%;
    margin-top: 14px;
  }

  .nagata-grave-select .grave-select-intro {
    text-align: left;
    margin-bottom: 28px;
  }

  .nagata-grave-select .grave-select-intro p {
    font-size: 1rem;
    line-height: 1.85;
  }

  .nagata-grave-select .grave-select-list {
    gap: 22px;
  }

  .nagata-grave-select .grave-select-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 22px 26px;
    align-items: start;
  }

  .nagata-grave-select .grave-select-icon {
    justify-content: center;
    align-items: center;
  }

  .nagata-grave-select .grave-select-icon-img,
  .nagata-grave-select .grave-select-item.design .grave-select-icon-img {
    width: 135px;
  }

  .nagata-grave-select .grave-select-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .nagata-grave-select .grave-select-body h3 {
    margin-bottom: 8px !important;
    font-size: 1.7rem !important;
  }

  .nagata-grave-select .grave-select-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 8px !important;
  }

  .nagata-grave-select .grave-select-body p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .nagata-grave-select .grave-select-bottom {
    display: block;
    margin-top: 18px;
    padding-top: 14px;
  }

  .nagata-grave-select .grave-select-price {
    margin-bottom: 14px;
  }

  .nagata-grave-select .grave-select-price span {
    font-size: 0.8rem;
  }

  .nagata-grave-select .grave-select-price strong {
    font-size: 1rem;
  }

  .nagata-grave-select .grave-select-button {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  .nagata-grave-select .grave-select-note {
    margin-top: 24px;
  }

  .nagata-grave-select .grave-select-note p {
    font-size: 0.9rem;
  }
}
