@charset "UTF-8";
/*!
 Theme Name:   habakiri-child
 Template:     habakiri
*/
/*====================================

  共通設定

==================================== */
* {
  font-size: 1.6rem;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #3E3E3E;
  line-height: 2.15;
}

html {
  margin: 0 !important;
}

body {
  margin: 0;
  padding: 0;
}

#main-wrapper {
  width: 85%;
}

input:focus,
button:focus,
a:focus,
textarea:focus {
  outline: none;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}
h1 a,
h1 span {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}

h2 {
  font-weight: bold;
  font-size: 2rem;
}
h2 a,
h2 span {
  font-weight: bold;
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}
h3 a,
h3 span {
  font-size: 1.8rem;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a,
a:hover {
  text-decoration: none;
  color: #3E3E3E;
}

summary::-webkit-details-marker {
  display: none;
}

.view_sp {
  display: block;
}

.view_pc {
  display: none;
}

@media screen and (min-width: 768px) {
  * {
    font-size: 2rem;
  }
  #main-wrapper {
    width: 90%;
  }
  h1 {
    font-size: 3rem;
  }
  h1 a,
  h1 span {
    font-size: 3rem;
  }
  h2 {
    font-size: 4rem;
  }
  h2 a,
  h2 span {
    font-size: 4rem;
  }
  h3 {
    font-size: 2.4rem;
  }
  h3 a,
  h3 span {
    font-size: 2.4rem;
  }
  .view_sp {
    display: none;
  }
  .view_pc {
    display: block;
  }
}
/*-------------------------
  セクション
-------------------------*/
section {
  padding: 4rem 5%;
}

.sec__ttl {
  width: fit-content;
  text-align: center;
  margin: 0 auto 24px;
  padding-top: 44px;
  position: relative;
}
.sec__ttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background-color: #C70606;
}

.sec__lead {
  display: block;
  text-align: center;
}
.sec__lead span {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(0deg, rgba(232, 213, 118, 0.7) 0%, rgba(255, 249, 220, 0.7) 100%);
  background-size: 100% 60%;
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 0 10px;
}

.sec__bg__wh {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 5%;
}

.sec__contact__wrap {
  width: fit-content;
  margin: 0 auto;
}
.sec__contact__wrap .sec__btn {
  margin-bottom: 2rem;
}
.sec__contact__wrap .sec__btn:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  section {
    padding: 12rem 10%;
  }
  section:first-child {
    padding: 1rem 10% 12rem;
  }
  .sec__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sec__bg__wh {
    padding: 4rem 5%;
  }
  .sec__contact__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  .sec__contact__wrap .sec__btn {
    margin-bottom: 0;
  }
  .sec__ttl {
    margin-bottom: 6rem;
  }
}
/*-------------------------
  ボタン
-------------------------*/
.sec__btn {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  padding: 1rem 8rem 2rem 8rem;
  border-radius: 15px;
  color: #3E3E3E;
  line-height: normal;
}
.sec__btn::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  width: calc(100% - 0px);
  height: calc(100% - 0px);
  border-radius: 15px;
}
.sec__btn:hover {
  color: #3E3E3E;
}

.btn--tel {
  background: rgba(199, 6, 6, 0.2);
}
.btn--tel::before {
  border: 1px solid #C70606;
}

.btn--mail {
  background: rgba(6, 90, 199, 0.2);
}
.btn--mail::before {
  border: 1px solid #065AC7;
}

.btn--line {
  background: rgba(6, 199, 85, 0.2);
}
.btn--line::before {
  border: 1px solid #06C755;
}

.btn--more {
  position: relative;
  background: linear-gradient(135deg, rgb(216, 90, 34) 0%, rgb(237, 144, 103) 70%, rgb(252, 165, 128) 100%);
  color: #fff;
  width: fit-content;
  justify-content: space-between;
  padding: 1.8rem 2rem;
  border-radius: 0;
  margin: 40px auto 0;
}
.btn--more::before {
  display: none;
}
.btn--more:hover {
  text-decoration: none;
  color: #fff;
}

.sec__btn__arrow {
  margin-left: 10px;
  width: 40px;
  height: 10px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: skew(45deg);
}

@media screen and (min-width: 768px) {
  .sec__btn {
    padding: 2rem 8rem 3rem 8rem;
  }
  .btn--more {
    width: 300px;
    margin: 150px 0 0 auto;
    padding: 1.8rem 2rem;
  }
}
/*====================================

  header.php 

==================================== */
/*-------------------------
  サイドバー
-------------------------*/
#header-wrapper .header__contain {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 15%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 60px;
  z-index: 99;
  box-shadow: 1px 0 6px rgba(0, 0, 0, 0.16);
  height: 100dvh;
}
#header-wrapper .header__name {
  writing-mode: vertical-rl;
  text-orientation: upright;
}
#header-wrapper .header__name a {
  color: #3E3E3E;
}
#header-wrapper .header__links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#header-wrapper .header__links a.icon--line {
  width: 35px;
  height: auto;
}
#header-wrapper .header__links a:hover {
  opacity: 0.7;
}
#header-wrapper .header__links .icon--mail {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #header-wrapper .header__contain {
    width: 10%;
    padding-bottom: 30px;
  }
}
/*-------------------------
  MV
-------------------------*/
#header-wrapper .mv {
  position: relative;
  background-image: linear-gradient(rgba(62, 62, 62, 0.2), rgba(62, 62, 62, 0.2)), url("img/mv.png");
  background-size: cover;
  padding: 15% 10%;
  z-index: -2;
  width: 85%;
}
#header-wrapper .mv::before {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(240, 240, 240);
  opacity: 0.2;
  z-index: -1;
}
#header-wrapper .mv::after {
  content: "";
  position: absolute;
  background-image: url(img/wave_gr.svg);
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 299px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#header-wrapper .mv .mv__copy {
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  text-align: center;
  margin: 0 0 2rem;
}
#header-wrapper .mv .btn--tel {
  width: fit-content;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-size: 1.6rem;
  padding: 1rem 6rem 2rem 3rem;
}
#header-wrapper .mv .btn--tel::before {
  border: 1px solid #fff;
}
#header-wrapper .mv .btn--tel img {
  height: 30px;
  width: auto;
}

@media screen and (min-width: 768px) {
  #header-wrapper .mv {
    position: relative;
    padding: 420px 10%;
    width: 90%;
  }
  #header-wrapper .mv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 62, 62, 0.8);
    z-index: -1;
  }
  #header-wrapper .mv .mv__copy {
    font-size: 4rem;
    margin: 0 0 5rem;
  }
  #header-wrapper .mv .btn--tel {
    padding: 2rem 10rem 3rem 8rem;
    font-size: 4rem;
  }
  #header-wrapper .mv .btn--tel img {
    height: auto;
  }
}
/*-------------------------
  ページヘッダー
-------------------------*/
#header-wrapper .page_header {
  width: 85%;
  position: relative;
  background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url("img/page_header_bg.jpg");
  padding: 5rem 0 8rem;
}
#header-wrapper .page_header::after {
  content: "";
  position: absolute;
  background-image: url(img/wave_gr.svg);
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 299px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#header-wrapper .page_header .page_header__ttl {
  text-align: center;
  margin: 0;
}
#header-wrapper .page_header .page_header_img {
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.page-template-page-sougi-houji #header-wrapper .page_header,
.page-template-page-kitou #header-wrapper .page_header,
.page-template-page-jorei-oharai #header-wrapper .page_header {
  padding: 1rem 0 7rem;
}

@media screen and (min-width: 768px) {
  #header-wrapper .page_header {
    width: 90%;
    padding: 8rem 0 16rem;
  }
  #header-wrapper .page_header .page_header_img {
    width: 200px;
  }
  .page-template-page-sougi-houji #header-wrapper .page_header,
  .page-template-page-kitou #header-wrapper .page_header,
  .page-template-page-jorei-oharai #header-wrapper .page_header {
    padding: 2rem 0 1.2rem;
  }
}
/*-------------------------
  パンくずリスト
-------------------------*/
#header-wrapper .breadcrumbs {
  padding: 0 5% 0;
  width: 85%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 0;
  background: rgb(240, 240, 240);
}

#header-wrapper .breadcrumbs .bcn-sep {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 16px;
}

#header-wrapper .breadcrumbs .bcn-sep::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -3px;
  bottom: 3px;
  border-top: 1px solid #3E3E3E;
  border-right: 1px solid #3E3E3E;
  transform: rotate(45deg);
}

#header-wrapper .breadcrumbs span {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  word-break: keep-all;
}

#header-wrapper .breadcrumbs span:last-of-type .current-item span {
  word-break: normal;
}

@media screen and (min-width: 768px) {
  #header-wrapper .breadcrumbs {
    padding: 0 10% 40px;
    width: 90%;
    flex-wrap: wrap;
  }
}
/*====================================

  footer.php 

==================================== */
#footer-wrapper {
  width: 85%;
  background: linear-gradient(135deg, rgb(62, 62, 62) 0%, rgb(100, 100, 100) 70%, rgb(126, 126, 126) 100%);
}

@media screen and (min-width: 768px) {
  #footer-wrapper {
    width: 90%;
  }
}
/*-------------------------
  メニュー
-------------------------*/
#footer-wrapper .footer__nav {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 0;
}
#footer-wrapper .footer__nav li {
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: relative;
  padding-top: 20px;
}
#footer-wrapper .footer__nav li a {
  color: #fff;
}
#footer-wrapper .footer__nav li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 10px;
  background-color: #C70606;
}
#footer-wrapper .footer__nav .footer__name {
  padding: 0 0 0 4rem;
  gap: 0 8rem;
}
#footer-wrapper .footer__nav .footer__name::before {
  display: none;
}
#footer-wrapper .footer__nav .footer__name a {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.2rem;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  #footer-wrapper .footer__nav {
    padding: 10rem 0 15rem;
    gap: 0 4rem;
  }
  #footer-wrapper .footer__nav li a {
    font-size: 1.6rem;
  }
}
/*-------------------------
  コピーライト
-------------------------*/
#footer-wrapper .footer__copy {
  text-align: center;
}
#footer-wrapper .footer__copy small {
  color: #fff;
  font-size: 1.2rem;
}

/*====================================

  page-top.php 

==================================== */
@media screen and (min-width: 768px) {
  #top-wrapper section {
    padding: 18rem 10%;
  }
}
/*------------------------------
  こんなご心配ごとはありませんか？
------------------------------*/
#top-wrapper .sec--worries {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgb(240, 240, 240) 100%);
}
#top-wrapper .sec--worries .sec__wrap {
  flex-direction: column;
}
#top-wrapper .sec--worries .sec__contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top-wrapper .sec--worries .sec__contain:nth-of-type(2) {
  justify-content: center;
}
#top-wrapper .sec--worries .sec__contain:first-child .sec__box:first-child {
  background-image: url(img/top/worries_bg01.png);
  padding: 3rem 1rem 2rem 2rem;
  aspect-ratio: 420/255.93;
  transform: translateY(30px);
}
#top-wrapper .sec--worries .sec__contain:first-child .sec__box:last-child {
  background-image: url(img/top/worries_bg02.png);
  padding: 3rem 1rem 2rem 1rem;
  aspect-ratio: 414/243;
}
#top-wrapper .sec--worries .sec__contain:last-child .sec__box:first-child {
  background-image: url(img/top/worries_bg03.png);
  padding: 3rem 1rem 2rem 2rem;
  aspect-ratio: 377/268;
  transform: translateY(5px);
}
#top-wrapper .sec--worries .sec__contain:last-child .sec__box:last-child {
  background-image: url(img/top/worries_bg04.png);
  padding: 4rem 1rem 3rem 2rem;
  transform: translateY(-30px);
  aspect-ratio: 376/263;
}
#top-wrapper .sec--worries .sec__box {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  line-height: 1.5;
  font-size: 1rem;
  display: flex;
  align-items: center;
  width: 50%;
  height: fit-content;
  flex-direction: column;
  justify-content: center;
}
#top-wrapper .sec--worries .sec__img {
  width: 60%;
  height: auto;
}
#top-wrapper .sec--worries .sec__box__arrow {
  width: 10px;
  height: 10px;
  border-bottom: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg) skew(-10deg, -10deg);
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--worries {
    padding-bottom: 15rem;
  }
  #top-wrapper .sec--worries .sec__img {
    width: 40rem;
    height: auto;
  }
  #top-wrapper .sec--worries .sec__contain {
    width: 100%;
  }
  #top-wrapper .sec--worries .sec__contain:first-child .sec__box:first-child {
    padding: 9rem 1.4rem 6rem 3.6rem;
  }
  #top-wrapper .sec--worries .sec__contain:last-child {
    transform: translateY(-150px);
  }
  #top-wrapper .sec--worries .sec__contain:nth-child(2) {
    transform: translateY(-80px);
  }
  #top-wrapper .sec--worries .sec__box {
    font-size: 1.6rem;
    width: 45%;
  }
  #top-wrapper .sec--worries .sec__box__arrow {
    margin-top: 5px;
  }
}
@media screen and (min-width: 1350px) {
  #top-wrapper .sec--worries .sec__img {
    width: 50rem;
    height: auto;
  }
  #top-wrapper .sec--worries .sec__contain {
    justify-content: center;
    width: 100%;
  }
  #top-wrapper .sec--worries .sec__contain:first-child {
    gap: 5%;
  }
  #top-wrapper .sec--worries .sec__contain:first-child .sec__box {
    width: 35%;
  }
  #top-wrapper .sec--worries .sec__contain:first-child .sec__box:first-child {
    padding: 9rem 3.4rem 6rem 5.6rem;
  }
  #top-wrapper .sec--worries .sec__contain:first-child .sec__box:last-child {
    padding: 8.7rem 6.2rem 5.8rem 6.5rem;
  }
  #top-wrapper .sec--worries .sec__contain:nth-of-type(2) {
    justify-content: center;
    transform: translateY(-100px);
  }
  #top-wrapper .sec--worries .sec__contain:last-child {
    transform: translateY(-450px);
    margin-bottom: -450px;
    gap: 30%;
  }
  #top-wrapper .sec--worries .sec__contain:last-child .sec__box {
    width: 35%;
  }
  #top-wrapper .sec--worries .sec__contain:last-child .sec__box:first-child {
    padding: 10rem 4.2rem 7rem 6.2rem;
  }
  #top-wrapper .sec--worries .sec__contain:last-child .sec__box:last-child {
    padding: 9.7rem 7.2rem 6.6rem 7.3rem;
  }
  #top-wrapper .sec--worries .sec__box {
    font-size: 2rem;
  }
  #top-wrapper .sec--worries .sec__box__arrow {
    width: 15px;
    height: 15px;
    margin: 20px auto 0;
  }
}
/*-------------------------
  お問い合わせリンク
-------------------------*/
#top-wrapper .sec--links {
  background: #fff;
  position: relative;
  padding: 4rem 5% calc(4rem + 120px);
}
#top-wrapper .sec--links::after {
  content: "";
  position: absolute;
  background-image: url(img/kiku.png);
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 30px;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, 0%);
}
#top-wrapper .sec--links .sec__wrap {
  gap: 0 40px;
  width: fit-content;
  margin: 0 auto;
}
#top-wrapper .sec--links .sec__lead {
  margin: 0 0 40px;
}
#top-wrapper .sec--links .sec__btn {
  margin-bottom: 20px;
}
#top-wrapper .sec--links .sec__btn:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--links {
    padding: 15rem 10% calc(18rem + 300px);
  }
  #top-wrapper .sec--links::after {
    width: 200px;
    height: 200px;
    bottom: 200px;
  }
  #top-wrapper .sec--links .sec__wrap {
    flex-wrap: wrap;
    gap: 27px;
  }
  #top-wrapper .sec--links .sec__lead {
    margin: 0 0 150px;
  }
  #top-wrapper .sec--links .sec__btn {
    margin-bottom: 0;
  }
}
/*-------------------------
  葬儀・法事について
-------------------------*/
#top-wrapper .sec--sougi-houji {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(232, 213, 118, 0.7) 5%, rgba(232, 213, 118, 0.7) 95%, rgba(255, 255, 255, 0.7) 100%);
}
#top-wrapper .sec--sougi-houji .sec__wrap {
  display: flex;
  flex-direction: column;
}
#top-wrapper .sec--sougi-houji .sec__img {
  width: 60%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--sougi-houji .sec__ttl {
    width: 50%;
    margin: 0 0 6rem auto;
  }
  #top-wrapper .sec--sougi-houji .sec__wrap {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #top-wrapper .sec--sougi-houji .sec__contain {
    width: 50%;
  }
  #top-wrapper .sec--sougi-houji .sec__img {
    width: 40%;
    margin: 0 auto 0 0;
  }
}
/*-------------------------
  ご祈祷
-------------------------*/
#top-wrapper .sec--kitou {
  background: #fff;
}
#top-wrapper .sec--kitou .sec__wrap {
  display: flex;
  flex-direction: column-reverse;
}
#top-wrapper .sec--kitou .sec__img {
  width: 60%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--kitou .sec__ttl {
    width: 50%;
    margin: 0 auto 6rem 0;
  }
  #top-wrapper .sec--kitou .sec__wrap {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #top-wrapper .sec--kitou .sec__contain {
    width: 50%;
  }
  #top-wrapper .sec--kitou .sec__img {
    width: 40%;
    margin: 0 0 0 auto;
  }
}
/*-------------------------
  除霊・お祓い
-------------------------*/
#top-wrapper .sec--jorei-oharai {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(232, 213, 118, 0.7) 5%, rgba(232, 213, 118, 0.7) 95%, rgba(255, 255, 255, 0.7) 100%);
}
#top-wrapper .sec--jorei-oharai .sec__wrap {
  display: flex;
  flex-direction: column;
}
#top-wrapper .sec--jorei-oharai .sec__img {
  width: 60%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--jorei-oharai .sec__ttl {
    width: 50%;
    margin: 0 0 6rem auto;
  }
  #top-wrapper .sec--jorei-oharai .sec__wrap {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #top-wrapper .sec--jorei-oharai .sec__contain {
    width: 50%;
  }
  #top-wrapper .sec--jorei-oharai .sec__img {
    width: 40%;
    margin: 0 auto 0 0;
  }
}
/*-------------------------
  住職よりご挨拶
-------------------------*/
#top-wrapper .sec--message {
  background: #fff;
  padding-bottom: 6rem;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--message {
    padding-bottom: 28rem;
  }
}
/*-------------------------
  今月の言葉
-------------------------*/
#top-wrapper .sec--words {
  background: #fff;
  padding-top: 0;
}
#top-wrapper .sec--words .sec__txt {
  text-align: center;
}
#top-wrapper .sec--words .sec__img {
  width: 80%;
  height: auto;
  margin: 0 auto 3rem;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--words .sec__img {
    width: 50%;
  }
}
/*-------------------------
  よくある質問
-------------------------*/
#top-wrapper .sec--faq {
  background-image: url(img/top/faq_bg.png);
  padding: 6rem 5%;
  background-size: cover;
}
#top-wrapper .sec--faq .sec__ttl {
  color: #fff;
}
#top-wrapper .sec--faq .sec__faq_list {
  background: #fff;
  border-radius: 15px;
  padding: 4rem 5%;
}
#top-wrapper .sec--faq .sec__faq_wrap {
  margin-bottom: 5rem;
}
#top-wrapper .sec--faq .sec__faq_wrap:last-child {
  margin-bottom: 0;
}
#top-wrapper .sec--faq .sec__faq_wrap summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-left: 6rem;
  gap: 30px;
}
#top-wrapper .sec--faq .sec__faq_wrap summary:last-child {
  margin-bottom: 0;
}
#top-wrapper .sec--faq .sec__faq_wrap summary::before {
  position: absolute;
}
#top-wrapper .sec--faq .sec__faq_wrap summary::before {
  color: #C70606;
  content: "Q.";
  left: 0;
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding-right: 2rem;
  border-right: solid 1px #C70606;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 45px;
}
#top-wrapper .sec--faq .sec__faq_wrap summary .switch {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}
#top-wrapper .sec--faq .sec__faq_wrap summary .switch::before, #top-wrapper .sec--faq .sec__faq_wrap summary .switch::after {
  content: "";
  position: absolute;
  background-color: #C70606;
}
#top-wrapper .sec--faq .sec__faq_wrap summary .switch::before {
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}
#top-wrapper .sec--faq .sec__faq_wrap summary .switch::after {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}
#top-wrapper .sec--faq .sec__faq_wrap p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  transition: transform 0.5s, opacity 0.5s;
  padding-left: 6rem;
}
#top-wrapper .sec--faq .sec__faq_wrap p::before {
  content: "A.";
  position: absolute;
  left: 0;
  color: #000000;
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding-right: 2rem;
  border-right: solid 1px #000000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 45px;
}
#top-wrapper .sec--faq .sec__faq_wrap[open] summary {
  margin-bottom: 3rem;
}
#top-wrapper .sec--faq .sec__faq_wrap[open] summary .switch::before {
  background: #000000;
}
#top-wrapper .sec--faq .sec__faq_wrap[open] summary .switch::after {
  display: none;
}
#top-wrapper .sec--faq .sec__faq_wrap[open] p {
  transform: none;
  opacity: 1;
}
#top-wrapper .sec--faq .btn--more {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--faq {
    padding: 22rem 5%;
  }
  #top-wrapper .sec--faq .sec__faq_list {
    background: #fff;
    border-radius: 15px;
    padding: 8rem 5%;
  }
  #top-wrapper .sec--faq .sec__faq_wrap:last-child {
    margin-bottom: 8rem;
  }
  #top-wrapper .sec--faq .sec__faq_wrap summary .switch {
    width: 30px;
    height: 30px;
  }
}
/*-------------------------
  アクセス
-------------------------*/
#top-wrapper .sec--access {
  background: #fff;
}
#top-wrapper .sec--access ul {
  padding: 0;
  margin-bottom: 40px;
}
#top-wrapper .sec--access ul a {
  color: #3E3E3E;
}

@media screen and (min-width: 768px) {
  #top-wrapper .sec--access {
    background: #fff;
  }
  #top-wrapper .sec--access .sec__wrap {
    flex-wrap: wrap;
    gap: 5%;
  }
  #top-wrapper .sec--access .sec__wrap:first-of-type {
    margin-bottom: 150px;
    gap: 5%;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #top-wrapper .sec--access .sec__contain {
    width: 50%;
  }
  #top-wrapper .sec--access ul li {
    margin-bottom: 1.6rem;
  }
  #top-wrapper .sec--access ul li:first-child {
    margin-bottom: 2rem;
  }
  #top-wrapper .sec--access ul li:last-child {
    margin-bottom: 0;
  }
}
/*====================================

  page-sougi-houji.php 

==================================== */
/*------------------------------
  ① 真言宗の葬儀
------------------------------*/
#sougi-houji-wrapper .sec--sougi {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgb(240, 240, 240) 100%);
}

/*------------------------------
  ② 法事について
------------------------------*/
#sougi-houji-wrapper .sec--houji {
  background: #fff;
}

/*---------------------------------------------
  ③ 宗派の変更・他宗派からのご葬儀・ご法事のご相談
---------------------------------------------*/
#sougi-houji-wrapper .sec--change {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgba(240, 240, 240, 0.7) 95%, rgba(255, 255, 255, 0.7) 100%);
}
#sougi-houji-wrapper .sec--change .sec__txt:first-of-type {
  margin-bottom: 20px;
}
#sougi-houji-wrapper .sec--change .sec__bg__wh {
  margin-bottom: 20px;
}
#sougi-houji-wrapper .sec--change li {
  border-bottom: solid 1px #3E3E3E;
  padding: 10px 0;
}
#sougi-houji-wrapper .sec--change li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
#sougi-houji-wrapper .sec--change .sec__lead {
  margin-bottom: 20px;
  text-align: left;
}

/*-------------------------------------------
  ④ どんな小さなお悩みも、まずはお聞かせください
-------------------------------------------*/
#sougi-houji-wrapper .sec--contact {
  background: #fff;
}
#sougi-houji-wrapper .sec--contact .sec__lead {
  margin: 40px 0 25px;
}

/*====================================

  page-kitou.php 

==================================== */
/*------------------------------
  ① ご祈祷とは
------------------------------*/
#kitou-wrapper .sec--about {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgb(240, 240, 240) 100%);
}

/*------------------------------
  ② 祈祷の内容
------------------------------*/
#kitou-wrapper .sec--kitou {
  background: #fff;
}

/*------------------------------
  ③ ご相談をお待ちしております
------------------------------*/
#kitou-wrapper .sec--contact {
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(241, 241, 241, 0.7) 5%, rgba(240, 240, 240, 0.7) 95%, rgba(255, 255, 255, 0.7) 100%);
}
#kitou-wrapper .sec--contact .sec__lead {
  margin: 40px 0 25px;
}

/*====================================

  page-jorei-oharai.php 

==================================== */
/*------------------------------
  ① 除霊・お祓いとは
------------------------------*/
#jorei-oharai-wrapper .sec--about {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgb(240, 240, 240) 100%);
}

/*------------------------------
  ② 「魔障（ましょう）」とは
------------------------------*/
#jorei-oharai-wrapper .sec--masho {
  background: #fff;
}

/*------------------------------
  ③ 神社との違い
------------------------------*/
#jorei-oharai-wrapper .sec--shrine {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgba(240, 240, 240, 0.7) 95%, rgba(255, 255, 255, 0.7) 100%);
}

/*------------------------------
  ④ ご相談をお待ちしております
------------------------------*/
#jorei-oharai-wrapper .sec--contact {
  background: #fff;
}
#jorei-oharai-wrapper .sec--contact .sec__lead {
  margin: 40px 0 25px;
}

/*====================================

  page-faq.php 

==================================== */
#faq-wrapper {
  background: rgb(240, 240, 240);
}
#faq-wrapper section {
  padding: 0 5% 4rem;
}
#faq-wrapper section:first-child {
  padding-top: 4rem;
}
#faq-wrapper .faq_list {
  background: #fff;
  border-radius: 15px;
  padding: 4rem 5%;
}
#faq-wrapper .faq_list_wrap {
  margin-bottom: 5rem;
}
#faq-wrapper .faq_list_wrap:last-child {
  margin-bottom: 0;
}
#faq-wrapper .faq_list_wrap summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-left: 6rem;
  gap: 30px;
}
#faq-wrapper .faq_list_wrap summary:last-child {
  margin-bottom: 0;
}
#faq-wrapper .faq_list_wrap summary::before {
  position: absolute;
}
#faq-wrapper .faq_list_wrap summary::before {
  color: #C70606;
  content: "Q.";
  left: 0;
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding-right: 2rem;
  border-right: solid 1px #C70606;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 45px;
}
#faq-wrapper .faq_list_wrap summary .switch {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}
#faq-wrapper .faq_list_wrap summary .switch::before, #faq-wrapper .faq_list_wrap summary .switch::after {
  content: "";
  position: absolute;
  background-color: #C70606;
}
#faq-wrapper .faq_list_wrap summary .switch::before {
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}
#faq-wrapper .faq_list_wrap summary .switch::after {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}
#faq-wrapper .faq_list_wrap p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  transition: transform 0.5s, opacity 0.5s;
  padding-left: 6rem;
}
#faq-wrapper .faq_list_wrap p::before {
  content: "A.";
  position: absolute;
  left: 0;
  color: #000000;
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding-right: 2rem;
  border-right: solid 1px #000000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 45px;
}
#faq-wrapper .faq_list_wrap[open] summary {
  margin-bottom: 3rem;
}
#faq-wrapper .faq_list_wrap[open] summary .switch::before {
  background: #000000;
}
#faq-wrapper .faq_list_wrap[open] summary .switch::after {
  display: none;
}
#faq-wrapper .faq_list_wrap[open] p {
  transform: none;
  opacity: 1;
}

@media screen and (min-width: 768px) {
  #faq-wrapper section {
    padding: 6rem 10%;
  }
  #faq-wrapper section:first-child {
    padding-bottom: 6rem;
  }
  #faq-wrapper section:last-child {
    padding-bottom: 12rem;
  }
  #faq-wrapper .faq_list {
    padding: 8rem 5%;
  }
  #faq-wrapper .faq_list_wrap summary .switch {
    width: 30px;
    height: 30px;
  }
}
/*====================================

  404.php 

==================================== */
#error-wrapper .sec--error {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 241, 241, 0.7) 5%, rgb(240, 240, 240) 100%);
}

/*====================================

  hamburger-js 

==================================== */
#header-wrapper #global-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 250px;
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 20px;
  transform: translateX(-100%);
  transition: all 0.5s;
  visibility: visible;
  padding: 24px;
  background: #fff;
  opacity: 0;
  display: none;
}
#header-wrapper #global-nav ul > * + * {
  border-top: 1px solid #3E3E3E;
}
#header-wrapper #global-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
  margin-top: 60px;
}
#header-wrapper #global-nav ul li {
  width: 100%;
  margin: 0;
  text-align: left;
}
#header-wrapper #global-nav ul li a {
  padding: 8px;
  color: #3E3E3E;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#header-wrapper #nav-toggle {
  width: auto;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#header-wrapper #nav-toggle p {
  font-size: 1.2rem;
}
#header-wrapper #nav-toggle > div {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 auto;
}
#header-wrapper #nav-toggle span {
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #3E3E3E;
}
#header-wrapper #nav-toggle span:first-child {
  top: 0;
  left: 0;
}
#header-wrapper #nav-toggle span:nth-child(2) {
  top: 0;
  left: 50%;
}
#header-wrapper #nav-toggle span:first-child {
  top: 0;
  left: auto;
  right: 0;
}

@media screen and (min-width: 768px) {
  #header-wrapper #nav-toggle p {
    font-size: 1.2rem;
  }
}
/* open */
.open {
  overflow: hidden;
  height: 100vh;
}
.open #header-wrapper .header__contain {
  box-shadow: none;
}
.open #header-wrapper #global-nav {
  visibility: visible;
  transform: translateX(0);
  right: 15%;
  transition: all 0.5s;
  opacity: 1;
  display: block;
  border-right: solid 1px #3E3E3E;
  box-shadow: 1px 0 6px rgba(0, 0, 0, 0.16);
}
.open #header-wrapper #global-nav ul li {
  opacity: 1;
  transform: translateX(0);
}
.open #header-wrapper #nav-toggle {
  position: fixed;
  z-index: 99;
  right: calc(15% + 24px);
  left: auto;
  top: 20px;
  height: 30px;
  transform: rotate(360deg);
}
.open #header-wrapper #nav-toggle span {
  left: 50%;
  color: #3E3E3E;
}
.open #header-wrapper #nav-toggle span:first-child {
  left: 50%;
  transform: rotate(45deg);
}
.open #header-wrapper #nav-toggle span:nth-child(2) {
  transform: rotate(-45deg);
}
.open #header-wrapper #nav-toggle span:last-child {
  display: none;
}
.open #header-wrapper #nav-toggle p {
  font-size: 1.4rem;
  margin-top: 25px;
  line-height: 1.5;
}
.open .mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(174, 174, 174, 0.7);
  cursor: pointer;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .open {
    overflow: hidden;
    height: 100vh;
  }
  .open #header-wrapper #global-nav {
    right: 10%;
  }
  .open #header-wrapper #nav-toggle {
    right: calc(10% + 24px);
  }
  .open #header-wrapper #nav-toggle p {
    font-size: 1.6rem;
  }
}/*# sourceMappingURL=style.css.map */