@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/*===============================================
  切り替え用
===============================================*/
html {
  font-size: clamp(8px, 2.2222222222vw, 10px);
}

.sp-none {
  display: none !important;
}

.com-table:not(.com-table--noblock) table,
.com-table:not(.com-table--noblock) table tbody,
.com-table:not(.com-table--noblock) table th,
.com-table:not(.com-table--noblock) table tr,
.com-table:not(.com-table--noblock) table td {
  display: block !important;
  width: 100% !important;
}

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

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  height: 9.5rem;
}
#header .header__logo img {
  height: 7rem;
}
#header .header__info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  background: var(--color-white);
  padding-block: 1.5rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 99;
}
#header .header__add {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-xs);
  line-height: 1;
  letter-spacing: 0;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  margin-left: auto;
}
#header .header__add > span {
  display: block;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
}
#header .header__add::before {
  content: "";
  display: block;
  width: 2rem;
  aspect-ratio: 1/1;
  background: url(../img/common/icon_map.png) no-repeat center/contain;
}
#header .header__tel {
  row-gap: 0.5rem;
}
#header .header__mail {
  width: auto;
  height: 5rem;
  aspect-ratio: 1;
  margin-inline: 0;
}
#header .header__mail > span {
  display: none;
}
#header .header__mail::before {
  width: 2.4rem;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding-top: 4rem;
}
#footer::before {
  width: 78rem;
  height: 3.2rem;
}
#footer .footer__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  row-gap: 3rem;
}
#footer .footer__logo img {
  height: 9.2rem;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  row-gap: 2rem;
}
#footer .footer__add {
  text-align: center;
}
#footer .footer__mail {
  width: 30rem !important;
}
#footer .footer__link {
  width: 30rem;
  height: 8rem;
  padding: 2rem 1.5rem;
}
#footer .footer__link::after {
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

/*フッターナビ
-----------------------------*/
.footer-nav {
  width: 100%;
  padding-top: 2rem;
}
.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-gray);
  padding-block: 1px;
}
.footer-nav__item {
  background: var(--color-bg);
}
.footer-nav__item:first-of-type:nth-last-of-type(2n + 1) {
  grid-column: span 2;
}
.footer-nav__link {
  padding: 1.5rem;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}

/*コピーライト
-----------------------------*/
.copy {
  padding-block: 1.9rem;
}
/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  right: 1rem;
  bottom: 1rem;
}

/*サイドボタン
-----------------------------*/
#side {
  left: 1rem;
  bottom: 1rem;
}

/*===============================================
  visual
===============================================*/
/*共通
-----------------------------*/
/*メインビジュアル
-----------------------------*/
.visual__main {
  height: 48rem;
}
.visual__catch--main {
  width: 36rem;
  max-width: 80%;
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  height: 20rem;
}
.visual__catch--sub {
  min-width: 24rem;
  font-size: var(--font-size-h2);
  line-height: 2;
  padding-inline: 2rem;
}

/*===============================================
  main#container
===============================================*/
/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  padding-block: 1.5rem;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
}
.breadcrumb__list {
  width: 90%;
}
.breadcrumb + .section {
  padding-top: 10rem;
}

/*===============================================
  main共通
===============================================*/
.section {
  padding-block: 8rem;
}
.section:first-of-type, .section:nth-of-type(4) {
  background-size: 180rem;
}
.section:first-of-type:not(:last-of-type) {
  padding-bottom: 10rem;
}
.section:nth-of-type(2) {
  padding-top: 6rem;
}
.section:nth-of-type(2)::before {
  width: 78rem;
  height: 3.2rem;
}
.section:nth-of-type(2):not(:last-of-type) {
  padding-bottom: 6rem;
}
.section:nth-of-type(2):not(:last-of-type)::after {
  width: 78rem;
  height: 3.2rem;
}
.section:nth-of-type(3):not(:last-of-type) {
  padding-bottom: 6rem;
}
.section:nth-of-type(3):not(:last-of-type)::after {
  width: 78rem;
  height: 3.2rem;
}
.section:last-of-type {
  padding-bottom: 10rem;
}

.inbox {
  width: 90%;
}

/*ボタン
-----------------------------*/
.com-btn {
  margin-inline: auto;
}

/*テーブル
-----------------------------*/
.com-table tr th {
  padding: 2rem 1.5rem;
}
.com-table tr td {
  padding: 2rem 1.5rem;
}
.com-table--noblock tr th {
  width: 8em;
  border-bottom: solid 1px var(--color-gray);
}
.com-table--noblock tr td {
  border-bottom: solid 1px var(--color-gray);
}
.com-table--noblock tr:first-of-type th {
  border-top-left-radius: 1rem;
}
.com-table--noblock tr:first-of-type td {
  border-top-right-radius: 1rem;
}
.com-table--noblock tr:last-of-type th {
  border-bottom-left-radius: 1rem;
}
.com-table--noblock tr:last-of-type td {
  border-bottom-right-radius: 1rem;
}
.com-table--noblock tr:last-of-type th,
.com-table--noblock tr:last-of-type td {
  border-bottom: none;
}
.com-table:not(.com-table--noblock) tr:first-of-type th {
  border-radius: 1rem 1rem 0 0;
}
.com-table:not(.com-table--noblock) tr:last-of-type td {
  border-radius: 0 0 1rem 1rem;
}

/*テキストボックス
-----------------------------*/
.com-text br:not(.pc-none) {
  display: none;
}

/*お知らせ
-----------------------------*/
/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  margin-bottom: 4rem;
}

/*中タイトル
-----------------------------*/
/*小タイトル
-----------------------------*/
/*===============================================
  共通セクション
===============================================*/
/*ご案内
-----------------------------*/
.com-guide__image {
  margin-top: 5rem;
}
.com-guide__image img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.com-guide__image::after {
  width: 10rem;
  bottom: -3.2rem;
  right: -2rem;
}
.com-guide__recommend {
  padding-top: 7rem;
}
.com-guide__list {
  padding: 3rem 2.5rem 4rem;
}
.com-guide__list::before {
  width: 90vw;
  height: calc(100% + 3rem);
}
.com-guide__item {
  margin-bottom: 2rem;
}
.com-guide__item:last-of-type {
  margin-bottom: 0;
}
.com-guide__item br {
  display: none;
}
.com-guide--painting .com-guide__inner::before {
  width: 100%;
  height: 9.4rem;
  bottom: -4.5rem;
}
.com-guide--painting .com-guide__recommend::before {
  width: calc(100vw - 20px);
  max-width: 1280px;
  min-width: 1180px;
  height: clamp(180px, 14.8461538462vw, 193px);
  bottom: -4px;
}
.com-guide--painting .com-guide__list {
  grid-template-rows: repeat(3, 1fr);
}
.com-guide--zazen .com-guide__recommend::before {
  width: 96vw;
  height: 7rem;
  bottom: -2rem;
}
.com-guide--zazen .com-guide__recommend::after {
  width: 91vw;
  height: 12rem;
  bottom: -8rem;
}
.com-guide--yoga .com-guide__recommend::before {
  width: 92vw;
  height: 8rem;
  bottom: -5.6rem;
}
.com-guide--yoga .com-guide__recommend::after {
  width: 96vw;
  height: 8rem;
  bottom: -5.6rem;
}
.com-guide--dressing::before {
  width: 92%;
  height: 8rem;
  top: 4rem;
}
.com-guide--dressing .com-guide__inner::before {
  display: none;
}

/*魅力
-----------------------------*/
.com-charm__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: 2.4rem 2rem;
  margin-bottom: 3rem;
}
.com-charm__item:last-of-type {
  margin-bottom: 0;
}
.com-charm__heading {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
}
.com-charm__body {
  grid-column: span 2;
}

/*講師紹介
-----------------------------*/
.com-instructor::before {
  width: calc(100% + 5rem);
  max-width: 55rem;
  height: 16rem;
  top: 13rem;
}
.com-instructor__box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.com-instructor__image {
  width: 30rem;
  margin: 0 auto 3rem;
}
.com-instructor__image img {
  aspect-ratio: 1.25;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.com-instructor__body {
  font-size: 1.8rem;
  line-height: 2.11112;
}
.com-instructor__btn {
  margin: 5rem auto 0;
}
.com-instructor--painting .com-instructor__inner::before {
  width: 92vw;
  height: 6.4rem;
  top: 2rem;
}
.com-instructor--yoga .com-instructor__inner::before {
  width: 92vw;
  height: 6.4rem;
  top: 2rem;
}
.com-instructor--dressing .com-instructor__inner::before {
  width: calc(100% + 3rem);
  height: 6.4rem;
  bottom: -5.4rem;
}
.com-instructor--dressing .com-instructor__image::after {
  width: 7.2rem;
  top: -3rem;
  left: -2.4rem;
}

/*日時・料金 / 受付方法
-----------------------------*/
.com-fee::before {
  width: 98%;
  height: calc(100% - 12rem);
  background-size: auto 4rem, auto 5rem;
  top: 8rem;
}
.com-fee__item {
  margin-bottom: 5rem;
}
.com-fee__item:last-of-type {
  margin-bottom: 0;
}
.com-fee__heading {
  margin-bottom: 2rem;
}
.com-fee__table tr th {
  width: 40rem;
  padding-block: 1.4rem;
  vertical-align: middle;
}
.com-fee__table tr td {
  padding-block: 1.4rem;
}
.com-fee--zazen::before {
  display: none;
}
.com-fee--zazen::after {
  content: "";
  width: 92vw;
  height: 7rem;
  background: url(../img/common/ume02.png) no-repeat right bottom/contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 12rem;
  z-index: 0;
}

/*===============================================
  総合トップ
===============================================*/
.entrance {
  height: 60.5rem;
  min-height: calc(100vh - 17.5rem);
}
.entrance + .copy {
  margin-bottom: 8rem;
}
.entrance__list {
  flex-direction: column;
  gap: 1px;
}
.entrance__inner {
  width: 32rem;
  padding: 3rem 2rem;
}
.entrance__category {
  display: grid;
  grid-template: repeat(2, 1fr)/repeat(2, 1fr);
  gap: 0.5rem;
}
.entrance__category li {
  font-size: clamp(1.7rem, 1.3020833333vw, 2.5rem);
  line-height: 1.68;
  padding-inline: 0.64em;
}
.entrance__txt {
  font-size: var(--font-size-h6);
  line-height: var(--line-height-h6);
}
.entrance__title {
  width: 100%;
  font-size: var(--font-size-h4);
  padding-top: 1.6rem;
  margin-top: 1.6rem;
}

/*===============================================
  トップページ
===============================================*/
/*歴史ある寺院をもっと身近に
-----------------------------*/
.top-about::before {
  width: 92vw;
  height: 7.2rem;
  top: 10rem;
}
.top-about__image {
  margin-top: 5rem;
}
.top-about__image img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top-about__image::after {
  width: 10rem;
  right: -2.4rem;
  bottom: -4rem;
}

/*お寺×カルチャー教室
開かれたお寺で趣味を楽しむ
-----------------------------*/
.top-list__item--painting::before {
  width: 10rem;
  bottom: 1rem;
  right: -2rem;
}
.top-list__item--zazen::before {
  width: 7rem;
  right: 0;
  bottom: -2rem;
}
.top-list__item--yoga::before {
  width: 9rem;
  right: 0;
  bottom: -0.5rem;
}
.top-list__image {
  z-index: 2;
  margin-bottom: 3rem;
}
.top-list__image img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top-list__heading {
  margin-bottom: 2rem;
}
.top-list__heading::before {
  width: 12rem;
  top: -5rem;
  left: -3rem;
}
.top-list__btn {
  width: 25rem;
  margin-top: 4rem;
  margin-left: 0;
}

/*お寺×着付け
和装婚礼、七五三、成人式、卒業式などに
-----------------------------*/
.top-dressing::before {
  width: calc(100% + 5rem);
  max-width: 55rem;
  height: 16rem;
  bottom: 0;
}
.top-dressing__inner::after {
  width: calc(100% - 34px);
  height: 133px;
  bottom: 24px;
}
.top-dressing__btn {
  margin-top: 6rem;
}
.top-dressing__image {
  margin-top: 5rem;
}
.top-dressing__image img {
  aspect-ratio: 1.5;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*住職挨拶
-----------------------------*/
.top-greeting::before {
  width: 98%;
  height: calc(100% - 12rem);
  background-size: auto 4rem, auto 5rem;
  top: 8rem;
}
.top-greeting::after {
  width: 98.6rem;
  height: 13.6rem;
  bottom: 7.6rem;
}

/*お知らせ
-----------------------------*/
.top-news__btn {
  margin-top: 4rem;
}

/*寺院情報
-----------------------------*/
.top-info__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem 1.5rem;
}
.top-info__inner:not(:has(.top-info__image)) .top-info__map {
  height: 30rem;
  grid-column: span 2;
}
.top-info__table {
  grid-column: span 2;
}
.top-info__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
/*===============================================
  お知らせ
===============================================*/
/* お知らせ 一覧
-----------------------------*/
/* お知らせ 詳細
-----------------------------*/
/*タグリスト
-----------------------------*/
/*===============================================
  お問い合わせ
===============================================*/
.contact-form__table {
  margin-bottom: 2.5em;
}
.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.5;
  padding: 0.5em 1em;
}
.contact-form .contact-submits-wrap > * {
  width: 20em;
  max-width: 100%;
  height: clamp(50px, 13.3333333333vw, 60px);
  margin: 0 auto 1.25em;
}
.contact-form .contact-submits-wrap > *:last-child {
  margin-bottom: 0;
}

/*===============================================
  お問い合わせ完了
===============================================*/
/*===============================================
  プライバシーポリシー
===============================================*/
/*===============================================
  サイトマップ
===============================================*/
.sitemap-list__item {
  margin-bottom: 0.75em;
}
.sitemap-list__item:last-of-type {
  margin-bottom: 0;
}
.sitemap-list__link {
  padding: 1em;
}

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