@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
*/

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

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

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

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




#pager-post-navi {
  justify-content: space-between;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.main{width:100%!important;}
.swiper.swiper-container.swiper-coverflow.swiper-3d.swiper-initialized.swiper-horizontal.swiper-autoheight.swiper-watch-progress {
  width: 100% !important;
}
@media screen and (max-width: 1000px) {
.info-cotent {width:100%!important;}
	 .article ul, .article ol {
    padding-left: 5px;
  }
	.wp-block-latest-posts__list.wp-block-latest-posts li a {line-height:1.5;}}

.article ul li, .article ol li {
  margin: 0.2em;
  padding-left: 1em;
  text-indent: -1em;
}
/* 地域防犯活動ページ */
.tn-security-hero,
.tn-security-gallery-section,
.tn-security-content,
.tn-security-effort,
.tn-security-cta {
  box-sizing: border-box;
}

.tn-security-hero {
  max-width: 1120px;
  margin: 60px auto 55px;
  padding: 0 20px;
}

.tn-security-hero-inner {
  position: relative;
  overflow: hidden;
  padding: 70px 64px;
  background:
    radial-gradient(circle at top right, rgba(201,162,77,0.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid #ead8ad;
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(0,0,0,0.07);
}

.tn-security-hero-inner:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(185,138,46,0.28);
  border-radius: 50%;
}

.tn-security-label {
  display: inline-block;
  margin: 0 0 20px;
  color: #b98a2e;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 15px;
}

.tn-security-hero h1 {
  margin: 0 0 30px;
  color: #202020;
  font-size: 48px;
  line-height: 1.42;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.tn-security-lead {
  max-width: 820px;
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 2.15;
}

.tn-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tn-security-badges span {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid #c9a24d;
  border-radius: 999px;
  background: #fff;
  color: #9b7327;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(185,138,46,0.12);
}

.tn-security-gallery-section {
  max-width: 1120px;
  margin: 0 auto 70px;
  padding: 0 20px;
}

.tn-section-title {
  text-align: center;
  margin-bottom: 34px;
}

.tn-section-title p {
  margin: 0 0 8px;
  color: #b98a2e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tn-section-title h2 {
  margin: 0;
  color: #222;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.tn-security-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 !important;
}

.tn-security-gallery .gallery-item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 18px 16px 20px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tn-security-gallery .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.11);
}

.tn-security-gallery .gallery-icon {
  margin: 0;
}

.tn-security-gallery .gallery-icon img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 10px;
  background: #faf8f1;
  border: 1px solid #f0eadb;
  border-radius: 12px;
}

.tn-security-gallery .gallery-caption {
  display: block;
  margin-top: 13px;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.tn-security-content {
  max-width: 1040px;
  margin: 70px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 34px;
  align-items: start;
}

.tn-security-content-border {
  padding-top: 54px;
  border-top: 1px solid #e7e0d1;
}

.tn-security-icon {
  width: 84px;
  height: 84px;
  border: 1px solid #c9a24d;
  border-radius: 50%;
  color: #b98a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  background: #fffdf7;
  box-shadow: 0 10px 24px rgba(185,138,46,0.12);
}

.tn-security-text h2 {
  margin: 0 0 26px;
  color: #222;
  font-size: 28px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.tn-security-text p {
  margin: 0 0 20px;
  color: #333;
  font-size: 16px;
  line-height: 2.1;
}

.tn-security-effort {
  max-width: 1120px;
  margin: 80px auto 70px;
  padding: 56px 20px 64px;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  border-top: 1px solid #f0e3c4;
  border-bottom: 1px solid #f0e3c4;
}

.tn-effort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tn-effort-card {
  padding: 34px 28px;
  background: #fff;
  border: 1px solid #eee5d0;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.tn-effort-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid #c9a24d;
  color: #b98a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #fffaf0;
}

.tn-effort-card h3 {
  margin: 0 0 16px;
  color: #222;
  font-size: 20px;
  line-height: 1.6;
}

.tn-effort-card p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

.tn-security-cta {
  max-width: 1120px;
  margin: 70px auto 90px;
  padding: 40px 44px;
  border: 1px solid #c9a24d;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.06);
}

.tn-cta-label {
  margin: 0 0 10px !important;
  color: #b98a2e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.tn-security-cta h2 {
  margin: 0 0 16px;
  color: #222;
  font-size: 26px;
  line-height: 1.55;
}

.tn-security-cta-text p {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}

.tn-security-cta-tel {
  min-width: 300px;
  text-align: center;
}

.tn-security-cta-tel p {
  margin: 0 0 6px;
  color: #9b7327;
  font-weight: 700;
}

.tn-security-cta-tel strong {
  display: block;
  margin-bottom: 18px;
  color: #111;
  font-size: 34px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.tn-security-cta-tel a {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 9px;
  background: #b98a2e;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(185,138,46,0.22);
}

.sp-only {
  display: none;
}

@media (max-width: 900px) {
  .tn-security-hero {
    margin: 34px auto 42px;
  }

  .tn-security-hero-inner {
    padding: 44px 26px;
    border-radius: 20px;
  }

  .tn-security-hero h1 {
    font-size: 34px;
  }

  .tn-security-lead {
    font-size: 15px;
    line-height: 2;
  }

  .tn-security-gallery .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-security-content {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 52px auto;
  }

  .tn-security-icon {
    width: 68px;
    height: 68px;
  }

  .tn-effort-grid {
    grid-template-columns: 1fr;
  }

  .tn-security-cta {
    display: block;
    margin: 54px 20px 70px;
    padding: 32px 24px;
  }

  .tn-security-cta-tel {
    min-width: 0;
    margin-top: 28px;
  }

  .sp-only {
    display: block;
  }
}

@media (max-width: 560px) {
  .tn-security-hero h1 {
    font-size: 30px;
  }

  .tn-section-title h2 {
    font-size: 24px;
  }

  .tn-security-gallery .gallery {
    grid-template-columns: 1fr;
  }

  .tn-security-gallery .gallery-icon img {
    height: 260px;
  }

  .tn-security-text h2 {
    font-size: 23px;
  }

  .tn-security-cta-tel strong {
    font-size: 28px;
  }
}

/* =========================
   footer カレンダーだけ専用デザイン
   ========================= */

.tn-footer-calendar-area {
  max-width: 1120px;
  margin: 70px auto 50px;
  padding: 54px 42px;
  background:
    radial-gradient(circle at top right, rgba(201,162,77,0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid #ead8ad;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.tn-footer-calendar-head {
  text-align: center;
  margin-bottom: 34px;
}

.tn-footer-calendar-label {
  margin: 0 0 8px;
  color: #b98a2e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tn-footer-calendar-head h2 {
  margin: 0 0 16px;
  color: #222;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: .06em;
}

.tn-footer-calendar-head p {
  max-width: 760px;
  margin: 0 auto;
  color: #444;
  font-size: 15px;
  line-height: 2;
}

.tn-footer-calendar-box {
  padding: 24px;
  background: #fff;
  border: 1px solid #eee5d0;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* カレンダー内の元タイトルは非表示 */
.tn-footer-calendar-area .widgettitle,
.tn-footer-calendar-area .widget-title {
  display: none;
}

/* カレンダー表 */
.tn-footer-calendar-area table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.tn-footer-calendar-area caption {
  padding: 14px 0 22px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tn-footer-calendar-area th {
  padding: 12px 8px;
  background: #f8f3e8;
  color: #333;
  font-weight: 700;
  border: 1px solid #eadfca;
}

.tn-footer-calendar-area td {
  height: 66px;
  padding: 8px;
  border: 1px solid #eee5d0;
  color: #333;
  vertical-align: top;
  background: #fff;
  transition: background .2s ease;
}

.tn-footer-calendar-area td:hover {
  background: #fffaf0;
}

/* 日曜 */
.tn-footer-calendar-area th:first-child,
.tn-footer-calendar-area td:first-child {
  color: #c93030;
}

/* 土曜 */
.tn-footer-calendar-area th:last-child,
.tn-footer-calendar-area td:last-child {
  color: #1f5fbf;
}

/* 定休日・イベント日 */
.tn-footer-calendar-area .event,
.tn-footer-calendar-area .has-events,
.tn-footer-calendar-area .holiday,
.tn-footer-calendar-area .xo-event-calendar-holiday,
.tn-footer-calendar-area .xo-event-calendar-event,
.tn-footer-calendar-area td[style*="red"],
.tn-footer-calendar-area td[style*="background-color"] {
  background: linear-gradient(135deg, #d93636 0%, #c92828 100%) !important;
  color: #fff !important;
  font-weight: 700;
}

.tn-footer-calendar-area .event a,
.tn-footer-calendar-area .has-events a,
.tn-footer-calendar-area .holiday a,
.tn-footer-calendar-area .xo-event-calendar-holiday a,
.tn-footer-calendar-area .xo-event-calendar-event a,
.tn-footer-calendar-area td[style*="red"] a,
.tn-footer-calendar-area td[style*="background-color"] a {
  color: #fff !important;
}

/* 今日 */
.tn-footer-calendar-area .today,
.tn-footer-calendar-area td.today {
  outline: 2px solid #c9a24d;
  outline-offset: -3px;
  background: #fff8e6 !important;
  font-weight: 700;
}

/* 前月・翌月 */
.tn-footer-calendar-area .pad,
.tn-footer-calendar-area .other-month,
.tn-footer-calendar-area .prev-month,
.tn-footer-calendar-area .next-month {
  color: #aaa !important;
  background: #fafafa;
}

/* 凡例 */
.tn-footer-calendar-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.tn-footer-calendar-note p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.tn-footer-calendar-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #d93636;
  display: inline-block;
}

/* スマホ */
@media (max-width: 768px) {
  .tn-footer-calendar-area {
    margin: 54px 20px 45px;
    padding: 34px 16px;
    border-radius: 20px;
  }

  .tn-footer-calendar-head h2 {
    font-size: 24px;
  }

  .tn-footer-calendar-box {
    padding: 12px;
    overflow-x: auto;
  }

  .tn-footer-calendar-area table {
    min-width: 640px;
  }

  .tn-footer-calendar-area td {
    height: 56px;
    font-size: 13px;
  }
}

/* =========================
   XO Event Calendar
   functions.php包装版 完成CSS
   ========================= */

.tn-xo-calendar-card {
  max-width: 960px !important;
  margin: 56px auto 72px !important;
  padding: 34px 28px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%) !important;
  border: 1px solid #ead8ad !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
}

.tn-xo-calendar-head {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.tn-xo-calendar-label {
  margin: 0 0 8px !important;
  color: #b98a2e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.tn-xo-calendar-head h2 {
  margin: 0 0 12px !important;
  color: #222 !important;
  font-size: 26px !important;
  line-height: 1.5 !important;
  letter-spacing: .05em !important;
}

.tn-xo-calendar-head p {
  max-width: 720px !important;
  margin: 0 auto !important;
  color: #444 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}

.tn-xo-calendar-box {
  padding: 16px !important;
  background: #fff !important;
  border: 1px solid #eee5d0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* 元のウィジェットタイトルは消す */
.tn-xo-calendar-box .widget-title,
.tn-xo-calendar-box .widgettitle {
  display: none !important;
}

/* XO本体 */
.tn-xo-calendar-box .xo-event-calendar,
.tn-xo-calendar-box .calendars,
.tn-xo-calendar-box .xo-month-wrap,
.tn-xo-calendar-box .xo-month {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 月送り */
.tn-xo-calendar-box .month-header {
  display: grid !important;
  grid-template-columns: 34px 1fr 34px !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.tn-xo-calendar-box .calendar-caption {
  text-align: center !important;
  color: #222 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
}

.tn-xo-calendar-box .month-prev,
.tn-xo-calendar-box .month-next {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border: 1px solid #c9a24d !important;
  background: #fffaf0 !important;
  color: #9b7327 !important;
  border-radius: 50% !important;
}

/* テーブル */
.tn-xo-calendar-box table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  background: #fff !important;
}

/* 曜日 */
.tn-xo-calendar-box th {
  padding: 9px 2px !important;
  background: #f8f3e8 !important;
  border: 1px solid #eadfca !important;
  color: #333 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
}

/* 日付セル */
.tn-xo-calendar-box td {
  border: 1px solid #eee5d0 !important;
  background: #fff !important;
  color: #333 !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
  font-size: 13px !important;
}

.tn-xo-calendar-box .month-dayname td,
.tn-xo-calendar-box .month-event-space td {
  width: 14.285% !important;
  height: 52px !important;
  padding: 3px !important;
}

.tn-xo-calendar-box .month-dayname td > div {
  min-height: 30px !important;
  padding: 5px 4px !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

/* 日曜・土曜 */
.tn-xo-calendar-box th.sunday,
.tn-xo-calendar-box .month-dayname td:first-child {
  color: #c93030 !important;
}

.tn-xo-calendar-box th.saturday,
.tn-xo-calendar-box .month-dayname td:last-child {
  color: #1f5fbf !important;
}

/* 定休日 */
.tn-xo-calendar-box .holiday-am,
.tn-xo-calendar-box .holiday-pm,
.tn-xo-calendar-box .holiday,
.tn-xo-calendar-box .event,
.tn-xo-calendar-box .has-events,
.tn-xo-calendar-box [style*="background-color"] {
  background: #d93636 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.tn-xo-calendar-note {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.tn-xo-calendar-note p {
  margin: 0 !important;
  color: #555 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.tn-xo-calendar-mark {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  background: #d93636 !important;
  border-radius: 3px !important;
  display: inline-block !important;
}

/* =========================
   スマホ
   ========================= */
@media screen and (max-width: 768px) {

  .tn-xo-calendar-card {
    width: auto !important;
    max-width: none !important;
    margin: 36px 10px 56px !important;
    padding: 22px 10px !important;
    border-radius: 16px !important;
  }

  .tn-xo-calendar-head {
    margin-bottom: 18px !important;
  }

  .tn-xo-calendar-head h2 {
    font-size: 20px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
  }

  .tn-xo-calendar-head p {
    font-size: 13px !important;
    line-height: 1.75 !important;
    text-align: left !important;
  }

  .tn-xo-calendar-box {
    padding: 6px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .tn-xo-calendar-box .month-header {
    grid-template-columns: 26px 1fr 26px !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }

  .tn-xo-calendar-box .calendar-caption {
    font-size: 15px !important;
  }

  .tn-xo-calendar-box .month-prev,
  .tn-xo-calendar-box .month-next {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }

  .tn-xo-calendar-box th {
    font-size: 10px !important;
    padding: 5px 0 !important;
  }

  .tn-xo-calendar-box td {
    font-size: 10px !important;
    padding: 1px !important;
  }

  .tn-xo-calendar-box .month-dayname td,
  .tn-xo-calendar-box .month-event-space td {
    height: 31px !important;
    padding: 1px !important;
  }

  .tn-xo-calendar-box .month-dayname td > div {
    min-height: 21px !important;
    padding: 2px 1px !important;
    border-radius: 3px !important;
  }

  .tn-xo-calendar-note {
    margin-top: 12px !important;
  }

  .tn-xo-calendar-note p {
    font-size: 12px !important;
  }

  .tn-xo-calendar-mark {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
  }
}