@charset "UTF-8";
/*納骨堂・永代供養*/
@media (min-width: 768px) {
    .pcnone{ display: none;}
    .white_btn_box{ text-align: center; margin: 130px 0 0 0;}
    .white_btn { background-color: rgba(255,255,255,0.8); border-radius: 10px; width: 200px; height: 50px; display: inline-flex; justify-content: center; align-items: center; position: relative;}
    .white_btn::before { content: ""; width: 12px; height: 12px; border-top: 1px solid #a7a7a7; border-right: 1px solid #a7a7a7; -webkit-transform: rotate(45deg); transform: rotate(45deg); position: absolute; right: 10px;}
    .kuyoubo_box{ position: relative; width: 100%;}
    .kuyoubo_box>div>p{ color: #fff; font-size: 26px; text-align: center; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8), -1px  1px 0 rgba(0, 0, 0, 0.8), 1px  1px 0 rgba(0, 0, 0, 0.8),0 0 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.6), 0 0 9px rgba(0, 0, 0, 0.4);}
    .kuyoubo_box>.kuyoubo_inner{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: fit-content; height: fit-content; z-index: 10;}
    .img_layer{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0, 0, 0, 0.0);}
}
@media (max-width: 767.98px) {
    .spnone{ display: none;}
    .contents_inbox{ padding-bottom: 100px;}
    .white_btn_box{ text-align: center; margin: 20px 0 0 0; font-size: 12px;}
    .white_btn { background-color: rgba(255,255,255,0.8); border-radius: 10px; width: 150px; height: 40px; display: inline-flex; justify-content: center; align-items: center; position: relative;}
    .white_btn::before { content: ""; width: 12px; height: 12px; border-top: 1px solid #a7a7a7; border-right: 1px solid #a7a7a7; -webkit-transform: rotate(45deg); transform: rotate(45deg); position: absolute; right: 10px;}
    .kuyoubo_box{ position: relative; width: 100%;}
    .kuyoubo_box>div>p{ color: #fff; font-size: 16px; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8), -1px  1px 0 rgba(0, 0, 0, 0.8), 1px  1px 0 rgba(0, 0, 0, 0.8),0 0 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.6), 0 0 9px rgba(0, 0, 0, 0.4); text-align: center;}
    .kuyoubo_box>.kuyoubo_inner{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: fit-content; height: fit-content; z-index: 10;}
    .img_layer{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0, 0, 0, 0.0);}
}

/* 永代供養墓 */
img{ max-width: 100%;}
.ta-c{ text-align: center!important;}
@media (min-width: 768px) {
    .kuyoubo_p{ text-align: left; margin: 70px 0;}
    .kuyoubo_p2{ font-weight: bold; font-size: 20px; margin: 50px 0 70px 0; }
    .kuyoubo_p3{ position: relative;}
    .kuyoubo_p4{ text-align: center; margin: 70px 0;}
    .kuyoubo_probrem{ width: 100%; padding: 25px; border-radius: 20px; margin: 0 auto 20px auto; background-color: #fff;}
    .kuyoubo_probrem>dt{ position: relative; padding: 0 0 0 25px;}
    .kuyoubo_probrem>dt:before{ content: ''; background: #FDF1EF; height: 15px; width: 15px; border-radius: 10px; position: absolute; top: 20%; left: 0;}
    .kuyoubo_probrem>dd{ margin: 0; padding: 0 0 0 25px;}
    .kuyoubo_flex{ display: flex; align-items: center; text-align: center; margin: 0 0 20px 0; justify-content: center; position: relative}
    .kuyoubo_flex>p,.kuyoubo_flex>div>p{ margin: 0; display: block;}
    .kuyoubo_flex>p{ width: 30%; font-size: 20px; margin-left: 10px;}
    .kuyoubo_flex>div{ width: 50%; border: 1px dashed #000; padding: 30px 0; background: #FDF1EF;}
    .kuyoubo_flex>div>p:first-child{ font-size: 20px;}
    .kuyoubo_flex>div>p:first-child>span{ font-size: 26px;}
    .kuyoubo_flex>div>p:nth-child(2){}
    .kuyoubo_ul{ width: 100%; border-radius: 20px; background-color: #fff; position: relative; margin: 0;}
    .kuyoubo_ul>li{ margin: 0 0 0 20px;}
    .kuyoubo_ul>li:last-child{ list-style-type: none; margin-top: 5px;}
    a.kisoku{ font-weight: bold; text-decoration: underline;}
    .kuyoubo_flex2{ display: flex; align-items: center; text-align: center; margin: 0; justify-content: center; flex-direction: row-reverse;}
    .kuyoubo_flex2>p{ width: 75%; padding-left: 20px}
    .kuyoubo_flex2>img{ width: 25%;}
    .kuyoubo_flex3{ display: flex; align-items: center; text-align: center; margin: 0 0 70px 0; justify-content: center; position: relative}
    .kuyoubo_flex3>p{ margin: 0; display: block;}
    .kuyoubo_flex3>p{ width: 30%; font-size: 20px; margin-left: 10px;}
    .kuyoubo_flex3>div{ width: 35%; border: 1px dashed #000; padding: 20px 0; background: #FDF1EF;}
    .kuyoubo_flex3>div>p:first-child{ font-size: 18px; margin: 0;}
    .kuyoubo_flex3>div>p:first-child>span{ font-size: 23px;}
    .kuyoubo_flex3>div>p:nth-child(2){}
    .kuyoubo_ul_box{ display: flex; background: #fff; border-radius: 20px; align-items: center; padding: 20px 0;}
    .kuyoubo_ul_box>img{ width: 20%;}
    .kuyoubo_ul_box>ul{ width: 70%;}
    .kuyoubo_flex4{ display: flex; justify-content: center; align-items: center; margin-top: 50px;}
    .kuyoubo_flex4>div{ width: 70%;}
    .kuyoubo_flex4>p{ width: 40%; text-align: center;}
    .kuyoubo_flex4>.hotokesama{ width: 16%; margin-left: 10px;}
    .kuyoubo_flex4>.kannonsama{ width: 16%; margin-left: 10px;}
    .kuyoubo_dl{ width: 200px; margin: 0 80px 80px auto; text-align: center; }
    .kuyoubo_dl>p{ margin-bottom: 5px;}
    .kuyoubo_dl_btn{ display: flex; justify-content: space-between;}
    .kuyoubo_dl_btn>a{ width: calc( 50% - 10px ); background: #000; color: #fff; border-radius: 5px;}
}
@media (max-width: 767.98px) {
    .kuyoubo_p{ text-align: center; margin: 40px auto;}
    .kuyoubo_p2{ font-weight: bold; font-size: 16px;}
    .kuyoubo_p4{ margin-bottom: 30px;}
    .kuyoubo_probrem{ width: 100%; padding: 15px; border-radius: 20px; margin: 0 auto 20px auto; background-color: #fff;}
    .kuyoubo_probrem>dt{ position: relative; padding: 0 0 0 25px;}
    .kuyoubo_probrem>dt:before{ content: ''; background: #FDF1EF; height: 15px; width: 15px; border-radius: 10px; position: absolute; top: 20%; left: 0;}
    .kuyoubo_probrem>dd{ margin: 0; padding: 0 0 0 25px;}
    .kuyoubo_flex{ display: flex; align-items: center; text-align: center; margin: 0 0 20px 0; justify-content: center;}
    .kuyoubo_flex>p,.kuyoubo_flex>div>p{ margin: 0; display: block;}
    .kuyoubo_flex>p{ width: calc(40% - 10px); margin-right: 10px;}
    .kuyoubo_flex>div{ width: 60%; border: 1px dashed #000; padding: 10px; background: #FDF1EF;}
    .kuyoubo_flex>div>p:first-child{}
    .kuyoubo_flex>div>p:first-child>span{ font-size: 20px;}
    .kuyoubo_flex>div>p:nth-child(2){ }
    .kuyoubo_flex3{ display: flex; align-items: center; text-align: center; margin: 0 0 40px 0; justify-content: center;}
    .kuyoubo_flex3>p,.kuyoubo_flex>div>p{ margin: 0; display: block;}
    .kuyoubo_flex3>p{ width: calc(40% - 10px); margin-right: 10px;}
    .kuyoubo_flex3>div{ width: 60%; border: 1px dashed #000; padding: 10px; background: #FDF1EF;}
    .kuyoubo_flex3>div>p:first-child{ margin: 0;}
    .kuyoubo_flex3>div>p:first-child>span{ font-size: 18px;}
    .kuyoubo_flex3>div>p:nth-child(2){ }
    .kuyoubo_ul{ width: 100%; border-radius: 20px; padding: 0; background-color: #fff; position: relative;}
    .kuyoubo_ul>li{ margin: 0 0 0 20px;}
    .kuyoubo_ul>li:last-child{ list-style-type: none; margin-top: 5px;}
    a.kisoku{ font-weight: bold; text-decoration: underline;}
    .kuyoubo_flex2>img{ width: 210px; margin: 0 auto; display: block;}
    .kannonsama{ width: 130px; margin: 0 auto; display: block;}
    .hotokesama{ width: 130px; margin: 0 auto; display: block;}
    .kuyoubo_ul_box{ display: flex; background: #fff; border-radius: 20px; align-items: center; flex-wrap: wrap; justify-content: center; padding: 30px 10px}
    .kuyoubo_ul_box>img{ width: 45%;}
    .kuyoubo_ul_box>ul{ width: 100%;}
    .kuyoubo_flex4{ margin-top: 30px;}
    .kuyoubo_dl{ width: 200px; margin: 0 auto 40px; text-align: center; }
    .kuyoubo_dl>p{ margin-bottom: 5px;}
    .kuyoubo_dl_btn{ display: flex; justify-content: space-between;}
    .kuyoubo_dl_btn>a{ width: calc( 50% - 10px ); background: #000; color: #fff; border-radius: 5px;}
}

/*納骨堂*/
@media (min-width: 768px) {
    .noukotudo_gap{ padding: 30px;}
    .noukotudo_flex{ display: flex; justify-content: center; align-items: center;}
    .noukotudo_flex>div{ width: 60%;}
    .noukotudo_flex>p{ width: 40%; text-align: center;}
    .noukotudo_flex>.hotokesama{ width: 16%; margin-left: 10px;}
    .noukotudo_flex>.kannonsama{ width: 16%; margin-left: 10px;}
    .noukokudo_p_box{ background: #fff; padding: 30px; border-radius: 20px;}
    .noukokudo_flex2{ display: flex; align-items: center; text-align: center; margin: 0; justify-content: center; flex-direction: row-reverse;}
    .noukokudo_flex2>p{ width: 75%; padding-left: 20px}
    .noukokudo_flex2>img{ width: 25%;}
}
@media (max-width: 767.98px) {
    .noukotudo_gap{ padding: 15px;}
    .noukokudo_flex2>img{ width: 75%; display: block; margin: 10px auto;}

}
/*使用規約*/
.tomb_dl_num>dd{ counter-increment: cnt;}
.tomb_dl_num>dd:before{ content: counter(cnt)"."; display: inline-block;}
.kiyaku_p{ text-align: right;}
@media (min-width: 768px) {
    .tomb_dl{ margin: 30px 0;}
    .tomb_dl:first-of-type{ margin-top: 100px;}
    .tomb_dl>dd{ margin: 5px 0 5px 20px; }
    .tomb_dl_num>dd:before{ width: 25px; margin-left: -25px;}
    .tomb_dl_num>dd{ margin-left: 50px}
    .kiyaku_p{ margin-top: 80px;}
}
@media (max-width: 767.98px) {
    .tomb_dl{ margin: 15px 0;}
    .tomb_dl:first-of-type{ margin-top: 50px;}
    .tomb_dl>dd{ margin: 5px 0 5px 10px; }
    .tomb_dl_num>dd:before{ width: 15px; margin-left: -15px;}
    .tomb_dl_num>dd{ margin-left: 30px}
    .kiyaku_p{ margin-top: 40px;}
}


/* 2025.05.09追加 */
@media (min-width: 768px) {
    .img_flex{ display: flex; justify-content: center; margin: 0 0 60px 0;}
	.img_flex img{ width: 400px; margin: 0 15px;}
	.kuyoubo_flex4 .kuyoubo{ width: 500px; display: block; margin: 0 auto;}
}
@media (max-width: 767.98px) {
    .img_flex{ display: flex; justify-content: center; flex-wrap: wrap; margin: 0 0 40px 0;}
	.img_flex img{ width: 100%; margin: 0 0 15px 0;}
	.kuyoubo_flex4 .kuyoubo{ width: 100%; display: block; margin: 0 auto;}
}

@media (min-width: 768px) {}
@media (max-width: 767.98px) {}