@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/* font-weight */
:root {
  /* カラー */
  --color-text: #171616;
  --color-mos: #506627;
  --color-green: #85a941;
  --color-wakaba: #deedb1;
  --color-pink: #ffc0cc;
  --color-sakura: #faf3f6;
  /* font-family */
  --font-family-noto: "Noto Serif JP", serif;
  --font-family-shippori: "Shippori Mincho B1", serif;
  --font-family-icon: bootstrap-icons;
  /* font-weight */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* アイコン */
  --icon-mail: "";
  --icon-tel: "";
  --icon-window: "";
  --icon-arrow: "";
  --icon-arrow-bottom: "";
}

@media screen and (min-width: 768px) {
  :root {
    /* フォントサイズ */
    --font-size-h1: 6.4rem;
    --font-size-h2: 5rem;
    --font-size-h3: 4rem;
    --font-size-h4: 3.2rem;
    --font-size-h5: 2.6rem;
    --font-size-h6: 2.2rem;
    --font-size-base: 1.7rem;
    --font-size-sm: 1.4rem;
    --font-size-xs: 1.2rem;
    /* line-height */
    --line-height-h1: 1;
    --margin-height-h1: -0.0em;
    --line-height-h2: 1;
    --margin-height-h2: -0.0em;
    --line-height-h3: 1.5;
    --margin-height-h3: -0.25em;
    --line-height-h4: 1.40625;
    --margin-height-h4: -0.203125em;
    --line-height-h5: 1.73077;
    --margin-height-h5: -0.365385em;
    --line-height-h6: 1;
    --margin-height-h6: -0.0em;
    --line-height-base: 2.352942;
    --margin-height-base: -0.676471em;
    --line-height-sm: 1.428572;
    --margin-height-sm: -0.214286em;
    --line-height-xs: 1.6666667;
    /* letter-spacing */
    --letter-spacing-base: 0.05em;
  }
}
@media screen and (max-width: 767px) {
  :root {
    /* フォントサイズ */
    --font-size-h1: 2em;
    --font-size-h2: 1.75em;
    --font-size-h3: 1.5625em;
    --font-size-h4: 1.375em;
    --font-size-h5: 1.25em;
    --font-size-h6: 1.125em;
    --font-size-base: 1em;
    --font-size-sm: 0.875em;
    --font-size-xs: 0.75em;
    /* line-height */
    --line-height-title: 1.5;
    --line-height-base: 1.875;
    --line-height-sm: 1.714286;
    --line-height-xs: 1.666667;
    /* letter-spacing */
    --letter-spacing-base: 0.05em;
  }
}
/*===============================================
  切り替え用
===============================================*/
.pc-none {
  display: none !important;
}

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

/*===============================================
  ページネーション
===============================================*/
.pagenation {
  font-size: var(--font-size-base);
  padding-top: 3em;
}
.pagenation li {
  width: 36px;
  line-height: 40px;
  margin: 5px 4px 0;
}

/*===============================================
  詳細ページ前後
===============================================*/
.paginated {
  font-size: var(--font-size-base);
}
.paginated__list {
  padding-top: 1.5em;
  margin-top: 2em;
}
.paginated__link {
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}
.paginated__link--prev::before {
  margin-right: 1em;
}
.paginated__link--next::after {
  margin-left: 1em;
}

/*===============================================
  wrapper
===============================================*/
#wrapper {
  min-width: 1200px;
  font-size: var(--font-size-base);
}

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  height: clamp(80px, 6.25vw, 100px);
}
#header .header__logo {
  width: clamp(210px, 16.375vw, 262px);
  position: absolute;
  top: 0;
  left: 0;
}
#header .header__other {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
#header .header__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: column;
  width: clamp(256px, 17.6041666667vw, 338px);
  padding-right: clamp(16px, 1.25vw, 24px);
  -webkit-mask: url(../img/common/header_info-bg.png) no-repeat right top/100% 100%;
          mask: url(../img/common/header_info-bg.png) no-repeat right top/100% 100%;
  background: linear-gradient(to bottom, var(--color-wakaba) calc(100% - clamp(95px, 7.3958333333vw, 142px)), #fff calc(100% - clamp(95px, 7.3958333333vw, 142px)));
  position: relative;
  z-index: 0;
}
#header .header__info::before {
  content: "";
  width: clamp(50px, 3.90625vw, 75px);
  aspect-ratio: 75/66;
  background: url(../img/common/header_cat.png) no-repeat left bottom/contain;
  position: absolute;
  top: clamp(80px, 5.2083333333vw, 100px);
  left: clamp(100px, 7.0833333333vw, 136px);
  z-index: -1;
}
#header .header__tel {
  padding: 33px 0 clamp(32px, 2.5vw, 48px);
  font-size: clamp(2.4rem, 1.6666666667vw, 3.2rem);
}
#header .header__add {
  max-width: 9em;
  height: clamp(95px, 7.3958333333vw, 142px);
  text-align: right;
  font-size: clamp(1.2rem, 0.8854166667vw, 1.7rem);
  line-height: 1.47059;
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
  padding-top: clamp(10px, 0.7291666667vw, 14px);
}

/*===============================================
  footer
===============================================*/
#footer {
  padding: 80px 0 60px;
  background: url(../img/common/footer_bg-rt.png) no-repeat right top, url(../img/common/footer_bg-lb.png) no-repeat left bottom;
  background-size: min(564px, 29.375%);
}
#footer:has(.footer-nav__sub-list) {
  padding-bottom: 30px;
}
#footer::after {
  content: "";
  width: 1080px;
  height: 56px;
  background: url(../img/common/footer_cat.png) no-repeat right bottom/contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 0;
}
#footer .footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 1080px;
}
#footer .footer__other {
  width: calc(100% - 780px);
}
#footer .footer__logo {
  margin-bottom: 50px;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 30px;
}
#footer .footer__add {
  line-height: 1.47059;
  margin: -4px 0;
}
#footer .footer__map {
  width: 740px;
  min-height: 300px;
}

/*フッターナビ
-----------------------------*/
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  padding-top: 50px;
}
.footer-nav__list, .footer-nav__sub-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -0.25em 0;
}
.footer-nav__sub-list {
  font-size: var(--font-size-sm);
}
.footer-nav__item, .footer-nav__sub-item {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
}
.footer-nav__item::after, .footer-nav__sub-item::after {
  content: "|";
  margin: 0 1em;
}
.footer-nav__item:last-of-type::after, .footer-nav__sub-item:last-of-type::after {
  display: none;
}

/*コピーライト
-----------------------------*/
.copy {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 15px 0;
}

/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  bottom: 60px;
  right: 30px;
  row-gap: 10px;
}
#pagetop::after {
  content: "上に戻る";
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-green);
  line-height: 1;
  letter-spacing: var(--letter-spacing-base);
  -webkit-text-stroke: 3px var(--color-sakura);
  paint-order: stroke;
}

/*サイドボタン
-----------------------------*/
#side {
  bottom: 10px;
  right: 10px;
}

/*===============================================
  visual
===============================================*/
.visual::before {
  height: clamp(616px, 48.125vw, 924px);
  background-size: min(685px, 35.6771%);
  top: clamp(80px, 5.2083333333vw, 100px);
}

/*メインビジュアル
-----------------------------*/
.visual__main {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: clamp(616px, 48.125vw, 924px);
  background: url(../img/visual/mv_bg.jpg) no-repeat center/cover;
  padding-bottom: clamp(30px, 2.34375vw, 45px);
}
.visual__main-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 5px;
  width: clamp(680px, 52.0833333333vw, 1000px);
  height: clamp(120px, 9.375vw, 180px);
  text-align: center;
  background: url(../img/visual/mv_catch-bg.png) no-repeat center/100% 100%;
}
.visual__main-box::before {
  width: 93.6%;
  height: 72.778%;
  background-size: 14.53%;
  top: 11.667%;
}
.visual__main-catch img {
  height: clamp(37px, 2.8645833333vw, 55px);
}
.visual__main-sub img {
  height: clamp(28px, 2.1354166667vw, 41px);
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  height: clamp(360px, 26.0416666667vw, 500px);
  padding-top: clamp(150px, 10.4166666667vw, 200px);
}
.visual__sub-box {
  width: 56.25%;
  height: 60%;
}
.visual__sub-box::before {
  width: 96.297%;
  height: 72.223%;
  background-size: 12.5962%;
}
.visual__sub-catch {
  font-size: clamp(3.6rem, 2.6041666667vw, 5rem);
  letter-spacing: var(--letter-spacing-base);
}

/*===============================================
  グローバルナビ
===============================================*/
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(80px, 6.25vw, 100px);
}
.gnav__item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5rem, 1.1724137931vw, 1.7rem);
  letter-spacing: var(--letter-spacing-base);
}
.gnav__item::after {
  content: "│";
  margin: 0 1em;
}
.gnav__item:last-of-type::after {
  display: none;
}
.gnav__link {
  display: block;
}
.gnav__link:hover, .gnav__link[aria-current=page] {
  color: var(--color-green);
}

/*===============================================
  main#container
===============================================*/
#container {
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}
#container .section:only-of-type {
  padding: 120px 0;
}
#container .section:only-of-type::before {
  min-width: 1920px;
  height: 216px;
}

/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  height: 60px;
}
.breadcrumb__list {
  width: 1080px;
}
.breadcrumb__item::after {
  margin: 0 1em;
}

/*===============================================
  main共通
===============================================*/
.section {
  padding: 100px 0;
}
.section:not(.section--white):not(.section--pink):has(+ .section--white), .section:not(.section--white):not(.section--pink):has(+ .section--pink) {
  padding: 120px 0;
}
.section--white::before {
  min-width: 1920px;
  height: 216px;
}
.section--pink::before {
  min-width: 1920px;
  height: 207px;
}

.inbox {
  width: 1080px;
}

/*電話番号
-----------------------------*/
.com-tel {
  font-size: var(--font-size-h4);
}
.com-tel-num {
  letter-spacing: var(--letter-spacing-base);
}
.com-tel-num::before {
  font-size: 0.53125em;
}
.com-tel-num span {
  margin: -0.1875em 0 -0.0625em;
  margin-right: calc(var(--letter-spacing-base) - 1);
}
.com-tel .com-replace {
  height: 0.375em;
  margin-top: 0.3125em;
}

/*ボタン
-----------------------------*/
.com-btn {
  height: 70px;
}
.com-btn::after {
  right: 20px;
}

/*テーブル
-----------------------------*/
.com-table tr {
  border-bottom: solid 2px var(--color-pink);
}
.com-table tr:last-of-type {
  border-bottom: none;
}
.com-table tr th {
  padding: 14px 30px;
}
.com-table tr td {
  padding: 14px 60px;
}

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

/*SB未記入テキスト
-----------------------------*/
.com-empty {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  padding: 2.5em 0;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  font-size: var(--font-size-h3);
  margin-bottom: 30px;
}
.com-title01 > span {
  line-height: var(--line-height-h3);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title01 > span:first-child {
  margin-top: var(--margin-height-h3);
}
.com-title01 > span:last-child {
  margin-bottom: var(--margin-height-h3);
}
.com-title01::after {
  width: 50px;
  margin-top: 30px;
}

/*中タイトル
-----------------------------*/
.com-title02 {
  font-size: var(--font-size-h4);
  padding-left: 20px;
  margin-bottom: 40px;
}
.com-title02 > span {
  line-height: var(--line-height-h4);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title02 > span:first-child {
  margin-top: var(--margin-height-h4);
}
.com-title02 > span:last-child {
  margin-bottom: var(--margin-height-h4);
}

/*小タイトル
-----------------------------*/
.com-title03 {
  font-size: var(--font-size-h5);
  margin-bottom: 30px;
}
.com-title03 > span {
  line-height: var(--line-height-h5);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title03 > span:first-child {
  margin-top: var(--margin-height-h5);
}
.com-title03 > span:last-child {
  margin-bottom: var(--margin-height-h5);
}

/*===============================================
  共通セクション
===============================================*/
/*セクション名
-----------------------------*/
/*===============================================
  トップページ
===============================================*/
/*縁結び・安産・子育て、
そして健康など、
あらゆる祈願の大福寺です
-----------------------------*/
.top-about .inbox {
  display: grid;
  grid-template: "title text" auto "img text" 1fr "btn text" auto/510px 1fr;
  -moz-column-gap: 60px;
       column-gap: 60px;
  align-items: flex-start;
}
.top-about__title {
  grid-area: title;
}
.top-about__text {
  grid-area: text;
}
.top-about__image {
  width: 460px;
  text-align: center;
  margin: auto 0 10px;
  grid-area: img;
}
.top-about__btn {
  width: 460px;
  grid-area: btn;
}

/*住職の徒然日記
-----------------------------*/
.top-diary__box {
  display: grid;
  grid-template: "title btn" auto "list list" auto/1fr 250px;
  gap: 50px 60px;
  align-items: flex-end;
}
.top-diary__title {
  margin-bottom: 0;
  grid-area: title;
}
.top-diary__title > span::after {
  content: "";
  width: 66px;
  height: 53px;
  background: url(../img/index/deco_diary.png) no-repeat center/contain;
  position: absolute;
  left: calc(100% + 30px);
  bottom: calc(var(--margin-height-h3) * -1);
  z-index: -1;
}
.top-diary__list {
  grid-area: list;
}
.top-diary__item {
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.top-diary__item-link {
  gap: 20px 0;
}
.top-diary__item-date {
  width: 210px;
  font-size: var(--font-size-h6);
  line-height: 1.36364;
}
.top-diary__item-tags {
  width: calc(100% - 210px);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  gap: 10px 20px;
}
.top-diary__item-tag {
  padding: 3px 1em;
  border-radius: 8px;
}
.top-diary__item-title {
  line-height: 1.5em;
  padding-right: 60px;
  margin: -0.25em;
}
.top-diary__item-title::after {
  font-size: 1.5em;
}
.top-diary__btn {
  height: 60px;
  grid-area: btn;
}

/*画像セクション
-----------------------------*/
.top-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 14px;
       column-gap: 14px;
}
.top-images__item img {
  aspect-ratio: 1.4156626506;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*リンクセクション
-----------------------------*/
.top-links {
  background-size: min(945px, 49.21875%), cover;
}
.top-links__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row;
  gap: 50px 20px;
}
.top-links__item {
  border-radius: 30px;
}

/*住職よりご挨拶
-----------------------------*/
.top-greeting::after {
  width: 34.375%;
  max-width: 660px;
  top: clamp(32px, 20vw - 224px, 160px);
}
.top-greeting .inbox {
  width: 900px;
}
.top-greeting__movie::before {
  width: 680px;
  height: 145px;
  left: calc(50% - 58px);
}
.top-greeting__movie:has(+ .top-greeting__text) {
  margin-bottom: 30px;
}
.top-greeting__text {
  min-height: 200px;
  text-align: center;
  padding: calc(30px + var(--margin-height-base)) 30px;
  background: url(../img/index/bg_greeting_txt.png) no-repeat center/100% 100%;
}

/*バナーリンクセクション
-----------------------------*/
.top-bnr {
  background-size: min(945px, 49.21875%);
}
.top-bnr__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 60px 40px;
}
.top-bnr__item {
  width: 520px;
  height: 368px;
}
.top-bnr__inner {
  padding: 24px 40px;
}
.top-bnr__inner::after {
  font-size: 1.5em;
  right: 20px;
}

/*ご本尊さま
-----------------------------*/
.top-buddha {
  padding-top: clamp(170px, 13.0208333333vw, 250px);
}
.top-buddha::before {
  height: calc(100% - clamp(370px, 28.6458333333vw, 550px));
}
.top-buddha::after {
  height: clamp(370px, 28.6458333333vw, 550px);
}
.top-buddha__box {
  padding: 50px;
}
.top-buddha__box::before {
  height: 153px;
  left: -10px;
}
.top-buddha__inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
.top-buddha__text {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: calc(100% - 320px);
}

/*===============================================
  大福寺について
===============================================*/
/*ようこそ、大福寺へ
-----------------------------*/
.about-message__inner {
  display: grid;
  grid-template: "title image" auto "text image" 1fr/50% 1fr;
  -moz-column-gap: 70px;
       column-gap: 70px;
  align-items: flex-start;
}
.about-message__title {
  grid-area: title;
}
.about-message__text {
  grid-area: text;
}
.about-message__image {
  grid-area: image;
}

/*大福寺は臨済宗の寺院です
-----------------------------*/
.about-lead__inner {
  display: grid;
  grid-template-columns: 1fr 645px;
  -moz-column-gap: 60px;
       column-gap: 60px;
  align-items: flex-start;
}
.about-lead__inner::after {
  width: 840px;
  height: 53px;
  bottom: 0;
}
.about-lead__title {
  margin-bottom: 103px;
}

/*お作様について
-----------------------------*/
.about-lineage {
  background-size: min(945px, 49.21875%);
}
.about-lineage__item {
  display: grid;
  grid-template: "image title" auto "image text" 1fr/280px 1fr;
  -moz-column-gap: 40px;
       column-gap: 40px;
  align-items: flex-start;
  padding: 50px;
  margin-bottom: 30px;
}
.about-lineage__item::before {
  height: 153px;
}
.about-lineage__item-title {
  grid-area: title;
}
.about-lineage__item-text {
  grid-area: text;
}
.about-lineage__item-image {
  grid-area: image;
}

/*住職の紹介
-----------------------------*/
.about-priest__inner {
  display: grid;
  grid-template: "title images" auto "text images" 1fr/1fr 470px;
  -moz-column-gap: 65px;
       column-gap: 65px;
  align-items: flex-start;
}
.about-priest__title {
  grid-area: title;
}
.about-priest__text {
  grid-area: text;
}
.about-priest__images {
  display: grid;
  grid-template: "large large" auto "medium top" 1fr "medium bottom" 1fr/1fr 1fr;
  gap: 20px;
  grid-area: images;
}
.about-priest__image--large {
  height: 332px;
  grid-area: large;
}
.about-priest__image--medium {
  grid-area: medium;
}
.about-priest__image--small {
  height: 150px;
}
.about-priest__image--small-top {
  grid-area: top;
}
.about-priest__image--small-bottom {
  grid-area: bottom;
}
.about-priest__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 住職の紹介-プライベートの住職
-----------------------------*/
.about-priest__box {
  display: grid;
  grid-template: "boximage01 boxtitle boxtitle" auto "boximage01 boxtext01 boxtext01" auto "boxtext02 boxtext02 boximage02" auto/280px 1fr 280px;
  gap: 60px 40px;
  align-items: flex-start;
  padding-top: 80px;
}
.about-priest__box-title {
  grid-area: boxtitle;
  margin-bottom: -30px;
}
.about-priest__box-text--top {
  grid-area: boxtext01;
}
.about-priest__box-text--bottom {
  grid-area: boxtext02;
}
.about-priest__box-image {
  width: 280px;
}
.about-priest__box-image--top {
  grid-area: boximage01;
}
.about-priest__box-image--bottom {
  grid-area: boximage02;
}

/*弟子の紹介
-----------------------------*/
.about-disciple__list {
  padding-top: 50px;
}
.about-disciple__item {
  display: grid;
  grid-template-columns: 470px 1fr;
  align-items: flex-start;
  -moz-column-gap: 40px;
       column-gap: 40px;
  margin-bottom: 50px;
}
.about-disciple__item-title {
  grid-column-start: 1;
  grid-column-end: 3;
  margin-bottom: 30px;
}

/*===============================================
  境内のご案内
===============================================*/
/*大福寺の境内の風景をご案内
-----------------------------*/
.precincts-scenery__list {
  padding-top: 50px;
}
.precincts-scenery__item {
  display: grid;
  grid-template-columns: 470px 1fr;
  align-items: flex-start;
  -moz-column-gap: 40px;
       column-gap: 40px;
  margin-bottom: 50px;
}
.precincts-scenery__item-title {
  grid-column-start: 1;
  grid-column-end: 3;
  margin-bottom: 30px;
}

/*===============================================
  祈願・お守り
===============================================*/
/*ご祈願とお守り
-----------------------------*/
.ap-lead__inner {
  display: grid;
  grid-template: "title text" auto "btns text" 1fr/350px 1fr;
  gap: 20px 85px;
  align-items: flex-start;
}
.ap-lead__title {
  grid-area: title;
}
.ap-lead__text {
  grid-area: text;
}
.ap-lead__btns {
  grid-area: btns;
}
.ap-lead__btn {
  margin-bottom: 30px;
}
.ap-lead__btn:last-of-type {
  margin-bottom: 0;
}

/*ご祈願について
-----------------------------*/
.ap-gokito__list {
  padding-top: 50px;
}
.ap-gokito__list::before {
  width: 1054px;
  height: 145px;
  top: -43px;
}
.ap-gokito__item {
  display: grid;
  grid-template-columns: 1fr 520px;
  -moz-column-gap: 30px;
       column-gap: 30px;
  margin-bottom: 50px;
}
.ap-gokito__item-title {
  grid-column-start: 1;
  grid-column-end: 3;
  margin-bottom: 30px;
}

/*お守りについて
-----------------------------*/
.ap-omamori {
  min-height: 500px;
  background-size: min(945px, 49.21875%);
}
.ap-omamori__text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-height: 155px;
  padding: 37px 50px;
}
.ap-omamori__text::before {
  height: calc(100% - 9px);
  top: 5px;
  background-position: left center, right center;
}

/*お守りの紹介
-----------------------------*/
.ap-list__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row;
  gap: 10px 30px;
}
.ap-list__link {
  height: auto;
  line-height: 1.41177;
  padding: 23px 50px;
}
.ap-list__group {
  padding-top: 100px;
}
.ap-list__group:first-of-type {
  padding-top: 80px;
}
.ap-list__group-title {
  margin-bottom: 30px;
}
.ap-list__item {
  display: grid;
  grid-template: "thumb name" auto "thumb price" auto "thumb text" 1fr "images images" auto/470px 1fr;
  -moz-column-gap: 40px;
       column-gap: 40px;
  align-items: flex-start;
  padding-bottom: 50px;
  margin-bottom: 50px;
}
.ap-list__item-thumb {
  grid-area: thumb;
}
.ap-list__item-thumb img {
  aspect-ratio: 470/332;
}
.ap-list__item-price, .ap-list__item-image figcaption {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  margin: var(--margin-height-sm) 0;
}
.ap-list__item-name {
  grid-area: name;
}
.ap-list__item-price {
  margin-bottom: calc(50px + var(--margin-height-sm));
  grid-area: price;
}
.ap-list__item-text {
  margin: var(--margin-height-base) 0;
  grid-area: text;
}
.ap-list__item-images {
  grid-area: images;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row;
  gap: 30px 40px;
  padding: 30px 50px;
  margin-top: 35px;
}
.ap-list__item-image img {
  aspect-ratio: 300/212;
}
.ap-list__item-image:has(figcaption) img {
  margin-bottom: 10px;
}
.ap-list__item img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*===============================================
  アクセス
===============================================*/
/*大福寺にご参拝の方へ
-----------------------------*/
.access-message__inner {
  display: grid;
  grid-template: "title image" auto "text image" 1fr/1fr 470px;
  -moz-column-gap: 65px;
       column-gap: 65px;
  align-items: flex-start;
}
.access-message__title {
  grid-area: title;
}
.access-message__text {
  grid-area: text;
}
.access-message__image {
  grid-area: image;
}

/*寺院概要
-----------------------------*/
.access-info__table tr th {
  width: 200px;
}
.access-info__table tr td .com-replace {
  height: var(--font-size-xs);
  vertical-align: baseline;
}

/*お車でお越しの方へ
-----------------------------*/
.access-car {
  background-size: min(945px, 49.21875%);
}
.access-car__image {
  margin-top: 50px;
}

/*アクセスマップ
-----------------------------*/
.access-map__box {
  height: 500px;
  margin-top: 50px;
}

/*==================================================
 住職の徒然日記一覧
================================================== */
.diary-archive .inbox {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 50px 60px;
}
.diary-archive__title {
  margin-bottom: 0;
}
.diary-archive__list {
  width: 100%;
  padding: 50px 60px;
  box-shadow: 0 0 12px 12px #fff;
}
.diary-archive__item {
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.diary-archive__item-link {
  gap: 20px 0;
}
.diary-archive__item-date {
  width: 210px;
  font-size: var(--font-size-h6);
  line-height: 1.36364;
}
.diary-archive__item-tags {
  width: calc(100% - 210px);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  gap: 10px 20px;
}
.diary-archive__item-tag {
  padding: 3px 1em;
  border-radius: 8px;
}
.diary-archive__item-title {
  line-height: 1.5em;
  padding-right: 60px;
  margin: -0.25em;
}
.diary-archive__item-title::after {
  font-size: 1.5em;
}
.diary-archive .tag-select {
  margin-bottom: 0;
}

/*タグリスト
-----------------------------*/
.tag-select {
  margin-bottom: 50px;
}
.tag-select__box {
  min-width: 240px;
}
.tag-select__box::after {
  right: 18px;
}
.tag-select__dropdown {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 12px 48px 12px 12px;
}

/*==================================================
 住職の徒然日記詳細
================================================== */
.diary-detail__post {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  margin-bottom: 20px;
}
/*==================================================
 お問い合わせ
================================================== */
.contact-form__table {
  margin-bottom: 56px;
}
.contact-form__table tr th {
  width: 380px;
  text-align: left;
  line-height: 2.2353;
  padding: 20px 30px;
}
.contact-form__table tr th .optional-mark,
.contact-form__table tr th .required-mark {
  font-size: var(--font-size-sm);
  line-height: 2;
  padding: 0 0.5em;
  margin-top: 5px;
}
.contact-form__table tr td {
  vertical-align: middle;
  line-height: 2.2353;
  padding: 20px 30px;
}
.contact-form__table tr td select,
.contact-form__table tr td textarea,
.contact-form__table tr td input[type=tel],
.contact-form__table tr td input[type=num],
.contact-form__table tr td input[type=text],
.contact-form__table tr td input[type=email],
.contact-form__table tr td input[type=url] {
  font-size: 1em;
  line-height: 1.52942;
  padding: 6px 8px;
}
.contact-form .contact-submits-wrap {
  padding-top: 32px;
}
.contact-form .contact-submits-wrap > * {
  width: 360px;
  height: 70px;
  margin: 20px 15px 0;
}

/*==================================================
 お問い合わせ完了
================================================== */
/*==================================================
プライバシーポリシー
================================================== */
.privacy-policy__box {
  padding: 50px;
  margin-bottom: 30px;
}
.privacy-policy__box::before {
  height: calc(100% - 12px);
  max-height: 153px;
}

/*==================================================
 サイトマップ
================================================== */
.sitemap-list__items {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-auto-flow: column;
  gap: 20px 80px;
}
.sitemap-list__items:has(> :nth-child(9)) {
  grid-template-rows: repeat(5, 1fr);
}
.sitemap-list__link {
  font-size: var(--font-size-base);
  padding: 0.5em 1.25em;
}
.sitemap-list__link::after {
  font-size: 1.25em;
}

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