@charset "utf-8";
/* @group reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border:0;
	outline: 0;
}
html {
	overflow: inherit;
	height: 100%;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display:block;
}
a {
	display:inline;
}

body {
	letter-spacing:0;
	-webkit-text-size-adjust: 100%;
    margin:0;
}
h1, h2, h3, h4, h5, h6, p, td, th, address {
	font-size:100%;
	font-weight:normal;
}
ol,ul {
	list-style: none;
}

fieldset,img {
	border: 0;
}
img {
	vertical-align:top;
}
table {
	width:100%;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
}
th, td {
	text-align:left;
	vertical-align:top;
}
caption,th {
	text-align: left;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
	font-weight: normal;
}
sup {
	font-size:62.5%;
	vertical-align: text-top;
}
*{
 box-sizing:border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior:smooth;
}

/* @end */

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
	font-size: 1.8rem;
	line-height: 2;
    color: #000;
    background: url("../img/bg.png") repeat top;
    }

img{
max-width: 100%;
height: auto;
}

#wrapper {
	width: auto;

}
.image-vw {
  width : 100vw ;
}
strong {
  font-weight: 700;
}
p {
  margin-bottom: 5%;
}
#pageTop{
	position: fixed;
	bottom:5%;
	right: 1%;
	width:5%;
    z-index: 999;
    font-size: 5.0rem;
	}

.center{
  display: block;
  text-align: center;
}
.right{
  display: block;
  text-align: right;
}
.sm { display: none; }  /* miniを非表示 */
.pc  { display: block; } /* bigを表示 */
.br_sp  { display: none; }
.br_pc  { display: block; }

/* 全アンカーポイント共通固定ナビ分下げる */
[id] {
  scroll-margin-top: 130px;
}

h1{
 margin:0;
}
h2{
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    color: #3C5A02;
    font-size: 3.0rem;
      margin-top: 5%;
}
h3{
  font-weight: 500;
  font-size: 2.0rem;
}
.under_text{
  border-bottom : solid 1px #fff;
  padding-bottom: 5%;
}
.tel_link {
  text-decoration: none;
}
.section_con {
  margin: 8% 0;
}


/* PCでは電話番号のリンクを無効にする */
@media screen and (min-width: 1249px) {
    .tel_link {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/* スマホ・タブレットでは電話番号をクリック可能にする */
@media screen and (max-width: 1248px) {
    .tel_link {
        pointer-events: auto;
        cursor: pointer;
    }
}

/*　スマホ　*/
@media screen and (max-width: 767px){

 body {
	font-size: 1.6rem;
    font-weight: 400;
    }
p {
    font-weight: 400;
    }
#pageTop{
	position: fixed;
	bottom:3%;
	right: 0;
	width:17%;
    font-size: 4.0rem;
	}

.sm { display: block; }  /* miniを表示 */
.pc  { display: none; } /* 非bigを表示 */
.br_sp  { display: block; }
.br_pc  { display: none; }

/* 全アンカーポイント共通固定ナビ分下げる */
[id] {
  scroll-margin-top: 120px;
}
h1 img{
 width: 70%;
}
h2{
    font-size: 2.0rem;
}
}


/*　タブレット　*/
@media screen and (min-width:768px) and (max-width:1248px){
body {
	font-size: 1.7em;
}
#pageTop{
	position: fixed;
	bottom:5%;
	right: 0;
	width:10%;
	}

}

/*フォント*/

.font_65 { font-size: 6.5rem;}
.font_60 { font-size: 6rem; }
.font_55 { font-size: 5.5rem; }
.font_50 { font-size: 5rem; }
.font_45 { font-size: 4.5rem; }
.font_40 { font-size: 4rem; }
.font_35 { font-size: 3.5rem; }
.font_30 { font-size: 3rem; }
.font_25 { font-size: 2.5rem; }
.font_22 { font-size: 2.2rem; }
.font_20 { font-size: 2rem; }
.font_18 { font-size: 1.8rem; }
.font_15 { font-size: 1.5rem; }
.font_12 { font-size: 1.2rem;}

.font_w{
  color: #fff;
}
.font_r{
  color: #AD171C;
}
.font_b{
  color: #000;
}
.font_o{
  color: #B49664;
}

/* フォント太さ */

.font_medium{
  font-weight: 500;
}
.font_bold{
  font-weight: 700;
}


/* =================================
   タブレット：769px〜1024px
================================= */
@media screen and (max-width: 1024px) {

.font_65 { font-size: 2.0rem;}
.font_60 { font-size: 4.8rem; }
  .font_55 { font-size: 4.4rem; }
  .font_50 { font-size: 4rem; }
  .font_45 { font-size: 3.6rem; }
  .font_40 { font-size: 3.4rem; }
  .font_35 { font-size: 3rem; }
  .font_30 { font-size: 2.7rem; }
  .font_25 { font-size: 2.3rem; }
  .font_22 { font-size: 2.1rem; }
  .font_20 { font-size: 1.9rem; }
  .font_18 { font-size: 1.8rem; }
  .font_15 { font-size: 1.5rem; }
.font_12{ font-size: 1.2rem;}
}

/* =================================
   スマートフォン：481px〜768px
================================= */
@media screen and (max-width: 768px){

.font_65 { font-size: 1.9rem;}
.font_60 { font-size: 3.6rem; }
  .font_55 { font-size: 3.4rem; }
  .font_50 { font-size: 3.2rem; }
  .font_45 { font-size: 3rem; }
  .font_40 { font-size: 2.8rem; }
  .font_35 { font-size: 2.6rem; }
  .font_30 { font-size: 2.4rem; }
  .font_25 { font-size: 2.1rem; }
  .font_22 { font-size: 1.9rem; }
  .font_20 { font-size: 1.8rem; }
  .font_18 { font-size: 1.7rem; }
  .font_15 { font-size: 1.5rem; }
}

/* =================================
   小さなスマートフォン：480px以下
================================= */
@media screen and (max-width: 480px) {
  .font_60 { font-size: 3rem; }
  .font_55 { font-size: 2.8rem; }
  .font_50 { font-size: 2.7rem; }
  .font_45 { font-size: 2.6rem; }
  .font_40 { font-size: 2.4rem; }
  .font_35 { font-size: 2.3rem; }
  .font_30 { font-size: 2.2rem; }
  .font_25 { font-size: 2rem; }
  .font_22 { font-size: 1.8rem; }
  .font_20 { font-size: 1.7rem; }
  .font_18 { font-size: 1.6rem; }
  .font_15 { font-size: 1.5rem; }
}

/*フォントおわり*/

/*====================
固定ヘッダー
====================*/

#header{
 width:100%;
 height:125px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:0 40px;
 background:rgba(60,90,2,0.8);
 position:fixed;
 top:0;
 left:0;
 z-index:9999;
 }

/*====================
PCナビ
====================*/

#g-nav ul{
 display:flex;
 gap:40px;
 list-style:none;
 margin:0;
 padding:0;
}

/* ナビゲーションのリンクは通常時アンダーラインなし */
#g-nav a{
 text-decoration:none;
 color:#fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
/* ナビゲーションにマウスを乗せたときだけ表示 */
#g-nav a:hover {
    text-decoration: underline;
}

/*====================
ファーストビュー
====================*/

.fv{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:sticky;
  top:0;
  overflow:hidden;
  z-index:1;

}

/* 背景画像 */

.fv::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image: url("../img/top_img.png");
  background-size:cover;
  background-position:center;
  animation:zoomUp 10s ease-out forwards;
  z-index:-1;
}

/*　スマホ　*/
@media screen and (max-width: 767px){

.fv::before{
  background-image: url("../img/sp_top_img.png");
}
}

/* 画像ズーム */

@keyframes zoomUp{
  0%{
    transform:scale(1);
  }
  100%{
    transform:scale(1.15);
}
}

/*====================
下コンテンツ
====================*/

#conteiner{
 position:relative;
 z-index:2;
}

/* ====================
ハンバーガーボタン
==================== */

.openbtn {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 10001;
}

.openbtn span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: all 0.4s ease;
  margin:7px 0;
}

.openbtn span:nth-child(1) {
  top: 9px;
}

.openbtn span:nth-child(2) {
  top: 19px;
}

.openbtn span:nth-child(3) {
  top: 29px;
}


/* ====================
スマホ・タブレット
==================== */

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

  #header {
    height: 100px;
    padding: 0 20px;
  }
  #header h1 img {
    width: 90%;
  }

  /* ハンバーガー表示 */

  .openbtn {
    display: block;
  }

  /* ====================
  スマホナビ
  ==================== */

  #g-nav {
    position: fixed;
    top: 100px;
    left: 0;

    width: 100%;
    height: auto;

    background: #3C5A02;

    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;

    transition:
      transform 0.4s ease,
      opacity 0.4s ease,
      visibility 0.4s ease;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* メニューOPEN */

  #g-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  #g-nav ul {
    display: block;

    margin: 0;
    padding: 30px 20px;
    list-style: none;
    text-align: center;
  }

  #g-nav li {
    margin: 0 0 20px;
  }
  #g-nav li:last-child {
    margin-bottom: 0;
  }
  #g-nav a {
    display: block;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }

  /* ====================
  ハンバーガー → ×
  ==================== */

  .openbtn.active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
  }

  .openbtn.active span:nth-child(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}
}


/* 26.10.19追記 */

/* ====================
ヘッダー右側
==================== */

.header-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* SNS・電話アイコン */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 30px;
    color: #fff;

}

.header-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.header-icons img {
    display: block;
    width: 28px;
    height: auto;
}

/* PCでは電話リンクを無効 */
@media screen and (min-width: 1249px) {
    .header-icons .tel_link {
        pointer-events: none;
        cursor: default;
}
}

/* ====================
スマホ・タブレット
==================== */

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

    .header-right {
        gap: 10px;
    }

    .header-icons {
        gap: 15px;
        font-size: 35px;

    }

    .header-icons img {
        width: 65px;
    }

    /* スマホでは電話リンク有効 */
    .header-icons .tel_link {
        pointer-events: auto;
}
    .openbtn {
        transform: translateY(-6px);
}
}

/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.9s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger{
    opacity: 0;
}

/*========= 一文字づつ流れるテキスト ===============*/

.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}


/* ====================
冒頭
==================== */
.contents80 {
  width: 80%;
  margin: 0 auto;
  max-width: 1536px;
}
.main_con {
  padding: 15% 0;
   background:#F9F4E4;
   background-color: rgba(249,244,228,0.9); /* 透明度90% */
}
.main_con ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
li.main_text {
  width: 45.5%;
  padding: 10% 0;
}
li.main_photo {
  width: 48.8%;
  padding: 5% 0;
}
.main_title {
  text-align: center;
  margin: 8% 0;
}
.main_photo02 {
  text-align: center;
  margin: 3% auto;
  width: 87.5%;
}

/* タブレット　*/

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

.contents80 {
  width: 90%;
}
.main_con ul {
  justify-content: center;
  flex-direction: column
}
li.main_text {
  width: 100%;
}
li.main_photo {
  width: 90%;
  margin: 0 auto;

}
.main_photo02 {
  width: 90%;
}
.main_title img {
  width: 10%;
}
}
/* スマホ　*/

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

.contents80 {
  width: 90%;
}
.main_con ul {
  justify-content: center;
  flex-direction: column
}
li.main_text {
  width: 100%;
}
li.main_photo {
  width: 90%;
  margin: 0 auto;

}
.main_photo02 {
  width: 90%;
}
.main_title img {
  width: 17%;
}
}


/* ====================
instagram
==================== */

.con_title {
    margin: 3% 0;
}
.all_con {
    background: url("../img/bg.png") repeat top;
    padding: 5% 0;
}
.viewmore {
    padding: 0.5% 0;
    margin:2% 0;
    border-bottom: solid 1px;
    width: 130px;
}
/* スマホ　*/

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

.con_title {
    margin: 3% 0 7%;
}
}


/* ====================
歴史・境内・文化財
==================== */

.photo-area {
    position: relative;
    width: 100%;
}

/* 画像 */
.photo-area img {
    display: block;
    width: 62.5%;
    margin-left: auto;
}

/* ボックス */
.photo-box {
    position: absolute;
    width: 46.8%;

    /* 画像の左側に配置 */
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    padding: 1% 5% 5%;
    box-sizing: border-box;
    background:rgba(60,90,2,0.8);
    z-index: 2;
    color:#fff;
}
.right_con_group {
    margin: 0 0 8%;
}
.left_photo-area {
    position: relative;
    width: 100%;
}

/* 画像 */
.left_photo-area img {
    display: block;
    width: 62.5%;
    margin-right: auto;
}

/* ボックス */
.left_photo-box {
    position: absolute;
    width: 46.8%;

    /* 画像の左側に配置 */
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    padding: 1% 5% 5%;
    box-sizing: border-box;
    background:rgba(60,90,2,0.8);
    z-index: 2;
    color:#fff;
}
.left_con_group {
    margin: 0 0 8%;
}

/* タブレット　*/

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

/* 画像 */
.photo-area img {
    width: 80%;
}

/* ボックス */
.photo-box {
    width: 80%;

    /* 画像の左側に配置 */
    left: 0;
    top: 80%;
}
.right_con_group {
    margin: 10% 0 25%;
}
.left_photo-area {
    position: relative;
    width: 100%;
}

/* 画像 */
.left_photo-area img {
    width: 80%;
}

/* ボックス */
.left_photo-box {
    width: 80%;

    /* 画像の左側に配置 */
    right: 0;
    top: 80%;
}
.left_con_group {
    margin: 10% 0 25%;
}
}

/* スマホ　*/

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

/* 画像 */
.photo-area img {
    width: 90%;
}

/* ボックス */
.photo-box {
    width: 90%;
    padding: 1% 5% 10%;

    /* 画像の左側に配置 */
    left: 0;
    top: 80%;
}
.right_con_group {
    margin: 10% 0 500px;
}
.left_photo-area {
    position: relative;
    width: 100%;
}

/* 画像 */
.left_photo-area img {
    width: 90%;
}

/* ボックス */
.left_photo-box {
    width: 90%;
    padding: 1% 5% 15%;

    /* 画像の左側に配置 */
    right: 0;
    top: 80%;
}
.left_con_group {
    margin: 10% 0 500px;
}
}

/* ====================
墓苑・永代供養墓
==================== */

.brave_space > ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 上の楕円 */
.half-ellipse {
    display: block;
    width: 100%;
    height: 150px;
    margin: 0 0 -150px 0;
    padding: 0;
    background-color: #F9F4E4;
    border-radius: 100% 100% 0 0;
    position: relative;
    z-index: 1;
}

/* 墓苑エリア */
.ellipse_con {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 0 20%;
    background-color: #F9F4E4;
    z-index: 2;
}
/* タイトル中央 */
.con_title_center {
    text-align: center;
    margin: 0 auto 5%;
}

/* 画像＋文字 */
.image-content {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 背景画像 */
.bg-image {
    width: 100%;
    height: 1300px;
    background: url("../img/grave_photo.png") no-repeat center center;
    background-size: cover;
}

/* 右側コンテンツ */
.side-content {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 20%;
    padding: 40px 30px;
    box-sizing: border-box;
}

/* タイトル */
.grave_text_tit {
    writing-mode: vertical-rl;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    color: #3C5A02;
    font-size: 3.0rem;
    line-height: 1.8;
    margin: 0 auto 10%;
}

/* 説明文 */
.grave_text_sen {
    margin: 10% auto;
    line-height: 2;
}

/* ボタン */
.link-button {
    display: block;
    width: 100%;
    padding: 15px 0;
    background-color: #3C5A02;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.link-button:hover {
    opacity: 0.8;
}
.brave_space,
.brave_space > ul,
.ellipse_con,
.image-content,
.bg-image {
    width: 100%;
}

/* 26.10.29追加 */

.top_grave {
    display: flex;
    justify-content: space-between;
}
ul.top_grave li {
    width: 30%;
}


/* ====================
タブレット
==================== */

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

    .brave_space > ul {
        margin-top: 50px;
}

    .bg-image {
        height: 1300px;
        background-image: url("../img/sp_grave_photo.png");
        background-size: cover;
        background-position: center;
    }

    .side-content {
        position: static;
        width: 100%;
        padding: 50px 10%;
    }

    .grave_text_tit {
        writing-mode: horizontal-tb;
        font-size: 2.8rem;
        margin: 0 0 30px;
    }

    .grave_text_sen {
        margin: 0 0 30px;
    }
.ellipse_con {
    padding: 0 0 10%;
}
}


/* ====================
スマホ
==================== */

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

    .brave_space > ul {
        margin-top: 40px;
}

    .half-ellipse {
        height: 80px;
        margin-bottom: -80px;
    }

    .ellipse_con {
        margin: 0;
        padding-bottom: 15%;
    }


    .bg-image {
        width: 100%;
        margin: 0 auto;
        height: 530px;
        background-image: url("../img/sp_grave_photo.png");
        background-size: contain;
        background-position: center;
    }

    .side-content {
        position: static;
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    .grave_text_tit {
        writing-mode: horizontal-tb;
        font-size: 2.5rem;
        line-height: 1.8;
        margin: 0 0 0;
    }

    .grave_text_sen {
        margin: 0 0 0;
        line-height: 2;
    }

    .link-button {
        width: 100%;
    }

/* 26.10.29追加 */

.top_grave {
    flex-direction: column;
    margin: 5% 0;
}
ul.top_grave li {
    width: 100%;
    margin-bottom: 10px;

}
}

/* ====================
アクセス
==================== */

.contents80 ul.two_cal_con  {
  width: 100%;
  display: flex;
margin-bottom: 10%;
}
.contents80 ul.two_cal_con li  {
  width: 50%;
}
.map {
  width: 90%;
  margin-bottom: 10%;
}
.contents80 ul.two_cal_con li h2  {
  margin-top: -3%;
}
.underline_tit {
  text-decoration: underline;
  text-underline-offset: 12px;
  margin-bottom: 3%;
}
.sub_section {
  margin-bottom: 5%;
}

/* スマホ　*/

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

.contents80 ul.two_cal_con  {
flex-direction: column;
width: 100%;
}
.contents80 ul.two_cal_con li  {
  width: 100%;
}
.map {
  width: 100%;
}
.underline_tit {
  margin-bottom: 10%;
}
.sub_section {
  margin-bottom: 8%;
}
}

/* ====================
フッター
==================== */

footer {
    padding: 10% 0 3%;
    background-color: #3c5a02;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding-bottom: 20%;
}
.footer_copyright {
  text-align: center;
}

/* ====================
スマホ
==================== */

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

.footer-inner {
  justify-content: flex-start;
  flex-direction: column;
}
.footer-left {
  margin-bottom: 10%;
}
}

/* ====================
インスタ
==================== */

.insta {
  border: solid 1px #3c5a02;
  padding: 8% 8% 0;
  width: 100%;
  background-color: #fff;
  border-radius: 30px; /* 角を丸くする */
  margin: 10% 0 5%;
}
.insta_left img {
  margin-bottom: 5%;
}
.insta_left{
  padding-right: 2%;
}

/* ボタンをコンテンツ中央に配置 */
.btn-wrap {
  text-align: center;
}

/* 4色グラデーションボタン */
.gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  margin-top: 5%;
  background: linear-gradient(
    110deg,
    #5c17ff 0%,
    #db00ce 33%,
    #ff1672 66%,
    #fed702 100%
  );
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.gradient-btn:hover {
  transform: translateY(-3px);
}




/* ====================
スマホ・タブレット
==================== */

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

.insta_left{
  margin-bottom: 15%;
}
.insta {
  padding: 10%;
  margin: 10% auto 5%;
}
.insta_right img{
  width: 100%;

  }

}



/* サブページ */

/* ====================
画像スライダー（共通）
==================== */

.photo-slider {
  position: relative;
  width: 100%;
  margin: 5% auto 10%;
  padding: 0 45px;
}

.photo-slider .swiper {
  width: 100%;
}

.photo-slider .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* 左右の矢印 */
.photo-slider .swiper-button-prev,
.photo-slider .swiper-button-next {
  color: #3C5A02;
}

.photo-slider .swiper-button-prev {
  left: 0;
}

.photo-slider .swiper-button-next {
  right: 0;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .photo-slider {
    padding: 0 25px;
    margin: 10% auto;
  }

  .photo-slider .swiper-button-prev,
  .photo-slider .swiper-button-next {
    transform: scale(0.5);
    margin: 0 -2%;
}
}

/* ====================
普門寺について
==================== */

.page_tit {
  display: flex;
  border-bottom: solid 1px #000;
  padding-bottom: 2%;
  margin-top: 8%;
}
.page_tit_text {
  font-family: "Shippori Mincho", serif;
  color: #3C5A02;
  line-height: 1;
  padding-left: 3%;
}
.his_text img {
  margin: 5% 0;
}
.sub_tit {
  background-color: #B49664;
  padding: 1% 0 1% 2%;
  color: #fff;
  margin: 8% 0 5%;
  font-weight: 500;
}
.naka_tit {
  font-weight: 500;
  color: #3C5A02;
  border-bottom: solid 1px #000;
  margin-bottom: 5%;
}
.naka_text {
  margin-right: 3%;
}
.naka_img {
  margin: 5% 1%;
}
.naka_order_02 {
  margin-left: 3%;
}
ul.three_cal_con {
  display: flex;
  justify-content: space-between;
  margin: 5% 0;
}
ul.three_cal_con li {
  width: 32%;
}
ul.three_cal_con img {
  margin-bottom: 5%;
}
ul.three_cal_con2 {
  display: flex;
  justify-content:flex-start;
  margin: 5% 0;
}
ul.three_cal_con2 li {
  width: 32%;
}
ul.three_cal_con2 li.space_right {
  width: 32%;
  margin-right: 2%;
}
ul.three_cal_con2 img {
  margin-bottom: 5%;
}
.square_con {
  border: solid 1px #3C5A02;
  padding: 8%;
  background-color: #fff;
}
.yamamoto_text {
  flex: 1;
  margin-right: 3%;
}
.yamamoto_img {
  flex-basis: 20%;
}
.yamamoto_con {
  border-bottom: solid 1px #3C5A02;
  margin-top: 8%;
  padding-bottom: 8%;
}
.yamamoto_con:last-child {
  border-bottom: none;
}
.kurashi {
  font-size: 1.5rem;
}
.solid_sq {
  border: solid 1px #000;
  padding: 2%;
}
.yamamoto_con dl {
	width: 100%;
}
.yamamoto_con dt {
	width: 40%;
    padding: 1% 0;
}
.yamamoto_con dd {
	width: 100%;
	padding-left: 10%;
	margin-top: -4%;
}

/* ====================
   年譜
==================== */

.history-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 30px;
  row-gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-list > li {
  display: contents;
}

.history-year {
  white-space: nowrap;
}

.history-text {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* ====================
スマホ
==================== */

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

.page_tit_mark img{
  width: 80%;
}
.page_tit_mark{
  width: 20%;
  margin-top: 3%;
}
.page_tit_text {
  padding-left: 0;
}
.naka_text {
  margin-bottom: 8%;
}
.contents80 ul.three_cal_con  {
flex-direction: column;
width: 100%;
}
.contents80 ul.three_cal_con li  {
  width: 100%;
  margin-bottom: 10%;
}
.map {
  width: 100%;
}
.underline_tit {
  margin-bottom: 10%;
}
.naka_text {
  margin-bottom: 5%;
}
.contents80 ul.three_cal_con2  {
flex-direction: column;
width: 100%;
}
.contents80 ul.three_cal_con2 li  {
  width: 100%;
}
.naka_order_02 {
  order: 1;
}
.naka_order_01 {
  order: 2;
}
.square_con {
  padding: 8% 4%;
}
.yamamoto_img img {
  width: 50%;
  margin: 0 0 0 25%;
}
.kurashi {
  font-size: 1.6rem;
}
ul.three_cal_con2 li.space_right {
  margin-bottom: 13%;
}
ul.three_cal_con2 {
  margin: 5% 0 15%
}
.solid_sq {
  padding: 5%;
}
 .history-list {
    column-gap: 15px;
    row-gap: 10px;
  }
} 

/* ====================
墓苑　永代供養墓　葬儀・法事
==================== */

.eitai_img_sp img {
  margin-bottom: 3%;
}

.sougi_text {
  flex-basis: 70%;
  margin-right: 5%;
  
}
.square_con ul.two_cal_con {
  margin-bottom: 0;
}

/* 永代供養料 */
.payment {
  background-color: #B49664;
  padding: 3%;
  width: fit-content;
  max-width: 100%;
  margin: 10% 0 3%;
  box-sizing: border-box;
}
/* 料金表示 */
.payment ul.flex-list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 左：永代供養料 */
.payment ul.flex-list > li:first-child {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* 右：料金 */
.payment ul.flex-list > li:last-child {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ====================
お問い合わせ
==================== */

.contac_sp {
  background-color: #F9F4E4;
  padding: 8% 0;
  margin: 8% 0;
}













