@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* トップ */

.c-gnav > .menu-item > a:hover {
  font-weight: bold;
  color: #00569b;
  transition: all 0.2s ease;
}

.top_banner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.top_banner img {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.2), 0 -10px 20px rgba(242, 242, 242, 0.7);
}
#block-6 {
  background: #00569b;
  color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.2), 0 -10px 20px rgba(242, 242, 242, 0.7);
}

/* 人気記事 */

.w-frontTop .c-widget.widget_swell_popular_posts,
.w-frontTop .c-widget.widget_swell_new_posts {
  padding: 60px 50px 40px 50px;
  margin-top: 5em;
  background: #f7f7f7;
}

.w-frontTop .c-widget.widget_swell_popular_posts .p-postList.-type-card,
.w-frontTop .c-widget.widget_swell_new_posts .p-postList.-type-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.w-frontTop .-type-card .p-postList__item {
  width: 100%;
}

.w-frontTop .c-widget.widget_swell_popular_posts .c-secTitle,
.w-frontTop .c-widget.widget_swell_new_posts .c-secTitle {
  text-align: center;
  border-left: unset;
  color: #00569b;
  font-family: YuGothic;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.w-frontTop .-type-card .p-postList__title {
  color: #0e0e0e;
  font-family: YuGothic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.8px;
}

.w-frontTop .c-widget.widget_custom_html {
  margin-top: 0;
}

.w-frontTop #block-13, .w-frontTop #block-15 {
  margin-top: 0;
}

.w-frontTop .button-wrapper {
  background: #f7f7f7;
  padding-bottom: 60px;
}

.w-frontTop .button-wrapper a {
  display: block;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 50px;
  color: #fff;
  font-family: YuGothic;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  background: #00569b;
  display: flex;
  padding: 12px 30px;
  justify-content: center;
  align-items: center;
}


/* 記事の監修者 */

.w-frontTop .reviewer {
  position: relative;
  margin-top: 120px !important;
  border: 2px solid #00569b;
  padding: 60px 25px;
}

.w-frontTop .reviewer::before {
  position: absolute;
  transform: translateY(-50%);
  top: 0;
  content: "記事の監修者";
  color: #fff;
  background: #00569b;
  font-family: YuGothic;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 10px;
}

.w-frontTop .reviewer .wp-block-group__inner-container {
  background: #f7f7f7;
  padding: 50px 30px;
}

.w-frontTop .reviewer .wp-block-heading {
  color: #00569b;
  font-family: YuGothic;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0;
  border: none;
}

.w-frontTop .reviewer .image p {
  color: #00569b;
  font-family: "Yu Gothic";
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.w-frontTop .reviewer .desc {
  padding-left: 20px;
}

.w-frontTop .reviewer .desc p {
  color: #0e0e0e;
  font-family: YuGothic;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.w-frontTop .reviewer .desc hr {
  margin: 12px 0 !important;
}

input.c-searchForm__s {
  padding: 10px 44px 10px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 -10px 20px 0 rgba(242, 242, 242, 0.7), 0 10px 20px 0 rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.05);
}

.c-searchForm__submit {
  background-color: transparent !important;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border: none !important;
  border-left: 0.5px solid hsla(0, 0%, 78%, 0.5) !important;
}

.c-searchForm__submit::before {
  color: rgba(0, 86, 155, 1);
  font-weight: bold;
}

.c-searchForm__submit:hover {
  background-color: #00569b !important;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  opacity: 1;
  transition: all 0.3s ease;
}

.c-searchForm__submit:hover::before {
  color: #fff;
}

.c-pagination .page-numbers.current {
  background-color: #00569b;
}

@media (max-width: 781px) {
  .w-frontTop .c-widget.widget_swell_popular_posts,
  .w-frontTop .c-widget.widget_swell_new_posts {
    padding: 60px 30px 40px 30px;
  }

  .w-frontTop .c-widget.widget_swell_popular_posts .p-postList.-type-card,
  .w-frontTop .c-widget.widget_swell_new_posts .p-postList.-type-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .w-frontTop .button-wrapper {
    padding: 0 30px 60px 30px;
  }

  .w-frontTop .reviewer .desc p {
    font-size: 16px;
  }
}

/* トップ */

/* footer */
@media screen and (min-width: 1241px) {
  .l-footer .l-container {
    padding: 0;
  }
}

.l-footer {
  margin-top: 160px;
  padding: 70px 0 26px 0;
  background: #4d4d4d;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 1);
}

.l-footer__foot {
  padding-bottom: 0;
  padding-top: 0;
}

.l-footer .l-container {
  max-width: 1280px;
  padding: 0 30px;
  color: rgba(255, 255, 255, 1);
}

/* ===================== FOOTER NAV ===================== */
.l-footer__nav {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: auto;
  justify-content: space-between;
  color: rgba(255, 255, 255, 1);
  padding: 0;
}

.l-footer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.8rem;
  color: rgba(215, 215, 215, 0.8);
}

.l-footer__nav a {
  padding: 0.25em 0;
  line-height: 1.2;
  margin-bottom: 0.8em;
  font-size: 12.5px;
}

.l-footer__nav a:hover {
  text-decoration: none;
  color: white;
}

.l-footer .menu-item.menu-item-has-children > a {
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28.8px;
  cursor: default;
  position: relative;
  padding: 0;
  line-height: 1.2;
  font-size: 13px;
}

.l-footer .menu-item-has-children {
  padding: 0 12px;
}

.footer-bottom {
  margin-top: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left {
  padding-left: 16px;
  display: flex;
  gap: 40px;
}

.footer-bottom p {
  font-size: 1.2rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 1);
}

.footer-bottom-right {
  padding-right: 42px;
}

.footer-bottom-right .footer-menu {
  display: flex;
}

.footer-bottom-right a {
  font-size: 13px;
  display: inline-block;
  margin-left: 13px;
  color: rgba(215, 215, 215, 0.8);
  text-decoration: none;
}

.c-pagination .page-numbers:hover {
  background-color: #00569b;
}

.hov-bg-main:hover {
  background-color:  #00569b!important;
  color: #fff !important;
}

@media screen and (max-width: 1240px) {
  .l-footer {
    margin-top: 100px;
  }

  .l-footer__nav {
    grid-template-columns: 1fr;
    gap: 0;
    grid-auto-rows: auto;
  }

  .l-footer .menu-item.menu-item-has-children > a {
    margin-bottom: 0;
    padding: 0.9em 0;
  }

  .l-footer .sub-menu > li {
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
  }

  .l-footer .sub-menu > li a {
    display: inline-block;
    width: 100%;
  }

  /* ===================== SUB MENU ===================== */
  .l-footer .sub-menu {
    display: none;
    padding: 0 0 0 15px;
  }

  .l-footer .menu-item-has-children.open > .sub-menu {
    display: block;
  }

  .l-footer .menu-item-has-children > a {
    width: 100%;
    font-weight: bold;
    line-height: 1.2;
  }

  /* ===================== MENU ITEM BORDERS ===================== */
  .l-footer .l-footer__nav .menu-item.menu-item-has-children {
    border-bottom: 1px solid #666;
    max-height: 38.4px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
  }

  .l-footer .l-footer__nav .menu-item.menu-item-has-children:first-child {
    border-top: 1px solid #666;
  }

  .l-footer .l-footer__nav .menu-item.menu-item-has-children.open {
    max-height: 50rem;
  }

  /* ===================== ICON PLUS ===================== */
  .l-footer .icon__plus {
    display: inline-block;
    width: 8px;
    height: 8px;
    top: 16px;
    position: absolute;
    right: 0;
    cursor: pointer;
  }

  .l-footer .icon__plus .line1,
  .l-footer .icon__plus .line2 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ffffff;
    transition: transform 0.3s ease;
  }

  .l-footer .icon__plus .line1 {
    transform: translateY(-50%);
  }

  .l-footer .icon__plus .line2 {
    transform: translateY(-50%) rotate(90deg);
  }

  .l-footer .open .icon__plus .line2 {
    transform: translateY(-50%) rotate(0deg);
  }

  .footer-bottom {
    margin-top: 20px;
    flex-direction: column-reverse;
  }

  .footer-bottom-right .footer-menu {
    gap: 13px;
  }

  .footer-bottom-right {
    padding-bottom: 20px;
    padding-right: 0;
  }

  .footer-bottom-right a:first-child {
    margin-left: 0px;
  }

  .footer-bottom-left {
    align-items: center;
    gap: 16px;
    padding-left: 0;
  }

  .footer-bottom-left .copyright__logo {
    max-width: 118px;
  }

  .copyright {
    display: inline-block;
    width: 100%;
    text-align: left;
  }
}

@media (min-width: 600px) {
  .l-footer__nav a {
    border-right: none;
  }

  .l-footer__nav li:first-child a {
    border-left: none;
  }
}

/* footer */
