/*-----セクションタイトル-----*/
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  border-bottom: 2px solid #4F7942;
  display: block;
  padding-bottom: 5px;
  color: #4F7942;
}

/*-----霊園名と紹介文-----*/
.cemetery-title{
    font-weight: bold;
    font-size: 2rem; 
    border-bottom: 3px solid #4F7942;
    padding-bottom: 0.3em; /* 下線と文字の間に少し余白 */
    margin-bottom: 1em;    /* 次の要素との間隔 */
}
.intro-catch {
    color: #4F7942;
    text-align: center;
    font-size: 1.5rem; 
    margin-bottom: 1.5em;
}
.intro{
  margin-bottom: 4rem;
}

/*-----メインスライダー------*/
.main-slider {
    width: 100%;
    margin-bottom: 20px;
  }
.main-slider img {
    width: 100%;
    height: 500px;
    border-radius: 8px;
 }
 @media(max-width: 767px){
  .main-slider img{
    height: 300px;
  }
 }
  
/*-----サムネイルスライダー-----*/
.thumb-slider {
    padding-bottom: 20px;
    margin-bottom: 1.5em;
}
.thumb-slider .swiper-slide {
    width: 90%;
    opacity: 0.6;
    cursor: pointer;
    text-align: center;
}
.thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
}
.thumb-slider img {
    height: 80px;
    border-radius: 4px;
}
@media(max-width: 767px){
  .thumb-slider img{
    height: 50px;
  }
}

.swiper-button-prev,
.swiper-button-next {
  background-color: #4F7942;
  color: #fff !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: var(--swiper-navigation-top-offset, 19.5%) !important;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  user-select: none;
}
@media (max-width: 767px) {
  .swiper-button-prev,
  .swiper-button-next{
    position: absolute;
    top: 10% !important;
  }
}

.swiper-button-prev {
  left: -24px;
}

.swiper-button-next {
  right: -24px;
}

/* Swiperのデフォルトの矢印を消す */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
  content: none;
}

.intro-txt01{
  text-align: center;
}


/*-----特徴-----*/
.feature-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.feature-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.feature-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.feature-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #4F7942;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .feature-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .feature-card {
    flex: 1 1 100%;
  }
}

/*-----参考価格-----*/


.price-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.price-image{
  flex: 0 0 40%;
}
.price-image img {
  border-radius: 8px;
}

.price-list {
  display: flex;
  flex-direction: column;
  margin: auto;
  gap: 2rem;
  flex: 1;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.plan-name {
  background-color: #4F7942;
  color: white;
  padding: 10px 20px;
  font-size: 1.5rem;
  width: 25%;
  text-align: center;
}

.plan-price {
  font-size: 1.2rem;
  color: #333;
  font-weight: bold;
}

.price-highlight {
  font-size: 2rem;
  color: #B65C2E;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .price-layout {
    flex-direction: column;
  }

  .plan-price{
    display: flex;
  }

  .price-list{
    margin: 0;
    gap: 1rem;
  }

  .price-item {
    font-size: 1rem;
    gap: 1rem;
  }

  .price-unit{
    font-size: 0.7rem;
    margin: auto auto 0;
    white-space: nowrap;
    font-weight: bold;
  }

  .price-highlight{
    font-size: 1.8rem;
    margin: auto auto 0;
  }

  .other-costs {
    display: flex;
    align-items: end;
    font-size: 0.7em;
    font-weight: bold;
    white-space: nowrap;
}

  .plan-name {
    min-width: 30%;
    font-size: 1rem;
    padding: 10px;
  }
}









/*-----価格表-----*/
/* --- 価格表ラッパー --- */
.price-table-wrapper {
  overflow-x: auto;
}

/* --- 価格表本体 --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #4F7942;
}

.price-table th,
.price-table td {
  border: 1px solid #4F7942;
  padding: 15px 20px;
  text-align: center;
  vertical-align: middle;
}

.price-table th {
  background-color: #4F7942;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}

.price-table td {
  background-color: #ffffff;
  font-size: 15px;
  color: #333;
}

/* 永代使用料と金額系カラムの右寄せ */
.price-table td:nth-child(2), /* 永代使用料 */
.price-table td:nth-child(4), /* 護持会費 */
.price-table td:nth-child(5) { /* 年間管理費 */
  text-align: center;
  white-space: nowrap;
}

/* --- 管理期間セクション --- */
.management-section {
  border: 1px solid #4F7942;
  margin-top: 5vh;
}

.management-period-header {
  background-color: #4F7942;
}

.management-period-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  text-align: center;
  margin: 0;
}

.management-period-content {
  background-color: #ffffff;
  padding: 20px 25px;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  text-align: center;
}

/* --- 価格表補足情報セクション --- */
.price-notes {
  font-size: 1vw;
  color: #333;
  line-height: 1.6;
  padding: 20px 0 0;
  text-align: left;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 768px) {
  .price-table th,
  .price-table td {
      padding: 12px 10px;
      font-size: 13px;
  }
  
  .price-table th {
      font-size: 14px;
  }
  
  /* モバイルでは文字を小さくして調整 */
  .price-table td {
      font-size: 12px;
  }
  
  .management-period-title {
      font-size: 15px;
      padding: 12px 15px;
  }
  
  .management-period-content {
      padding: 15px 20px;
      font-size: 13px;
  }
  
  .price-notes {
      font-size: 12px;
      padding: 15px 0;
  }
}

@media screen and (max-width: 480px) {
  .price-table th,
  .price-table td {
      padding: 8px 5px;
      font-size: 11px;
  }
  
  .price-table th {
      font-size: 12px;
  }
}



/* 施設・設備セクション */
.facilities-section {
  margin: 4rem 0;
}

.facilities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.facility-item {
  background-color: #f8f9fa;
  border: 1px solid #4F7942;
  padding: 0.5rem 1.5rem;
  color: #4F7942;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .facility-item {
      font-size: 13px;
      padding: 6px 12px;
  }
}


/*アクセス情報*/
/* アクセス情報セクション */
.access-section {
  margin: 40px 0;
}

.access-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.access-left {
  flex: 1;
  min-width: 0;
}

.access-right {
  flex: 1;
  min-width: 0;
}

.access-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.access-subtitle {
  font-size: 1.17em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  margin-top: 0;
}

.access-car {
  margin-bottom: 25px;
}

.access-train-bus {
  margin-bottom: 0;
}

.access-icon {
  color: #000;
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .access-content {
      flex-direction: column;
      gap: 20px;
  }
  
  .access-left,
  .access-right {
      flex: none;
      width: 100%;
  }
  
  .access-subtitle {
      font-size: 15px;
  }
  
  .access-text,
  .access-item {
      font-size: 13px;
  }
}


/*基本情報*/
/* 基本情報セクション */
.basic-info-section {
  margin: 40px 0;
}

.info-row {
  display: flex;
  min-height: 50px;
}

.info-label {
  width: 120px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.info-value {
  flex: 1;
  padding: 15px 20px;
  color: #333;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .info-row {
    display: flex;
    min-height: auto;
  }
  
  .info-value {
      padding: 10px 15px;
  }

  .info-label{
    width: 18vw;
  }
}