@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/*===============================================
  切り替え用
===============================================*/
.pc-none {
  display: none !important;
}

a[href^="tel:"] {
  pointer-events: none;
}

/*===============================================
  ページネーション
===============================================*/
/*===============================================
  詳細ページ前後
===============================================*/
/*===============================================
  wrapper
===============================================*/
#wrapper {
  min-width: 1200px;
}

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(15px, 1.171875vw, 18px);
  padding: calc(1em + 2px) 3.5rem calc(1em + 2px) 3rem;
}
#header .header__logo {
  font-size: 1em;
}
#header .header__logo img {
  height: 3.55556em;
  min-height: 54px;
}
#header .header__right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  row-gap: max(13px, 0.833334em);
}
#header .header__other {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  -moz-column-gap: 1.66667em;
       column-gap: 1.66667em;
}
#header .header__tel {
  row-gap: 0.5rem;
}
#header .header__tel .com-tel__num {
  font-size: 1.66667em;
}
#header .header__tel .com-tel__num::before {
  width: 1em;
}
#header .header__tel .com-replace {
  font-size: max(1rem, 0.66667em);
}
#header .header__mail {
  width: 13.8889em;
  min-width: 21rem;
  height: 2.77778em;
  min-height: 4.5rem;
  font-size: 1em;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding: 5rem 0 8rem;
}
#footer .footer__inner {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem 5rem;
  width: 1080px;
  -o-object-fit: contain;
     object-fit: contain;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 3rem;
  line-height: 1.66667;
  letter-spacing: var(--letter-spacing-base);
  grid-row: span 2;
  align-self: flex-end;
}
#footer .footer__info > * {
  margin-block: calc((1em - 1lh) / 2);
}

/*フッターナビ
-----------------------------*/
.footer-nav {
  grid-row: span 2;
}
.footer-nav__list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  max-width: 61rem;
  gap: 4rem 2em;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}
.footer-nav__item {
  letter-spacing: var(--letter-spacing-lg);
  margin-block: calc((1em - 1lh) / 2);
}
.footer-nav__sub-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem 2em;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  padding-top: 3rem;
}
.footer-nav__sub-item {
  letter-spacing: var(--letter-spacing-lg);
  margin-block: calc((1em - 1lh) / 2);
}

/*コピーライト
-----------------------------*/
.copy {
  margin-top: auto;
}
.copy p {
  text-align: right;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}

/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  bottom: 3rem;
  right: 3rem;
}

/*===============================================
  visual
===============================================*/
/*共通
-----------------------------*/
.visual {
  padding-block: 1rem;
}
.visual::before {
  width: 111.459%;
  max-width: 2140px;
  height: clamp(370px, 28.90625vw, 555px);
  top: clamp(4px, 0.3125vw, 6px);
}
.visual::after {
  width: 100%;
  min-width: clamp(1576px, 123.125vw, 2364px);
  height: clamp(212px, 16.5104166667vw, 317px);
  left: clamp(-146px, 50vw - clamp(746px, 58.2291666667vw, 1118px), 0px);
  bottom: clamp(-6px, -0.3125vw, -4px);
}
.visual__main, .visual__sub {
  width: clamp(1080px, 83.3333333333vw, 1600px);
  margin-inline: auto;
  border-radius: clamp(35px, 2.6041666667vw, 50px);
}
.visual__main::before, .visual__sub::before {
  width: calc(100% + clamp(190px, 14.5833333333vw, 280px));
  height: clamp(116px, 9.0104166667vw, 173px);
  top: clamp(74px, 5.78125vw, 111px);
}
.visual__main::after, .visual__sub::after {
  width: calc(100% + clamp(110px, 8.6458333333vw, 166px));
  height: clamp(88px, 6.8229166667vw, 131px);
  top: clamp(60px, 4.6354166667vw, 89px);
}

/*メインビジュアル
-----------------------------*/
.visual__main {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: clamp(460px, 35.625vw, 684px);
  padding: clamp(40px, 3.125vw, 60px) clamp(35px, 2.6041666667vw, 50px);
}
.visual__catch--main {
  width: clamp(168px, 13.125vw, 252px);
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: clamp(320px, 25vw, 480px);
}
.visual__catch--sub {
  width: 46.875%;
  font-size: clamp(2.8rem, 2.0833333333vw, 4rem);
  border-radius: 0 clamp(35px, 2.6041666667vw, 50px);
  padding-block: clamp(20px, 1.5625vw, 30px);
}
.visual__catch--sub > span {
  letter-spacing: var(--letter-spacing-xl);
  margin-right: calc(var(--letter-spacing-xl) * -1);
}
.visual__catch--sub::after {
  width: 17.334%;
  right: -9.2%;
  bottom: 0;
}

/*===============================================
  グローバルナビ
===============================================*/
.gnav {
  font-size: max(1.3rem, 0.8333334em);
  line-height: var(--line-height-sm);
  letter-spacing: var(--letter-spacing-lg);
}
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: calc((1em - 1lh) / 2);
}
.gnav__item {
  margin-right: 2em;
}
.gnav__item:last-of-type {
  margin-right: 0;
}
.gnav__link {
  display: block;
}
.gnav__link:hover, .gnav__link.current {
  color: var(--color-main);
}

/*===============================================
  main#container
===============================================*/
/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  height: 6rem;
}
.breadcrumb__list {
  width: 1080px;
}
.breadcrumb__item::after {
  margin-inline: 1em;
}
.breadcrumb + .section {
  padding-top: 14rem;
}

/*===============================================
  main共通
===============================================*/
.inbox {
  width: 1080px;
}

/*電話番号
-----------------------------*/
/*ボタン
-----------------------------*/
/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.66667;
}
.com-table tr th {
  padding-block: 2rem;
}
.com-table tr td {
  padding-block: 2rem;
}

/*テキストボックス
-----------------------------*/
.com-text p {
  margin-right: calc(var(--letter-spacing-base) * -1);
}

/*お知らせ
-----------------------------*/
.com-post__link {
  border-radius: 3rem;
}

/* 背景
-----------------------------*/
.com-wave::before {
  width: 100%;
  min-width: 2364px;
  height: 317px;
  top: -277px;
  left: clamp(-680px, 50vw - 1280px, 0px);
}
.com-wave--white::before {
  background: linear-gradient(to bottom, var(--color-white) 256px, transparent 256px);
  top: -255px;
  left: 0;
}
.com-wave + .section {
  padding-top: 5rem;
}

.com-bg {
  background-size: min(559px, 31.25%);
}
.com-bg::after {
  width: 2274px;
  height: 960px;
  max-height: calc(100% - 0.6rem);
  top: 0.6rem;
}
.com-bg .inbox::before {
  width: 1240px;
  height: 152px;
  top: -8rem;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
/*中タイトル
-----------------------------*/
/*小タイトル
-----------------------------*/
/*===============================================
  共通セクション
===============================================*/
/*お問い合わせ
-----------------------------*/
.com-contact {
  padding-bottom: 10rem;
}
.com-contact::after {
  width: 1236px;
  height: 20.5rem;
  top: 0;
}
.com-contact__text {
  text-align: center;
  padding-inline: 22rem;
}
.com-contact__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 90rem;
  gap: 3rem 4rem;
  padding: 4rem 5rem;
  border-radius: 3rem;
  margin: 3rem auto 0;
}
.com-contact__items::after {
  width: 22.6rem;
  aspect-ratio: 226/194;
  background-position: right top;
  background-size: 100%;
  top: -19.4rem;
  right: -9rem;
}
.com-contact__btn {
  width: 32rem;
}

/*寿徳寺の由緒 / ○○について
-----------------------------*/
.com-about__inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction: row-reverse;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}
.com-about__image {
  width: 46rem;
  flex-shrink: 0;
}
.com-about__image img {
  border-radius: 3rem;
}
.com-about__image::after {
  width: 22.6rem;
  left: -0.9rem;
  bottom: -9.8rem;
}

/*このような方におすすめ
-----------------------------*/
.com-recommend {
  padding-bottom: 5rem;
}
.com-recommend.com-bg {
  background-position: right bottom clamp(-108px, -5.625vw, -72px);
}
.com-recommend__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  gap: 4rem;
}
.com-recommend__item {
  min-width: 45rem;
  font-size: var(--font-size-h6);
  line-height: var(--line-height-h6);
  letter-spacing: var(--letter-spacing-xl);
}
.com-recommend__item > span {
  margin-right: calc(var(--letter-spacing-xl) * -1);
}

/*費用について
-----------------------------*/
.com-cost {
  padding-bottom: 5rem;
}
.com-cost .inbox {
  width: 90rem;
}
.com-cost__list {
  width: 32rem;
}
.com-cost__list-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -moz-column-gap: 5rem;
       column-gap: 5rem;
}
.com-cost__item .label {
  line-height: 1.38889;
}
.com-cost__item .price {
  line-height: 3.33334;
}
.com-cost__text {
  text-align: center;
  margin-top: calc(4rem + (1em - 1lh) / 2);
}
.com-cost--funeral {
  padding-block: 10rem !important;
}
.com-cost--funeral::before {
  background-size: min(42.2rem, 21.9892%);
}
.com-cost--funeral + .com-contact::before {
  background: linear-gradient(to bottom, var(--color-white) 255px, transparent 255px);
  top: -255px;
  left: 0;
}

/*===============================================
  トップページ
===============================================*/
/*静かなる祈りの場、茨城・鉾田の寿徳寺。
-----------------------------*/
.top-message__inner {
  gap: 5rem 9.5rem;
}
.top-message__title {
  height: 33rem;
}
.top-message__image {
  margin-top: 4rem;
}
.top-message__text {
  text-align: center;
}

/*境内の様子を動画でご紹介
-----------------------------*/
.top-movie__box {
  height: 506px;
  margin-inline: auto;
}

/*バナーリンクセクション
-----------------------------*/
.top-bnr {
  padding-block: 5rem;
}
.top-bnr__items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  -moz-column-gap: 4rem;
       column-gap: 4rem;
}
.top-bnr__items::before {
  width: 36.3rem;
  aspect-ratio: 363/177;
  top: -7.3rem;
  left: -2rem;
}
.top-bnr__item {
  width: 52rem;
  aspect-ratio: 520/368;
}
.top-bnr__item:nth-of-type(2n + 1) {
  margin-top: 5rem;
}
.top-bnr__link {
  border-radius: 3rem;
}
.top-bnr__txt {
  width: 35rem;
  padding-block: 2.75rem;
  border-radius: 0 3rem;
}
.top-bnr__txt::after {
  right: 2rem;
}

/*その他セクション
-----------------------------*/
.top-list {
  padding-top: 10rem !important;
}
.top-list::before {
  background-size: min(420.2rem, 21.9892%);
}
.top-list__item {
  min-height: 357px;
  position: relative;
}
.top-list__item:nth-of-type(2n + 1) {
  padding-left: 480px;
}
.top-list__item:nth-of-type(2n + 1) .top-list__image {
  left: 2rem;
}
.top-list__item:nth-of-type(2n) {
  padding: 0 465px 0 15px;
}
.top-list__item:nth-of-type(2n) .top-list__image {
  right: 2rem;
}
.top-list__image {
  position: absolute;
  top: 0;
}
.top-list__title {
  margin-top: 0.2rem;
  margin-bottom: 5rem;
}
.top-list__text {
  min-height: 4lh;
}
.top-list__btn {
  margin-top: 5rem;
}

/*体験・その他費用について
-----------------------------*/
.top-experience {
  display: flex;
  justify-content: center;
  align-items: stretch;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
.top-experience__inner {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-items: flex-start;
  gap: 6.5rem 5rem;
  width: clamp(420px, 29.6875vw, 570px);
  margin-inline: 0;
}
.top-experience__inner::before {
  width: 371px;
  right: calc(50% + 207px);
  bottom: -32px;
}
.top-experience__title {
  max-height: 30rem;
  text-align: left;
  margin-bottom: 0;
  order: 1;
}
.top-experience__title > span {
  writing-mode: vertical-rl;
  max-height: auto;
  text-orientation: mixed;
}
@media screen and (max-width: 767px) {
  .top-experience__title > span {
    writing-mode: horizontal-tb;
    max-height: inherit;
  }
}
.top-experience__text {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row-reverse;
  max-height: 40rem;
  margin: 0 calc((1em - 1lh) / 2);
  order: 0;
}
.top-experience__text p {
  writing-mode: vertical-rl;
  max-height: auto;
  text-orientation: mixed;
}
@media screen and (max-width: 767px) {
  .top-experience__text p {
    writing-mode: horizontal-tb;
    max-height: inherit;
  }
}
.top-experience__text .mb {
  margin: 0 0 0 1lh;
}
.top-experience__btn {
  width: 32rem;
  margin-top: auto;
  margin-inline: auto;
  grid-column: span 2;
  order: 2;
}
.top-experience__image {
  width: calc((100% - 6rem - clamp(420px, 29.6875vw, 570px)) / 3);
  z-index: 4;
}
.top-experience__image img {
  width: 100%;
  height: 506px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0 3rem 3rem 0;
}
.top-experience__image:last-child img {
  border-radius: 3rem 0 0 3rem;
}

/*お知らせ
-----------------------------*/
.top-news {
  padding-top: 8rem !important;
}
.top-news::before {
  width: 2274px;
  height: 578px;
  max-height: 100%;
  top: 0.6rem;
}
.top-news__box {
  display: grid;
  grid-template-columns: auto 80rem;
  align-items: flex-start;
  gap: 0 5rem;
}
.top-news__title {
  align-items: flex-start;
  margin-bottom: 0;
}
.top-news__list {
  min-height: 25rem;
  grid-row: span 2;
}
.top-news__btn {
  width: 16rem;
  align-self: flex-end;
}

/*===============================================
  寿徳寺について
===============================================*/
/*寿徳寺の由緒
-----------------------------*/
/*曹洞宗について
-----------------------------*/
.about-sect {
  background-size: min(559px, 29.115%);
}
.about-sect__text {
  text-align: center;
}
.about-sect__list {
  display: grid;
  grid-template-columns: 1fr 59rem;
  align-items: flex-start;
  gap: 8rem 6rem;
  padding-top: 8rem;
}

/*住職よりご挨拶
-----------------------------*/
.about-greeting {
  padding-bottom: 5rem;
}
.about-greeting__inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  -moz-column-gap: 5rem;
       column-gap: 5rem;
}
.about-greeting__image {
  width: 37rem;
  flex-shrink: 0;
}
.about-greeting__image img {
  border-radius: 3rem;
}

/*年間行事
-----------------------------*/
.about-event {
  padding: 10rem 0 9.5rem !important;
}
.about-event::before {
  background-size: min(420.2rem, 21.9892%);
}
.about-event__item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  min-height: 357px;
  padding-left: 47rem;
  position: relative;
}
.about-event__item:nth-child(2) .about-event__heading .sub, .about-event__item:nth-child(5) .about-event__heading .sub {
  margin-left: -1.25em;
}
.about-event__heading {
  flex-direction: row;
}
.about-event__heading::before {
  left: -3rem;
}
.about-event__heading .date {
  flex-shrink: 0;
  margin-right: 1em;
}
.about-event__heading .date + span {
  padding-top: 0.8rem;
}
.about-event__heading .sub {
  white-space: nowrap;
  margin-inline: -0.5em;
}
.about-event__image {
  position: absolute;
  top: 0;
  left: 0.6rem;
}

/*寺院案内
-----------------------------*/
.about-info {
  padding-top: 5rem;
}
.about-info:has(.about-info__map) {
  padding-bottom: 5rem;
}
.about-info__inner:has(.about-info__map) {
  display: grid;
  grid-template-columns: 50% 1fr;
  -moz-column-gap: 5rem;
       column-gap: 5rem;
}
.about-info__inner:has(.about-info__map) .about-info__table th {
  width: 17rem;
}
.about-info__table th {
  width: 24rem;
}

/*===============================================
  永代供養
===============================================*/
/*セクション名
-----------------------------*/
/*===============================================
  葬儀
===============================================*/
/*葬儀の流れ
-----------------------------*/
.funeral-flow {
  padding-bottom: 5rem;
}
.funeral-flow .inbox {
  width: 90rem;
}
.funeral-flow__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem 2.5rem;
  padding: 4rem;
}
.funeral-flow__item {
  width: 25rem;
}
.funeral-flow__item::after {
  width: 1.4rem;
  aspect-ratio: 14/29;
  position: absolute;
  top: 4.8rem;
  left: calc(100% + 0.6rem);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.funeral-flow__image {
  margin-bottom: 1rem;
}

/*===============================================
  ペット供養
===============================================*/
/*大切な命へ、
静かに祈りを届けてみませんか？
-----------------------------*/
.pet-message {
  padding: 8rem 0 5rem !important;
}
.pet-message__images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding-top: 1.2rem;
}

/*===============================================
  体験・その他費用
===============================================*/
/*体験について
-----------------------------*/
.experience-about__item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 2rem;
  padding-left: 49rem;
  min-height: 325px;
  position: relative;
  margin-bottom: 3rem;
}
.experience-about__heading {
  margin-bottom: 0;
}
.experience-about__fee {
  margin-left: auto;
}
.experience-about__image {
  position: absolute;
  top: 0;
  left: 0;
}
.experience-about__image img {
  border-radius: 3rem;
}

/*御朱印について
-----------------------------*/
.experience-stamp__box {
  display: grid;
  grid-template-columns: auto 60rem;
  -moz-column-gap: 6rem;
       column-gap: 6rem;
  justify-content: space-between;
  align-items: flex-start;
}
.experience-stamp__image {
  margin-left: 1.3rem;
}

/*===============================================
  お知らせ
===============================================*/
/* お知らせ 一覧
-----------------------------*/
/* お知らせ 詳細
-----------------------------*/
.news-detail__box {
  padding: 5rem 4rem;
}

/*タグリスト
-----------------------------*/
/*===============================================
  お問い合わせ
===============================================*/
.contact-form__table {
  margin-bottom: 56px;
}
.contact-form__table tr th {
  width: 37rem;
  text-align: left;
  line-height: 2.11112;
  padding-right: 3rem;
}
.contact-form__table tr td {
  vertical-align: middle;
  line-height: 2.11112;
}
.contact-form .contact-submits-wrap > * {
  width: 320px;
  height: 60px;
  margin: 20px 15px 0;
}

/*===============================================
  お問い合わせ完了
===============================================*/
.contact-complete__text {
  text-align: center;
}

/*===============================================
  プライバシーポリシー
===============================================*/
/*===============================================
  サイトマップ
===============================================*/
.sitemap-list__items {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  grid-auto-flow: column;
  gap: 2rem 8rem;
  padding-top: 2rem;
}
.sitemap-list__link {
  padding: 1.5rem 2rem;
}

/*===============================================
  404エラー
===============================================*/