@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* ヘッダーロゴサイズ調整（PC） */
@media only screen and (min-width: 1081px) {
  #inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desktop-nav.clearfix {
    margin-left: auto;
    margin-right: 0;
  }

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

  .desktop-nav li a {
    font-size: 14px;
    padding: 0 4px;
  }
}

@media only screen and (max-width: 1200px) and (min-width: 1081px) {
  #logo img {
    width: 160px !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ヘッダー内要素の縦位置調整 */
#inner-header {
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

#logo {
  height: auto !important;
  line-height: normal !important;
}

/* ヘッダーロゴサイズ調整（PC） */
@media only screen and (min-width: 1081px) {
  #logo img {
    width: 209px;
    height: auto;
    padding: 0 !important;
  }
}

/* mobile-nav 非表示、ロゴ高さ調整（SP） */
@media only screen and (max-width: 1080px) {
  #inner-header {
    justify-content: center;
  }

  .desktop-nav ul {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }

  #logo {
    height: auto;
  }
}
@media only screen and (max-width: 1080px) {
  #logo img {
    width: 209px !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
  }
}
.footer .my-widget__text,
.footer .widget ul li a {
  opacity: 1 !important;
}

.l-header__contact {
  display: none;
}

.l-header__contact__detail {
  display: flex;
}

.l-header__contact__detail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 68px;
  padding: 10px 16px;
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  text-decoration: none;
}

.l-header__contact__detail a.is-red {
  background-color: #ee3e3e;
  border: solid 1px #ee3e3e;
  color: #fff;
}

@media (min-width: 1081px) {
  .l-header__contact__detail a.is-red {
    width: 247px;
    margin: 0;
  }
}

.l-header__contact__detail a.is-white {
  background-color: #fff;
  border: solid 1px #000;
  color: #000;
}

@media (min-width: 1081px) {
  .l-header__contact__detail a.is-white {
    width: 228px;
  }
}

.l-header__contact__detail a .japanai-contact-cta__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.l-header__contact__detail a .japanai-contact-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.l-header__contact__detail a .japanai-contact-cta__icon img {
  display: block;
}

.l-header__contact__detail a .japanai-contact-cta__sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 1081px) {
  .l-header__contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 508px;
    margin-left: 16px;
    float: right;
  }

  .l-header__contact__detail:first-child {
    flex: 0 0 240px;
  }

  .l-header__contact__detail:last-child {
    flex: 0 0 260px;
  }

  .l-header__contact__detail a.is-white {
    width: 240px;
  }

  .l-header__contact__detail a.is-red {
    width: 260px;
    margin: 0;
  }
}

#header-image .japanai-fv-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 483px;
  margin: 0;
  padding: 0;
}

#header-image .japanai-fv-contact .l-header__contact__detail {
  width: 100%;
}

@media (min-width: 1081px) {
  #header-image .japanai-fv-contact {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  #header-image .japanai-fv-contact .l-header__contact__detail:first-child {
    flex: 0 0 240px;
  }

  #header-image .japanai-fv-contact .l-header__contact__detail:last-child {
    flex: 0 0 260px;
  }
}
/* フッター内のリスト枠線を解除 */
.footer .wp-block-list:not([class*=is-style-sango-list]) {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}
.wp-block-image img {
  width: 158px !important;
  height: auto !important;
}
.footer .widget:not(.my_profile) {
  margin-top: 0;
}

.ft_widget.widget.widget_block {
  margin-bottom: 0;
}

.wp-block-list {
  padding: 1em 1em 1em 1em;
}
.ft_widget.widget.widget_block .wp-block-heading {
  margin-bottom: 0;
}
.wp-block-categories-list.wp-block-categories {
  padding: 1em;
}
.ft_widget.widget.widget_block .wp-block-heading {
  border-left: solid 3px #fff;
  padding-left: 12px;
}
#footer-menu {
  background-color: #000 !important;
}

#footer-menu a {
  color: #fff !important;
}

#footer-menu .copyright.dfont {
  color: #fff !important;
}
.header-image__text {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
}

#header-image {
  height: 450px;
}

.header-image__headline {
  color: #000;
  font-size: 3em;
  margin: 0 0 32px !important;
}

.header-image__descr {
  color: #000;
  font-size: 1em;
  margin: 0 0 32px !important;
}

.header-image__btn .raised {
  font-size: 16px;
  font-weight: bold;
  padding: 24px;
}
@media only screen and (max-width: 768px) {
  .header-image__headline {
    font-size: 2em !important;
  }
}

@media only screen and (max-width: 480px) {
  .header-image__headline {
    font-size: 1.6em !important;
  }
}
@media only screen and (max-width: 480px) {
  .header-image__btn .raised {
    font-size: 14px !important;
    padding: 20px !important;
  }
}
.header-image__btn .raised.rippler.rippler-default::after {
  content: "サービス内容や料金が載っています";
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #fff;
  text-align: center;
}
@media only screen and (max-width: 1080px) {
    .mobile-nav {
        display: block !important;
    }
}
.wp-block-image img {
    width: auto !important;
}
.cat-name {
	left: auto;
	right: 13px;
}
.cta-download-btn,
.cta-btn .raised {
  display: inline-block;
  background: #ee3e3e !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: bold;
  padding: 24px !important;
  text-decoration: none;
}

.wp-block-japanai-cta .header-image__btn {
  margin-bottom: 6px;
  text-align: center;
}

.wp-block-japanai-cta .header-image__btn .raised {
  border-radius: 8px !important;
  overflow: hidden;
}

.wp-block-japanai-cta .cta-btn .raised .cta-main-text {
  display: block;
}

.wp-block-japanai-cta .cta-btn .raised .cta-note-text {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.ss-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.65);
}

#ss-popup-banner.ss-popup-banner-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: min(92vw, 560px);
}

#ss-popup-banner #closePopup {
  position: absolute;
  top: -36px;
  right: -6px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

#ss-popup-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hide legacy sponsored CTA box */
.sponsored .cta-download-box {
  display: none !important;
}

.single #inner-content,
.post-type-archive #inner-content {
  max-width: 1376px !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

#inner-header {
  max-width: 1376px !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

#inner-footer {
  max-width: 1376px !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1081px) {
  .l-header.js-header {
    height: 80px;
    min-height: 80px;
  }
}
.entry-content h2 {
    margin: 2.5em 0 .7em;
    font-size: 1.4em;
    line-height: 1.6;
    font-size: 28px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: solid 1px #D7D7D7;
    position: relative;
}
.entry-content h2:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 1px;
    background: #EE3E3E;
    left: 0;
    bottom: 0;
}

.entry-content h3 {
    margin: 2.6em 0 .7em;
    padding: 10px 0 10px 10px;
    border-left-width: 4px;
    border-left-style: solid;
    font-size: 1.2em;
    line-height: 1.5;
    color: #000;
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 24px;
    padding: 20px 24px;
    background-color: #F9F9F9;
    border: none;
}
mark {
	font-weight: bold;
	background-color: #ff9;
}
.entry-content ul,
.entry-content ol {
    border: none;
}
#toc_container {
	border: 1px solid rgba(24, 44, 84, 0.2);
	box-shadow: none;
}
.fixed-banner {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 240px;
    height: auto;
    z-index: 9;
}

#fixed_sidebar #block-12 {
  margin-bottom: 0;
}

.japanai-sidebar-checklist {
  margin: 0 0 28px;
}

.japanai-sidebar-checklist__title {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.japanai-sidebar-checklist__list {
  margin: 0;
  padding: 30px 28px;
  list-style: none;
  border: 0;
  border-radius: 20px;
  background: #f7f7f7;
}

.japanai-sidebar-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.japanai-sidebar-checklist__item + .japanai-sidebar-checklist__item {
  margin-top: 22px;
}

.japanai-sidebar-checklist__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 6px;
  border-radius: 4px;
  background: #ef4343;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.japanai-sidebar-checklist__text {
  display: block;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

@media only screen and (max-width: 1080px) {
  .japanai-sidebar-checklist {
    margin-bottom: 24px;
  }

  .japanai-sidebar-checklist__title {
    font-size: 22px !important;
  }

  .japanai-sidebar-checklist__list {
    padding: 24px 22px;
    border-radius: 16px;
  }

  .japanai-sidebar-checklist__text {
    font-size: 16px;
  }
}
#content .wp-block-list {
  border: none;
}