#footer-bottom .social-links + p {
  color: transparent !important;
}

#footer-bottom .social-links + p::before {
  color: rgba(255,255,255,0.68);
}
#footer-bottom .social-links + p {
  font-size: 0 !important;
}
#footer-bottom.container {
  height: auto;
  min-height: 160px;
  box-sizing: border-box;
}

#footer-bottom p:first-of-type {
  font-size: 0;
}

#footer-bottom p:first-of-type::before {
  content: "© 2026 Sachiko Kosuge. All rights reserved.";
  font-size: 12px;
}
#footer-bottom .social-links + p {
  font-size: 0;
}

#footer-bottom .social-links + p::before {
  content: "© 2026 Sachiko Kosuge. All rights reserved.";
  font-size: 12px;
}
/* Footer spacing and mobile navigation refinements */
#footer {
  padding-top: 30px;
  padding-bottom: 26px;
}

#footer .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 10px;
}

#footer .nav > li {
  margin: 0;
}

#footer-bottom .social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
}

#footer-bottom .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

#footer-bottom .social-links + p {
  margin-top: 14px;
}

#footer-bottom p {
  margin-bottom: 0;
  line-height: 1.5;
}

#footer-bottom p:last-child {
  margin-top: 6px;
  font-size: 90%;
  opacity: 0.72;
}

@media screen and (max-width: 782px) {
  #footer {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  #footer .nav {
    column-gap: 20px;
    row-gap: 8px;
  }

  #footer .nav > li:nth-child(3),
  #footer .nav > li:nth-child(4),
  #footer .nav > li:nth-child(6) {
    display: none;
  }

  #footer-bottom .social-links {
    margin-top: 18px;
  }
}
/* Mobile usability refinements */
@media screen and (max-width: 782px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #page,
  #content,
  .site-content,
  .container-inner {
    box-sizing: border-box;
    max-width: 100%;
  }

  body.page-id-16 #page,
  body.page-id-18 #page,
  body.page-id-1351 #page {
    min-height: auto;
  }

  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="tel"],
  textarea,
  select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px;
  }

  textarea {
    min-height: 150px;
  }

  input[type="submit"],
  button,
  .wp-block-button__link {
    min-height: 44px;
  }

  #footer .nav > li > a,
  #footer a {
    line-height: 1.5;
  }

  body.home img.wp-image-263,
  body.home img.wp-image-206 {
    margin-bottom: 14px;
  }
}
body.page-id-16 #page,
body.page-id-18 #page,
body.page-id-1351 #page {
  min-height: calc(100vh - 220px);
}
/* 2026-08 staging layout refinements */
body.page-id-16 #wrapper,
body.page-id-18 #wrapper,
body.page-id-1351 #wrapper {
  min-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
}

body.page-id-16 #page,
body.page-id-18 #page,
body.page-id-1351 #page {
  flex: 1 0 auto;
  width: 100%;
}

body.page-id-16 #footer,
body.page-id-18 #footer,
body.page-id-1351 #footer {
  flex-shrink: 0;
}

/* Give the cats and their more buttons a little breathing room. */
body.home img.wp-image-263,
body.home img.wp-image-206 {
  margin-bottom: 12px;
}
.freespace-pad {
  margin: 0px;
  height: 0%;
}

.pad.group {
  margin-top: -50px;
}

div.whatsnew hr {
  border-width: 0.5px;
}

div.whatsnew dd {
  font-size: 110%;
}

.wp-block-media-text.alignwide.is-stacked-on-mobile.has-medium-font-size {
  margin-top: -60px;
}

.is-layout-flex.wp-container-3.wp-block-columns {
  margin-top: -30px;
}

.free_space.clearfix.container-inner.wow.fadeInDown {
  margin-top: -25px;
}

.subtitle.wow.bounceIn {
  margin-bottom: 0px;
}

.subtitle {
  font-size: 18px;
}

.wp-block-cover__background.has-background-dim {
  margin-top: 0px;
}

#footer-bottom.container {
  height: 130px;
}

#parallaxwidget-2.page-widget.widget.parallax_widget.wow.fadeIn span {
  color: #ffffff;
}

.news {
  display: block;
  margin-top: -200px;
  padding-top: 100px;
}

#footer-bottom .social-links {
  margin: -4px;
  padding: 8px;
}

.comment-tabs li a {
  display: none;
}


/**コメント欄のメールとURLを非表示にする**/
.comment-notes,
.comment-form-url,
.form-allowed-tags{
display:none; }

/* Final footer typography fix */
#footer { padding: 30px 0 26px !important; }
#footer-bottom.container { height: auto !important; min-height: 0 !important; }
#footer .nav { column-gap: 24px !important; row-gap: 10px !important; }
#footer .nav > li { margin: 0 !important; }
#footer .nav .menu_description { display: none !important; }
#footer-bottom .social-links { margin: 18px 0 12px !important; padding: 0 !important; gap: 16px !important; }
#footer-bottom .social-links a { width: 36px !important; height: 36px !important; font-size: 17px !important; }
#copyright p { margin: 0 !important; font-size: 0 !important; line-height: 1.7 !important; }
#copyright p::before { content: "© 2026 Sachiko Kosuge. All rights reserved."; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .04em; }
#credit p { margin: 5px 0 0 !important; font-size: 0 !important; line-height: 1.6 !important; opacity: .72; }
#credit p::before { content: "Site design: "; font-size: 11px; letter-spacing: .03em; }
#credit p a { font-size: 11px !important; letter-spacing: .03em; margin-left: 3px; }
@media (max-width: 767px) {
  #footer { padding: 26px 18px 22px !important; }
  #footer .nav { column-gap: 18px !important; row-gap: 9px !important; }
  #footer .nav > li > a { font-size: 12px !important; letter-spacing: .04em; }
  #footer-bottom .social-links { margin-top: 16px !important; }
}
#footer #credit p::before { content: "Site design: " !important; font-size: 11px !important; }
#footer #credit p a { font-size: 11px !important; }

/* Prevent footer social icon overlap */
#footer .oi_soc_icons { display: flex !important; justify-content: center !important; clear: both !important; }
#footer ul.social-links { display: inline-flex !important; justify-content: center !important; align-items: center !important; flex-wrap: nowrap !important; width: auto !important; gap: 18px !important; margin: 18px auto 12px !important; padding: 0 !important; }
#footer ul.social-links > li { display: block !important; float: none !important; flex: 0 0 38px !important; width: 38px !important; height: 38px !important; margin: 0 !important; padding: 0 !important; }
#footer ul.social-links > li > a { display: flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; width: 38px !important; height: 38px !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
#footer ul.social-links i { display: block !important; margin: 0 !important; line-height: 1 !important; }

/* Footer vertical separation */
#footer .oi_soc_icons { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: auto !important; min-height: 38px !important; margin: 24px 0 14px !important; padding: 0 !important; overflow: visible !important; }
#footer .oi_soc_icons ul.social-links { margin: 0 auto !important; }
#footer #copyright { clear: both !important; margin-top: 4px !important; }

/* Center home cat images and their buttons */
body.home img.wp-image-263,
body.home img.wp-image-206 { display: block !important; width: 200px !important; max-width: 100% !important; height: auto !important; margin: 0 auto !important; }
body.home .wp-block-image:has(img.wp-image-263),
body.home .wp-block-image:has(img.wp-image-206) { display: block !important; width: 100% !important; text-align: center !important; }
body.home figure:has(img.wp-image-263),
body.home figure:has(img.wp-image-206) { display: block !important; width: 200px !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
body.home .wp-block-buttons:has(+ *),
body.home .wp-container-3.wp-block-buttons,
body.home .wp-container-8.wp-block-buttons { display: flex !important; width: 100% !important; justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }

/* Exact centering for home cat groups */
body.home .wp-container-2.wp-block-columns,
body.home .wp-container-7.wp-block-columns,
body.home .wp-container-3.wp-block-buttons,
body.home .wp-container-8.wp-block-buttons { position: relative !important; left: 50% !important; transform: translateX(-50%) !important; }

/* Visual correction: separate social row and center cats */
#footer .oi_soc_icons { position: static !important; display: block !important; height: 38px !important; min-height: 38px !important; margin: 26px 0 16px !important; padding: 0 !important; clear: both !important; }
#footer .oi_soc_icons ul.social-links { position: static !important; inset: auto !important; display: flex !important; width: max-content !important; height: 38px !important; margin: 0 auto !important; padding: 0 !important; }
#footer #copyright { position: static !important; display: block !important; clear: both !important; margin: 0 !important; padding-top: 2px !important; }
body.home .wp-container-2.wp-block-columns,
body.home .wp-container-7.wp-block-columns { position: static !important; left: auto !important; transform: none !important; display: flex !important; width: 100% !important; justify-content: center !important; }
body.home .wp-container-3.wp-block-buttons,
body.home .wp-container-8.wp-block-buttons { position: static !important; left: auto !important; transform: none !important; display: flex !important; width: 100% !important; justify-content: center !important; }
body.home div.wp-container-3.wp-block-buttons, body.home div.wp-container-8.wp-block-buttons { margin-left: auto !important; margin-right: auto !important; }
body.home .wp-container-5.wp-block-columns, body.home .wp-container-10.wp-block-columns { justify-content: center !important; }

/* Mobile centering and footer visual polish */
#footer ul.social-links > li, #footer ul.social-links > li > a { width: 46px !important; height: 46px !important; flex-basis: 46px !important; }
#footer ul.social-links i { font-size: 23px !important; }
#footer .oi_soc_icons, #footer .oi_soc_icons ul.social-links { height: 46px !important; min-height: 46px !important; }
#footer #credit p { opacity: 1 !important; color: rgba(255,255,255,.68) !important; }
#footer #credit p::before, #footer #credit p a { color: rgba(255,255,255,.68) !important; }
@media (max-width: 767px) {
 body.home .wp-container-2.wp-block-columns, body.home .wp-container-5.wp-block-columns, body.home .wp-container-7.wp-block-columns, body.home .wp-container-10.wp-block-columns { display:flex !important; width:100% !important; justify-content:center !important; align-items:center !important; }
 body.home .wp-container-3.wp-block-buttons, body.home .wp-container-8.wp-block-buttons { display:flex !important; width:max-content !important; justify-content:center !important; align-items:center !important; margin-left:auto !important; margin-right:auto !important; }
 body.home .wp-container-3 .wp-block-button, body.home .wp-container-8 .wp-block-button { margin-left:auto !important; margin-right:auto !important; }
 #footer ul.social-links > li, #footer ul.social-links > li > a { width:48px !important; height:48px !important; flex-basis:48px !important; }
 #footer ul.social-links i { font-size:25px !important; }
 #footer .oi_soc_icons, #footer .oi_soc_icons ul.social-links { height:48px !important; min-height:48px !important; }
}

/* Mobile button text alignment and comfortable page gutters */
@media (max-width: 767px) {
 body.home .wp-container-3 .wp-block-button__link,
 body.home .wp-container-8 .wp-block-button__link {
   display: inline-flex !important;
   align-items: center !important;
   justify-content: center !important;
   box-sizing: border-box !important;
   min-height: 75px !important;
   padding: 0 30px !important;
   line-height: 1 !important;
 }
 body.page:not(.home) article.hentry,
 body.single article.hentry {
   box-sizing: border-box !important;
   width: auto !important;
   margin-left: 20px !important;
   margin-right: 20px !important;
 }
 body.page:not(.home) article.hentry input,
 body.page:not(.home) article.hentry textarea,
 body.single article.hentry input,
 body.single article.hentry textarea {
   box-sizing: border-box !important;
   max-width: 100% !important;
 }
}
@media (max-width: 767px) { body.page:not(.home) article.hentry, body.single article.hentry { margin-left: 10px !important; margin-right: 10px !important; } }
@media (max-width: 767px) { #custom_html-3 .textwidget > .container-inner { box-sizing: border-box !important; width: calc(100% - 40px) !important; margin-left: 20px !important; margin-right: 20px !important; } }

/* Footer color and social icon final balance */
#footer #copyright p::before,
#footer #credit p,
#footer #credit p::before,
#footer #credit p a {
 color: #aaa !important;
 opacity: 1 !important;
 font-size: 12px !important;
 font-weight: 400 !important;
 line-height: 1.7 !important;
}
#footer ul.social-links { gap: 22px !important; }
#footer ul.social-links > li,
#footer ul.social-links > li > a { width: 50px !important; height: 50px !important; flex-basis: 50px !important; }
#footer ul.social-links i { font-size: 27px !important; }
#footer .oi_soc_icons, #footer .oi_soc_icons ul.social-links { height: 50px !important; min-height: 50px !important; }
@media (max-width: 767px) {
 #footer ul.social-links { gap: 24px !important; }
 #footer ul.social-links > li, #footer ul.social-links > li > a { width: 54px !important; height: 54px !important; flex-basis: 54px !important; }
 #footer ul.social-links i { font-size: 31px !important; }
 #footer .oi_soc_icons, #footer .oi_soc_icons ul.social-links { height: 54px !important; min-height: 54px !important; }
}

/* Unified website credit */
#footer #credit,
#footer #credit p,
#footer #credit p::before,
#footer #credit p a {
 color: #aaa !important;
 opacity: 1 !important;
 font-family: "Noto Serif JP", serif !important;
 font-size: 12px !important;
 font-weight: 400 !important;
 line-height: 1.7 !important;
 letter-spacing: .04em !important;
 text-decoration: none !important;
 text-shadow: none !important;
}
#footer #credit p::before { content: "Website design by " !important; }
#footer #credit p a:link,
#footer #credit p a:visited,
#footer #credit p a:hover,
#footer #credit p a:focus,
#footer #credit p a:active { color: #aaa !important; opacity: 1 !important; text-decoration: none !important; }
#footer #credit p::before { content: "Web design by " !important; }

/* Final credit cleanup and blog image spacing */
#footer #credit p { font-size: 0 !important; color: transparent !important; }
#footer #credit p::before { content: "Web design by " !important; color: #aaa !important; font-size: 12px !important; }
#footer #credit p a { color: #aaa !important; font-size: 12px !important; }
body.single-post article.post .entry-inner > figure.wp-block-image { margin-bottom: 20px !important; }
@media (max-width: 767px) { body.single-post article.post .entry-inner > figure.wp-block-image { margin-bottom: 16px !important; } }

/* Center images inside individual blog posts */
body.single-post article.post .entry-inner > figure.wp-block-image { text-align: center !important; }
body.single-post article.post .entry-inner > figure.wp-block-image > img,
body.single-post article.post .entry-inner > figure.wp-block-image > a > img { display: block !important; margin-left: auto !important; margin-right: auto !important; }
/* Ensure both footer credit lines render at identical opacity */
#footer #copyright p, #footer #credit p { opacity: 1 !important; }