@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
.main article h2 {
  background: #fff;
  padding-left: 26px;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  border-left: 13px solid #c63232;
}
.main article h3 {
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  border-top: none;
  border-left: none;
  border-right: none;
}
.main article h3::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60%;
  height: 1px;
  content: "";
  background: #c63232;
}

.main article h4 {
  border-top: 2px solid #c63232;
  border-bottom: 2px solid #c63232;
}
.site-name-text {
  display: none;
}
header.header {
  height: 64px;
}
.logo {
  padding: 10px;
}
.logo-header {
  padding: 0;
}
.logo-image {
  padding: 0;
}
.btn-Pink {
  border-radius: 50px;
  padding: 0.8rem;
  background-color: #c63232;
  box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 25%);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  margin: 1.5rem auto;
  width: 80%;
  line-height: 1.4;
  text-align: center;
}
.btn-Pink:hover {
  opacity: 0.7;
}

.btn-Pink a {
  color: #fff;
  text-decoration: none;
  position: relative;
  display: block;
}

.btn-Pink a::after {
  font-family: "FontAwesome";
  content: "\f138";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-left: 0.6rem;
  color: #fff;
}

.btn-light-pink {
  border-radius: 50px;
  background-color: #f7ca01;
  box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 25%);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  margin: 1.5rem auto;
  width: 80%;
  line-height: 1.4;
  text-align: center;
}
.btn-light-pink:hover {
  opacity: 0.7;
}

.btn-light-pink a {
  color: #000;
  padding: 0.8rem;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  display: block;
}

.btn-light-pink a::after {
  font-family: "FontAwesome";
  content: "\f138";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-left: 0.6rem;
  color: #000;
}
/* ここまではデフォルト */

.top-footer-link {
  margin-top: 36px;
  background: #fff;
}

.top-footer-link-list {
  display: block;
  padding: 9px 0 12px 22px;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.top-footer-link-list-text {
  color: #323232;
  font-family: "Zen Old Mincho";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px; /* 200% */
}

.top-footer-link-toggle {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}
.top-footer-link-toggle img {
  width: 100%;
  height: auto;
}
.top-footer-link-list a {
  color: #959595;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}

.pc-top-footer-link-section {
  padding-top: 26px;
  width: 100%;
  background: #fff;
}

.pc-top-footer-link-container {
  display: flex;
  justify-content: space-around;
}

.pc-top-footer-link {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 250px;
  border: 1px solid #d9d9d9;
  background: #fff;
  text-decoration: none;
}

.pc-top-footer-link-text {
  color: #323232;
  font-family: "Zen Old Mincho";
  font-size: 18px;
  line-height: 60px;
  font-style: normal;
  font-weight: 400;
}

.pc-top-footer-link-toggle {
  width: 16px;
  transform: rotate(-90deg);
} /*# sourceMappingURL=styles.css.map */
#footer {
  padding-top: 25px;
  padding-left: 30px;
}
.footer-menu-lists {
  padding: 0;
}
.footer-menu-list {
  list-style: none;
}
.footer-menu-list a {
  color: #959595;
  font-family: "Inter";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  text-decoration: none;
}
.footer-site-logo {
  margin-top: 13px;
  width: 400px;
}
.footer-site-logo img {
  width: 400px;
  height: auto;
}

.footer-shrine-logo {
  margin-top: 9px;
  width: 280px;
}
.footer-shrine-logo img {
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .footer-site-logo {
    margin: 0 auto;
    width: 70%;
  }
  .footer-shrine-logo {
    margin: 0 auto;
    width: 60%;
  }
}

.footer-copyright {
  margin-top: 25px;
  color: #959595;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}
.mobile-menu-buttons {
  display: none !important;
}
.content-bottom {
  background: #fff;
  padding: 30px 10px;
}
@media (min-width: 600px) {
  .content-bottom {
    display: none;
  }
}
.content-bottom h2 {
  background: #f4f5f7;
  padding: 5px 10px;
}

/* ページ下部固定バナー */
#fixed-banner {
  position: fixed;
  bottom: -9px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 9999;
}

#fixed-banner img {
  height: auto;
}

@media screen and (min-width: 768px) {
  #fixed-banner {
    display: none;
  }
}

.category_top_image {
  float: left;
}

/* cta renewal */
.cta-container-new {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 5px;
  border: 0.5px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  width: 100%;
  /* gap: 30px; */
  justify-content: space-between;
}
@media screen and (max-width: 480px) {
  .cta-container-new {
    flex-direction: column;
    gap: 20px;
  }
}
.cta-container-new .cta-text-container {
  display: flex;
  flex-direction: column;
  padding: 0px 80px 0px 0px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 480px) {
  .cta-container-new .cta-text-container {
    padding: 0px 0px 30px;
  }
}
.cta-container-new .cta-text-container .cta-text {
  color: #000;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 150% */
}
.cta-container-new .cta-text-container .cta-text span {
  color: #c63232;
  font-weight: 700;
}
.cta-container-new .cta-text-container .cta-link {
  color: transparent;
  /* padding: 7px 22px 8px 9px;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, #C63232 0%, #FF7527 100%);
  display: flex;
  flex-direction: row; */
}

.cta-container-new .cta-text-container .cta-link .cta-link-container {
  padding: 7px 22px 8px 9px;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, #c63232 0%, #ff7527 100%);
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 1;

  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 125% */
  text-decoration-line: none;
  margin-bottom: 0px;
}
.cta-container-new .cta-text-container .cta-link .cta-link-container::before,
.cta-container-new .cta-text-container .cta-link .cta-link-container::after {
  content: "";
  position: absolute;
  z-index: -10;
  width: 293px;
  height: 45px;
  top: 0;
  left: 0;
  border-radius: 39px;
  background: linear-gradient(90deg, #c63232 0%, #ff7527 100%);
  transform: translate3d(0, 0, 0);
}
.cta-container-new .cta-text-container .cta-link .cta-link-container::before {
  animation: anime 1s ease-out infinite;
}
.cta-container-new .cta-text-container .cta-link .cta-link-container::after {
  animation: anime 1s ease-out 1s infinite;
}
@keyframes anime {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
  to {
    transform: scale(1.2, 1.4);
    opacity: 0;
  }
}

.cta-container-new .cta-text-container .cta-link .cta-link-container .cta-icon {
  width: 30px;
  height: 30px;
  border-radius: 100px;
  background: #fff;
}
.cta-container-new .cta-text-container .cta-link .cta-link-container p {
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 125% */
  text-decoration-line: none;
  margin-bottom: 0px;
  padding-block: 0;
}

/* Popup Banner Styles */
.popup-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 透明グレー */
  display: none; /* 初期は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-banner-modal {
  position: relative;
  max-width: 90vw; /* PC基準 */
  max-height: 90vh;
}
.popup-banner-modal img {
  width: auto;
  height: auto;
  max-width: 90vw; /* PC基準 */
  max-height: 70vh;
  display: block;
}
.popup-banner-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
}
.popup-banner-close::before,
.popup-banner-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #444;
  transform-origin: center;
}
.popup-banner-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup-banner-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.popup-banner-close:hover {
  border-color: #111;
}
.popup-banner-close:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}
/* モバイルでも表示。小さめに余白を確保 */
@media (max-width: 767px) {
  .popup-banner-modal img {
    max-width: 95vw; /* モバイルは少し大きめ */
    max-height: 75vh;
  }
  .popup-banner-close {
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
  }
  .popup-banner-close::before,
  .popup-banner-close::after {
    width: 16px;
  }
}

/* new article */

.otaki-jinja-single {
  font-family: "Inter";
  scroll-behavior: smooth;
}

.otaki-post-header {
  margin-bottom: 20px;
}

.otaki-post-header h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.otaki-post-thumbnail {
  width: 100%;
  max-width: 592px;
  display: flex;
  margin-bottom: 25px;
}

.otaki-post-date {
  width: 100%;
  display: flex;
  justify-content: end;
}

.otaki-post-content {
  margin-top: 25px;
}

.otaki-post-content p:nth-of-type(1) {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 28px;
  margin-bottom: 30px;
}

.otaki-post-date span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #000000;
}

.main article .otaki-ranking-scroll-section h2 {
  border: none;
  padding: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

.otaki-shrine-card {
  background: #fff;
  padding-block: 15px 41px;
}

.otaki-shrine-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.otaki-rank-badge-box {
  background: #ca9e18;
  padding: 6px 13px;
  border-radius: 5px;
  padding-bottom: 0;
  margin-right: 4px;
}

.otaki-rank-badge {
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
}

.otaki-mini-label-box {
  padding: 1px 3px;
  background: #fff4f1;
  border-radius: 5px;
  min-width: 80px;
  display: inline-flex;
}

.otaki-mini-label {
  font-size: 14px;
  color: #c63232;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.otaki-heritage-box {
  padding: 1px 3px;
  background: #f5f5f5;
  border-radius: 5px;
  min-width: 80px;
  display: inline-flex;
}

.otaki-heritage-label {
  font-size: 14px;
  color: #000000;
  font-weight: 600;
  width: 100%;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
}

.main article .otaki-shrine-title {
  font-size: 22px;
  padding: 0;
  margin: 0;
  border: none;

  line-height: 1.4;
  margin: 0 0 20px;
  font-weight: 600;
}

.otaki-shrine-image {
  margin-bottom: 20px;
}

.otaki-shrine-image img {
  width: 100%;
  height: auto;
  display: block;
}

.otaki-shrine-info-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 63px;
}

.otaki-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.otaki-info-head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  min-width: 86px;
  padding-block: 16px;
  background: #f5f5f5;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
}

.otaki-info-head.red-box {
  background-color: #fff4f1;
}

.otaki-info-head.red-box p {
  color: #c63232;
}

.otaki-info-row.access {
  align-items: unset;
}

.otaki-info-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.otaki-info-body.access-body {
  margin: auto 0;
}

.otaki-highlight-block {
  margin-bottom: 30px;
}

.otaki-highlight-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding-block: 9px;
}

.otaki-highlight-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c9332c;
  flex: 0 0 18px;
}

.main article .otaki-highlight-title {
  margin: 0;
  font-size: 20px;
  line-height: 100%;
  font-weight: 600;
  color: #222;
  border: none;
  padding: 0;
  background: none;
}

.main article .otaki-highlight-title::before {
  display: none;
}

.otaki-highlight-body {
  background: #fff4f1;
  border-radius: 10px;
  padding: 17px;
}

.otaki-highlight-text {
  font-size: 16px;
  line-height: 26px;
  color: #000000;
}

.otaki-highlight-body.is-collapsed .otaki-highlight-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.otaki-highlight-body.is-expanded .otaki-highlight-text {
  display: block;
  overflow: visible;
}

.otaki-highlight-toggle {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 20px;
  border: none;
  background: transparent;
  color: #838383;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.otaki-highlight-toggle-icon {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.otaki-highlight-body.is-expanded .otaki-highlight-toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .otaki-highlight-title {
    font-size: 18px;
  }

  .otaki-highlight-body {
    padding: 14px 14px 10px;
  }
}

.otaki-official-btn-wrap {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.otaki-official-btn {
  display: inline-block;
  width: 340px;
  background: #c63232;
  color: #fff;
  text-decoration: none;
  padding: 18px 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  border-radius: 5px;
  position: relative;
}
.otaki-official-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background: #961f1f;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.otaki-map-link-wrap {
  text-align: center;
  display: flex;
  justify-content: center;
}

.otaki-map-link {
  color: #838383;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .otaki-shrine-title {
    font-size: 22px;
  }
}

.otaki-ranking-scroll-section {
  padding-top: 30px;
}

.otaki-ranking-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 33px;
  margin-bottom: 30px;
  -webkit-overflow-scrolling: touch;
}

.otaki-ranking-card {
  flex: 0 0 240px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.otaki-ranking-card__image-wrap {
  position: relative;
}

.otaki-ranking-card__image-link {
  display: block;
  text-decoration: none;
}

.otaki-ranking-card__image {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.otaki-ranking-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  background: #fff4f1;
  color: #c6362f;
  font-size: 14px;
  font-weight: 600;
  padding: 4.5px 6px;
  line-height: 100%;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 10px;
}

.otaki-ranking-card-info {
  width: 100%;
  padding-block: 14px 25px;
  padding-inline: 13px;
}

.main article .otaki-ranking-card__title {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 19px;
  font-weight: 600;

  position: unset;
  border: none;
}

.otaki-ranking-card__title a {
  color: #222;
  text-decoration: none;
}

.otaki-ranking-card__meta {
  margin: 0 0 9px;
  line-height: 100%;
  font-size: 16px;
}

.otaki-ranking-card__meta-label {
  color: #838383;
}

.otaki-ranking-card__meta-value {
  color: #000000;
}

.otaki-ranking-card__btn-wrap {
  margin-top: 12px;
  text-align: center;
}

.otaki-ranking-card__btn {
  display: inline-block;
  width: 190px;
  background: #c63232;
  color: #fff;
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

.otaki-ranking-card__btn:hover {
  color: #fff;
  background: #f16666;
}

.common-note-box {
  width: 100%;
  background-color: #fff4f1;
  padding: 15px 16px;
  margin-block: 25px;
}
.common-note-box p {
  font-size: 16px;
  color: #000000;
}

@media (max-width: 767px) {
  .otaki-post-header {
    margin-bottom: 16px;
  }
  .otaki-post-header h1 {
    font-size: 20px;
  }
  .otaki-post-thumbnail {
    margin-bottom: 10px;
  }
  .otaki-post-content {
    margin-top: 10px;
  }
  .otaki-post-content .region-txt {
    font-size: 16px;
    line-height: 26px;
    padding-block: 15px;
    margin-bottom: 10px;
  }
  .otaki-ranking-scroll-section {
    padding-top: 15px;
  }
  .common-note-box {
    padding: 11px 15px;
  }
  .otaki-shrine-info-table {
    margin-bottom: 20px;
  }
}