html {
  font-size: 16px;
  height: 100vh;
}

body {
  background-color: #f5f5dc;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
main {
  font-family: 'shippori mincho', serif;
  color: #2f3e46;

}
h2 {
  font-weight: bold!important;
}
h2, h3 {
  color: #2f4f4f;
}
.h2-small {
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.6em;
  font-weight: 800;
  color: #2f3e46;
  text-align: center;
  border-bottom: 1px solid #8a5d3b;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 4px;
  box-shadow:0 1px 3px rgba(0, 0, 0, 0.05);
}
nav{
    font-family: 'Shippori Mincho', serif;

}
#mainNavbar {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff;
    transition: all 0.5s ease;
}

#mainNavbar .nav-link,
#mainNavbar .navbar-brand {
    color: #fff !important;
}

#mainNavbar .nav-link:hover {
    text-decoration: underline;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.inline-heading {
  display: inline-block;
  font-size: 1rem;
  font-weight: normal;
  color: #333;
  font-family: inherit;
}
.contact input,
.contact textarea {
  background: #fdfdfd;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.hero-img {
    min-height: 600px;
    position: relative;
    background-image: url('../img/bg_teien.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transform: scale(1);
    transition: opacity 3s ease-in-out, transform 5s ease-in-out;
}

.fade-in {
    opacity: 1;
    transform: scale(1.05);
}
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: rgba(187, 187, 187, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
}
.ripple-on::after {
  animation: rippleAnim 5s ease-out forwards;
}
@keyframes rippleFade {
  0% { opacity: 0.5; }
  100% { opacity: 0; }
}
@keyframes rippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(16);
    opacity: 0.6;
  }
  82% {
    transform: translate(-50%, -50%) scale(16);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(40);
    opacity: 0;
  }
}


.hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.vertical-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0,0,0,0.4);
    padding: 10px 10px 20px 10px;
}

.hero-text span {
    opacity: 0;
    transform: translateY(10px);
}
.temple-name {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Shippori Mincho', serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: #fff;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.2em;
}
#buttons {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
  letter-spacing: 0.2em;
}
.temple-name.show, #buttons.show {
    opacity: 1;
}
.btn-quiet {
  width: 200px;
  /*background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.15)
  );*/

}

.btn-jumoku, .btn-eidai {
  position: relative;
  display: inline-block;
  margin: 0 12px;
  padding: 0px 7px;
  background-color: transparent;
  /*backdrop-filter: blur(4px);*/
  color: #fff;
  border-radius: 121px;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s ease;
}
.btn-jumoku:hover {
  border: none;
  background-color: rgba(226, 191, 213, 0.1);
  border-color: #5f846c;
  box-shadow:
    0 6px 10px rgba(226, 191, 213, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-jumoku:hover .sakura-icon {
  transition: transform 0.3s ease;
  fill: #ffc2de; /* 色変えるならここ */
}
.btn-eidai:hover {
  background-color: rgba(141, 39, 51, 0.15);
  box-shadow:
    0 6px 10px rgba(141, 39, 51, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.btn-eidai:hover .ed-icon {
  transition: transform 0.3s ease;
  fill: #ffd36b;
}
.btn-jumoku::before , .btn-eidai::before{
  content: "";
  position: absolute;
  top: 34px;
  left: 41px;
  right: 47px;
  box-shadow: 5px -5px 32px 36px rgba(73, 103, 62, 0.85);
  z-index: -1;
  border-radius: 30px;
  overflow: hidden;
}
.main-bg {
    font-family: 'Shippori Mincho', serif;
    padding: 4rem;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.main-bg::before {
    content: "";
    position: absolute;
    top: 30px; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.main-bg > * {
    position: relative;
    z-index: 1;
}


.intro-section,
.greeting-section {
    padding: 60px 10px;
    font-family: 'Shippori Mincho', serif;
    color: #333;
}

.intro-section h3,
.greeting-section h3 {
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.intro-section p,
.greeting-section p {
    font-size: 1rem;
    line-height: 1.8;
}
.pc-br {
  display: inline;
}
.mb-br{
    display: none;
}
.choice-section .card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
  }
  
  .choice-section .card:hover {
    transform: translateY(-5px);
  }
  .eitaikuyou-section,
  .jumokusou-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    margin-top: 80px;
  }

  .eitaikuyou-section {
    background-image: url('../img/eidai_top.webp');
  }

  .jumokusou-section {
    background-image: url('../img/bg_jumoku_sakura.jpg');
  }
  .jumokusou-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    z-index: 0;
  }
  .eitaikuyou-box,
  .jumokusou-box {
    min-height: 100%;
    position: absolute;
    top: -50px;
    left: 5%;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .eitaikuyou-box {
    border-top: 6px solid rgba(141,39,51,1);
    border-bottom: 6px solid rgba(141,39,51,1);
  }
  .jumokusou-box {
    border-top: 6px solid rgb(49, 103, 69,1);
    border-bottom: 6px solid rgb(49, 103, 69,1);
  }
  .eitaikuyou-box h2,
  .jumokusou-box h2 {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    position: absolute;
    top: 20%;
    right: -180px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.5rem 3rem;
    border-radius: 0px;
    white-space: nowrap;
  }
  .section-caption {
    position: absolute;
    bottom: 25px;
    right: 10px;
    color: #fff;
    font-size: 2rem;
    background: rgba(141,39,51,0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    z-index: 1;
  }
  .sc-jumoku{
    background: rgba(49,103,69,0.8);
  }


  .section-caption.with-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 100%;
    width: 50vw;
    height: 2px;
    background: #fff;
    margin-left: 10px;
  }



  .section-points {
    position: absolute;
    bottom: 190px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem;
    border-radius: 5px;
    color: #fff;
    z-index: 1;
    max-width: 90%;
    font-size: 1.2rem;
    text-align: left;
  }
  .section-points a:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .bg-caption-red {
    background: rgba(141,39,51,0.85);
  }

  .bg-caption-green {
    background: rgba(49,103,69,0.75);
  }

  .section-points ul {
    margin: 0;
    padding-left: 1.2rem;
  }

  .section-points ul li {
    list-style: disc;
    margin-bottom: 0.3rem;
  }

  .btn-outline-light {
    border-color: #fff;
    color: #fff;
  }

  .btn-outline-light:hover {
    background-color: #fff;
    color: #000;
  }



  .flow-section h5 {
    font-weight: 800;
  }
  .flow-section {
    background-color: #fdfcf8;
  }

  .flow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flow-vertical .step,
  .flow-section .step {
    border: 2px solid #333;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background: #fff;
    text-align: center;
    font-size: 1rem;
    margin: 5px auto;
    transition: all 0.3s ease;
  }

  .flow-section .step:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .v-arrow,
  .h-arrow {
    font-size: 1.4rem;
    color: #8d2733;
    margin: 5px;
  }

  .flow-mobile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    max-width: 320px;
    margin: 0 auto;
  }

  .flow-description h5 {
    font-weight: bold;
  }

  .flow-description p {
    font-size: 1rem;
  }
  .flow-card {
    background: rgba(255, 255, 255, 0.9);
    border-left: 6px solid #8d2733;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .flow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }
  
  .flow-card h5 {
    color: #8d2733;
    margin-bottom: 0.5rem;
  }
  
  .flow-card p {
    margin: 0;
    line-height: 1.6;
  }
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }


  .inquiry-box {
    background: #fdf5f6;
    border: 1px solid #e6dada;
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .inquiry-box:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
  }
  
  .inquiry-lead {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #8d2733;
  }
  
  .inquiry-tel {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2f3e46;
    margin-bottom: 1rem;
  }
  
  .access-section {
    background-color: #fefefe;
  }
  
  .access-info {
    background: #fff;
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .access-info h5 {
    color: #8d2733;
    font-weight: bold;
  }
.sug-section {
  background-color: #fdfdf8;
  padding: 2em;
  margin-top: 3em;
  border-top: 1px solid #8d2733;
}
.sug-section h5{
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #2f3e46;
  font-weight: 800;
}
.sug-section p{
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.sug-section strong{
  color: #5a4d3f;
  font-weight: 800;
}
.temple-hero {
  position: relative;
  color: white;
  padding: 60px 20px;
  z-index: 0;
  overflow: hidden;
  }

  .temple-hero::before {
    content: "";
    position: fixed; /* ← ここが重要！背景を画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about.webp') center/cover no-repeat;
    inset: 0;
    z-index: -3;
    pointer-events: none; /* クリックやスクロールの邪魔をしないように */
  }


  .temple-hero::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* ← オーバーレイは別にする！ */
    z-index: -2;
    pointer-events: none;
  }
  
  .temple-hero .text-box {
    position: relative;
    z-index: 1;
    max-width: 70vw;
    margin: 0 auto;
    padding: 30px 10px;
    text-align: center;
    top: 10%;
    font-size: 1rem;
    color: #2f3e46;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  
  }
  .temple-about, .temple-greet {
    writing-mode: vertical-rl;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    padding-right: 1em;
    padding: 0 0;
    line-height: 2;
  }
  .temple-about {
    min-height: 405px;
    max-height:  421px;
  }
  .greet-panel {
    width: 80%!important;
  }
  .temple-greet {
    height: 460px;
  }
  .gassho {
    margin-top: 200px;
  }
  .mb-text-left {
    text-align: center!important;
  }

  .main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    z-index: 0;
  }
  
  .main::before {
    content: "";
    position: absolute; /* ← fixedから変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about.webp') center center / cover no-repeat;
    z-index: -2;
  }
  .main::after {
    content: "";
    position: absolute; /* ← fixedから変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }
  .text-box p {
    font-size: 1.1rem;
    margin: 0 0rem 0 0.1rem !important;
  }
  .link-btn {
    position: relative;
    display: inline-block;
    padding: 0 40px;
    height: 50px;
    line-height: 50px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(145deg, #8b0024, #b30030); 
    border-radius: 30px;
    text-decoration: none;
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.3),
      inset 0 0 0 1px rgba(255, 255, 255, 0.15); /* 立体感 */
    transition: all 0.3s ease;
  }
  
  .link-btn:hover {
    background: linear-gradient(145deg, #a00028, #80001e);
    box-shadow:
      0 6px 10px rgba(0, 0, 0, 0.5),
      inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  


  .eitai-box, .jumoku-box {
    min-height: 100%;
    position: absolute;
    top:0;
    left: 5%;
    padding: 30px;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

}
.eitai-box{
    background: rgba(141,39,51, 0.6); 
    box-shadow: 0 0 20px rgba(141,39,51, 0.5);
 
}
.jumoku-box{
    background: rgba(49,103,69, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.eitai-section{
  background-color:#fdfcf8;
}

  .eitai-feature-box {
    position: relative;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #9e002a8f!important;
    overflow: hidden;
  }
  .eitai-feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgb(255 253 182 / 40%) 0%, #00000000 70%);
    z-index: 1;
    pointer-events: none;
  }
  .eitai-feature-box img, .jumoku-feature-box .img {
    width: 160px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .eitai-feature-box .flex-shrink-0, .jumoku-feature-box .flex-shrink-0{
    width: 160px;
    margin: unset;
  }
  .eitai-feature-box h5 {
    font-size: 1.1rem;
    color: #2f3e46;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .eitai-feature-box p {
    font-size: 0.9rem;
    color: #555;
  }
  .jumoku-section {
    background: linear-gradient(to bottom right, #fffafa, #fef9f9, #ffffff);
  }
  
  
  .jumoku-feature-box {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(to bottom right, #fffafa, #fef9f9, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-left: 6px solid rgba(49,103,69,0.5)!important;
    overflow: hidden;
  }
  .jumoku-feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(255, 182, 193, 0.4) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
  }
  .section-title {
    position:relative;
    background: radial-gradient(ellipse at center, rgba(255, 182, 193, 0.4) 0%, transparent 70%);
  }

  .table th, .table td {
    vertical-align: middle;
    font-size: 0.95rem;
  }

  #form-result {
    font-size: 1rem;
    padding: 0.5em;
  }
  .text-success {
    color: #2e4a2c;
  }
  .text-danger {
    color: #b30000;
  }
  .text-info {
    color: #777;
  }
  
  .sakura-bg_rb, .ityo-bg_rb {
    position: fixed;
    top: 85%;
    right: 11%;
    width: 80px;
    height: 80px;
    background-image: url('../img/sakura_sm.svg'); /* パスは適宜 */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none; /* 邪魔にならないように */
    z-index: 0;
    transform: rotate(10deg);
  }
  .sakura-bg_lt, .ityo-bg_lt{
    position: fixed;
    top: 75%;
    left: 3%;
    width: 80px;
    height: 80px;
    background-image: url('../img/sakura_sm.svg'); 
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none; 
    z-index: 0;
    transform: rotate(-10deg);
  }
  .ityo-bg_lt,  .ityo-bg_rb {
    background-image: url('../img/ityo_sm.svg'); 
  }
  .ityo-bg_lt {
    transform: rotate(-40deg);
  }
  .gy-5 .col-md-6 {
    z-index: 20;
  }

  .contact-btn-wrapper {
    background: rgba(255, 182, 193, 0.75); /* 桜色（ライトピンク） */
    padding: 0.4rem;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 5px;
  }
  
  .contact-btn-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .contact-btn {
    color: #fff!important;
    border-color: #fff!important;
    transition: all 0.3s ease;
  }
  
  .contact-btn:hover {
    background-color: #fff!important;
    color: #ffb6c1!important;
  }
.middle-box{
  padding: 2rem;
}
.middle-box section{
  margin-top:10px!important;
}
.section-spacing {
  padding: 60px 0;
}

.link-to-eitai .lead {
  color: #4c1f1f;
  text-shadow: 1px 1px 2px rgba(255, 248, 240, 0.7); 
}

.link-to-eitai h3 {
  color: #8d2733;
  text-shadow: 0 0 4px rgba(255, 220, 180, 0.7); 
}

.link-to-jumoku::before{
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255,230,255,0.7), rgba(255,255,255,1)),
    url('../img/bg_jumoku_sakura_soft.webp') center / cover no-repeat;
  z-index: 1;
}


.link-to-eitai, .link-to-jumoku {
  position: relative;
  overflow: hidden;
  width: 75%;
}

.link-to-eitai::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,1)),
    url('../img/eitai_soft.webp') center / cover no-repeat;
  z-index: 1;
}

.link-to-jumoku .container, .link-to-eitai .container {
  position: relative;
  z-index: 15;
}
.link-to-jumoku h3, .link-to-eitai h3 {
  border-bottom: none;
  box-shadow: unset;
}
.btn-elg {
  display: inline-block;
  padding: 8px 28px;
  font-size: 1rem;
  color: #d48da2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid transparent;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
                    linear-gradient(90deg, #d48da264, #f3e6eb7b);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.4s ease;
  width: 25%;
}

.btn-elg:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
    linear-gradient(90deg, #d48da297, #f3e6eb);
  color: #9c3e5e;
  box-shadow: 0 6px 14px rgba(212, 141, 162, 0.25);
  transform: translateY(-2px);
}

.link-to-eitai .btn-elg {
  display: inline-block;
  padding: 8px 28px;
  font-size: 1rem;
  font-family: 'Shippori Mincho', serif;
  color: #4c1f1f;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid transparent;
  background-image: 
    linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)),
    linear-gradient(90deg, #8d273375, #fbe4b8);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.4s ease;

}
.link-to-eitai .btn-elg:hover {
  background-image: 
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
    linear-gradient(90deg, #a2323f, #e2c790);
  color: #fff0d5;
  box-shadow: 0 6px 16px rgba(141,39,51,0.4);
  transform: translateY(-2px);
}
.triangle {
  display: inline-block;
  width: 15px;
  height: 13px;
  background: #ffffff;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  margin-right: 0.5em;
}
.backlink {
  display: inline-block;
  transition: all 0.3s ease;
}

.backlink .triangle {
  transition: all 0.3s ease;
}

.backlink:hover {
  color: #fcd7e4 !important;
  transform: translateY(-1px);
}

.backlink:hover .triangle {
  background: #fcd7e4 !important;
  transform: translateY(-1px);
}
@media (max-width: 991.98px) {
  #navbarMenu {
      background-color: rgba(0, 0, 0, 0.9);
      padding: 1rem;
  }

  #navbarMenu .navbar-nav {
      align-items: flex-end;
  }
  #mainNavbar .nav-link {
      text-align: right;
      width: 100%;
  }
  .navbar-nav .nav-item.first {
      margin-top: 1.5rem !important;
    }

  .navbar-toggler.collapsed .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M6 6 L24 24 M24 6 L6 24'/%3E%3C/svg%3E");
  }
  .text-box p {
    font-size: 1.1rem;
    margin: 0 1rem 0 0rem !important;
  }
  .temple-about {
    max-height: 457px;
  }
  .pc-br {
    display: none;
  }
  .tablet-br {
    display: inline;
  }
  .text-box .temple-info-first {
    margin-right: 0px!important;
  }
  .container {
    max-width: 778px!important;
  }
  .greet-panel {
    width: 100%!important;
  }
  .temple-greet {
    height: 370px;
  }
  .master-pic {
    width: 50%!important;
  }
}

@media (max-width: 767.9px) {
  h2 {
    font-size: 1.4rem;
  }
    .main-bg {
        padding: .5rem;
    }
    .mb-br {
        display: inline;
    }
    .pc-br {
      display: none;
    }
    .tablet-br {
      display: inline;
    }
    .section-points{
        padding: 1rem;
        transform: translateX(-10%);
        font-size: 0.9rem;
        left: 44%;
        min-width: 55vw;
    }
    .mb-text-left{
      text-align: left!important;
    }
    .flow-vertical .step,
    .flow-section .step {
      width: 80px;
      height: 80px;
      font-size: 0.8rem;
      margin: 2px -1px;
    }
    .col-md-7 .text-start {
      padding: 0 5px;
    }
    .sug-section {
      padding: 2em 0.5em;
    }
    .temple-hero .text-box {
      max-width: 95vw;
    }
    .text-box .temple-title p{
      margin: 5px 0 5px 0!important; 
    }
    .text-box .temple-info p {
      margin:5px 10px 5px 0!important;
    }
    .eitai-feature-box img, .eitai-feature-box .flex-shrink-0, .jumoku-feature-box img, .jumoku-feature-box .flex-shrink-0 {
      width: 100px;
    }
    .temple-about {
      max-height: 457px;
    }



}

@media (max-width: 579.9px) {
  .tablet-br {
    display: none;
  }
  .mb-br {
    display: inline;
  }
  .temple-about {
    min-height: 638px;
  }
  .text-box .temple-info p {
    margin: 0px 0px 0px 2px!important;
  }
  .middle-box {
    padding: 0;
  }
  .middle-box section{
    margin-top:70px!important;
  }
  .temple-name {
    top: 70%;
  }
  #buttons{
    top: 80%;
  }
  .greet-panel {
    width: 100%!important;
  }
  .temple-greet {
    height: 455px;
  }
  .master-pic {
    width: 75%!important;
  }
  .btn-elg {
    width: 75%;
  }
  .link-to-eitai, .link-to-jumoku {
    width: 100%;
  }
}

/*# sourceMappingURL=/site.map */