@charset "utf-8";

html { 
  font-size: 14px; 
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: 2rem!important;
  font-weight: 500;
  margin-bottom: 40px;
}

.layer_header a:hover img  {
  opacity: 0.7;
}

/* ボタン */

.common_btn {
  margin-top: 50px ;
  text-align: center;
}

.btn {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #6CBB5A;
  background-color: #fff;
  position: relative;
  border: 1px solid #6CBB5A;
  transition: color 0.5s ease;
  margin: 0 auto;
}
.btn:hover {
  color: #fff;
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #6CBB5A;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}
.text {
  position: relative;
}

.opa:hover {
  filter: brightness(1.05);
}

/* ハンバーガーメニューその2 */


/*ハンバーガーボタン*/
.el_humburger {
  position: fixed;
  top: 45px;
  right: 60px;
  width: 70px;
  height: 60px;
  padding-top: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 0px;
  z-index: 20;
  cursor: pointer;
  pointer-events: auto;
  color: #000;
  text-align: center;
      background-color: rgba(255, 255, 255, 0.8);
}
 
@media screen and (max-width: 840px) {
  .el_humburger {
    display: block;
    right: 0;
    top: 0;
    /* padding-top: 20px; */
    width: 70px;
    height: 70px;}
    #factory .el_humburger {
      display: none; } }
 
.el_humburger_wrapper {
  margin-bottom: 5px;
  width: 42px;
  padding-top: 20px;
  display: inline-block; 
}
 
@media screen and (max-width: 840px) {
  .el_humburger_wrapper {
    margin-bottom: 5px;
    width: 30px; } }
 
.el_humburger_text {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: "游ゴシック Medium", YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif; }
 
.js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
  display: none; }
 
.el_humburger_text.el_humburger_text__close {
  display: none; }
 
.js_humburgerOpen .el_humburger_text.el_humburger_text__close {
  display: block; }
 
@media screen and (max-width: 840px) {
  .el_humburger_text {
    font-size: 10px;
    padding-top: 2px; } }
 
@media screen and (max-width: 840px) {
  .el_humburger_text svg path {
    -webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    fill: #000; } }
 
@media screen and (max-width: 840px) {
  .js_humburgerOpen .el_humburger_text svg path {
    fill: #000; } }
 
.el_humburger span.el_humburger_bar {
  display: block;
  width: 100%;
  margin: 0 auto 9px;
  height: 1px;
  background: #000;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; }
 
.el_humburger span.el_humburger_bar:last-child {
  margin-bottom: 0; }
 
.js_humburgerOpen .el_humburger span.el_humburger_bar {
  background: #000; }
 
@media screen and (max-width: 840px) {
  .el_humburger span.el_humburger_bar {
    left: 0;
    top: 0;
    background: #000; } }
 
.js_humburgerOpen .el_humburger span.el_humburger_bar.top {
  -webkit-transform: translateY(9px) rotate(-45deg);
  -ms-transform: translateY(9px) rotate(-45deg);
  transform: translateY(9px) rotate(-45deg); }
 
.js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
  opacity: 0; }
 
.js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-11px) rotate(45deg);
  -ms-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg); }
 
.el_humburgerButton.el_humburgerButton__close {
  top: 2%;
  right: 2%; }
 
.el_humburgerButton__close span.el_humburger_bar {
  display: block;
  width: 35px;
  margin: 0 auto;
  height: 4px;
  background: #000; }
 
.el_humburgerButton__close span.el_humburger_bar.top {
  -webkit-transform: translateY(5px) rotate(-45deg);
  -ms-transform: translateY(5px) rotate(-45deg);
  transform: translateY(5px) rotate(-45deg); }
 
.el_humburgerButton__close span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-6px) rotate(45deg);
  -ms-transform: translateY(-6px) rotate(45deg);
  transform: translateY(-6px) rotate(45deg); }
 
.navi {
  position: fixed;
  right: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  width: 450px;
  z-index: 3;
  padding-top: 100px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 600ms ease-out;
  -o-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
  transform:translateZ(0) translateX(100%);
  overflow: auto; }
  .js_humburgerOpen .navi {
    transform:translateZ(0) translateX(0); }
    @media screen and (max-width: 840px) {
      .navi {
        padding: 100px 5% 0; }
      .js_humburgerOpen .navi {
        width: 100%;} }
 
.navi_item {
  position:relative;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: "Marcellus", serif !important;
  white-space: nowrap;
  margin-left: 90px; }
  .navi_item.op_innerLink {
    cursor: pointer; }
  @media screen and (max-width: 840px) {
    .navi_item {
      margin-left: 0;
      font-size: 15px; } }
 
 
 
.el_spChildNavOpen {
  position: absolute;
  top: -6px;
  left: 80%;
  z-index: 20;
  -webkit-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  padding: 10px; }
 
.js_openParent.js_fire > .el_spChildNavOpen {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg); }
  .js_openParent.js_fire > .el_spChildNavOpen > .el_spChildNavOpen_wrapper:after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    opacity: 0; }
 
.el_spChildNavOpen_wrapper {
  position: relative;
  width: 15px;
  height: 15px;
  -webkit-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center; }
  .el_spChildNavOpen_wrapper:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #111;
    position: absolute;
    top: calc(50% - 1px); }
  .el_spChildNavOpen_wrapper:after {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #111;
    position: absolute;
    left: calc(50% - 1px);
    -webkit-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out; }
 
 
.nav_child{
  padding-top:20px;
}
 
.nav_child_item{
  position: relative;
  font-size:1rem;
  padding-left:20px;
  margin-bottom:20px;
}
 
.nav_child_item > a{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  top:0;
}
 
.nav_child_item:last-child{
  margin-bottom:0px;
}
 
.js_openSwitch {
  cursor: pointer; }
 
.js_openTarget {
  display: none; }


/* 動画 */
.video-header {
  position: relative;
  width: 100vw;
  height: 100vh; /* 画面全体の高さ */
  overflow: hidden;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 40vh;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.header-content  h1 {
  font-size: 6rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  letter-spacing: .5rem;
}

.header-content  p {
  font-size: 1.5rem;
}

/* --------------------------------------------- */
/* 画面横のCTAボタン */
/* --------------------------------------------- */
/*  */
.l-header-cta-button_wrapper {
  position: fixed;
  right: 0;
  top: 40%; /* 画面上部20%の位置 */
  transform: translateY(-20%); /* 上記に対して必要な記述 */
  z-index: 20;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.l-header-cta-button_a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 30px 50px 35px;
  /* border-radius: 10px 0 0 10px;
  border-top: 1px solid red;
  border-left: 1px solid red;
  border-bottom: 1px solid red;
  border-right: none; */
  background-color: #6CBB5A;
  /* 縦書き関連のスタイル */
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.3em;
  line-height: 1.2;
}

.l-header-cta-button_a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .l-header-cta-button_wrapper {
    display: none;
  }
}

@media screen and (min-width:768px){
.floating_menu .banner_item{
display: none;
}
}


/* おしらせ */
.news-section {
  background-color: #f9f9f9;
  padding-top: 80px;
  padding-bottom: 80px;
}

.news-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px dotted #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 1.2rem;
  vertical-align: middle;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  color: #999;
  text-align: center;
}

.news-list .item .title{
  margin: 0;
  width: 100%;
  font-size: 1.2rem;
  vertical-align: middle;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  padding-left: 10px;
}
.news-list .item a:hover .title{
  color: #6CBB5A;
}


/* 西山霊園について */

.reason-section {
  background-color: #f9f9f9;
  padding-top: 80px;
  padding-bottom: 80px;
}

.reason-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.reason_flex {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
}

.reason_item {
  width: 33%;
  padding: 0 30px 50px;
}

.reason_item .item_img {
  text-align: center;
}

.reason_item h3 {
  font-size: 1.4rem;
  text-align: center;
  margin: 20px 0;
}

.reason_item .item_text {
  font-size: 1rem;
  padding-top: 10px;
  line-height: 1.7;
  letter-spacing: 0.08rem;
}

/* 西山霊園のお墓 */


.grave {
  background-color: #60a751;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff;
}

.grave h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.grave h3 {
  font-size: 1.4rem;
  text-align: center;
  margin: 20px 0;
}

.grave_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  padding: 0 20px;
  text-align: center;
  margin-bottom: 40px;
}

.grave_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin-top: 60px;
}

.grave_item {
  width: 25%;
  padding: 0 30px 50px;
  margin: 0 auto;
  display: flex;
  flex-direction:column;
}

.grave_item_img {
  text-align: center;
}


.grave_item_text {
  font-size: 1rem;
  padding-top: 10px;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  flex-grow:1; 
}


.grave_btn {
  text-align: center;
  margin-top: 50px;
  width: 100%;
}


.grave_btn .btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #6CBB5A;
  background-color: #fff;
  position: relative;
  border: 1px solid #6CBB5A;
  transition: color 0.5s ease;
  margin: 0 auto;
}
.btn:hover {
  color: #fff;
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #6CBB5A;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.towa_link_flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row ;
  align-items: center;
  justify-content: center;
}

.towa_item {
  width: 48%;
  padding: 20px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.towa_item img {
  width: 80%;
}

/* top_faq */

.top_faq {
  background-color: #f9f9f9;
  padding-top: 80px;
  padding-bottom: 80px;

}

.top_faq h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.faq_flex {
  display: flex;
  flex-direction: column;
}

.faq_flex_item {
  width: 100%;
  margin: 20px auto;
  border-radius: 20px;
  background-color: #dce2e8;
  padding: 50px;
}

.faq_flex_item h3 {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 1.2rem;
}

.faq_flex_item h3::before {
  content: "Q";
  background-color: #6CBB5A;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: #FFF;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
  line-height: 25px;
}

.faq_flex_item p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-left: 40px;
  position: relative;
}

.faq_flex_item p::before {
  content: "A";
  border: 1px solid #6CBB5A;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: #6CBB5A;
  margin-left: -40px;
  display: inline-block;
  text-align: center;
  line-height: 25px;
  position: absolute;
}

/* ツアー */
.top_tour {
    background-color: #60a751;
}

.top_tour_flex {
  display: flex;
  align-items: center;
  background: #60a751;
}

.top_tour_item {
  width: 50%;
}

.top_tour_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_tour_item_text {
  padding: 50px;
  text-align: center;
  color: #FFF;
}

.top_tour_item_text h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.top_tour_item_text p {
  font-size: 1.2rem;
  line-height: 1.7;
}

/* ツアーボタン */

.tour_btn {
  margin-top: 50px ;
  text-align: center;
}


.tour_btn .btn {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #FFF;
  background-color: #6CBB5A;
  position: relative;
  border: 1px solid #FFF;
  transition: color 0.5s ease;
  margin: 0 auto;
}

.tour_btn .btn:hover {
  color: #6CBB5A;
}

.tour_btn .btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.tour_btn .btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #FFF;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.tour_btn .text {
  position: relative;
}

footer {
  padding: 80px 0;
}

.footer_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer_flex_item img {
  width: 90%;
  object-fit: cover;
}

.footer_flex_item a:hover img  {
  opacity: 0.7;
}

.footer_flex_item p {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 10px;
  padding: 20px;
}

.koutsu_access {
  font-size:1.2rem;
  color: #6CBB5A;
  font-weight: 500;
  padding-bottom: 10px;
  padding-top: 10px;
}

.footer_flex_item ul {
  margin-top: 30px;
}

.footer_flex_item li {
  margin-bottom: 15px;
}

.footer_flex_item li a:hover {
  color: #448137;
}

.towa {
  text-align: center;
  margin: 50px 0;
  width: 100%;
}

footer small {
  text-align: center;
  display: block;
}


#cta_tel {
  font-weight: 800;
  width: 100%;
  font-size: 3rem;
  color: #6CBB5A;
}

/* プライバシーポリシーページ */
.layer_header {
  width: 100%;
  height: 400px;
}

.header_flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  height: 400px;
}

.header_flex_left_item {
  display: flex;
  align-items: center; /* 左画像：高さ中央揃え */
  padding-left: 5px;
}

.header_flex_logo {
  height: auto;
  max-height: 100%;
}

.header_flex_right_item{
  display: flex;
  align-items: flex-end; /* 右画像：高さ下揃え */
  width: 70%;
  padding-left: 15px;
}

.header_flex_right {
  width: 100%;
  height: 400px;
  object-fit: cover; /* アスペクト比維持して切り取り */
}

.privacy_section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.privacy_section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.privacy_section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 80px;
  padding-left: 10px;
  color: #60a751;
  border-left: 5px solid #60a751;
}

.privacy_section p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 20px;
} 

.privacy_section ul {
  padding-left: 10px;
  font-size: 1.2rem;
} 
.privacy_section ul li {
  margin-bottom: 10px;
}

/* 京都西山霊園について　service */

.loop {
  display: flex;
  animation: loop-text 20s linear infinite;
  width: 100vw;
  overflow: hidden;
}
.double-content {
  display: inline-block;
  font-size: 8rem;
  white-space: nowrap;
  color: #999;
  font-family: "Cinzel", serif;
  letter-spacing: 1rem;
  opacity: 0.4;
  width: 100vw;
}
@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.about_text {
  writing-mode: vertical-rl;
  margin: 80px auto;
}

.about_text h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  margin-left: 40px;
}

.about_text p {
  font-size: 1.2rem;
  line-height: 2;
  letter-spacing: 0.08rem;
  padding: 0 20px;
} 

/* force image size */
.slide img {
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
    object-fit: cover;
}

.slide {
  white-space: nowrap;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slide > :first-child {
  animation-name: slide;
  animation-duration: 24s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
}

@keyframes slide {
  0% {
    margin-left: 0;
  }
  25% {
    margin-left: -100%;
  }
  50% {
    margin-left: -200%;
  }
  75% {
    margin-left: -300%;
  }
  100% {
    margin-left: -400%;
  }
}

.center {
  margin: auto;
}

/* 案内 guidance*/
.guidance {
  padding-top: 80px;
  padding-bottom: 80px;
}

.guidance p {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  padding: 0 20px;
  text-align: center;
  margin-top: 30px;
}

.guidance h3 {
  font-size: 1.6rem;
  text-align: center;
  font-weight: 500;
  margin: 60px 0;
} 

.tel_ope_img {
  display: block;
  margin: 20px auto 40px;
  height: 150px;
}

.point_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.transfer {
  background-color: #f9f9f9;
  padding-top: 80px;
  padding-bottom: 80px;
}

.transfer p {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  padding: 0 20px;
  text-align: center;
  margin-top: 30px;
}

.transfer img {
  display: block;
  margin: 0 auto;
}

/* 施設の紹介　gallery  */

.facility {
  padding-top: 80px;
  padding-bottom: 80px;
}

.facility_main_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.facility_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
} 

.facility_flex:nth-child(2n+1) {
  flex-direction: row-reverse;
}

.facility_item1 {
  width: 10%;
  height: 400px;
  padding: 40px 20px 50px;
} 

.facility_item2 {
  display: flex;
  align-items: center;
  width: 35%;
  height: 400px;
  vertical-align: middle;
  padding: 40px 20px 50px;
} 

.facility_item3 {
  width: 55%;
  height: 400px;
  padding: 40px 0px 50px;
} 

.facility_item1 h3 {
  font-size: 3rem;
  letter-spacing: 0.8rem;
  writing-mode: vertical-rl;
  font-weight: 100;
  color: #7ed16a;
}

.facility_item2 p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
   text-align: left;
}

.facility_item3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view {
  padding-top: 80px;
  padding-bottom: 80px;
}
.view p {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}


.view_map {
  text-align: center;
  margin-top: 30px;
}


/* 京都西山霊園について */



.access {
  padding-top: 80px;
  padding-bottom: 80px;
}

.access h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

/* table01 */
#table01 {
  margin: 40px auto;
}

#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
  line-height: 1.7;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}


/* MAP  */
.map {
  padding-top: 80px;
  padding-bottom: 80px;
}

.map_main_text h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.map_main_text p {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-bottom: 40px;
}

.map_text {
  line-height: 1.7;
}

.map_text h4 {
  font-weight: 600;
  margin-top: 20px;
}

/* 西山霊園のお墓 */
.juryo {
  padding-top: 80px;
  padding-bottom: 80px;
}

.juryo img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: block;
  margin-bottom: 20px;
  margin-top: 20px;
}

.juryo h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.juryo_main_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.juryo_main_text p {
  padding-bottom: 20px;
}

.moving {
  padding-top: 80px;
}

.moving h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.moving h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 80px;
}

.moving_main_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.moving_main_text p {
  padding-bottom: 20px;
}

.moving_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 60px auto;
  width: 80%;
}
.moving_flex p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  padding: 0 10px;
}


.moving_item1 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case01.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

.moving_item2 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case02.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

.moving_item3 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case03.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

.moving_item4 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case04.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

.moving_item5 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case05.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

.moving_item6 {
  width: 33%;
  height: 300px;
  padding: 160px 20px 50px;
  margin: 0 auto;
  background-image: url(../img/case06.png) ;
  background-repeat: no-repeat;
  background-position: top center;
}

/* 建墓後のアフターケア */


.care h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: 80px;
}

.care_main_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.care_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
}

.care_item {
  width: 45%;
  height: 300px;
  background-color: #fff;
  padding: 35px;
  margin: 20px;
  box-shadow: -10px 10px 25px rgba(108, 187, 90, 0.5),
  10px -10px 25px rgba(246, 252, 126, 0.5);
}

.care_item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #448137;
}

.care_item h3::before {
  content: "";
  border-left: 5px solid #448137;
  width: 100%;
  height: 100%;
  margin-right: 10px;
}

.care_item p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  margin-bottom: 10px;
}

.after_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.after_flex li {
  width: 25%;
}

.after_flex li img {
  width: 90%;
}

.moving_main_flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 30px;
}

.moving_main_flex li {
  width: 33%;
  position: relative;
  height: 250px;
}

.moving_main_flex li p {
  position: absolute;
  top: 30%;
  left: 50px;
  width: 70%;
}

.moving_main_flex li img {
  position: absolute;
  width: 100%;
  object-fit: cover;
  z-index: -2;
  top: 0;
  left: 0;
}

.moving_main_text_read {
  margin-top: 60px;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}

/* 一般墓 */

.usual {
  padding-top: 80px;

}

.usual h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.usual_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.usual_text p {
  padding-bottom: 20px;
}

.usual_suggest_container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.usual_suggest {
  background-color: #f0f7ef; /* 薄緑 */
  padding: 0 0 50px;
  margin-top: 80px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.usual_suggest h3 {
  width: 100vw;
  background-color: #448137; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.usual_suggest h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #448137; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.usual_suggest ul {
  max-width: 1120px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0 0;
  font-size: 1.2rem;
  line-height: 2;
}

.usual_suggest ul li {
  position: relative;
  padding-left: 35px;
  font-size: 1.4rem;
}

.usual_suggest ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 2px solid #448137;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  color: #448137;
  font-weight: bold;
}

.usual_cost {
  background-color: #f0f7ef; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  padding-bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.usual_cost h3 {
  width: 100vw;
  background-color: #448137; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.usual_cost h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #448137; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.usual_cost_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.usual_cost_item {
  background-color: #fff;
  padding: 20px;
  width: 30%;
  height: 300px;
  background-color: #448137;
  border-radius: 5%;
}

.usual_cost_item h4 {
  font-size: 1.4rem;
  height: 60px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.cap {
  font-size: 1rem;
}

.usual_cost_item p {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.cost_img {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}

.cost_img img {
  width: 40%;
}

.usual_set {
  background-color: #f0f7ef; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.usual_set h3 {
  width: 100vw;
  background-color: #448137; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.usual_set h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #448137; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.price h4 {
  text-align: center;
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #448137;
  margin: 0 auto;
}

.price ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-width: 500px;
  margin: 20px auto;
}

.price ul li {
  width: 30%;
  font-size: 1.2rem;
  line-height: 2; 
}

.zabuton {
  background-color: #cbcbcb;
  text-align: center;
}

.tax {
  text-align: left;
}

.usual_set .price img {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 300px;
  height: auto;
  object-fit: cover;
}

.eidai_set .price img {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 300px;
  height: auto;
  object-fit: cover;
}

.jumoku_set .price img {
  width: 65%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
}

.goshibo_set .price img {
  width: 65%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
}



/* price_flex: 3列・緑の丸囲み・文字色緑 */
.price_flex {
  max-width: 768px;
  margin: 40px auto 0;
}

.price_flex ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

.price_flex ul li {
  list-style: none;
  flex: 0 1 calc(33.333% - 30px);
  color: #448137;
  border: 2px solid #448137;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 10px;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
  .price_flex ul li { flex-basis: calc(50% - 30px); }
}

@media only screen and (max-width: 480px) {
  .price_flex ul li { flex-basis: 100%; }
}

.kanri {
  text-align: right;
  margin-top: 40px;
}

.usual_set h5 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 60px;
  line-height: 1.5;
  margin-bottom: 60px;
}

/* juryo_about: 緑の角丸枠 + 薄い黄色の背景 */
.juryo_about {
  border: 8px solid #6CBB5A; /* テーマの緑 */
  border-radius: 12px;
  background-color: #FFF9DB; /* 薄い黄色 */
  padding: 24px;
}


/* 永代供養墓   */

.eidai {
  padding-top: 80px;
}

.eidai h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.eidai_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.eidai_text p {
  padding-bottom: 20px;
}

.eidai_suggest_container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.eidai_suggest {
  background-color: #e4e9ea; /* 薄緑 */
  padding: 0 0 50px;
  margin-top: 80px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_suggest h3 {
  width: 100vw;
  background-color: #017DA6; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_suggest h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #017DA6; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.eidai_suggest ul {
  max-width: 750px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0 0;
  font-size: 1.2rem;
  line-height: 2;
}

.eidai_suggest ul li {
  position: relative;
  padding-left: 35px;
  font-size: 1.4rem;
  flex: 0 1 calc(50% - 20px);
}

@media only screen and (max-width: 600px) {
  .eidai_suggest ul li { flex-basis: 100%; }
}

.eidai_suggest ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 2px solid #017DA6;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  color: #017DA6;
  font-weight: bold;
}

.eidai_cost {
  background-color: #e4e9ea; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  padding-bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_cost h3 {
  width: 100vw;
  background-color: #017DA6; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_cost h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #017DA6; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.eidai_cost_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.eidai_cost_item {
  background-color: #fff;
  padding: 20px;
  width: 30%;
  height: 300px;
  background-color: #017DA6;
  border-radius: 5%;
}

.eidai_cost_item h4 {
  font-size: 1.4rem;
  height: 60px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.eidai_cost_item p {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.cost_img {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}
.cost_img2 {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}

.cost_img img {
  width: 40%;
}

.cost_img2 img {
  width: 70%;
}

.eidai_set {
  background-color: #e4e9ea; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_set h3 {
  width: 100vw;
  background-color: #017DA6; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.eidai_set h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #017DA6; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.eidai_set .price h4 {
  text-align: center;
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #017DA6;
  margin: 0 auto;
}

.eidai_set .price ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-width: 500px;
  margin: 20px auto;
}

.eidai_set .price ul li {
  width: 40%;
  font-size: 1.2rem;
  line-height: 2; 
}

.zabuton {
  background-color: #cbcbcb;
  text-align: center;
}

.tax {
  text-align: left;
}

.price img {
  display: block;
  text-align: center;
  margin: 0 auto;
}


/* price_flex: 3列・緑の丸囲み・文字色緑 */
.eidai_set .price_flex {
  max-width: 768px;
  margin: 40px auto 0;
}

.eidai_set .price_flex ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

.eidai_set .price_flex ul li {
  list-style: none;
  flex: 0 1 calc(33.333% - 30px);
  color: #017DA6;
  border: 2px solid #017DA6;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 10px;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
 .eidai_set  .price_flex ul li { flex-basis: calc(50% - 30px); }
}

@media only screen and (max-width: 480px) {
 .eidai_set  .price_flex ul li { flex-basis: 100%; }
}

.kanri {
  text-align: right;
  margin-top: 40px;
}

.eidai_set h5 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 60px;
  line-height: 1.5;
  margin-bottom: 60px;
}



/* 樹木葬   */

.jumoku {
  padding-top: 80px;
}

.jumoku h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.jumoku_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.jumoku_text p {
  padding-bottom: 20px;
}

.uketsuke {
  text-align: center;
  display: block;
  margin: 30px auto;
  font-size: 1rem;
}

.jumoku_suggest_container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.jumoku_suggest {
  background-color: #ddd1b4; /* 薄緑 */
  padding: 0 0 50px;
  margin-top: 80px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_suggest h3 {
  width: 100vw;
  background-color: #af8313; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_suggest h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #af8313; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.jumoku_suggest ul {
  max-width: 750px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0 0;
  font-size: 1.2rem;
  line-height: 2;
}

.jumoku_suggest ul li {
  position: relative;
  padding-left: 35px;
  font-size: 1.4rem;
  flex: 0 1 calc(50% - 20px);
}

@media only screen and (max-width: 600px) {
  .jumoku_suggest ul li { flex-basis: 100%; }
}

.jumoku_suggest ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 2px solid #af8313;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  color: #af8313;
  font-weight: bold;
}

.jumoku_cost {
  background-color: #ddd1b4; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  padding-bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_cost h3 {
  width: 100vw;
  background-color: #af8313; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_cost h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #af8313; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.jumoku_cost_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.jumoku_cost_item {
  background-color: #fff;
  padding: 20px;
  width: 30%;
  height: 300px;
  background-color: #af8313;
  border-radius: 5%;
}

.jumoku_cost_item h4 {
  font-size: 1.4rem;
  height: 60px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.jumoku_cost_item p {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.cost_img {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}
.cost_img2 {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}

.cost_img img {
  width: 40%;
}

.cost_img2 img {
  width: 70%;
}

.jumoku_set {
  background-color: #ddd1b4; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_set h3 {
  width: 100vw;
  background-color: #af8313; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.jumoku_set h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #af8313; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.jumoku_set .price h4 {
  text-align: center;
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #af8313;
  margin: 0 auto;
}

.jumoku_set .price p {
  font-size: 1.2rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.jumoku_set .price ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-width: 700px;
  margin: 20px auto;
}

.jumoku_set .price ul li {
  width: 40%;
  font-size: 1.2rem;
  line-height: 2; 
}

.price img {
  width: 65%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
}

.zabuton {
  background-color: #cbcbcb;
  text-align: center;
}

.tax {
  text-align: left;
}

.price img {
  display: block;
  text-align: center;
  margin: 0 auto;
}


/* price_flex: 3列・緑の丸囲み・文字色緑 */
.jumoku_set .price_flex {
  max-width: 768px;
  margin: 40px auto 0;
}

.jumoku_set .price_flex ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

.jumoku_set .price_flex ul li {
  list-style: none;
  flex: 0 1 calc(33.333% - 30px);
  color: #af8313;
  border: 2px solid #af8313;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 10px;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
 .jumoku_set  .price_flex ul li { flex-basis: calc(50% - 30px); }
}

@media only screen and (max-width: 480px) {
 .jumoku_set  .price_flex ul li { flex-basis: 100%; }
}

.kanri {
  text-align: right;
  margin-top: 40px;
}

.jumoku_set h5 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 60px;
  line-height: 1.5;
  margin-bottom: 60px;
}


/* 合祀墓   */

.goshibo {
  padding-top: 80px;
}

.goshibo h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.goshibo_text {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 30px;
}

.goshibo_text p {
  padding-bottom: 20px;
}

.uketsuke {
  text-align: center;
  display: block;
  margin: 30px auto;
  font-size: 1rem;
}

.goshibo_suggest_container {
  margin-bottom: 80px;
}

.goshibo_suggest {
  background-color: #f9dfd5; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_suggest h3 {
  width: 100vw;
  background-color: #eb9a7a; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_suggest h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #eb9a7a; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.goshibo_suggest ul {
  max-width: 750px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0 0;
  font-size: 1.2rem;
  line-height: 2;
}

.goshibo_suggest ul li {
  position: relative;
  padding-left: 35px;
  font-size: 1.4rem;
  flex: 0 1 calc(50% - 20px);
}

@media only screen and (max-width: 600px) {
  .goshibo_suggest ul li { flex-basis: 100%; }
}

.goshibo_suggest ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 2px solid #eb9a7a;
  border-radius: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  color: #eb9a7a;
  font-weight: bold;
}

.goshibo_cost {
  background-color: #f9dfd5; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  margin-top: 80px;
  position: relative;
  padding-bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_cost h3 {
  width: 100vw;
  background-color: #eb9a7a; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_cost h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #eb9a7a; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.goshibo_cost_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.goshibo_cost_item {
  background-color: #fff;
  padding: 20px;
  width: 30%;
  height: 330px;
  background-color: #eb9a7a;
  border-radius: 5%;
}

.goshibo_cost_item h4 {
  font-size: 1.4rem;
  height: 60px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.goshibo_cost_item p {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.08rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.cost_img {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}
.cost_img2 {
  text-align: center;
  height: 100px;
  margin-top: 20px;
}

.cost_img img {
  width: 40%;
}

.cost_img2 img {
  width: 70%;
}

.goshibo_set {
  background-color: #f9dfd5; /* 薄緑 */
  padding: 0 0 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_set h3 {
  width: 100vw;
  background-color: #eb9a7a; /* 濃い緑 */
  color: #fff; /* 白文字 */
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.goshibo_set h3::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid #eb9a7a; /* 濃い緑の矢印 */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
}

.goshibo_set .price h4 {
  text-align: center;
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #eb9a7a;
  margin: 0 auto;
}

.goshibo_set .price h4 span {
  font-size:3.5rem;
}

.goshibo_set .price p {
  font-size: 1.2rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.goshibo_set .price ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-width: 700px;
  margin: 20px auto;
}

.goshibo_set .price ul li {
  width: 40%;
  font-size: 1.2rem;
  line-height: 2; 
}

.price img {
  width: 65%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
}

.zabuton {
  background-color: #cbcbcb;
  text-align: center;
}

.tax {
  text-align: left;
}

.price img {
  display: block;
  text-align: center;
  margin: 0 auto;
}


/* price_flex: 3列・緑の丸囲み・文字色緑 */
.goshibo_set .price_flex {
  max-width: 768px;
  margin: 40px auto 0;
}

.goshibo_set .price_flex ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
}

.goshibo_set .price_flex ul li {
  list-style: none;
  flex: 0 1 calc(33.333% - 30px);
  color: #eb9a7a;
  border: 2px solid #eb9a7a;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 10px;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
 .goshibo_set  .price_flex ul li { flex-basis: calc(50% - 30px); }
}

@media only screen and (max-width: 480px) {
 .goshibo_set  .price_flex ul li { flex-basis: 100%; }
}

.kanri {
  text-align: right;
  margin-top: 40px;
}

.goshibo_set h5 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 60px;
  line-height: 1.5;
  margin-bottom: 60px;
}

.page {
  margin-top: 80px;
  margin-bottom: 80px;
}

.page h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 3;
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/

/* 自動入力されるPタグをインライン化 */
.inquiry p {
  display: inline;
}

/* テーブル基本スタイル */
table.inquiry {
  margin-bottom: 30px;
  border: solid 1px #d7d7d7;
  line-height: 1.2;
  vertical-align: middle;
  width: 100%;
}

.inquiry tr {
  border: 0 !important;
  width: 100%;
}

.inquiry th {
  text-align: left;
  font-size: 1rem;
  color: #444;
  padding: 1em 1em;
  background: #efefef;
  border: solid 1px #d7d7d7;
  vertical-align: top;
  white-space: nowrap;
}

.inquiry td {
  font-size: 1rem;
  border: solid 1px #d7d7d7;
  padding: 0.7em 5px;
}

/* 必須 / 任意 バッジ */
.haveto,
.any {
  font-size: 1rem;
  padding: 5px;
  background: #6cbb5a;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  white-space: nowrap;
}

.any {
  background: #999;
}

/* 入力欄 */
.wpcf7-form-control {
  width: 100%;
}

.inquiry input,
.inquiry select,
.inquiry textarea {
  margin: 5px 0;
  background: #eff1f5;
  border: none;
  padding: 0.7em;
}

.inquiry textarea {
  padding-bottom: 10em;
}

/* ラジオ・チェックボックス */
.wpcf7-list-item-label,
.wpcf7-checkbox,
input[type="checkbox"],
input[type="radio"] {
  vertical-align: middle;
}

.wpcf7-list-item-label {
  padding: 0 5px 0 2px;
  text-align: center;
}

.verticallist {
  display: inline-grid;
}

/* 送信ボタン */
.wpcf7-submit {
  display: block;
  margin: 30px auto;
  padding: 1em 0;
  width: 80%;
  background: #09b555;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  text-align: center;
}

.wpcf7-submit:hover {
  opacity: 0.9;
  transition: 0.3s;
}

/* エラーメッセージ */
.screen-reader-response {
  display: none;
}

.wpcf7-not-valid-tip {
  color: #e92323;
  padding-left: 5px;
}

/* 確認部分 */
.kakunin {
  text-align: center;
}

/*******************************************************
  ▼ 必須バッジと見出し文章のズレ防止（共通）
*******************************************************/
.wpcf7 form th p {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  flex-wrap: wrap;
  white-space: normal !important;
}
.wpcf7 form th p .haveto {
  flex-shrink: 0;
  white-space: nowrap;
}

/*******************************************************
  ▼ スマホ（〜480px）
  完全縦並び
*******************************************************/
@media (max-width: 480px) {
  .wpcf7 form table {
    display: block !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  .wpcf7 form table tr {
    display: block !important;
    width: 100% !important;
  }

  .wpcf7 form table th,
  .wpcf7 form table td {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    padding: 12px 10px !important;
    box-sizing: border-box;
  }
}

/*******************************************************
  ▼ タブレット（481〜768px）
  横並びだが折り返しあり（最重要）
*******************************************************/
@media (min-width: 481px) and (max-width: 768px) {
  .wpcf7 form table {
    width: 100%;
    table-layout: auto;
    display: table;
  }

  .wpcf7 form table tr {
    display: table-row;
  }

  .wpcf7 form table th,
  .wpcf7 form table td {
    display: table-cell;
    white-space: normal !important;
    word-break: break-word;
    padding: 10px 14px !important;
    vertical-align: top;
  }
}

/*******************************************************
  ▼ PC（769px〜）
*******************************************************/
@media (min-width: 769px) {
  .wpcf7 form table {
    width: auto;
    table-layout: auto;
    display: table;
  }

  .wpcf7 form table tr {
    display: table-row;
  }

  .wpcf7 form table th,
  .wpcf7 form table td {
    display: table-cell;
    white-space: normal;
    vertical-align: top;
  }
}

/* アーカイブページ */
.archive-container {
  padding: 80px 0;
  background-color: #fff;
}

.archive-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 60px;
  color: #333;
}

.archive-posts {
  max-width: 800px;
  margin: 0 auto;
}

.archive-post {
  padding: 30px 0;
  border-bottom: 1px solid #000;
}

.archive-post:last-child {
  border-bottom: none;
}

.post-meta {
  margin-bottom: 10px;
}

.post-date {
  font-size: 0.9rem;
  color: #666;
  font-family: "Noto Serif JP", serif;
}

.post-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
}

.post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #6CBB5A;
}

.no-posts {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding: 60px 0;
}

/* ページネーション */
.pagination_area {
  text-align: center;
  margin-top: 60px;
}

.pagination {
  text-align: center;
  margin-top: 60px;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.page-numbers:hover,
.page-numbers.current {
  background-color: #6CBB5A;
  color: #fff;
  border-color: #6CBB5A;
}

.page-numbers.prev,
.page-numbers.next {
  font-weight: bold;
}

.page-numbers.dots {
  border: none;
  cursor: default;
}

.page-numbers.dots:hover {
  background-color: transparent;
  color: #333;
}

/* 追加CSSで消す記述 */

#autozip {
  display: none !important;
}

/* お知らせセクション */

.news {
  margin-top: 80px;
  margin-bottom: 80px;
}

.news .wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}


.news h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 80px;
  line-height: 1.4;
  position: relative;
  padding: 0 20px;
}

.news h1::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background-color: #4CAF50;
  border-radius: 3px;
}

.news p {
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  margin: 0 auto;
  padding: 20px;
}


.news .wp-block-image img {
  width: 100%;
  padding: 20px;

  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.news-item-date {
  font-size: 1.2rem;
  font-weight: 500;
} 

.news-item-title {
  font-size: 1.2rem;
  font-weight: 500;
} 

/* 記事ナビゲーション */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-previous {
  text-align: left;
  padding-left: 20px;
}

.nav-next {
  text-align: right;
  padding-right: 20px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nav-arrow {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-text {
  font-size: 0.9rem;
}

/* アーカイヴページ */

.news-arc {
  padding-top: 80px;
}

.news-arc h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.news-arc ul.news-list {
  padding: 40px 10px 80px;
}

.news-arc ul.sticky-list {
  padding: 0 10px 0; /* 固定記事は詰める */
}

/* 固定記事リスト直後の通常リスト先頭の上罫線を消す（二重線防止） */
.news-arc ul.sticky-list + ul.news-list .item:first-child a {
  border-top: none;
}

/* 固定記事リスト直後の通常リストの上余白を削除（隙間調整） */
.news-arc ul.sticky-list + ul.news-list {
  padding-top: 0;
}