/* ========================================
   天台宗 トップページ ベースCSS
   コンテンツ幅: 1200px（外側）
   コンテンツ幅： 1000px（内側）
   読み込み順: フォント → リセット・ベース → ヘッダー・ヒーロー
   → 共通（.section / .section-title / .btn）→ Topic → Pickup
   → News → Event → About → メインコンテンツ → 地図検索 → 関連機関 → フッター
   ======================================== */

/* --- フォント（フォルダから読み込み） --- */
@font-face {
  font-family: "Noto Serif JP";
  src: url("../font/NotoSerifJP-vf.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../font/NotoSansJP-vf.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../font/CormorantGaramond-vf.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}


/* --- リセット・ベース --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.sans {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --- コンテンツ幅 1200px --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* 内側コンテンツ幅 1000px（共通） */
.container-inner {
  max-width: min(1000px, 100%);
  margin-left: auto;
  margin-right: auto;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}

/* ========================================
   ヘッダー・ヒーロー
   ======================================== */
.hero {
  position: relative;
}

/* ヒーロービジュアル：3段スライド（縦横比固定・画面幅基準） */
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

/* スライドオーバーレイ */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 5;
}

/* 1段あたり 幅5:高さ1 の縦横比（幅100vw のとき高さ20vw） */
.hero-visual-row {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  aspect-ratio: 9 / 1;
}

.hero-visual-row .splide,
.hero-visual-row .splide .splide__track,
.hero-visual-row .splide .splide__list {
  height: 100%;
}

.hero-splide .splide__slide {
  height: 100%;
}

.hero-splide .splide__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  vertical-align: bottom;
}

/* 他スライダー（Pickup等）用 */
.splide__slide img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-logo-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 10;
  padding: 0;
  box-sizing: border-box;
}

.hero .logo {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

/* メイン・sub 共通：外枠 max-width 200px、透過白、中央に画像 */
.hero-logo-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 200px;
  max-width: 200px;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.8);
}

.hero-logo-frame .logo-main {
  max-width: 60px;
  height: auto;
}

.hero-logo-frame .logo-sub {
  max-width: 160px;
  height: auto;
}

.hero .logo a.hero-logo-frame {
  display: flex;
}

.hero-logo-sub-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 10;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
}

/* グローバルナビ：固定表示。ナビの高さを超えてスクロールしたら背景を付ける */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 16px 0;
  background: transparent;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

body.global-nav-scrolled .global-nav {
/*
  background: rgba(109, 106, 78, 0.9);
*/
  background-color: rgba(20,20,20,.8);
}

.global-nav .container {
  pointer-events: auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 0, 0, 0.8);
}

.nav-list a:hover {
  text-decoration: underline;
}

.nav-list__lang {
  font-size: 0.8125rem;
  opacity: 0.95;
}

/* ========================================
   共通セクションタイトル
   ======================================== */
.section {
  padding: 48px 0 56px;
}

.section-title {
  margin: 0 0 24px;
  font-weight: bold;
}

.section-title .title-en,
.section-title.title-en {
  display: block;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  color: #333;
  font-family: "Cormorant Garamond", serif;
}

.section-title .title-ja {
  display: block;
  font-size: 1.15rem;
  font-weight: normal;
  color: #666;
  margin-top: 1.0rem;
}

/* --- 共通ボタン --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-search {
  background: #343434;
  padding: 12px 24px;
  width: 120px;
  border-radius: 0 8px 8px 0;
}

.btn-search img {
  height: 1.0rem;
}

/* ========================================
   Topic / Pickup
   ======================================== */
/* Topic：Pickup上・3枚等間隔・リンク */
.topic {
  padding: 32px 0;
}

.topic-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topic-link {
  position: relative;
  overflow: hidden;
  display: block;
  flex: 1;
  text-align: center;
}

.topic-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.topic-link:hover::after {
  opacity: 1;
}

.topic-link img {
  display: block;
  width: 100%;
  height: auto;
}


/* Pickup */
.pickup .container {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.pickup-title-wrap {
  position: relative;
  flex: 2;
}

.pickup-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 40px;
}

.pickup-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.pickup-arrow:hover {
  color: #5a7d5a;
}

.pickup-arrow:hover img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(28%) saturate(1200%) hue-rotate(107deg);
}

.pickup-arrow:focus {
  outline: none;
}

.pickup-arrow:focus-visible {
  outline: 2px solid #5a7d5a;
  outline-offset: 2px;
}

.pickup-arrow img {
  display: block;
  width: 24px;
  height: 40px;
  transition: filter 0.2s ease;
}

.pickup-content-wrap {
  flex: 8;
  min-width: 0;
}

.pickup-splide {
  margin-bottom: 32px;
}

.pickup-splide .splide__slide .pickup-card {
  width: 100%;
  height: 100%;
}

.pickup-card {
  min-width: 0;
}

.pickup-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid #e0ddd8;
  padding: 3.0rem 1.0rem;
}

.pickup-link-date {
  margin: 0 0 1.5rem;
  font-size: 1.0rem;
  color: #666;
}

.pickup-link-title {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0 0 2.0rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.8em;
}

.pickup-link-desc {
  margin: 0 0 2.0rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.2em;
}

.pickup-card-img {
  width: 100%;
  background: #ddd;
  margin-top: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.pickup-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s ease;
}

.pickup-link:hover .pickup-card-img img {
  transform: scale(1.1);
}


/* ========================================
   News
   ======================================== */
.news .container {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.news-title-wrap {
  flex: 2;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.0rem;
}

.news-title-wrap .news-more {
  margin-top: auto;
}

.news-more a {
  display: inline-block;
  text-align: center;
  width: 80%;
  padding: 0.6rem;
  color: #666;
  border: 1px solid #d8d8d8;
  border-radius: 40px;
}

.news-more a,
.event-more a,
.temple-more a {
  transition: background-color 0.6s ease;
}

.news-more a:hover,
.event-more a:hover,
.temple-more a:hover {
  background-color: rgba(158, 158, 158, 0.4);
}

.news-content-wrap {
  flex: 8;
  min-width: 0;
}

.news-list a {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 14px 0;
  transition: gap 0.8s ease;
}

.news-list a:hover {
  gap: 70px;
}

.news-link-date {
  flex-shrink: 0;
  color: #666;
}

.news-link-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   Event
   ======================================== */
.event-title-wrap {
  text-align: center;
}

.event-content-wrap {
  position: relative;
  margin-bottom: 24px;
  padding-left: 56px;
  padding-right: 56px;
}

.event-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.event-arrow {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.event-arrow:hover {
  color: #5a7d5a;
}

.event-arrow:hover img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(28%) saturate(1200%) hue-rotate(107deg);
}

.event-arrow:focus {
  outline: none;
}

.event-arrow:focus-visible {
  outline: 2px solid #5a7d5a;
  outline-offset: 2px;
}

.event-arrow img {
  display: block;
  width: 24px;
  height: 40px;
  transition: filter 0.2s ease;
}

.event-splide {
  margin-bottom: 0;
}

.event-splide .splide__slide .event-card {
  width: 100%;
  height: 100%;
}

.event-card {
  min-width: 0;
}

.event-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card-img {
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
}

.event-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s ease;
}

.event-link:hover .event-card-img img {
  transform: scale(1.1);
}

.event-card-category {
  text-align: center;
  margin-top: 2.0rem;
}

.event-card-title {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0 0 2.0rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.8em;
}

.event-card-date {
  text-align: center;
  margin-top: 2.0rem;
  color: #666;
}

.event-more {
  text-align: center;
  margin: 0;
}

.event-more a {
  margin-top: 2.0rem;
  display: inline-block;
  text-align: center;
  padding: 0.6rem 5.0rem;
  color: #666;
  border: 1px solid #d8d8d8;
  border-radius: 40px;
}


/* ========================================
   天台宗について
   ======================================== */
.about {
  position: relative;
  padding: 64px 0;
  background: url(../images/pc/about_bg.webp) no-repeat center top;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-text {
  text-align: right;
  margin: 0 0 1rem;
  font-size: 0;
  line-height: 0;
}
.about-text picture {
  display: inline-block;
  height: 488px;
  line-height: 0;
  vertical-align: top;
  max-width: 100%;
}
.about-text img {
  display: block;
  height: 488px;
  width: auto;
  max-width: 100%;
  max-height: none;
}

.about-text p {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.about-buttons {
  margin-top: 2.0rem;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.about-more-link {
  display: inline-block;
  text-align: center;
  min-width: 11.0rem;
  padding: 0.6rem;
  color: #fff;
  background: #676661;
  border: 1px solid #d8d8d8;
  border-radius: 40px;
  transition: background-color 0.6s ease;
}

.about-more-link:hover {
  color: #676661;
  background-color: rgba(255, 255, 255, 0.4);
}

.about-links {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.9375rem;
}

.about-links a {
  position: relative;
  color: #000;
  text-decoration: none;
}

.about-links a::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.about-links a span {
  display: inline-block;
  margin-left: 1em;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 0.3rem;
}

.about-links a:hover {
  opacity: 0.85;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.feature-link {
  display: block;
}

.feature-card-img {
  position: relative;
  width: 100%;
  background: #ddd;
  margin-bottom: 12px;
  overflow: hidden;
}

.feature-card-img img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  transform: scale(1);
  transition: transform 0.8s ease;
}

.feature-link:hover .feature-card-img img {
  transform: scale(1.1);
}

.feature-card-title {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 8px 12px;
  font-size: 1.125rem;
  font-weight: normal;
  background: rgba(255, 255, 255, 0.7);
  min-width: 11.0rem; 
  text-align: center;
}

.feature-card-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

.ex-bak { background: rgba(255, 255, 255, 0.5); }


/* ========================================
   地図検索
   ======================================== */

.map-search {
  position: relative;
}

.map-search .container {
  position: relative;
  z-index: 2;
}

.map-temple-bg {
  position: relative;
  min-height: 480px;
  margin: 0;
  color: #fff;
  font-weight: normal;
  background-image: url("../images/pc/map_bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.map-temple-bg .section-title.title-en {
  margin-bottom: 2.0rem;
  color: #fff;
  padding-bottom: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.map-temple-bg h2::after {
  content: "";
  display: block;
  width: 80%;
  margin: 10px 0 0;
  margin-left: 10%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.temple-more-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 1.5rem;
}

.temple-more {
  margin: 0;
}

.temple-more a {
  display: inline-block;
  text-align: center;
  min-width: 11.0rem; 
  padding: 0.6rem;
  color: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 40px;
}

.map-search-head {
  min-height: 84px;
  color: #fff;
  padding: 10px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  background: #4B4B4B;
}

.map-search-pin {
  display: block;
  flex-shrink: 0;
}

.map-search-title-en {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1.85rem;
  font-family: "Cormorant Garamond";
  font-weight: normal;
}

.map-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 12px 0;
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.map-search-trigger-text {
  flex: 1;
  padding-left: 3.0rem;
}

.map-search-trigger-icon {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}

.map-search-head .map-search-trigger-icon {
  filter: brightness(0) invert(1);
}

.map-search.is-open .map-search-trigger-icon {
  transform: rotate(-90deg);
}

.map-search-panel {
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.map-search-panel p {
  margin: 0;
  font-size: 0.875rem;
}

.map-wrap {
  position: relative;
  z-index: 0;
  max-height: 0;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -42px;
  margin-bottom: 122px;
  transition: max-height 0.4s ease-out, margin-bottom 0.4s ease-out;
  background: #d8d8d8;
}

.map-search.is-open .map-wrap {
  max-height: 900px;
  margin-bottom: 80px;
  transition: max-height 0.5s ease-in, margin-bottom 0.5s ease-in;
}

/* Google マップ埋め込み */
.map-google-wrap {
  min-height: 560px;
  width: 100%;
  position: relative;
  background: #e8e6e3;
}

.map-search-panel-overlay {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.map-search-panel-overlay .container {
  pointer-events: auto;
}

.map-google-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-search-form-wrap {
  margin-bottom: 15px;
  padding: 0 8%;
}


.map-search-form {
  display: flex;
}


.map-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 1rem;
  background: #F0F0F0;
  border: none;
  border-radius: 8px 0 0 8px;
}

/* ========================================
   関連機関
   ======================================== */
.related-org {
  background: #867556;
  padding: 40px 0;
}

.related-org .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}

.related-org-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: normal;
  color: #fff;
}

.related-org-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.related-org-links a {
  position: relative;
  padding-left: 1em;
  color: #fff;
  text-decoration: none;
}

.related-org-links a::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.related-org-links a span {
  display: inline-block;
  margin-left: 0;
}

.related-org-links a:hover {
  opacity: 0.85;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  padding: 40px 0 32px;
  background: #fff;
}

.footer-nav {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.footer-nav a {
  color: #3c3228;
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}

.footer-nav a:hover {
  color: #7b726a;
}

.footer-banners {
  margin-bottom: 2.0rem;
  text-align: center;
}

.footer-banners .container-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 12px;
}

.footer-banners a {
  margin: 0;
  display: inline-block;
}

.footer-banners img {
  display: block;
  max-width: min(180px, 100%);
  height: auto;
  transition: filter 0.6s ease;
  box-sizing: border-box;
}

.footer-banners a:hover img {
  filter: brightness(1.4);
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  max-width: 340px;
  height: auto;
}

.footer-copy {
  margin-top: 2.0rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #3c3228;
}

.footer-copy p {
  margin: 0 0 4px;
}

@media screen and (max-width: 2000px) {
  .hero-visual-row { aspect-ratio: 7 / 1; }
}

@media screen and (max-width: 1800px) {
  .hero-visual-row { aspect-ratio: 6.5 / 1; }
}

@media screen and (max-width: 1200px) {
  .hero-visual-row { aspect-ratio: 5 / 1; }
}

@media screen and (max-width: 1000px) {
  .hero-visual-row { aspect-ratio: 4.5 / 1; }
}

@media screen and (max-width: 992px) {
  .about { background: url(../images/pc/about_bg.webp) no-repeat 54% top; }
  .feature-grid { gap: 40px; }
  .map-search-head { padding: 10px 20px; }
  .map-search-trigger-text { padding-left: 0; }
}

@media screen and (max-width: 768px) {
  .hero-visual-row { aspect-ratio: 4 / 1; }
  .feature-grid { gap: 15px; }
}

/* スクロールでフワッと表示 */
.scroll-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 調整 */
.nav-list__lang {
	position: relative;
}
.language_sub {
	position: absolute;
	right: 0px;
	background-color: rgba(255, 255, 255, 0.85);
	margin-top: 10px;
	padding: 10px 20px;
	display: none;
}
.language_sub a {
	color: #222;
	text-shadow: none;
	font-weight: bold;
}
.language_sub li:nth-of-type(n+2) {
	padding-top: 10px;
}
.event-card-img img,
.pickup-card-img img {
	max-height: 260px;
}

#temple_search_result {
	position: absolute;
	bottom: 5px;
	background-color: rgba(0, 0, 0, 0.45);
	text-align: center;
	padding: 6px 15px;
	color: #fff;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 30px;
	transition: all 0.3s;
	font-size: .9em;
	white-space: nowrap;
}
#temple_search_result:hover {
	background-color: rgba(0, 0, 0, 0.90);
}

#temple_search_result strong {
	display: inline-block;
	margin-left: 5px;
	font-weight: bold;
}
#temple_search_result a {
	display: inline-block;
	margin-left: 5px;
	text-decoration: underline;
}

.map-wrap {
	background-color: #fff;
}
#map-search.is-open .map-wrap {
	padding-top: 150px;
}
#map-search.is-open .map-search-panel-overlay {
	top: -110px;
}
.map-search-head:hover {
	cursor: pointer;
}

.nav-list [data-gnav-menu=search] img {
	width: 24px;
}
