/* =============================================
   index.css – TOP ページ スタイル
   ============================================= */

:root {
	--primary: #1456A0;
	--primary-dark: #0B3060;
	--accent: #3AADE0;
	--white: #fff;
	--gray-light: #f5f8fc;
	--text: #333;
}

/* =============================================
   FV (ファーストビュー)
   ============================================= */


#fv-top {
	position: relative;
	width: 100%;
  height: calc(105vh + 50px);
  height: 90vh;
  overflow: hidden;
}

.fv-top {
  position: relative;
  width: 100%;
  height:90vh;
}


.fv-top-info{
  background: url("../img/top/hero-filter.png");
  background-size: 100% 100%;
  display: block;
  width: 100%;
  height: calc(105vh + 50px);
  height: 90vh;
  z-index: 2;
  position: relative;
}



.fv-top-dec-matsu{
  background: url("../img/top/top-matsu.png") center;
  background-size: cover;
  width: calc(6vw + 220px);
  aspect-ratio: 4/10;
  position: absolute;
  bottom: -5vw;
  left:0;
  opacity: 0.85;
}


.fv-text{
  position: absolute;
  top: calc(5vh + 150px);
  padding-bottom: 50px;
  left: calc(7vw + 210px);
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-direction: row-reverse; 
  gap:5px;
  align-items: flex-start;
}

.fv-text h2{
  margin: 0;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  -webkit-text-orientation: upright;
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: min(55px,3vw);
  font-weight: 300;
  line-height: 1.35;
  white-space: nowrap;
  letter-spacing: 1px;
}

.fv-text h2:last-child{
  margin-top: 2.5vw;  
}


@media(max-width: 1560px){
  
  #fv-top,
  .fv-top,
  .fv-top-info{
    max-height: 700px;
    height: 700px;
  }
  
  .fv-text {
    top: calc(5vh + 100px);
  }
  
  .fv-top-dec-matsu {
    width: calc(6vw + 160px);
  }
  
}


@media(max-width: 1360px){
  
  #fv-top,
  .fv-top,
  .fv-top-info{
    max-height: 600px;
    height: 600px;
  }
  
}


@media(max-width: 1260px){
  .fv-text {
    top: calc(5vh + 80px);
    left: calc(7vw + 150px);
  }
}

@media(max-width: 1048px){
  
  #fv-top, .fv-top, .fv-top-info {
    max-height: 560px;
    height: 560px;
  }
  
  .fv-text h2 {
    font-size: 2.15rem;
  }
  
  .fv-top-dec-matsu {
    opacity: 0.5;
  }
  
  .fv-text {
    left: calc(12vw + 50px);
  }
}



@media(max-width: 600px){

  .fv-top-info{
    background: none;
  }
  
  .fv-top-info::before{
    content: '';
    display: block;
    width: 100vw;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    background: linear-gradient(to 215deg, rgba(32, 21, 66, 1), rgba(32, 21, 66, 0.1), transparent);
  }
  
  .fv-top-info::after{
    content: '';
    display: block;
    width: 100vw;
    height: 100%;
    right: 0;
    top: 0;
    position: absolute;
background: linear-gradient(
  45deg,
  rgba(32, 21, 66, 1) 0%,
  rgba(32, 21, 66, 0.1) 60%,
  transparent 100%
);
  }
  
      .fv-text {
        left: inherit;
        right: 10vw;
    }
  
  
    .fv-top-dec-matsu {
      opacity: 1;
      bottom: -5vw;
    }
  
      .fv-text h2 {
        font-size: 2.5rem;
        font-weight: 600;
        line-height: 1.25;
    }

  .fv-text h2:last-child {
    margin-top: 2rem;
  }
}

/* =============================================
   FV (ファーストビュー)
============================================= */

/* =============================================
   共通パーツ
   ============================================= */
.section-label {
  display: inline-block;
  font-family: "Shippori Mincho B1", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent, #d98c2b);
  margin-bottom: 6px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: #e45b08;
  color: #fff;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-more:hover { background: #201542; color: #fff; }

/* =============================================
   お知らせ・法話
   ============================================= */
.omoi-section {
  position: relative;
  z-index: 3;
  margin-top: -90px;
}

.omoi-section .main-section{
  padding-top: 0;
}


.omoi-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 0 36px 30px;
}

.omoi-divider {
  width: 1px;
  background: #e7dfd2;
  margin: 0 30px 0;
  height: calc(100% + 30px);
}

.omoi-col{
  display: flex;
  flex-direction: row;
  gap:20px;
}

.omoi-col-title {
  font-size: min(1.05rem, 1.5vw);
  font-weight: 400;
  letter-spacing: 0.3rem;
  margin: 0;
  padding: 34px 4px;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  color: #fff;
  height: fit-content;
}

.omoi-col-title-news {
  background: #6f461d;
  text-align: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.omoi-col-title-houwa { 
  background: #4a7ba6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: "Hina Mincho", serif;
}

.omoi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 20px;
  flex: 1 1 0;
  min-width: 0;
}

.omoi-list li {
  border-bottom: 1px dashed #e7dfd2;
}

.omoi-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
}

.omoi-list li a:hover .omoi-title { 
  opacity: 0.75;
}

.omoi-date {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #201542;
  font-weight: 600;
}

#howa .omoi-date {
  display: none;
}

.omoi-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
  font-family: "Hina Mincho", serif;
  color: #201542;
}

.omoi-empty {
  padding: 20px 2px;
  color: #999;
  font-size: 0.9rem;
}

@media (max-width: 1048px) {
  .omoi-columns {
    grid-template-columns: 1fr;
    background: #efefef;
    gap: 10px;
    padding: 0 ;
    box-shadow: none;
  }

  .omoi-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
  }

  .omoi-col {
    flex-direction:row;
    width: 100%;
    gap: 20px;
    padding: 10px;
    background: #fff;
  }
  
  .omoi-col-title {
    width: fit-content;
    padding: 4px;
  }
  
  .omoi-list {
    padding-top: 0;
  }
  
  
  
  .omoi-section {
    padding: 10px;
    margin-top: 0;
    background: #efefef;
  }
  
  .omoi-section .main-section {
    padding: 0;
  }
  
  .omoi-divider{
    display: none;
  }

  /* タイトルが長い場合は最大2行まで折り返す */
  .omoi-list li a {
    align-items: flex-start;
  }

  .omoi-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
  }

  .omoi-date {
    padding-top: 1px;
  }
}

@media (max-width: 600px) {
    .omoi-col-title {
        width: fit-content;
        padding: 6px 2px 5px;
        font-size: 0.85rem;
    }
}

/* =============================================
   十輪院について
   ============================================= */


/*==================================
ABOUT
==================================*/

#about{
  overflow:hidden;
  padding-top: 0;
}


#about .section-text{
  grid-template-columns: 56px /* button */ auto /* body */ auto /* title */ 0;
}

.about-text{
  display: flex;
  flex-direction: row-reverse;
  gap:30px;
}

/*-------------------------
上方圖片
-------------------------*/

.about-content{
  padding-right: 8vw;
}

.about-img-top{
  width:calc(100% - 8vw);
  margin-right:auto;
}

.about-img-top img{
  aspect-ratio:16/8;
  object-fit:cover;
}

@media(max-width:1560px){
  .about-content{
    padding-right: 5vw;
  }

  .about-img-top{
    width:calc(100% - 5vw);
  }

}

@media (max-width: 1048px) {
  .about-img-top{
    width: 100%;
  }
  
  #about .left-decorate {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 70%;
    transform: scale(-1, 1);
  }
  
  #about .section-text {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .about-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  #about .btn-box {
    display: none;
  }
  
  .section-body p {
    writing-mode: horizontal-tb;
  }
  
  .section-body p span{
    display: inline;
  }
  
}


/*-------------------------
下方圖片
-------------------------*/

.right-img-bottom{
  width:calc(100% - 8vw);
  margin-left:auto;

}

.right-img-bottom img{
  width: 100%;
}

@media(max-width: 1560px){
  
  .right-img-bottom{
    width:calc(100% - 5vw);
  }
}

@media (max-width: 1046px) {
    .right-img-bottom {
        width: 100%;
    }
}

/*==================================
ABOUT
==================================*/

/*==================================
ご供養・ご祈祷///
==================================*/
#service{
  padding-top: 0;
}

.service-content {
  padding-right: 8vw;
}


#service .section-text{
  grid-template-columns: auto /* body */ auto /* title */ 0;
}

.service-list{
  position:relative;
  margin-top:-180px;
  grid-template-columns: 65% 45% !important;
  z-index: 0;
}

.service-grid{
  display: grid;
  gap: 70px 50px;
  max-width: 100%;
  margin: 0;
  padding: 100px 4vw 200px 8vw;
  background: url("../img/bk/bk-white-wa.jpg") repeat;
  background-size: auto;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: center;
}

.service-item{
    text-align:center;
}

.service-item a{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:#333;
  transition:.3s;
  pointer-events: none;
}

.service-icon{
  width: 8vw;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f5f1f7;
  max-width: 150px;
}

.service-icon img{
  width: 66%;
  opacity: 0.8;
}

.service-item h3{
  font-size: 1.35rem;
  font-weight:500;
  color: #332269;
  margin-bottom:10px;
}

.service-item p{
  font-size: 14px;
  letter-spacing: 0.175rem;
  line-height: 1.8;
  color: #555;
  writing-mode: vertical-rl;
  text-align: start;
}

.service-item p span{
  display:block;
}

#service .right-decorate{
  display: flex;
  align-items: flex-end;
  height: 100%;
}

#service .right-decorate{
  position: relative;
  left: -5vw;
  bottom: 100px;
}


#service .right-img-bottom{
  position: relative;
  top:-100px;
}

@media(max-width: 1560px){
  
  .service-grid {
    gap: 50px 30px;
  }
}

@media (max-width: 1048px) {
  #service .section-text {
      display: flex;
      flex-direction: row-reverse;
      margin-top: 0;
      margin-bottom: 0;
  }
  
  
  #service .left-decorate {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 70%;
    transform: scale(-1, 1);
  }
  
  #service .section-text {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .section-body p {
    writing-mode: horizontal-tb;
  }
  
  
  .service-content{
    padding-bottom: 0!important;
  }
  
  #service .section-body p span{
    display: inline-block;
  }
  
  #service .right-decorate{
    position: absolute;
    right: inherit;
    left: -50px;
    transform: scale(-1, 1);
    width: 50vw;
    height: auto;
    bottom: -50px;
  }
  
  .service-grid {
    gap: 20px;
    width: 100%;
    padding: 50px 20px 120px 20px;
  }
  
  #service .service-list {
   padding: 0 0 50px 30px;
    justify-content: center;
    margin-top: 0;
  }
  
  .service-icon {
    width: 12vw;
  }

  #service .right-img-bottom {
     top: 0; 
  }
  
}

@media(max-width:600px){
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    background: none;
    margin-top: 0;
    padding-bottom: 50px;
    padding-top: 30px;
    gap: 10px;
  }
  
  #service .service-list {
    padding: 0 0 50px 0;
    margin-top: 0;
    gap: 10px;
  }
  
  #service .right-decorate{
      width: 70vw;
  }
  
  .service-item {
    padding: 20px;
    background: url("../img/bk/bk-white-wa.jpg") repeat;
    background-size: auto;
  }
  
  #service .left-decorate img {
    display: none;
  }

  .service-icon {
    width: 80px;
  }
  
  #service .section-body {
    margin-top: 10px;
  }
  
  #service .section-body p span {
    display: inline;
  }
}


/*==================================
ご供養・ご祈祷///
==================================*/



/*==================================
駐車場アクセス情報
==================================*/
.access-parking{
  background: url(../img/bk/bk-lightyellow-wa.jpg) repeat;
  background-size: auto;
}


.access-inner{
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  padding-bottom: 50px;
  max-width: 1500px;
}

.access-parking h2{
  letter-spacing: 8px;
}

.access-parking h2 span{
  letter-spacing: -0.25rem;
}



/* 左側 */
.access-content{
  width:42%;
}


.access-lead{
  line-height:2;
  margin-bottom:35px;
  text-align: center;
}





/* info */


.info-item{
  display:flex;
  border-bottom:1px solid #eee;
  min-height:75px;
}

.access-info{
  box-shadow: 3px 3px 10px #cfc3c3;
}



.info-icon{
  width:85px;
  background:#302653;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px;
  letter-spacing:.05em;
}


.info-icon i{
  font-size:18px;
}



.info-text{
  flex:1;
  display:flex;
  align-items:center;
  padding:15px 25px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.6);
}


/* Google button */

.map-button{

    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;

}


.map-button:hover{

    opacity:.75;

}



/* map */

.access-map{

    width:58%;

}


.access-map img{

    width:100%;

    display:block;

    object-fit:cover;

}





/* bottom note */

.parking-note{
  text-align:center;
  color:#555;
  font-family:"Shippori Mincho",serif;
}


.parking-note p{
  font-size:18px;
  letter-spacing:.08em;
}


.parking-note strong{
  color:#6b5a86;
  font-size:32px;
  font-weight:400;
  border-bottom: 1px solid #6b5a86;
}





/* =====================
   Tablet
===================== */

@media screen and (max-width:1024px){


.access-inner{

    gap:40px;

}


.access-content{

    width:45%;

}


.access-map{

    width:55%;

}


.section-title h2{

    font-size:28px;

}


.info-icon{

    width:70px;

}


.info-text{

    padding:12px 15px;

    font-size:14px;

}


}


/* =====================
   駐車場アクセス　SP
===================== */


@media screen and (max-width:1560px){
  
  .access-inner {
    gap: 30px;
  }
}

@media screen and (max-width:1048px){
  .access-inner {
    gap: 20px;
  }
  
  .access-lead {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .info-icon{
    width: 60px;
    gap: 2px;
    font-size: 10px;
  }
  
  .info-icon i {
    font-size: 12px;
  }
  
}


@media screen and (max-width:767px){



    .access-inner{
      width:100%;
      display:flex;
      flex-direction:column;
      padding-bottom: 30px;
      gap:40px;
    }



    .access-content,
    .access-map{

        width:100%;

    }




    .section-title{

        text-align:center;

    }


    .section-title h2{

        font-size:26px;

    }



    .access-lead{

        text-align:center;

        font-size:13px;

    }



    .info-item{

        min-height:70px;

    }


    .info-icon{

        width:65px;

        font-size:11px;

    }


    .info-icon i{

        font-size:16px;

    }



    .info-text{

        font-size:13px;

        padding:12px;

    }




    .map-button{

        width:180px;

        height:36px;

    }





    .parking-note p{

      font-size:15px;

      line-height:2;

    }


    .parking-note strong{

      font-size:26px;

    }


}




@media screen and (max-width:600px){
  .access-lead p{
    text-align: left;
  }

  .access-lead p br{
    display: none;
  }
  
  
}

/*--------------------------------
 駐車場案内
--------------------------------*/

.parking{
  position:relative;
  padding: 60px 0 100px;
  overflow:hidden;
  background: url(../img/bk/bk-lightyellow-wa.jpg) repeat;
  background-size: auto;
}


.parking-inner{
  width:90%;
  max-width:1200px;
  margin:auto;
}





/* list */

.parking-list{
  display:flex;
  gap:25px;
}



.parking-item{
  width:50%;
  border:1px solid #ddd;
  padding:20px;
  background: #fff;
  box-shadow: 3px 3px 10px #cfc3c3;
}

/* header */

.parking-head{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}



.parking-number{
  flex-shrink:0;
  width:70px;
  height:70px;
  border-radius:50%;
  background:#59417d;
  color:#fff;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
}


.parking-number small{
  font-size:11px;
  letter-spacing:.1em;
}


.parking-number span{
  font-size:22px;
  line-height:1.2;
}



.parking-info h3{
  font-family:"Shippori Mincho",serif;
  font-size:20px;
  font-weight:500;
  letter-spacing:.1em;
  margin-bottom: 0;
}



.parking-info p{
  font-size:13px;
  line-height:1.8;
  color:#555;
  margin:0;
}



/* image */

.parking-img{
  overflow:hidden;
}


.parking-img img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}



/* bottom message */

.parking-message{
  text-align:center;
  margin-top:70px;
}


.parking-message h3{
  font-weight: 500;
  letter-spacing:.15em;
  position:relative;
}


.parking-message h3::before,
.parking-message h3::after{
  content:"";
  display:inline-block;
  width:80px;
  height:1px;
  background:#ccc;
  vertical-align:middle;
  margin:0 25px;
}


/*--------------------------------
 responsive
--------------------------------*/


@media screen and (max-width:768px){

  .parking{
    padding:40px 0;
  }


  .section-title h2{
    font-size:24px;
  }


  .parking-list{
    flex-direction:column;
    gap:25px;
  }


  .parking-item{
    width:100%;
    padding:15px;
  }


  .parking-head{
    gap:15px;
  }


  .parking-number{
    width:60px;
    height:60px;
  }


  .parking-info h3{
    font-size:17px;
  }


  .parking-info p{
    font-size:12px;
  }


  .parking-img img{
    height:180px;
  }


  .parking-message{
    margin-top:50px;
  }


  .parking-message h3{
    font-size:18px;
  }


  .parking-message h3::before,
  .parking-message h3::after{
    width:35px;
    margin:0 7px;
  }


  .parking-message p{
    font-size:14px;
  }

}

@media screen and (max-width: 600px) {
    .parking-message h3::before, .parking-message h3::after {
      width: 15px; 
      margin: 0 5px;       
    } 
  
    .parking-message h3 {
      font-size: 20px;
    }
}
/*==================================
駐車場アクセス情報///
==================================*/

/* ========================================
   寺院導覽卡片
======================================== */

.temple-guide-section {
  width: min(1600px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 0;
  color: #201542;
}

.temple-guide-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.temple-guide-card{
  display:block;
  width:100%;
  min-width:0;
  min-height:355px;
  position:relative;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow: 3px 3px 10px #cfc3c3;
}

.temple-guide-card__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
}

/* 左側白色漸層，讓文字清楚 */
.temple-guide-card__gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: -webkit-linear-gradient(350deg, rgba(23, 16, 47, 0), rgba(23, 16, 47, 0.23), rgba(23, 16, 47, 0.52), rgba(23, 16, 47, 0.87), rgba(23, 16, 47, 1));
  background: -o-linear-gradient(350deg, rgba(23, 16, 47, 0), rgba(23, 16, 47, 0.23), rgba(23, 16, 47, 0.52), rgba(23, 16, 47, 0.87), rgba(23, 16, 47, 1));
  background: linear-gradient(80deg, rgba(23, 16, 47, 0), rgba(23, 16, 47, 0.23), rgba(23, 16, 47, 0.52), rgba(23, 16, 47, 0.87), rgba(23, 16, 47, 1));;
  transition: 0.5s ease;
}

.temple-guide-card:hover .temple-guide-card__gradient {
  background: 
    linear-gradient(80deg, 
      rgba(23, 16, 47, 0), 
      rgba(23, 16, 47, 0.13), 
      rgba(23, 16, 47, 0.32), 
      rgba(23, 16, 47, 0.57), 
      rgba(23, 16, 47, 0.75));;
}

.temple-guide-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  width: 100%;
  min-height: 355px;
  padding: 35px 20px 28px 28px;
  gap: 15px;
}


.temple-guide-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.temple-guide-card h3 {
  margin: 0 0 15px;
  padding: 3px 12px 5px 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
  writing-mode: vertical-rl;
  transition: 0.5s ease;
}


.temple-guide-card p {
  margin: 0 0 22px;
  font-size: 0.93rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: #fff;
  writing-mode: vertical-rl;
  margin-top: 5px;
}


.temple-guide-card:hover .temple-guide-card__photo {
  transform: scale(1.04);
  filter: brightness(1.03);
}


.temple-guide-card .btn-box a{
  border: 1px solid rgba(255,255,255,0.67);
}

.temple-guide-card .btn-box p{
  font-size: 85%;
  position: relative;
  letter-spacing: 0.15rem;
  margin: auto;
}

.temple-guide-card .btn-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
  height: 150px;
  color: #fff;
  position: relative;
  font-size: 0.93rem;
  padding: 0px 1px 5px;
  margin-top: 7px;
}

.temple-guide-card .btn-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0.005rem;
  height: 22px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
  transition: .35s;
}


.temple-guide-card:hover .btn-box{
  background: rgba(23, 16, 47, 0.8);  
}

.temple-guide-card:hover .btn-box::after {
  bottom: -30px;
}

/* ========================================
   納骨堂 Banner
======================================== */

.nokotsudo-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 185px;
  margin: 24px auto 60px;
  overflow: hidden;
  color: #201542;
  text-decoration: none;
  background: #f1ece8;
  isolation: isolate;
  width: min(1600px, calc(100% - 40px));
  box-shadow: 3px 3px 10px #cfc3c3;
}

/* 左側藤花圖騰 */
 .nokotsudo-banner__left {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: 45%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  pointer-events: none;
  object-position: center;
  transform: translateY(-50%);
}

.nokotsudo-banner__right{
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transition: transform 0.8s ease;
}

/* 中央文字區域保持明亮 */
.nokotsudo-banner__overlay {
  position: absolute;
  width: 80%;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, 
      rgba(250, 247, 244, 0.88) 0%, 
      rgba(250, 247, 244, 1) 25%, 
      rgba(250, 247, 244, 1) 50%, 
      rgba(250, 247, 244, 1) 75%, 
      rgba(250, 247, 244, 1) 25%, 
      rgba(250, 247, 244, 0) 100%);
}


.nokotsudo-banner__content {
  position: relative;
  z-index: 2;
  width: min(620px, 60%);
  padding: 28px 20px;
  text-align: center;
}

.nokotsudo-banner__content h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2em;
  transition: 0.5s ease-out;
}

.nokotsudo-banner__content h3 span {
  display: inline-block;
}


.nokotsudo-banner__content p {
  margin: 0 0 17px;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #504656;
}


.nokotsudo-banner__content span{
  display: block;
}

.nokotsudo-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-width: 180px;
  padding: 11px 22px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  background-color: rgba(32, 21, 66, 0.85);
  box-shadow: 0 5px 14px rgba(43, 25, 57, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}





/* ========================================
   平板
======================================== */

@media screen and (max-width: 1100px) {
  .temple-guide-section {
    width: min(100% - 30px, 1000px);
  }

  .temple-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .nokotsudo-banner__content {
    width: 66%;
    margin-left: 10%;
  }
}

@media screen and (max-width: 600px) {

  .temple-guide-card h3 {
    font-size: clamp(1.75rem, 2.5vw, 1.7rem);
  }
  
  .temple-guide-card__content {
    gap: 10px;
  }

}

/* ========================================
   手機
======================================== */

@media screen and (max-width:1048px) {
  .nokotsudo-banner__overlay {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .temple-guide-section {
    width: calc(100% - 40px);
    padding: 40px 0 0;
  }

  .temple-guide-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .nokotsudo-banner__left {
    display: none;
  }
  
  .nokotsudo-banner__content {
    width: 100%;
    text-align: left;
    margin-left: 0;
  }
  
  .nokotsudo-banner__overlay {
    width: 80%;
    background: linear-gradient(to left, rgba(23, 16, 47, 0), rgba(23, 16, 47, 0.23), rgba(23, 16, 47, 0.52), rgba(23, 16, 47, 0.87), rgba(23, 16, 47, 1));
  }

  .nokotsudo-banner__content h3,
  .nokotsudo-banner__content a,
  .nokotsudo-banner__content p,
  .nokotsudo-banner__content p span{
    color: #fff;
  }
  
  .nokotsudo-banner__content a{
    border: 1px solid #fff;
  }
}

/* ========================================
   小型手機
======================================== */
