/*
Theme Name: 佼成霊園WEBサイト専用テーマ
Theme URI: 
Text Domain: 
Version: 1.0
Description: 佼成霊園WEBサイトのテーマです。
Author: 佼成出版社
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*-------------------------------------------------
common
--------------------------------------------------*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* ヘッダーの高さ */
  font-size: 62.5%;
}
body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.6;
  color: #000;
  font-size: 1.6rem;
  font-weight: 500;
  /*container-type: inline-size;*/
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ft-min {
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, HGS明朝E, HG明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif !important;
}
.ft-goth {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
img {
  width: 100%;
  height: auto;
  vertical-align: top;
  font-size: 0;
  line-height: 0;
}
a:link {
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.op:hover {
  opacity: 0.8;
}
.box-1200 {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.box-1000 {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.dis-flex {
  display: flex;
}
.dis-inb {
  display: inline-block;
}
.jus-con-bet {
  justify-content: space-between;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.txt-cmn-16 {
  font-size: 1.6rem;
  line-height: 1.8;
}
.txt-bold-under {
  font-weight: bold;
  text-decoration: underline;
}
.fs-15 {
  font-size: 1.5rem;
}
.fs-16 {
  font-size: 1.6rem;
}
.fs-18 {
  font-size: 1.8rem;
}
.fs-20 {
  font-size: 2rem;
}
.fs-22 {
  font-size: 2.2rem;
}
.fs-24 {
  font-size: 2.4rem;
}
.pdt-20 {
  padding-top: 20px!important;
}
.ft-ind {
  text-indent: -1em;
  padding-left: 1em;
}
.dis-b {
  display: block;
}
.fc-red {
  color: #dc3232;
}
/*-------------------------------------------------
search form
--------------------------------------------------*/

/*-------------------------------------------------
layout
--------------------------------------------------*/
.wrap-contents {
  position: relative;
  z-index: 2;
}
.sec-page-cmn {
  padding-top: 70px;
}
.sec-page-cmn:first-of-type {
  padding-top: 0;
}
.wrap-img-two {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding: 50px 0 0;
}
.wrap-img-two img {
  position: relative;
  display: block;
  width: calc(50% - 25px);
}
.wrap-img-txt {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 25px;
}
.wrap-img-txt>div,.wrap-img-txt img {
  width: calc(50% - 30px);
}
.wrap-txt-ybox {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
.wrap-txt-ybox .box-yellow {
  width: calc(60% - 30px);
}
.wrap-txt-ybox .box-txt {
  width: calc(40% - 10px);
}
.box-yellow {
  position: relative;
  display: block;
  background: #FFFEE5;
  border: #535353 1px solid;
  padding: 30px 40px;
}
.box-yellow::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 6px;
  left: 6px;
  z-index: -1;
  background: #4FA796;
  border: #535353 1px solid;
}
.inner-yellow {
}
.inner-yellow + .inner-yellow {
  border-top: 1px dashed #585858;
  padding-top: 15px;
  margin-top: 15px;
  }
/*-------------------------------------------------
wrapper
--------------------------------------------------*/
.wrapper {
  width: 100%;
}
/*-------------------------------------------------
contents-main
--------------------------------------------------*/
.contents-main {
  position: relative;
  width: 100%;
}

/*-------------------------------------------------
js-page-top
--------------------------------------------------*/
.js-page-top {
  position: fixed;
  right: 1.5rem;
  bottom: -12.5rem;
  z-index: 200;
  transition: all 0.3s;
  background: #FF6A39;
  color: #fff;
  padding: 17px;
  opacity: 0.8;
  cursor: pointer;
}
.js-page-top span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  top: 4px;
}
.js-page-top.ani {
  right: 1.6rem;
  bottom: 1.5rem;
}
.js-page-top:hover {
  opacity: 1;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*-------------------------------------------------
contact bottom
--------------------------------------------------*/
.wrap-bottomcontact {
  background: url('images/common/bg_footer_contact.png') no-repeat center/cover;
  padding: 60px 20px;
  margin-top: 100px;
}
.box-bottomcontact {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255,255,255,0.5);
  padding: 40px 100px;
  z-index: 1;
}
.box-bottomcontact::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background: rgba(255,255,255,0.7);
  z-index: -1;
}
.ttl-btmcont {
  position: relative;
  display: block;
  padding-bottom: 15px;
  font-size: 2.4rem;
  text-align: center;
  font-weight: bold;
}
.box-btmcont-link {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.item-btmcont-link {
  position: relative;
  display: block;
  width: calc(100% / 2 - 30px);
  padding-top: 15px;
}
.name-btmcont-link {
  position: relative;
  display: block;
  margin-bottom: 15px;
  border-bottom: 1px solid #000;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
}
.tel-btmcont {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}
.txt-tel-btmcont {
  text-align: center;
  font-size: 1.3rem;
}
.btn-btmcont {
  position: relative;
  display: block;
  width: 100%;
  max-width: 270px;
  margin: 25px auto 0;
  background: #1E6356;
  font-weight: bold;
  color: #fff;
  padding: 20px 15px 16px;
  border-radius: 3px;
  text-align: center;
}
.btn-btmcont.btn-btmcont-line {
  background: #06C655;
}
.btn-btmcont.btn-btmcont-green:hover {
  background: #0E4137;
}
.btn-btmcont.btn-btmcont-line:hover {
  background: #01AA47;
}
/*-------------------------------------------------
footer
--------------------------------------------------*/
.footer {
  padding-top: 90px;
}
.wrap-bottomcontact + .footer {
  padding: 0;
}
.footer-list {
  background: #F4FFE3;
  padding: 28px 20px 23px;
}
.footer-list ul {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-list ul li a {
  padding: 0 18px;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
}
.footer-list ul li a:hover {
  opacity: 0.7;
}
.footer-info {
  background: #074539;
  color: #fff;
}
.wrap-footer-info-addtel {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 40px 20px 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.box-add-footer-info,
.box-tel-footer-info {
  position: relative;
  display: block;
  width: 45%;
}
.txt-footer-name-s {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.txt-footer-name-l {
  display: block;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 8px;
}
.add-footer-info {
  padding-top: 3px;
  font-size: 1.8rem;
}
.tel-footer-info {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.2;
}
.tel-footer-info a {
  color: #fff;
  pointer-events: none;
}
.tel-footer-info-s {
  padding-bottom: 12px;
}
.tel-footer-info-s span {
  display: block;
  font-size: 1.4rem;
}
.tel-footer-info-s span:nth-of-type(1){
  margin-left: -8px;
}
.link-footer-line {
  position: relative;
  display: block;
  max-width: 155px;
  background: #06C655;
  border-radius: 5px;
  padding: 7px 10px 5px;
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.link-footer-line:hover {
  background: #01AA47;
}
.copyright {
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
}
.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    scroll-padding-top: 62px; /* ヘッダーの高さ */
  }
  /*--------contents---------*/
  .wrapper {
    padding-top: 62px; /*高さ合わせる*/
  }
  body.js-wrapper-open {
    overflow: hidden;
  }
  .footer-info {
    padding-bottom: 56px;
  }
  .js-page-top {
    padding: 15px;
  }
  .js-page-top.ani {
    bottom: 70px;
  }
  .footer {
    padding-top: 60px;
  }
  /*--------layout------------*/
  .wrap-img-two {
    padding-top: 35px;
  }
  .wrap-img-two img {
    width: calc(50% - 10px);
  }
  .wrap-txt-ybox .box-yellow {
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
  }
  .wrap-txt-ybox .box-txt {
    width: 100%;
  }
  .wrap-img-txt>div, .wrap-img-txt img {
    width: calc(50% - 20px);
  }
  /*----------bottom contact-------*/
  .wrap-bottomcontact {
    margin-top: 70px;
  }
  .box-bottomcontact {
    padding: 40px 60px;
  }
  .ttl-btmcont {
    font-size: 2.2rem;
  }
  .tel-btmcont {
    font-size: 2.8rem;
  }
}
/*-------------------------------------------------
break point 800px SP
--------------------------------------------------*/
@media only screen and (max-width: 800px) {
  .box-add-footer-info, .box-tel-footer-info {
    width: 100%;
  }
  .txt-footer-name-s {
    font-size: 1.4rem;
  }
  .txt-footer-name-l {
    font-size: 2.8rem;
  }
  .add-footer-info {
    font-size: 1.6rem;
  }
  .box-tel-footer-info {
    padding-top: 10px;
  }
  .tel-footer-info a {
    display: inline-block;
    background: #fff;
    padding: 10px 10px 7px;
    color: #074539;
    font-size: 2.4rem;
    pointer-events: auto;
  }
  .tel-footer-info-s {
    padding-top: 5px;
    font-size: 1.3rem;
    line-height: 1.5;
  }
  /*-----------layout-------------*/
  .wrap-img-txt {
    padding-top: 15px;
  }
  .wrap-img-two img,
  .wrap-img-txt img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .wrap-img-two img+img,
  .wrap-img-txt div+img {
    margin-top: 35px;
  }
  .wrap-img-txt>div, .wrap-img-txt img {
    width: 100%;
  }
  .sec-page-cmn {
    padding-top: 60px;
  }
  /*--------bottom contact -------*/
  .wrap-bottomcontact {
    padding: 0;
  }
  .box-bottomcontact {
    padding: 50px 30px;
    background: rgba(255,255,255,0.65);
  }
  .box-bottomcontact::after {
    content: none;
  }
  .ttl-btmcont {
    font-size: 2rem;
  }
  .item-btmcont-link {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
  .name-btmcont-link {
    margin-bottom: 5px;
  }
  .btn-btmcont {
    margin: 15px auto 0;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  html {
    scroll-padding-top: 50px; /* ヘッダーの高さ */
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .wrapper {
    padding-top: 50px; /*高さ合わせる*/
  }
  .box-1200,.box-1000 {
    padding: 0 15px;
  }
  .fs-15 {
    font-size: 1.4rem;
  }
  .fs-18 {
    font-size: 1.6rem;
  }
  .fs-20 {
    font-size: 1.8rem;
  }
  .fs-24 {
    font-size: 2rem;
  }
  /*footer*/
  .js-page-top {
    padding: 13px;
  }
  .footer {
    padding-top: 60px;
  }
  .footer-list {
    padding: 20px 15px 18px;
  }
  .footer-list ul {
    border-top: 1px solid #B8CFB7;
  }
  .footer-list ul li {
    width: 100%;
    border-bottom: 1px solid #B8CFB7;
  }
  .footer-list ul li a {
    display: block;
    padding: 12px;
  }
  /*----------layout------------*/
  .wrap-bottomcontact {
    margin-top: 50px;
  }
  .sec-page-cmn {
    padding-top: 40px;
  }
  .wrap-img-txt {
    padding-top: 0;
  }
  .wrap-img-two img+img, .wrap-img-txt div+img {
    margin-top: 25px;
  }
  .box-yellow {
    padding: 15px 15px;
    border-color: #ADADAD;
  }
  .box-yellow::before {
    content: none;
  }
  /*--------bottom contact 20251006-------*/
  .box-bottomcontact {
    padding: 40px 20px;
  }
  .item-btmcont-link {
    max-width: 255px;
  }
  .ttl-btmcont {
    padding-bottom: 0;
    font-size: 2rem;
  }
  .name-btmcont-link {
    font-size: 1.8rem;
  }
  .tel-btmcont {
    font-size: 2.4rem;
  }
  .txt-tel-btmcont {
    font-size: 1.2rem;
  }
  .btn-btmcont {
    margin: 20px auto 0;
    max-width: 400px;
    padding: 13px 12px 11px;
  }
}
