/* =============================================
   others.css – ご縁のある寺院ページ
   ============================================= */

:root {
  --orange: #e45b08;
  --yellow: #ffce00;
}


.others-section{
  padding: 70px 8vw;
  scroll-margin-top: 130px;
  position: relative;
}

#others .decorate-tree-l-t{
  transform: scale(-1,1);
  width: 40vw;
  z-index: 0;
  opacity: 0.25;
  min-width: 350px;
  min-width: 150px;
}


#others .decorate-tree-r-b{
  width: 30vw;
  opacity: .25;
  min-width: 250px;
}



.others-lead {
  margin: 50px auto 0;
  text-align: center;
  color: #666;
  padding: 0 20px;
}


.others-lead p span{
  display: block;
}

#others{
  background: url("../img/bk/bk-white-wa.jpg") repeat;
}


.others-inner {
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;

}

.temple-card {
  scroll-margin-top: 130px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  overflow: hidden;
  text-align: left;
  box-shadow: 3px 3px 10px rgba(212, 190, 120, .15);
  position: relative;
  padding: 30px;
  gap: 30px;
  max-width: 600px;
  flex-direction: column;
  
}

.temple-card::after {
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(212, 190, 120, 0), rgba(212, 190, 120, .95), rgba(212, 190, 120, 0));
}

.temple-card::before {
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 190, 120, 0), rgba(212, 190, 120, .95), rgba(212, 190, 120, 0));
}

.temple-card-info {
  z-index: 1;
  flex: 1;
  min-width: 0;
  position: relative;
}


.temple-card-info::before {
  content: "";
  display: block;
  position: absolute;
  right: -30px;
  top: -30px;
  width: 40%;
  min-width: 150px;
  aspect-ratio: 567/850;
  background: url("../img/decorate/momiji.png");
  background-size: cover;
  transform: scale(-1,1);
  opacity: 0.5;
  z-index: 0;
}



.temple-sect {
  color: #81370b;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.temple-card h2 {
  font-family: "Hina Mincho", serif;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  color: #201542;
}

.temple-role {
  color:#302653;
  font-weight: 700;
  font-family: "Shippori Mincho B1", serif;
  margin: 0 0 10px;
}

.temple-address {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 10px;
}

.temple-address i {
  flex-shrink: 0;
  margin-top: 7px;
  color: #000;
  font-size: 80%;
}

.temple-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 200px;
  height: 38px;
  background: #6b5a86;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: .3s;
}

.temple-map-btn:hover {
  background-color: #201542;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(43, 25, 57, 0.24);
}

.temple-card-map {
  flex-shrink: 0;
  z-index: 1;
  width: 100%;
}

.temple-card-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}


@media (max-width: 1048px) {
  
  .others-lead {
    margin: 0 auto ;
  }
}

@media (max-width: 800px) {
  
  .others-lead p  {
    text-align: left;
  }
  .others-lead p span {
    display: inline;
  }
  .others-inner { 
    grid-template-columns: 1fr; 
  }
  
  .temple-card {
    max-width: 100%;
    padding: 20px;
  }
  .temple-card-map { width: 100%; height: 220px; }
  .temple-card-map iframe { min-height: 220px; }
}
