@charset "UTF-8";

/* 内容は「外観 → ウィジェット」、最下部はCocoonのフッター設定で管理する。 */
body #footer {
  display: block;
  margin: 0;
  padding: 36px 0 calc(20px + var(--cocoon-child-footer-menu-height, 0px));
  border-top: 1px solid #34495d;
  background-image: linear-gradient(115deg, var(--cocoon-child-footer-color, #172536), color-mix(in srgb, var(--cocoon-child-footer-color, #172536) 90%, #7193b0));
  color: #dce6ef;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
body #footer-in {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
body #footer .footer-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 48px;
  margin: 0;
}
body #footer .footer-widgets > div {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
body #footer .widget {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body #footer :is(.wp-block-heading, .wp-block-search__label, .widget-title) {
  position: relative;
  display: block;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(169, 191, 210, .2);
  background: transparent;
  color: #e4edf4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
}
body #footer :is(.wp-block-heading, .widget-title)::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: #a9bfd2;
}
body #footer .wp-block-search {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(169, 191, 210, .16);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(128, 165, 193, .13), rgba(32, 50, 71, .06));
}
body #footer .wp-block-search::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 12px;
  width: 88px;
  height: 88px;
  opacity: .16;
  background: url("../../images/soyoshino-mark.svg") center / contain no-repeat;
  pointer-events: none;
}
body #footer .wp-block-search__label { margin-bottom: 20px; padding: 0; border: 0; }
body #footer .wp-block-search__inside-wrapper {
  display: flex;
  padding: 0;
  overflow: hidden;
  border: 1px solid #59758b;
  border-radius: 6px;
  background: #fff;
}
body #footer .wp-block-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 0;
  background: #fff;
  color: #344f63;
  font: inherit;
  font-size: 15px;
}
body #footer .wp-block-search__input::placeholder { color: #74899b; opacity: 1; }
body #footer .wp-block-search__button {
  flex-shrink: 0;
  width: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #d8e3ec;
  border-radius: 0;
  background: #fff;
  color: #344f63;
}
body #footer .wp-block-search__button:hover { background: #edf3f7; }
body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) {
  margin: 0;
  padding: 0;
  list-style: none;
}
body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) li {
  margin: 0;
  padding: 12px 0;
  color: #a9bdcd;
  font-size: 13px;
  line-height: 1.8;
}
body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) a {
  padding: 0;
  background: transparent;
  color: #dce6ef;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
body #footer .wp-block-categories-list li { position: relative; padding-left: 26px; }
body #footer .wp-block-categories-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
}
body #footer .wp-block-categories-list .list-item-caption {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}
body #footer .wp-block-categories-list .post-count {
  min-width: 26px;
  padding-inline: 6px;
  border: 1px solid rgba(169, 191, 210, .16);
  border-radius: 4px;
  color: #a9bdcd;
  font-size: 13px;
  text-align: center;
}
body #footer .wp-block-categories-list a:is(:hover, :focus-visible) .list-item-caption {
  color: #fff;
  text-decoration-color: currentColor;
}
body #footer .wp-block-categories-list li > a:is(:hover, :focus-visible) {
  background: transparent;
  color: #dce6ef;
}
body #footer .wp-block-categories-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 20px;
  height: 16px;
  background-color: #8fa7ba;
  mask: url("../../images/folder.svg") center / contain no-repeat;
}
body #footer .wp-block-latest-posts li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(169, 191, 210, .12);
}
body #footer .wp-block-latest-posts__post-title {
  grid-column: 2;
  grid-row: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body #footer .wp-block-latest-posts li:last-child { border-bottom: 0; padding-bottom: 0; }
body #footer .wp-block-latest-posts__post-date {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding-right: 12px;
  border-right: 1px solid rgba(169, 191, 210, .18);
  color: #a9bdcd;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body #footer .site-footer__date-day {
  display: block;
  color: #c7dae9;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
}
body #footer .site-footer__date-year {
  display: block;
  margin-top: 2px;
  color: #92a9bb;
  font-size: 12px;
}
body #footer .footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 191, 210, .16);
}
body #footer .footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  float: none;
  width: 100%;
  color: #a9bdcd;
  font-size: 12px;
}
body #footer .copyright { order: -1; margin: 0; color: inherit; }
body #footer .copyright a { color: inherit; }
body #footer :is(#navi-footer, #navi-footer-in, .menu-footer) { width: auto; margin: 0; padding: 0; border: 0; background: transparent; }
body #footer .menu-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body #footer .menu-footer li { width: auto; margin: 0; padding: 0; border: 0; }
body #footer .menu-footer a { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; color: #bfcfdb; font-size: 12px; }
body #footer :is(.wp-block-latest-posts, .menu-footer) a:is(:hover, :focus-visible) { background: transparent; color: #fff; text-decoration-color: currentColor; }
body #footer :is(a, input, button):focus-visible { outline: 2px solid #a9bfd2; outline-offset: 4px; }
@media screen and (max-width: 640px) {
  body #footer { padding-top: 40px; }
  body #footer .footer-widgets { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  body #footer .footer-widgets > div > .widget + .widget { margin-top: 32px; }
  body #footer :is(.wp-block-heading, .wp-block-search__label, .widget-title) {
    margin-bottom: 8px;
    padding-bottom: 10px;
  }
  body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) > li:first-child { padding-top: 8px; }
  body #footer .wp-block-search__label { padding-bottom: 0; }
  body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) li { padding-block: 16px; }
  body #footer .wp-block-categories-list a { min-height: 32px; }
  body #footer .wp-block-categories-list li::before { top: 24px; }
  body #footer .wp-block-categories-list > li:first-child::before { top: 16px; }
  body #footer .wp-block-latest-posts li:last-child { padding-bottom: 16px; }
  body #footer .footer-bottom { margin-top: 36px; padding-top: 24px; }
  body #footer .footer-bottom-content { flex-direction: column; align-items: flex-start; gap: 12px; }
  body #footer .menu-footer { gap: 8px 24px; }
  body #footer .menu-footer a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  body #footer :is(.wp-block-categories-list, .wp-block-latest-posts) a { transition: none; }
}
