@charset "utf-8";
/**
 * Theme Name: Custom Theme
 * Description: custom theme style sheet
 */

/* pager */
#pager {
  margin: auto;
  overflow: hidden;
}
#pager:before,
#pager:after {
  content: "";
  display: block;
  overflow: hidden;
}
#pager a {
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
#pager a:hover {
  background: #4d984d;
}
#pager .pages,
#pager .current,
#pager .extend,
#pager a {
  float: left;
  display: block;
  text-decoration: none;
  line-height: 20px;
  color: #333;
  background: #0d5279;
  border-radius: 4px;
}
#pager a {
  color: #fff;
}
#pager .pages,
#pager .current {
  background: #dedede;
}

@media screen and (max-width: 1024px) {
  #pager .pages,
  #pager .current,
  #pager .extend,
  #pager a {
    margin: 0 0 0 5px;
    padding: 4px 10px;
  }
}

@media screen and (min-width: 1025px) {
  #pager .pages,
  #pager .current,
  #pager .extend,
  #pager a {
    margin: 0 0 0 3px;
    padding: 2px 8px;
  }
}
/* pager-single */
#pager-single {
  clear: both;
  margin: 20px 0;
  padding: 10px 0 0;
  text-align: center;
}
#pager-single ul {
  width: 100%;
  margin: 0 auto;
}
#pager-single ul li {
  float: left;
  display: inline-block;
  width: 33%;
  min-height: 1px;
}
#pager-single ul li a {
  display: inline-block;
  font-weight: bold;
  font-size: 0.9em;
}
#pager-single ul li#prev {
  text-align: left;
}
#pager-single ul li#next {
  text-align: right;
}
#pager-single ul li#back {
  text-align: center;
}

/* SP SearchForm */
.sp-searchform {
  padding: 10px;
  text-align: center;
  background: #f7f7f7;
}
.sp-searchform #wp-search-wrapper {
  padding: 1.5rem 0;
  line-height: 1;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}
.sp-searchform #wp-searchform {
  letter-spacing: -0.4em;
}
.sp-searchform #wp-searchform div .screen-reader-text {
  display: none;
}
.sp-searchform #wp-searchform input {
  letter-spacing: normal;
  display: inline-block;
  vertical-align: middle;
  font-family: "メイリオ", Meiryo, Verdana, Arial, sans-serif;
  font-size: 16px;
  color: #4d4d4d;
}
.sp-searchform #wp-searchform input#s {
  width: 84%;
  height: 26px;
  margin: 0;
  padding: 4px !important;
  font-size: 16px;
  outline: none;
  background: rgb(255, 255, 255);
  border: solid 1px #ffa900;
  border-radius: 0;
}
.sp-searchform #wp-searchform input[type="image"] {
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 5px;
  width: 24px;
  height: 24px;
  background: #ffa900;
  border: solid 1px #ffa900;
  cursor: pointer;
  filter: none;
  border-radius: 0;
}
.sp-searchform #wp-searchform input[type="image"]:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/* Placeholder */
.sp-searchform #wp-searchform input#s::-webkit-input-placeholder {
  padding: 3px 0 0 3px;
  font-size: 13px;
}
.sp-searchform #wp-searchform input#s::-moz-placeholder {
  padding: 3px 0 0 3px;
  font-size: 13px;
}
.sp-searchform #wp-searchform input#s:-ms-input-placeholder {
  height: 24px;
  font-size: 13px;
  color: #999;
}
/* Editor-style */
body.mceContentBody {
  font-family: "メイリオ", meiryo, Verdana, sans-serif;
  font-size: 13px;
}
.editor-area p {
  clear: both;
  margin: 0 0 0.5em 0;
  padding: 0;
}
.editor-area a {
  color: #2e8ece;
}
.editor-area .alignleft,
.editor-area .alignright {
  float: none;
}

/*-- APPEND ----------------------------------------------------------------*/

iframe.wp-embedded-content {
  width: 100%;
}

.youtube {
  position: relative;
  max-width: 100%;
  padding-top: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

nav.cf.pc ul {
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 1025px) {
  nav ul li {
    padding: 5px 4%;
  }
}

.single,
.page {
  nav ul li span {
    color: #bc1548 !important;
  }

  @media (width <= 767px) {
    nav ul li {
      background: #bd1548 !important;
    }
  }

  #h_logo p a:visited {
    color: #bd1548 !important;
  }

  h2.ttl01 {
    color: #bc1548 !important;
  }

  #h_logo p a:link {
    color: #bc1548 !important;
  }

  #h_logo .company_name span {
    color: #bc1548 !important;
  }

  footer.cf {
    background: #ce4343 !important;
  }
  .f_copy_area {
    background: #ce4343 !important;
  }
}

.f_box01 {
  .fltR {
    .f_box02_tel {
      @media (width <= 390px) {
        font-size: 25px;
      }
    }
  }
}

#ts-fab-below {
  .screen-reader-text {
    display: none;
  }
  .ts-fab-list {
    display: none;
  }
  div#ts-fab-latest-posts-below {
    display: none;
  }
}

header {
  @media (width <= 769px) {
    position: fixed;
    top: 0px;
    background-color: white;
    z-index: 9999;
    width: 100%;
  }
}
@media screen and (max-width: 960px) {
  .sp_tab {
    display: flex;
  }
}
@media (width <= 768px) {
  div#h_logo {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    .company_name {
      margin-top: 0px;
    }
  }
}
.cf.h_logoarea {
  padding: 8px 0px;
  #h_contact {
    .sp_tab {
      .sht {
        img {
          width: 55px;
        }
      }
      .shm {
        max-width: 40px;
        img {
          width: 40px;
        }
      }
      .sht,
      shm {
        margin-left: 0px;
      }
    }
  }
}
.ham {
  display: block;

  .new-sp-menu {
    display: flex;
    align-items: center;
    .hamburger {
      display: block;
      border: none;
      background: none;
      cursor: pointer;
      padding: 0;
      width: 40px;
      height: 34px;
      position: relative;
      z-index: 1001;
      .hamburger-line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        position: absolute;
        transition: all 0.3s;
      }
      .hamburger-line:nth-child(1) {
        top: 0;
      }
      .hamburger-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
      }
      .hamburger-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
      }
      .hamburger-line:nth-child(3) {
        bottom: 0;
      }
      &.is-active {
        .hamburger-line:nth-child(3) {
          transform: translateY(-12px) rotate(-45deg);
        }
        .hamburger-line:nth-child(2) {
          display: none;
        }
        .hamburger-line:nth-child(1) {
          transform: translateY(20px) rotate(45deg);
        }
      }
    }
    .sp-menu {
      position: fixed;
      top: 80px;
      bottom: 0px;
      left: 0;
      width: 100%;
      height: calc(100vh - 54px);
      background-color: #fff;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
      z-index: 1000;
      overflow-y: auto;
      &.is-active {
        transform: translateX(0);
      }
      ul {
        height: auto;
      }
      .sp-ul {
        min-height: 1100px;
        .t-visit {
          text-align: center;
          padding: 36px 0 36px 0;
          p {
            font-weight: bold;
          }
          .visit-button {
            position: relative;
            margin-inline: auto;
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            span {
              color: black !important;
            }
            button {
              width: clamp(300px, 90%, 560px);
              padding: 22px 40px;
              text-align: center;
              color: white;
              border-radius: 32px;
              border: none;
              position: relative;
              font-weight: 700;
              letter-spacing: 0.5px;
              font-size: 16px;
              border-radius: 40px;
            }
            .line {
              border: 3px solid #06c152;
              background-color: #06c152;
              box-shadow: 0px 5px 0px #30693f;
            }
            .tel {
              background-color: #ce4343;
              background: linear-gradient(50deg, #e6652d 50%, #ffa400);
              box-shadow: 0px 5px 0px #6f4003;
              background-color: unset;
              border: none !important;
            }
            .web {
              background: linear-gradient(50deg, #309cd7 50%, #30b9d7);
              box-shadow: 0px 5px 0px #024059;
            }
          }
        }
        .sp-menu-toc {
          display: flex;
          flex-direction: column;
          height: 350px;
          a {
            padding: 16px;
            font-size: 16px;
            border: 0.5px solid #ddd;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  #h_contact {
    float: right;
    width: 40%;
    max-width: 200px;
  }
}
@media (width <= 768px) {
  .cf.h_logoarea {
    display: flex;
    justify-content: space-between;
    gap: 5px;
  }
  #h_logo div {
    float: left;
    margin-right: 1%;
    width: 16%;
    max-width: 40px;
  }
}

@media screen and (max-width: 960px) {
  .sp_tab {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    align-items: center;
  }
}

@media screen and (max-width: 767px) {
  #h_logo .company_name span {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 782px) {
  #sup {
    margin-top: 0px !important;
  }
}

.archive {
  @media screen and (max-width: 767px) {
    nav ul li {
      background: #bc1548 !important;
    }
  }
  .cf span,
  h2.ttl01 {
    color: #bc1548 !important;
  }
  h1 {
    span {
      color: black !important;
    }
    @media (width <= 768px) {
      .sp {
        color: white !important;
      }
    }
  }
  .breadcrumbs {
    span {
      color: black !important;
      a {
        color: black !important;
        span {
          color: black !important;
        }
      }
    }
  }
  footer {
    background: #bc1548 !important;
  }
  .f_copy_area {
    background: #bc1548 !important;
  }
  @media screen and (max-width: 767px) {
    #copyright {
      background: #bc1548 !important;
    }
  }
}
.single {
  @media screen and (max-width: 767px) {
    #copyright {
      background: #bc1548 !important;
    }
  }
}

.cf-old {
  display: none;
}
.footarea-new {
  background-color: #ce4343;
  display: block;
  margin-bottom: 109px;
  padding: 24px;
  .foot-in {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 24px;
    ul {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      li {
        a {
          color: white;
          word-break: keep-all;
        }
      }
    }
  }
  #copyright {
    margin-inline: auto !important;
    width: 100%;
    text-align: center;
    background-color: #ce4343 !important;
  }
}
.cf-new {
  display: block;
  .g_box {
    position: relative;
    .in-li-flex {
      .li-R.f-tel-tap02 {
        span {
          color: white !important;
        }
      }
    }
  }
  @media screen and (min-width: 768px) {
    .footer-nav-flex {
      display: flex;
      justify-content: flex-end;

      li {
        padding: 5px 10px;
        border-radius: 6px 6px 0 0;
        display: flex;
        align-items: center;

        .li-L {
          line-height: 1;
          margin-bottom: 0px;
          margin-right: 10%;
        }
        .lt {
          font-weight: bold;
        }
        .in-li-flex {
          display: flex;
          justify-content: flex-start;
          align-items: center;
        }

        p {
          margin-bottom: 0px;
        }

        &:nth-child(1) {
          border: 3px solid #fff;
          order: 2;
          width: 50%;
          margin-right: 1%;
          background: #ff9900;
          border-radius: 6px 6px 6px 6px;
          padding: 0px 0px;

          .li-L {
            font-size: 0.9rem;
            font-weight: normal;
            width: 26%;
            line-height: 1.5;
            color: #fff;
            margin-right: 4%;
            padding: 10px 10px;
            background: #ff6a00;
            position: relative;

            &:after {
              content: "";
              width: 0;
              height: 0;
              border-style: solid;
              border-width: 15px 0 15px 15px;
              border-color: transparent transparent transparent #ff6a00;
              position: absolute;
              right: -15px;
              top: 50%;
              transform: translateY(-50%);
            }
          }

          .li-R {
            width: 66%;
            padding-left: 2%;
          }

          .no-anim {
            width: 100%;
          }
        }

        &:nth-child(2) {
          border: 3px solid #4ba36f;
          order: 1;
          width: 23%;
          margin-right: 1%;
          background: #06c152;
          border-bottom: 5px solid #105f30;

          .li-L {
            font-size: 2rem;

            .fa-line {
              color: #fff;
            }
          }

          .lt {
            color: #fff;
            font-size: 0.9rem;
            word-break: keep-all;
          }
        }

        &:nth-child(3) {
          border: 3px solid #4f82b7;
          order: 3;
          width: 23%;
          background: #429efd;
          border-bottom: 5px solid #185593;

          .li-L {
            font-size: 2rem;

            .fa-laptop {
              color: #fff;
            }
          }

          .lt {
            color: #fff;
            word-break: keep-all;
            font-weight: bold;
          }
        }
      }
    }

    .f-tel-tap02 {
      text-align: left;
      font-size: 2.1rem;
      color: #fff;
      line-height: 1;
      word-break: keep-all;
    }

    .g_link {
      a {
        position: absolute;
        text-indent: -9999px;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
      }
    }
  }
  .f-contact li {
    width: 33%;
    height: 65px;
    padding-top: 10px;
  }
  @media screen and (max-width: 960px) {
    .g_box {
      position: relative;
    }
    .f-contact {
      position: fixed;
      left: 0;
      bottom: 0px;
      width: 100%;
      display: flex;
      justify-content: center;
      box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      padding: 1% 1%;
      background: #fff;
      box-sizing: border-box;
    }
    .f-contact li {
      width: 33%;
      height: 65px;
      padding-top: 10px;
    }
    .f-contact li p {
      margin-bottom: 0px;
    }
    .f-contact li .li-icon {
      margin-bottom: 5px;
      font-size: 1.5rem;
      line-height: 1;
    }
    .f-contact li .lt {
      margin-bottom: 5px;
      font-size: 0.8rem;
      line-height: 1.2;
    }
    .f-contact li:nth-child(1) .li-icon {
      text-align: center;
    }
    .f-contact li:nth-child(1) .lt {
      text-align: center;
    }
    .f-contact li:nth-child(2) .li-icon {
      text-align: center;
      color: #fff;
    }
    .f-contact li:nth-child(2) .lt {
      text-align: center;
    }
    .f-contact li:nth-child(3) .li-icon {
      text-align: center;
      color: #fff;
    }
    .f-contact li:nth-child(3) .lt {
      text-align: center;
    }
  }
  .f_pc_bnr.sp_tab {
    ul.cf.f-contact {
      .li-icon,
      .lt {
        color: #ffffff;
        text-align: center;
        font-weight: bold;
      }

      .tel {
        background-color: #ce4343;
        border: 3px solid #ce4343;
        .xsmall {
          color: white !important;
        }
      }

      .mail {
        background-color: #ffba00;
        border: 3px solid #ffba00;
      }

      .line {
        border: 3px solid #06c152;
        background-color: #06c152;
      }
    }
    .g_link a {
      position: absolute;
      text-indent: -9999px;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
    }
  }
}

.custom-author-box {
  margin: 2em 0;
  font-family: inherit;

  /* タブリストのスタイル */
  ul.cab-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;

    li.cab-tab-item {
      margin: 0;
      list-style: none;
      padding-bottom: 0px;
      a {
        display: block;
        padding: 10px 20px;
        background-color: #f0f0f0; /* 非アクティブ時の背景色 */
        color: #333;
        text-decoration: none;
        font-size: 0.95em;
        font-weight: bold;
        transition:
          background-color 0.2s,
          color 0.2s;
      }

      /* アクティブなタブのスタイル */
      &.active a {
        background-color: #333; /* 枠線と同じ濃いグレー */
        color: #fff;
      }
    }
  }

  /* コンテンツを囲む枠 */
  .cab-content-wrapper {
    border: 2px solid #333;
    padding: 20px;
    background-color: #fff;

    .cab-tab-pane {
      display: none; /* デフォルトは非表示 */

      /* アクティブなコンテンツはFlexboxで横並びに */
      &.active {
        display: flex;
        gap: 15px;
      }

      /* アイコン画像部分 */
      .cab-avatar {
        flex-shrink: 0;

        img {
          width: 80px;
          height: 80px;
          object-fit: cover;
          border-radius: 2px;
        }
      }

      /* テキスト部分 */
      .cab-text {
        flex-grow: 1;

        .cab-header {
          margin-bottom: 10px;

          h4 {
            margin: 0;
            font-size: 1.1em;
            line-height: 1.4;

            a {
              color: #333;
              text-decoration: none;

              &:hover {
                text-decoration: underline;
              }
            }
          }
        }

        .cab-bio-text {
          font-size: 0.95em;
          line-height: 1.6;
          color: #444;
        }

        .latest-see-all {
          font-size: 0.8em;
          font-weight: normal;
        }

        .cab-latest-list {
          margin: 0;
          padding-left: 20px;
          font-size: 0.95em;
        }
      }
    }
  }
}

/* スマホ閲覧時（画面幅が狭い場合）は縦積みにする調整 */
@media (max-width: 500px) {
  .custom-author-box .cab-content-wrapper .cab-tab-pane.active {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* 目次 */

div#toc_container {
  background-color: #f9f9f9;
  padding: 24px;
  margin-bottom: 32px;
  border: solid 1px;
  li {
    list-style: none;
  }
}

.colum-cta {
  background-color: #ce4343;
  margin-inline: auto;
  display: block;
  width: clamp(448px, 50%, 520px);
  padding: 24px;
  color: white;
  text-decoration: none;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  span.colum-cta-heading {
    font-size: 20px;
    font-weight: bold;
  }

  a {
    color: white;
    text-decoration: none;
    &:hover {
    }
  }

  .colum-cta-in1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    .svg-inline--fa.fa-w-16 {
      width: 2em;
      height: 24px;
    }
  }

  .colum-cta-line {
    background-color: #12a73b;
    &:hover {
      background-color: #20913f;
    }
  }

  .colum-cta-contact {
    background-color: #007aff;
    :hover {
      background-color: #246bb9;
    }
  }

  .c-cta-up-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    height: 70px;
    width: clamp(200px, 30%, 320px);
    justify-content: space-around;
    border-radius: 8px;
    p {
      text-align: left;
      width: 160px;
      margin-bottom: 0px;
    }

    .svg-inline--fa {
      height: 20px;
      padding-left: 8px;
    }
  }

  .colum-cta-in2 {
    background-color: #ffa800;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 24px;
    &:hover {
      background-color: #eda313;
    }
  }

  .colum-cta-tel {
    span {
      font-size: 32px;
    }
    p {
      margin-bottom: 0px;
    }
    img {
      width: 40px;
    }
  }

  .colum-cta-tel p > span {
    font-size: 16px !important;
  }

  .colum-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .colum-cta {
    width: clamp(320px, 95%, 520px);
    padding: 12px;
    > P {
      font-size: 15px;
    }

    .c-cta-up-in {
      display: flex;
      align-items: center;
      border-radius: 8px;
      p {
        text-align: left;
        width: 115px;
        font-size: 14px;
      }

      .svg-inline--fa {
        height: 14px;
      }
    }

    .colum-cta-tel p > span {
      font-size: 14px !important;
    }
  }
}

.area-breadcrumb {
  padding: 8px;
  box-sizing: border-box;
  ol {
    display: flex;
    li {
      display: flex;
      word-break: keep-all;
      &:last-child {
        word-break: break-word;
      }
    }
  }
}

/* 著者ページ */
.page-author {
  .author-wrap {
    border: solid 2px;
    padding: 12px;
    margin-bottom: 100px;
    background-color: white;
    margin-top: -8px;
    h3 {
      background: none;
      border: none;
      margin-bottom: 0px;
      font-size: 18px;
      padding: 0.4em 0.5em;
    }
    .author-in-right {
      display: flex;
      align-items: center;
      gap: 20px;
      @media (width <= 430px) {
        flex-direction: column;
      }
      span {
        font-size: 20px;
        font-weight: bold;
      }
      img {
        width: 150px;
        border-radius: 100% !important;
      }
    }
    .author-in-left {
      ul {
        display: block;
        list-style-type: disc;
        margin-block-start: 1em;
        margin-block-end: 1em;
        padding-inline-start: 20px;
        unicode-bidi: isolate;
        @media (width <= 768px) {
          padding-inline-start: 0px;
        }
        li {
          list-style: disc;
          margin-left: 20px;
          padding-bottom: 5px;
          a {
            color: #2525cf;
          }
        }
      }
    }

    .certificate {
      margin: 0 auto;
      padding: 20px;
      .ce-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
      }
    }
  }
  .contact_bg {
    padding-top: 32px;
    padding-bottom: 32px;
    th {
      text-align: left;
    }
  }
}

/* 著者情報 */
#ts-fab-below {
  .author-headline {
    background-color: black;
    color: white;
    padding: 4px 8px;
  }

  h3 {
    background: none;
    border: none;
    margin-bottom: 0px;
    font-size: 18px;
  }

  p {
    margin-bottom: 8px;
  }

  .author-wrap {
    border: solid 2px;
    padding: 8px;
    margin-bottom: 100px;
    background-color: white;
    margin-top: 0px;
    .author-in-left {
      ul {
        padding-left: 24px;
        li {
          list-style-type: disc;
          a {
            color: blue;
            text-decoration: underline;
          }
        }
      }
    }
    .author-in-right {
      display: flex;
      align-items: center;
      gap: 20px;
      @media (width <= 430px) {
        flex-direction: column;
        gap: 0px;
      }
      span {
        font-size: 20px;
        font-weight: bold;
      }
    }
  }

  img {
    width: 150px;
    border-radius: 100%;
  }
}

.home {
  footer {
    background: #826da5 !important;
  }
  .footarea-new,
  #copyright {
    background: #826da5 !important;
  }
}
.postid-1590 {
  .colum-cta {
    display: none;
  }
  div#custom-author-box {
    display: none;
  }
}

#n-h1 {
  font-weight: normal;
  margin-bottom: 10px;
  font-size: 12px;
  @media (width < 768px) {
    font-weight: normal;
    margin-bottom: 2%;
    font-size: 12px;
    color: #fff !important;
    background: #333333;
    padding: 0.5% 1%;
    text-align: center;
  }
}
