@charset "UTF-8";

/* ================================
   固定ページ共通（page.css）
   ※TOP以外の固定ページに読ませる想定
================================ */

/* ▼ 共通（全幅） */
/* PC / SP 切り替え（汎用）  */
.pc { display: block; }
.sp { display: none; }



/* 固定ページ：KV（#header_image） */
body.page #header_image{
  position: relative;
  overflow: hidden;
}

/* 画像は「枠に合わせてトリミング」 */
body.page #header_image > img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* トリミングの要 */
  object-position: 80% 50%;    /* 右側（花）を少し見せる基準：後で微調整 */
}

/* タイトル（親テーマの位置指定を強制上書き） */
body.page #header_image .caption{
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  transform: none !important;   /* ← 親の translate を殺す */
  width: 100% !important;
  height: 100% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;
  margin: 0 !important;
  padding: 0 16px !important;
  z-index: 2 !important;

  font-size: 40px !important;   /* ここは各MQで上書きOK */
  line-height: 1.2 !important;
}

/* 固定ページ：見出し共通（h2装飾） */
body.page h2.section-title{
  position: relative;
  display: block;
  margin: 0 0 24px;
  padding: 0 0 12px 48px; 
  border-bottom: 1px solid #dec183;

  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #282828;

  text-align: left; 
  font-family: "Zen Old Mincho", serif !important;

}

body.page h2.section-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;          
  width: 12px;
  height: 12px;
  background: #695aae;
  z-index: 2;              
}

body.page h2.section-title::after{
  content: "";
  position: absolute;
  left: 12px;              
  top: calc(0.32em + 12px);     
  width: 12px;
  height: 12px;
  background: #dec183;
  z-index: 1;                  
}

/* 画像2枚横並び */
.about-image-row{
  display: flex;
  gap: 24px;
  margin-top: 32px;
  clear: both;
}

.about-image-row img{
  display: block;
  max-width: 100% !important;
  width: auto;
  height: auto;

  flex: 1 1 0;
  min-width: 0; 
}

.about-image-row{
  width: 100%;
  max-width: 100%;
}

body.page section ul li{
	font-weight: 600;
}

/* 永代供養とは 「一般的なお墓との違い」ブロック */	
.about-diff .diff-box{
  background: #fff;
  border:#ebebeb 10px solid; 
  padding: 24px 24px;
  margin: 20px 0 18px;
}

.about-diff .diff-box p{
  margin: 0;
}
.about-diff .diff-box .diff-head{
  margin: 0 0 6px; /* 既存より少し締める */
}
.about-diff .diff-box .diff-text{
  margin: 0;
}

.about-diff .diff-row{
  display: flex;
  gap: 16px;
  /* padding: 12px 0; */
}

.about-diff .diff-row + .diff-row{
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 6px;
  padding-top: 14px; 
}

.about-diff .diff-label{
  flex: 0 0 160px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
  font-size: 1.0rem;
}

.about-diff .diff-content{
  flex: 1 1 auto;
  min-width: 0;
}

.about-diff .diff-head{
  margin: 0 0 8px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
  font-size: 1.0rem;
}

.about-diff .diff-text{
  margin: 0;
  line-height: 1.9;
  color: #333;
}

.about-diff .diff-em{
  color: #695aae;
  font-weight: 700;
}

.about-diff .diff-note{
  margin-top: 14px;
}

.about-diff .diff-illust{
  margin: 26px 0 20px;
}

.about-diff .diff-illust img{
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto ;
}

/* 永代供養とは：考え方セクション */
.about-thinking .thinking-lead{
  margin-top: 18px;
  font-weight: 700;
}

.about-thinking .thinking-check{
  margin: 10px 0 16px;
  padding-left: 1.2em;
}

.about-thinking .thinking-check li{
  margin: 8px 0;
  line-height: 1.8;
  font-weight: 600;
}

.about-thinking .thinking-subtitle{
  margin: 26px 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #d19a2b;
  line-height: 1.5;
}

.about-thinking .thinking-list{
  margin: 0 0 18px;
  padding-left: 1.2em;
}

.about-thinking .thinking-list li{
  margin: 8px 0;
  line-height: 1.8;
  font-weight: 700;
}

.about-thinking .thinking-note{
  margin-top: 18px;
}

.about-thinking .thinking-next{
  margin-top: 22px;
}

.page-cta{
  margin-top: 24px;     /* 26 → 22（少し詰める） */
  text-align: center;
}

.page-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* ▼高さを減らす */
  min-height: 50px; 
  padding: 0 26px;  
  font-size: 16px;  
  line-height: 1.2;

  font-weight: 600;
  color: #fff !important;
  background-color: #695aae;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-cta-btn:hover{
  background-color: #5a3fb0;
  color: #ffffff !important;
  transform: translateY(2px);
  box-shadow: none;
  text-decoration: none !important;
}

/* 永代供養とは：下部CTA（寺院を探す） */
.about-search-cta .about-search-cta-box{
  background: #fff;
  border: 5px solid #f5efe9;
  padding: 42px 32px;
  margin-top: 32px;
  text-align: center;
}

.about-search-cta-title{
  margin: 0 0 20px;
  font-family: "Zen Old Mincho", serif !important;
  font-weight: 600;
  font-size: 24px;
  color: #695aae;
}

.about-search-cta .about-search-cta-box a.about-search-cta-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 56px !important;       /* ★統一 */
  padding: 0 34px !important;    /* ★統一 */
  line-height: 1 !important;

  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;

  position: relative !important;
  top: 0 !important;
  transform: none !important;
  background-image: none !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
}

/* メイン（紫） */
.about-search-cta-main{
  margin: 0 0 20px;
}

.about-search-cta .about-search-cta-box a.about-search-cta-btn--primary{
  color: #fff !important;
  background-color: #695aae;
  font-size: 18px;

  width: auto !important;
  min-width: 280px !important;  
  max-width: 420px !important;
}

.about-search-cta .about-search-cta-box a.about-search-cta-btn--primary:hover{
  background-color: #5a3fb0;
  color: #fff !important;
  transform: translateY(2px);
  box-shadow: none;
}

.about-search-cta-sub{
  margin-top: 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-search-cta .about-search-cta-box a.about-search-cta-btn--outline{
  background: #fff;
  border: 2px solid #d19a2b;
  color: #d19a2b !important;

  height: 56px !important;
  padding: 0 28px !important;
  font-size: 16px;
  min-width: 220px;
}

.about-search-cta .about-search-cta-box a.about-search-cta-btn--outline:hover{
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: none;
}


.about-search-cta-note{
  margin: 30px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.about-search-cta-note p{
  margin: 6px 0;
}

/* 永代供養の主な種類 */
.types-list {
  margin: 0;
  padding: 0;
}

.types-list dt {
  font-weight: 700;
  color: #ca9b38;
  font-family: "Zen Old Mincho", serif !important;
  letter-spacing: 0.05em;
}

.types-list dd {
  margin: 0;
  line-height: 1.9;
}

/* 宗派と永代供養とはページ */
.sect-and-eitaikuyou--relation p.sect-intro{
  margin-bottom: 0 !important;
}
.sect-and-eitaikuyou--relation p.sect-intro + ul.sect-and-eitaikuyou-list{
  margin-top: 0 !important;
}

.sect-and-eitaikuyou--relation ul.sect-and-eitaikuyou-list{
  margin-bottom: 0em; 
}

.sect-and-eitaikuyou--names .sect-and-eitaikuyou-names {
  margin: 1.5em 0 1.8em;
}

.sect-and-eitaikuyou--names .sect-and-eitaikuyou-names__item {
  margin-bottom: 1.2em;
}

.sect-and-eitaikuyou--names .sect-and-eitaikuyou-names dt {
  font-weight: 700;
  font-size: 1.05em;
  margin-bottom: 0.3em;
}

.sect-and-eitaikuyou--names .sect-and-eitaikuyou-names dd {
  margin-left: 0;
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
}

.sect-and-eitaikuyou--different-sect p + ul.sect-and-eitaikuyou-list{
  margin-top: 0 !important;
}

.sect-and-eitaikuyou--different-sect ul.sect-and-eitaikuyou-list + p{
  margin-top: 0.6em !important; /* 0〜0.6emで好み調整 */
}

.sect-and-eitaikuyou--different-sect ul.sect-and-eitaikuyou-list{
  margin-bottom: 0 !important;
}

.sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects{
  margin: 1.6em 0 1.8em;
}

.sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects__item{
  margin-bottom: 1.8em;
}

.sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects dt{
  font-weight: 700;
  font-size: 1.2em;
  margin: 0 0 0.5em;
  color: #ca9b38; 
}

.sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects dd{
  margin-left: 0;
  line-height: 1.9;
  font-size: 0.95em;
}

.sect-and-eitaikuyou--main-sects .section-body > p:last-child{
  margin-top: 0.5em;
}

.sect-and-eitaikuyou--answer .sect-lead{
  margin-bottom: 0;
  font-weight: 600;
}

.sect-and-eitaikuyou--answer .sect-and-eitaikuyou-points{
  margin: 0.4em 0 0.6em;
  padding-left: 1.2em;
}

.sect-and-eitaikuyou--answer .sect-and-eitaikuyou-points li{
  margin-bottom: 0.4em;
  font-weight: 600;
}

.sect-and-eitaikuyou--answer .sect-and-eitaikuyou-points + p{
  margin-top: 0;
}

/* 寺院の方へ */
.for-temple-listing .section-body ul{
  margin: 18px 0 0px; 
  padding-left: 1.2em;  
}

.for-temple-listing .section-body ul li{
  margin: 10px 0;      
  font-weight: 700;     
}

.for-temple-listing .section-body ul + p{
  margin-top: 0;
}

.for-temple-cta .for-temple-cta-box{
}

.for-temple-cta .about-search-cta-title{
  font-size: 26px;           
}

.for-temple-cta .about-search-cta-main{
  margin-bottom: 26px;       
}

.for-temple-cta .for-temple-cta-note{
  margin: 0;
}

/* ================================
   PC（1025px以上）
================================ */
@media screen and (min-width: 1025px) {
	
.mb01{
	margin-bottom: 30px;
	
}	
	
	body.page section {
		margin-bottom: 75px !important;
	}
	
/* PC 固定ページ：KV（#header_image） */
  body.page #header_image{
    height: 280px; /* PCの見た目が良ければ、今の高さに合わせて微調整OK */
  }
  body.page #header_image > img{
    object-position: 80% 50%;
  }	
	
/* PC 画像2枚横並び */
  .about-image-row{
    gap: 3px;
    margin-top: 40px;
  }
	
/* PC 永代供養の主な種類 */	
	.types-list dt {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 0px;
  }

  .types-list dd {

  }
	
	
}


/* ================================
   タブレット（768〜1024px）
================================ */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	
.mb01{
	margin-bottom: 25px;
}	
	
	body.page section {
		margin-bottom: 65px !important;
	}	
	
/* TB 固定ページ：KV（#header_image） */
  body.page #header_image{
    height: 180px;
  }
  body.page #header_image .caption{
    font-size: 32px !important;   /* タブレットは少し小さく */
  }
  body.page #header_image > img{
    object-position: 75% 50%;     /* 花を残したいなら右寄せ気味 */
  }
	
/* TB 固定ページ：見出し共通（h2装飾） */	
  body.page h2.section-title{
    font-size: 24px;
    padding-left: 40px;
  }
  body.page h2.section-title::before,
  body.page h2.section-title::after{
    width: 10px;
    height: 10px;
  }
  body.page h2.section-title::after{
    left: 10px;
    top: calc(0.32em + 10px);
  }
	
/* TB 画像2枚横並び */
	.about-image-row{
    gap: 3px;
    margin-top: 32px;
  }
	
  .about-diff .diff-box{
    padding: 20px 18px;
  }
	
/* TB 永代供養とは 「一般的なお墓との違い」ブロック */	
  .about-diff .diff-label{
    flex-basis: 140px;
  }	
	
/* TB 永代供養とは：考え方セクション */
  .about-thinking .thinking-subtitle{
    font-size: 18px;
    margin-top: 22px;
  }
   .page-cta-btn{
    min-height: 50px;  
    padding: 0 24px;
    font-size: 15px;
  }

/* TB 永代供養の主な種類 */	
	.types-list dt {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .types-list dd {
  }

	
}


/* ================================
   スマホ（〜767px）
================================ */
@media screen and (max-width: 767px) {
  /* SP　PC / SP 切り替え（汎用） */
  .pc { display: none; }
  .sp { display: block; }	
	
.mb01{
	margin-bottom: 20px;
}		
	
	body.page section {
		margin-bottom: 55px !important;
	}	
	
/* SP 固定ページ：KV（#header_image） */
	body.page #header_image{
    height: 150px;                
  }
	
  body.page #header_image .caption{
    font-size: 28px !important;   
  }
	
  body.page #header_image > img{
    object-position: 85% 50%;     
  }
	
/* SP 固定ページ：見出し共通（h2装飾） */	
  body.page h2.section-title{
    font-size: 22px;
    padding-left: 38px;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }
  body.page h2.section-title::before,
  body.page h2.section-title::after{
    width: 8px;
    height: 8px;
  }
  body.page h2.section-title::after{
    left: 8px;
    top: calc(0.32em + 8px);
  }
	
/* SP 画像縦並び */	
  .about-image-row{
    flex-direction: column;
    gap: 6px;             
    margin-top: 16px;  
  }

  .about-image-row img{
    display: block;
    margin: 0 !important;       
    padding: 0 !important;
    line-height: 0;             
    vertical-align: top;   
  }

  .about-image-row figure,
  .about-image-row p{
    margin: 0 !important;
    padding: 0 !important;
  }	

  .about-image-row br{
  display: none !important;
}	

/* SP 永代供養とは 「一般的なお墓との違い」ブロック */	
  .about-diff .diff-box{
    padding: 16px 14px;
    border-radius: 8px;
  }

  .about-diff .diff-row{
    flex-direction: column;
    gap: 8px;
    /* padding: 12px 0; */
  }

  .about-diff .diff-label{
    flex: none;
    font-size: 16px;
  }

  .about-diff .diff-head{
    margin-bottom: 6px;
  }

  .about-diff .diff-illust{
    margin-top: 18px;
    margin-bottom: 18px;
  }	
	
/* 永代供養とは：考え方セクション */
  .about-thinking .thinking-lead{
    margin-top: 14px;
  }

  .about-thinking .thinking-check li,
  .about-thinking .thinking-list li{
    margin: 6px 0;
  }

  .about-thinking .thinking-subtitle{
    font-size: 18px;
    margin: 20px 0 10px;
  }

  .page-cta{
    margin-top: 22px;
  }

  .page-cta-btn{
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    min-height: 50px;   
    padding: 0 18px;    
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
	
/* SP 永代供養とは：下部CTA（寺院を探す） */
 .about-search-cta .about-search-cta-box{
    padding: 28px 16px;
    margin-top: 24px;
  }

  .about-search-cta-title{
    font-size: 20px;
    margin-bottom: 16px !important;
  }

  .about-search-cta-btn{
    width: 100%;
    max-width: 320px;

    height: 50px;
    padding: 0 18px !important;   /* ★強制 */
    line-height: 1 !important;    /* ★強制 */
    white-space: normal;
    text-align: center;
  }

  .about-search-cta-main .about-search-cta-btn--primary{
    min-width: 0;
    max-width: 320px;
    font-size: 16px;
  }

  .about-search-cta-sub{
    gap: 10px;
  }

  .about-search-cta-btn--outline{
    min-width: 0;
    height: 46px;
    font-size: 15px;
  }

  .about-search-cta-note{
    font-size: 14px;
    max-width: 100%;
  }
	
  .about-search-cta .about-search-cta-box br{
    display: none !important;
  }

  .about-search-cta-main,
  .about-search-cta-sub{
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 !important;
    flex-wrap: nowrap !important; /* 念のため */
  }

  .about-search-cta .about-search-cta-box a.about-search-cta-btn{
    margin: 0 !important;
  }

  .about-search-cta-note{
    margin-top: 18px !important;
  }
	
	.about-search-cta-main {
    margin-bottom: 14px !important; /* 4〜8pxで好み調整 */
  }
	
  .about-search-cta-note p:last-child {
    margin-bottom: 0 !important;
  }	
	
  /* SP 永代供養の主な種類 */
  .types-list dt {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 0px;
  }

  .types-list dd {
  }
	
  /* SP 宗派と永代供養について */
  .sect-and-eitaikuyou--names .sect-and-eitaikuyou-names {
    margin: 1.2em 0 1.5em;
  }

  .sect-and-eitaikuyou--names .sect-and-eitaikuyou-names__item {
    margin-bottom: 1em;
  }
	
  .sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects{
    margin: 1.2em 0 1.4em;
  }

  .sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects__item{
    margin-bottom: 1.4em;
  }

  .sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects dt{
    font-size: 1.2em;
    margin-bottom: 0.45em;
  }

  .sect-and-eitaikuyou--main-sects .sect-and-eitaikuyou-sects dd{
    font-size: 0.95em;
  }	
	
	
  /* SP 寺院の方へ */
  .for-temple-cta .about-search-cta-title{
    font-size: 22px;
    margin-bottom: 18px;
  }	
	
}



