@charset "utf-8";
/******************************************************************
Theme Name: shimokita35
******************************************************************/

/* =========================
   共通値
========================= */

:root {
  --smf-main: #FF5532;
  --smf-sub: #F1825F;
  --smf-label: #fcee21;
  --smf-text: #333333;
  --smf-muted: #666666;
  --smf-border: #dddddd;
  --smf-bg: #ffffff;
  --smf-sp-menu-bg: #fff8f5;
  --smf-sp-menu-border: #f3c3b5;
}

/* =========================
   リセット・基本設定
========================= */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: #545b63;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 103%;
  line-height: 1.5;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--smf-main);
  background: transparent;
  text-decoration: none;
}

a:hover,
a:active {
  outline: 0;
}

a,
a img {
  transition-duration: 0.18s;
}

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

figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style-type: none;
}

h1,
h2,
h3,
h4,
h5 {
  text-rendering: optimizelegibility;
}

h1,
.h1 {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.333em;
}

h2,
.h2 {
  font-size: 1.5em;
  line-height: 1.4em;
  font-weight: bold;
  margin-bottom: 0.375em;
}

h3,
.h3 {
  font-size: 1.3em;
  font-weight: bold;
}

h4,
.h4 {
  font-size: 1.2em;
  font-weight: 700;
}

h5,
.h5 {
  font-size: 1em;
  font-weight: 700;
  line-height: 2em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin: 0 0 1.6em;
  line-height: 1.75;
  word-wrap: break-word;
}

iframe {
  max-width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* =========================
   共通ユーティリティ
========================= */

.wrap {
  width: 96%;
  margin: 0 auto;
}

.clearfix,
.cf,
.comment-respond,
.widget ul li {
  zoom: 1;
}

.clearfix::before,
.clearfix::after,
.cf::before,
.cf::after,
.comment-respond::before,
.comment-respond::after,
.widget ul li::before,
.widget ul li::after {
  content: "";
  display: table;
}

.clearfix::after,
.cf::after,
.comment-respond::after,
.widget ul li::after {
  clear: both;
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 2.5%;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 2.5%;
}

.aligncenter,
img.aligncenter {
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
}

/* =========================
   ホバー共通
========================= */

.theme-link {
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.theme-link:hover {
  color: var(--smf-main);
}

.text-link {
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
}

.text-link:hover {
  color: inherit;
  opacity: 0.68;
}

.nav-link {
  transition: opacity 0.22s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.card-image img {
  transition: transform 0.25s ease;
}

.card-image:hover img {
  transform: scale(1.04);
}

.card-text {
  transition: opacity 0.18s ease;
}

.card-text:hover {
  opacity: 0.68;
}

.submenu-link {
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.submenu-link:hover {
  background: #fff6f2;
  color: var(--smf-main);
}

.arrow-link {
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.arrow-link::after {
  transition: right 0.18s ease;
}

.arrow-link:hover {
  background: #fff6f2;
}

.arrow-link:hover::after {
  right: 11px;
}

/* =========================
   レイアウト
========================= */

#inner-content {
  background: #ffffff;
  box-shadow: 0 0 1px #dddddd;
}

#main {
  background: none;
}

.entry-content {
  padding: 0 0 1.5em;
  overflow: hidden;
}

.entry-content p {
  margin: 0 0 1.6em;
  line-height: 1.75;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 0 0 1.5em;
}

.entry-content ul li {
  position: relative;
  margin: 1em 0;
  padding-left: 1em;
}

.entry-content ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  display: block;
  width: 9px;
  height: 9px;
  background: #3e3e3e;
  border-radius: 50%;
}

.entry-content ol {
  counter-reset: number;
}

.entry-content ol li {
  position: relative;
  margin: 1em 0;
  padding-left: 1.4em;
  list-style: none;
}

.entry-content ol > li::before {
  counter-increment: number;
  content: counter(number);
  position: absolute;
  left: 0;
  top: 3px;
  display: block;
  width: 1.5em;
  height: 1.5em;
  background: #3e3e3e;
  color: #ffffff;
  font-size: 0.7em;
  font-weight: bold;
  line-height: 1.5em;
  text-align: center;
  border-radius: 50%;
}

.entry-content h2 {
  position: relative;
  margin-top: 2.1em;
  margin-bottom: 1em;
  padding: 1em 1.1em;
  border: none;
  border-radius: 3px;
  background: var(--smf-main);
  color: #ffffff;
  font-size: 1.25em;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.entry-content h3 {
  margin-top: 1.8em;
  padding: 0.7em 0 0.7em 0.8em;
  border-left: 4px solid var(--smf-main);
}

.entry-content table {
  width: 100%;
  margin-bottom: 1.5em;
  border: 1px solid #efefef;
  font-size: 0.92em;
}

.entry-content th,
.entry-content td {
  padding: 0.8em;
  border: 1px solid #cfcfcf;
}

.entry-content th {
  background-color: rgba(0, 0, 0, 0.1);
}

.entry-content td {
  background: rgba(255, 255, 255, 0.6);
  word-break: break-all;
}

.entry-content blockquote {
  position: relative;
  margin: 2.5em 0 3em;
  padding: 6% 4% 2%;
  border: 1px solid;
  font-size: 0.95em;
  opacity: 0.8;
}

.single-title,
.page-title,
.entry-title {
  margin: 0.3em 0;
}

.single-title,
.page-title {
  padding: 0;
  font-size: 1.5em;
}

.single-title:empty,
.page-title:empty {
  display: none;
}

/* =========================
   PC・タブレット レイアウト幅
========================= */

@media only screen and (min-width: 768px) and (max-width: 1165px) {

  #inner-content {
    padding: 25px;
  }

  #main {
    width: 70%;
    margin: -25px;
    padding: 25px;
  }

  #sidebar1 {
    width: 34%;
    float: right;
  }
}

@media only screen and (min-width: 1166px) {

  #inner-content {
    padding: 35px;
    margin-bottom: 2em;
  }

  #main {
    width: 798px;
    margin: -35px;
    padding: 35px;
  }

  #sidebar1 {
    width: 336px;
    float: right;
    padding-right: 0;
  }
}

/* =========================
   フォーム
========================= */

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  max-width: 96%;
  margin-bottom: 14px;
  padding: 10px 2%;
  border: 3px solid rgba(51, 51, 51, 0.1);
  border-radius: 1px;
  background-color: #ffffff;
  color: #666666;
  font-size: 1em;
  vertical-align: middle;
  appearance: none;
  transition: background-color 0.24s ease-in-out;
}

#main input[type="text"],
#main input[type="password"],
#main input[type="datetime"],
#main input[type="datetime-local"],
#main input[type="date"],
#main input[type="month"],
#main input[type="time"],
#main input[type="week"],
#main input[type="number"],
#main input[type="email"],
#main input[type="url"],
#main input[type="search"],
#main input[type="tel"],
#main input[type="color"],
#main select,
#main textarea,
#main .field {
  width: 300px;
}

#main textarea {
  width: 100%;
  padding: 2%;
}

textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  padding: 8px 20px;
  border: 0;
  border-radius: 5px;
  background: #666666;
  color: #ffffff;
  font-size: 0.95em;
  appearance: button;
}

/* =========================
   ヘッダー
========================= */

.header {
  position: relative;
  z-index: 2;
  background: transparent !important;
}

#inner-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: var(--smf-main) !important;
}

#logo {
  max-width: none !important;
  padding: 0 1em;
}

#logo .h1 {
  margin: 0;
  padding: 0;
}

#logo a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-decoration: none;
}

#logo img {
  width: auto !important;
  height: 80px !important;
  max-height: none !important;
}

.site_description {
  display: none;
}

.search_btn {
  display: none !important;
}

/* =========================
   PCグローバルナビ
========================= */

.nav {
  border-bottom: 0;
}

.nav li a {
  position: relative;
  display: block;
  color: #ffffff;
  text-decoration: none;
}

#g_nav,
#g_nav .top-nav {
  width: 100%;
  background: var(--smf-main) !important;
}

#g_nav .top-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 8px auto 0;
}

#g_nav .top-nav > li {
  position: relative;
  flex: none;
  text-align: center;
}

#g_nav .top-nav > li > a {
  position: relative;
  padding: 8px 8px 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

#g_nav .top-nav > li > a span {
  display: block;
  margin-top: 3px;
  color: var(--smf-label);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

#g_nav .top-nav > li > a::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: block !important;
  width: calc(100% - 16px);
  height: 1px;
  background: #ffffff;
  opacity: 0.7;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

#g_nav .top-nav > li > a:hover::after {
  opacity: 0.7;
  transform: translateX(-50%) scaleX(1);
}

/* =========================
   PCサブメニュー
========================= */

#g_nav .nav li ul.sub-menu,
#g_nav .top-nav > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 9999;
  display: none;
  width: auto !important;
  min-width: 160px;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff;
  border: 1px solid rgba(255, 85, 50, 0.28);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  transform: translateX(-50%);
}

#g_nav .nav li:hover > ul.sub-menu {
  display: block;
}

#g_nav .sub-menu li {
  border-bottom: 1px solid rgba(255, 85, 50, 0.18);
}

#g_nav .sub-menu li:last-child {
  border-bottom: none;
}

#g_nav .sub-menu a,
#g_nav .nav li ul.sub-menu li a {
  display: block;
  width: auto !important;
  min-width: 0 !important;
  padding: 10px 14px !important;
  background: #ffffff;
  color: #333333 !important;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

#g_nav .sub-menu a:hover,
#g_nav .nav li ul.sub-menu li a:hover {
  background: #fff6f2;
  color: var(--smf-main) !important;
}

/* =========================
   トップページ
========================= */

.home #content {
  margin-top: 1.5em;
}

.home-header-image {
  margin-bottom: 20px;
}

.home-header-image img {
  display: block;
  width: 100%;
  height: auto;
}

.home-section {
  margin-bottom: 50px;
}

.home-section-title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--smf-border);
  color: var(--smf-main);
  font-size: 22px;
  font-weight: 900;
}

/* =========================
   トップページ お知らせ
========================= */

.home-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.home-info-list a {
  color: #333333 !important;
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
}

.home-info-list a:hover {
  color: #333333 !important;
  opacity: 0.68;
}

.home-info-date {
  display: inline-block;
  min-width: 95px;
  color: var(--smf-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =========================
   トップページ イベントカード
========================= */

.home-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.home-event-card {
  background: var(--smf-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.home-event-card a {
  text-decoration: none;
}

.home-event-thumb {
  position: relative;
  margin: 0 0 12px;
  overflow: hidden;
}

.home-event-thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.home-event-card:hover .home-event-thumb img {
  transform: scale(1.04);
}

.home-event-thumb .cat-name {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 18px;
  background: var(--smf-label);
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.home-event-card h3,
.home-event-title {
  margin: 18px 18px 8px;
  color: var(--smf-text);
  font-size: 19px;
  font-weight: bold;
  line-height: 1.45;
}

.home-event-excerpt {
  display: -webkit-box;
  margin: 0 18px 22px;
  overflow: hidden;
  color: #555555;
  font-size: 12px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-event-title,
.home-event-card h3,
.home-event-excerpt {
  transition: opacity 0.18s ease;
}

.home-event-card:hover .home-event-title,
.home-event-card:hover h3,
.home-event-card:hover .home-event-excerpt {
  opacity: 0.68;
}

/* =========================
   トップページ 一覧へ
========================= */

.home-more {
  margin-top: 24px;
  text-align: right;
}

.home-more a {
  position: relative;
  display: inline-block;
  padding-right: 16px;
  color: #333333;
  text-decoration: none;
  transition: color 0.18s ease;
}

.home-more a:hover {
  color: var(--smf-main);
  opacity: 1;
}

.home-more a::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--smf-main);
  border-right: 2px solid var(--smf-main);
  transform: translateY(-50%) rotate(45deg);
}

/* =========================
   サイドバー
========================= */

.sidebox {
  margin: 0 0 50px;
}

.sidebox h2 {
  margin: 0 0 16px !important;
  padding: 12px 18px !important;
  border-radius: 3px;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.event-date-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-date-links a {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 2px;
  background: var(--smf-sub);
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transform-origin: center;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.event-date-links a:hover {
  opacity: 0.8;
  transform: translateY(1px);
}

.side-sns-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-sns-links a {
  padding: 0 !important;
  background: none !important;
}

.side-sns-links img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.side-sns-links a:hover {
  opacity: 0.75;
}

.side-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-category-list li {
  border-bottom: 0.5px dashed #cccccc;
}

.side-category-list li a {
  position: relative;
  display: block;
  padding: 5px 28px 5px 14px;
  color: var(--smf-text);
  font-size: 14px;
  text-decoration: none;
  transition:
    opacity 0.18s ease,
    background 0.18s ease;
}

.side-category-list li a.is-child {
  padding-left: 28px;
}

.side-category-list li a::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2.5px solid var(--smf-main);
  border-right: 2.5px solid var(--smf-main);
  border-radius: 0.5px;
  transform: translateY(-50%) rotate(45deg) !important;
  transition: right 0.1s ease;
}

.side-category-list li a:hover {
  color: inherit;
  background: rgba(var(--smf-main-rgb));
  opacity: 1;
}

.side-category-list li a:hover::after {
  right: 11px;
}

.side-credit-text {
  font-size: 12px;
  line-height: 1.8;
}

/* =========================
   一覧ページ：カード表示
========================= */

.archive-event-grid {
  margin-top: 0;
}

.archive-event-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.archive-event-card h2 {
  margin: 18px 18px 8px;
}

.archive-event-thumb img {
  height: 180px;
  object-fit: cover;
  object-position: center;
}

/* =========================
   スマホ：一覧ページカード表示
========================= */

@media screen and (max-width: 767px) {

  .archive-event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive-event-thumb img {
    width: 100%;
    height: 180px;
  }

  .archive-event-card h2 {
    font-size: 17px;
    line-height: 1.45;
  }
}

/* =========================
   一覧ページ：お知らせ
========================= */

.archive-info-list {
  display: grid;
  gap: 24px;
}

.archive-info-item {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px dashed #d8d8d8;
}

.archive-info-item:last-child {
  border-bottom: none;
}

.archive-info-item a {
  display: block;
  color: var(--smf-text);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.archive-info-item a:hover {
  opacity: 0.68;
}

.archive-info-date {
  display: block;
  margin-bottom: 7px;
  color: var(--smf-muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.archive-info-title {
  margin: 0 0 10px;
  color: var(--smf-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.archive-info-excerpt {
  color: #666666;
  font-size: 13px;
  line-height: 1.75;
}

@media screen and (max-width: 767px) {

  .archive-info-list {
    gap: 20px;
  }

  .archive-info-title {
    font-size: 16px;
  }

  .archive-info-excerpt {
    font-size: 13px;
  }
}
.archive-info-title a {
  color: var(--smf-text);
  text-decoration: none;
}

.archive-info-title a:hover {
  opacity: 0.68;
}

/* =========================
   ページ送り
========================= */

.pagination,
.wp-prev-next {
  margin: 3em 0 4em;
}

.pagination,
.page-links {
  text-align: center;
}

.pagination ul,
.page-links ul {
  display: block;
  clear: both;
  margin: 0;
  padding: 0;
  text-align: center;
}

.pagination:empty,
.wp-prev-next:empty,
.pagination ul:empty,
.page-links ul:empty,
.search-no-results .pagination {
  display: none;
}

.pagination li,
.page-links li {
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination a,
.pagination span,
.page-links a,
.page-links ul > li > span {
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--smf-main);
  color: var(--smf-main);
  font-size: 1em;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
}

.pagination a:hover,
.pagination a:focus,
.pagination span:hover,
.pagination span:focus,
.page-links a:hover,
.page-links a:focus,
.pagination .current,
.page-links ul > li > span {
  background-color: var(--smf-main);
  color: #ffffff;
}

/* =========================
   投稿ページ
========================= */

.single #main .article {
  margin-bottom: 1em;
}

#main .article header {
  margin-bottom: 1.5em;
  padding: 0;
}

#main .article .eyecatch {
  position: relative;
  overflow: hidden;
  text-align: center;
}

#main .article .eyecatch img {
  height: auto;
  margin: 0;
}

.byline {
  margin: 0;
}

.byline .date {
  display: inline-block;
  margin-right: 0.6em;
  font-size: 0.85em;
  opacity: 0.7;
}

.byline .writer,
.byline .writer a {
  display: none;
}

.article-footer {
  padding: 1.5em 0 1em;
}

/* =========================
   投稿ページ 前後記事リンク
========================= */

.np-post {
  margin-bottom: 1.5em;
  padding: 0;
}

.np-post .eyecatch {
  display: none !important;
}

.np-post .navigation {
  display: flex;
  gap: 24px;
}

.np-post .prev,
.np-post .next {
  flex: 1;
}

.np-post .prev a,
.np-post .next a {
  position: relative;
  display: block;
  height: auto;
  padding: 10px 22px;
  background: none;
  color: var(--smf-text) !important;
  text-decoration: none;
}

.np-post .ttl {
  overflow: hidden;
  color: var(--smf-text);
  font-size: 14px;
  line-height: 1.6;
}

.np-post .next a,
.np-post .next .ttl {
  text-align: right !important;
}

.np-post .next .ttl {
  display: block !important;
  margin-left: auto;
}

.np-post a:hover .ttl {
  color: var(--smf-main);
}

.np-post .prev a::before,
.np-post .next a::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
}

.np-post .prev a::before {
  left: 6px;
  border-left: 2px solid var(--smf-main);
  border-bottom: 2px solid var(--smf-main);
}

.np-post .next a::after {
  right: 6px;
  border-top: 2px solid var(--smf-main);
  border-right: 2px solid var(--smf-main);
}


/* =========================
   スマホメニュー
========================= */

.sp-menu-custom,
.sp-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-menu-custom li {
  border-bottom: 1px solid var(--smf-sp-menu-border);
}

.sp-menu-custom a,
.sp-menu-parent summary {
  display: block;
  padding: 14px 20px;
  color: var(--smf-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.sp-menu-custom span,
.sp-menu-parent summary span {
  display: block;
  margin-top: 4px;
  color: var(--smf-sub);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.sp-sub-menu a {
  padding: 11px 20px 11px 34px;
  background: var(--smf-sp-menu-bg);
  font-size: 13px;
  font-weight: 500;
}

.sp-menu-parent summary {
  position: relative;
}

.sp-menu-parent summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--smf-sub);
  font-size: 18px;
}

.sp-menu-parent[open] summary::after {
  content: "−";
}

/* =========================
   フッター
========================= */

.footer .inner {
  clear: both;
  background-color: #0e0e0e;
  color: #878c94;
}

#inner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 24px;
}

.footer-contact,
.footer-copy {
  margin: 0;
}

.footer-contact {
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}

.footer-copy {
  text-align: right;
  font-size: 12px;
  line-height: 1.6;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--smf-main);
}

#page-top {
  position: fixed;
  right: 20px;
  z-index: 99999;
}

#page-top a {
  display: block;
  width: 55px;
  height: 55px;
  padding: 0;
  border-radius: 50%;
  background: rgba(51, 51, 51, 0.5);
  color: #ffffff;
  line-height: 55px;
  text-align: center;
  text-decoration: none;
}

/* =========================
   フェードイン
========================= */

@keyframes shimokitaFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page #main,
.archive #main,
.category #main,
.search #main,
.single #main {
  opacity: 0;
  animation: shimokitaFadeUp 0.7s ease forwards;
}

#logo,
.home-header-image,
.home-info,
.home-event-card,
#sidebar1 .widget,
#sidebar1 .sidebox {
  opacity: 0;
  animation: shimokitaFadeUp 0.7s ease forwards;
}

#logo {
  animation-delay: 0s;
}

.home-header-image {
  animation-delay: 0.1s;
}

.home-info {
  animation-delay: 0.25s;
}

.home-event-card:nth-child(1) {
  animation-delay: 0.35s;
}

.home-event-card:nth-child(2) {
  animation-delay: 0.45s;
}

#sidebar1 .widget,
#sidebar1 .sidebox {
  animation-delay: 0.5s;
}

/* =========================
   表・装飾パーツ
========================= */

table.timetable {
  margin: 0 0 24px;
  border: 1px solid #cccccc;
  border-collapse: collapse;
  font-size: 85%;
}

table.timetable th,
table.timetable td {
  padding: 10px 12px 7px;
  border: 1px solid #cccccc;
  line-height: 1.6;
}

table.timetable th {
  background: #f2f2f2;
}

table.timetable td {
  background: #ffffff;
  text-align: left;
}

table.timetable td:nth-child(1) {
  width: 25%;
  padding: 10px 0 7px;
  text-align: center;
}

table.timetable td img {
  float: right;
}

table.timetable td a,
a.link-under {
  color: #333333;
  text-decoration: underline;
}

/* =========================
   タブレット以上
========================= */

@media only screen and (min-width: 768px) {
  #container {
    overflow: hidden;
  }

  #logo {
    display: inline-block;
    float: left;
  }

  #logo .h1 {
    display: table-cell;
    height: 58px;
    vertical-align: middle;
  }

  .t-1of2,
  .t-2of4,
  .t-3of6,
  .t-4of8,
  .t-5of10,
  .t-6of12 {
    float: left;
    width: 50%;
    padding-right: 0.75em;
  }

  .t-1of3,
  .t-2of6,
  .t-3of9,
  .t-4of12 {
    float: left;
    width: 33.33%;
    padding-right: 0.75em;
  }

  .t-2of3,
  .t-4of6,
  .t-6of9,
  .t-8of12 {
    float: left;
    width: 66.66%;
    padding-right: 0.75em;
  }

  .t-all {
    float: left;
    width: 100%;
    padding-right: 0.75em;
  }
}

/* =========================
   PC
========================= */

@media only screen and (min-width: 1166px) {

  .wrap {
    width: 1166px;
    max-width: 96%;
  }

  .footer.bgnormal {
    margin-bottom: 2em;
  }

  .footer .inner,
  #footer-top .inner {
    padding: 0 35px;
  }

  .d-1of2,
  .d-2of4,
  .d-3of6,
  .d-4of8,
  .d-5of10,
  .d-6of12 {
    float: left;
    width: 50%;
    padding-right: 0.75em;
  }

  .d-1of3,
  .d-2of6,
  .d-3of9,
  .d-4of12 {
    float: left;
    width: 33.33%;
    padding-right: 0.75em;
  }

  .d-2of3,
  .d-4of6,
  .d-6of9,
  .d-8of12 {
    float: left;
    width: 66.66%;
    padding-right: 0.75em;
  }

  .d-5of7 {
    float: left;
    width: 71.4285715%;
    padding-right: 0.75em;
  }

  .d-2of7 {
    float: left;
    width: 28.5714286%;
    padding-right: 0.75em;
  }

  .d-all {
    float: left;
    width: 100%;
    padding-right: 0.75em;
  }
}

/* =========================
   スマホ
========================= */

@media screen and (max-width: 767px) {

  #inner-content {
    width: 100%;
    overflow: hidden;
  }

  #main {
    float: none;
    padding: 1em;
  }

  #sidebar1 {
    float: none;
    padding: 1em;
  }

  #g_nav,
  .g_nav-sp,
  .menu-sp {
    display: none !important;
  }

  .home-header-image {
    margin-bottom: 0;
  }

  .home-header-image.wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .home-info-list li {
    display: block;
  }

  .home-info-date {
    display: block;
    min-width: 95px;
    font-size: 11px;
  }

  .home-info-list a {
    font-size: 15px;
  }

  .home-event-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .side-sns-links {
    justify-content: center;
  }

  #inner-footer {
    display: block !important;
    padding: 24px 16px 20px !important;
    text-align: center;
  }

  #inner-footer .copyright {
    float: none !important;
  }

  .footer-contact,
  .footer-copy {
    text-align: center;
  }

  .footer-contact {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .footer-copy {
    font-size: 12px;
  }

  #main input[type="text"],
  #main input[type="password"],
  #main input[type="datetime"],
  #main input[type="datetime-local"],
  #main input[type="date"],
  #main input[type="month"],
  #main input[type="time"],
  #main input[type="week"],
  #main input[type="number"],
  #main input[type="email"],
  #main input[type="url"],
  #main input[type="search"],
  #main input[type="tel"],
  #main input[type="color"],
  #main select,
  #main textarea,
  #main .field,
  #main textarea {
    width: auto;
  }

  table.timetable td img {
    max-width: 120px;
    height: auto;
  }
}

/* =========================
   トップ：ヘッダー下余白
========================= */

.home-header-image {
  margin-top: 20px;
}

/* =========================
   ページ見出し共通
========================= */

.archivettl h1,
.not-found-header h1,
.map-header h1,
.timetable-header h1 {
  margin: 0 0 1.5em;
  padding: 0 0.1em 0.8em;

  border-bottom: 3px solid var(--smf-main);

  color: var(--smf-text);
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
}

.map-content img,
.timetable-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 24px;
}

.timetable-content table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 90%;
}

.timetable-content th,
.timetable-content td {
  padding: 10px 12px;
  border: 1px solid #cccccc;
  line-height: 1.6;
}

.timetable-content th {
  background: #f2f2f2;
  font-weight: bold;
  text-align: center;
}

.timetable-content td {
  background: #ffffff;
}

@media screen and (max-width: 767px) {

  .timetable-content {
    overflow-x: auto;
  }

  .timetable-content table {
    min-width: 640px;
  }
}

/* =========================
   投稿カテゴリー・タグ
========================= */

.article-footer {
  padding: 1.5em 0 1em;
}

.article-footer .post-categories,
.article-footer .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.article-footer .post-categories li,
.article-footer .tags li {
  margin: 0;
}

.article-footer .post-categories li::before,
.article-footer .tags li::before {
  content: none;
}

/* カテゴリー */

.article-footer .post-categories a {
  display: inline-block;
  padding: 6px 10px;

  background: var(--smf-link);
  border: 1px solid var(--smf-link);
  border-radius: 2px;

  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

/* タグ */

.article-footer .tags a {
  display: inline-block;
  padding: 6px 10px;

  background: #ffffff;
  border: 1px solid var(--smf-link);
  border-radius: 2px;

  color: var(--smf-link);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.article-footer .tags a:hover {
  color: #ffffff !important;
  background: var(--smf-link);
  opacity: 0.8;
  transform: translateY(1px);
}

/* 共通ホバー */

.article-footer .post-categories a:hover,
.article-footer .tags a:hover {
  opacity: 0.8;
  transform: translateY(1px);
}

/* =========================
   スマホ：ヘッダー
========================= */

@media screen and (max-width: 767px) {

  .header,
  #inner-header,
  #inner-header.wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .header #inner-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
  }

  #logo {
    padding: 0;
  }

  #logo img {
    display: block;
    width: auto !important;
    height: 34px !important;
    max-height: 34px !important;
  }

  .nav_btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: absolute !important;
    top: 50% !important;
    left: 18px !important;
    z-index: 9999;

    width: 24px !important;
    height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;
  }

  .nav_btn::before,
  .nav_btn span,
  .nav_btn::after {
    content: "";
    position: absolute;
    left: 0;

    width: 24px;
    height: 2px;

    background: #ffffff;
    border-radius: 2px;
  }

  .nav_btn::before {
    top: 0;
  }

  .nav_btn span {
    top: 8px;
  }

  .nav_btn::after {
    top: 16px;
  }
}

/* =========================
   本文エリア上余白
========================= */

#content {
  margin-top: 1.5em;
}

/* =========================
   スマホ：ABOUT画像回り込み解除
========================= */

@media screen and (max-width: 767px) {

  .about-content img.alignright,
  .about-content img.alignleft,
  .about-content .alignright,
  .about-content .alignleft {
    float: none !important;
    display: block !important;

    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;

    margin: 0 auto 18px !important;
  }
}
