@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){
  /*必要ならばここにコードを書く*/
}
/* ===== SPACELINK JAPAN child theme footer override 2026-05-13 ===== */
/* Purpose: stabilize footer layout in child theme and remove unstable separators. */

body footer#footer.footer.footer-container {
  background: #172d4c !important;
  color: rgba(255, 255, 255, 0.78) !important;
  margin-top: 0 !important;
  padding: 56px 0 30px !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: clamp(48px, 6vw, 96px) !important;
  row-gap: 26px !important;
  width: min(100%, 1320px) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 clamp(28px, 5vw, 76px) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf::before,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf::after,
body footer#footer.footer.footer-container::before,
body footer#footer.footer.footer-container::after {
  content: none !important;
  display: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom.fdt-logo.fnm-text-width.cf {
  display: contents !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-site-logo-image {
  display: block !important;
  width: min(30vw, 380px) !important;
  max-width: 380px !important;
  max-height: 92px !important;
  height: auto !important;
  margin: 0 auto !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.96 !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo::after {
  content: "在留資格・不動産・行政書士試験に関する情報を発信するブログです。" !important;
  display: block !important;
  max-width: 520px !important;
  margin: 22px auto 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-widgets.cf {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, 1fr) !important;
  column-gap: clamp(40px, 5vw, 72px) !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-left {
  display: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right .widget {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget-title,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right .widget-title,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center h3,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right h3 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  color: #ffffff !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.08em !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36) !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget_categories .widget-title,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget_categories h3 {
  font-size: 0 !important;
  line-height: 1 !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget_categories .widget-title::before,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget_categories h3::before {
  content: "CONTENTS" !important;
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.08em !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center ul,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right ul {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center li,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right li {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  text-align: left !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a:link,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a:visited {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a:hover,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a:focus,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf a:active {
  color: #ffffff !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-content {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 8px 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  transform: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-content::before,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-content::after,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom::before,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom::after,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo::before {
  content: none !important;
  display: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .source-org.copyright,
body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .copyright {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.18em !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf *:not(.widget-title):not(.footer-title):not(h3) {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

@media screen and (max-width: 1023px) and (min-width: 835px) {
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    max-width: 760px !important;
    padding: 0 34px !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-widgets.cf {
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr 1fr !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-content {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}

@media screen and (max-width: 834px) {
  body footer#footer.footer.footer-container {
    padding: 36px 0 26px !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    width: min(100% - 28px, 680px) !important;
    max-width: 680px !important;
    padding: 0 22px !important;
    row-gap: 28px !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-site-logo-image {
    width: min(68vw, 260px) !important;
    max-width: 260px !important;
    max-height: 64px !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-logo::after {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-widgets.cf {
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right .widget,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center .widget-title,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right .widget-title,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center h3,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right h3,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center ul,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right ul,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-center li,
  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-right li {
    text-align: center !important;
  }

  body footer#footer.footer.footer-container #footer-in.footer-in.wrap.cf .footer-bottom-content {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}

/* ===== Weglot language switcher: header pill 2026-05-31 ===== */
.country-selector.weglot-default {
  position: fixed !important;
  top: 22px !important;
  right: clamp(18px, 3vw, 40px) !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 100000 !important;
  width: 32px !important;
  min-width: 0 !important;
  height: 32px !important;
  margin: 0 !important;
  font-family: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.admin-bar .country-selector.weglot-default {
  top: 54px !important;
}

.country-selector.weglot-default,
.country-selector.weglot-default * {
  box-sizing: border-box !important;
}

.country-selector.weglot-default .wgcurrent {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f2933 !important;
  line-height: 1 !important;
  transition: background-color 0.16s ease, color 0.16s ease !important;
}

.country-selector.weglot-default:hover .wgcurrent,
.country-selector.weglot-default:focus-within .wgcurrent {
  background: rgba(31, 41, 51, 0.06) !important;
  color: #0f1720 !important;
}

.country-selector.weglot-default .wgcurrent::before {
  content: "" !important;
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.country-selector.weglot-default .wgcurrent::after,
.country-selector.weglot-default .wglanguage-name,
.country-selector.weglot-default .weglot-flags:not(.wgcurrent)::before,
.country-selector.weglot-default .weglot-flags:not(.wgcurrent)::after,
.country-selector.weglot-default .weglot-flags > a::before,
.country-selector.weglot-default .weglot-flags > span::before {
  display: none !important;
}

.country-selector.weglot-default .weglot-flags:not(.wgcurrent),
.country-selector.weglot-default [class*="flag-"]:not(.wgcurrent),
.country-selector.weglot-default .weglot-flags:not(.wgcurrent)::before,
.country-selector.weglot-default .weglot-flags:not(.wgcurrent)::after,
.country-selector.weglot-default .weglot-flags > a::before,
.country-selector.weglot-default .weglot-flags > span::before {
  background-image: none !important;
  background-position: 0 0 !important;
  padding-left: 0 !important;
  width: 0 !important;
  margin: 0 !important;
}

.country-selector.weglot-default [data-l="ja"] .wglanguage-name::after,
.country-selector.weglot-default a.weglot-language-ja::after {
  content: "JP" !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.country-selector.weglot-default [data-l="en"] .wglanguage-name::after,
.country-selector.weglot-default a.weglot-language-en::after {
  content: "EN" !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.country-selector.weglot-default ul {
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 64px !important;
  margin-top: 6px !important;
  padding: 6px !important;
  border: 1px solid rgba(31, 41, 51, 0.12) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.12) !important;
}

.country-selector.weglot-default li,
.country-selector.weglot-default a {
  width: 100% !important;
  min-height: 32px !important;
  border: 0 !important;
  background: transparent !important;
  color: #1f2933 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.country-selector.weglot-default a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  text-align: center !important;
}

.country-selector.weglot-default a:hover {
  background: rgba(31, 41, 51, 0.06) !important;
}

@media screen and (max-width: 834px) {
  .country-selector.weglot-default {
    top: 16px !important;
    right: 54px !important;
    transform: none !important;
  }

  body.admin-bar .country-selector.weglot-default {
    top: 60px !important;
  }
}
/* ===== /Weglot language switcher: header pill ===== */
