@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Kaku+Gothic+New:wght@400;700&display=swap");

/*-----------------------------------
■ ブログ
-----------------------------------*/
#fixed {
  top: 0;
}

/*-----------------------------------
■ お問い合わせ、相談会フォーム
-----------------------------------*/
/* お問い合わせページ、相談会フォームページのグロナビ、パンくずリスト、TOPへ戻るボタンを非表示 */
.page-id-250 #global-nav,
.page-id-476 #global-nav,
.page-id-1355 #global-nav,
.parent-pageid-250 #global-nav,
.page-id-1360 #global-nav,
.parent-pageid-476 #global-nav,
.page-id-250 #header-right,
.page-id-476 #header-right,
.page-id-1355 #header-right,
.parent-pageid-250 #header-right,
.page-id-1360 #header-right,
.parent-pageid-476 #header-right,
.page-id-250 .breadcrumbs2,
.page-id-476 .breadcrumbs2,
.page-id-1355 .breadcrumbs2,
.parent-pageid-250 .breadcrumbs2,
.page-id-1360 .breadcrumbs2,
.parent-pageid-476 .breadcrumbs2,
.page-id-250 #page-top,
.page-id-476 #page-top,
.page-id-1355 #page-top,
.parent-pageid-250 #page-top,
.page-id-1360 #page-top,
.parent-pageid-476 #page-top,
.page-id-1355 #footer-in,
.parent-pageid-250 #footer-in,
.page-id-1360 #footer-in,
.parent-pageid-476 #footer-in {
  display: none;
}

/* お問い合わせページ、相談会フォームページの上部の余白を調整 */
.page-id-250 #main-to-footer02,
.page-id-476 #main-to-footer02 {
  top: 136px;
}

/* お問い合わせ */
#post-250 .entry-content {
  .container {
    display: flex;
    gap: 4.4%;

    .content {
      flex: 1;

      p {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0;
        color: #000;
      }

      figure {
        margin-top: 24px;

        img {
          width: 100%;
          object-fit: contain;
        }
      }
    }

    .form {
      box-sizing: border-box;
      width: min(53.5%, 578px);
      border: 1px solid #ddd;
      padding: 40px 32px 20px;
    }

    .form-title {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 2;
      letter-spacing: 0.04em;
      color: #000;
      padding: 0;
      border: none;
      text-align: center;
      margin-bottom: 28px;
    }
  }
}

.wpcf7 {
  p,
  table {
    margin: 0 !important;
  }

  form.wpcf7-form {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
      width: 100%;
      border: none;
      background-color: #f4f4f4;
      margin: 10px 0 0;
      padding: 8px 16px;
      box-sizing: border-box;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #000;
    }

    input::-webkit-input-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    input:-moz-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    input::-moz-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    input:-ms-input-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    textarea::-webkit-input-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    textarea:-moz-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    textarea::-moz-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }
    textarea:-ms-input-placeholder {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0;
      color: #d6d6d6;
    }

    .form_container .tr:not(:first-child) {
      margin-top: 16px;
    }

    .th {
      font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
      font-weight: 700;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0.04em;
      color: #000;
    }

    .req {
      margin-left: 10px;
      white-space: nowrap;
      padding: 5px 8px;
      font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
      font-weight: 700;
      font-size: 12px;
      line-height: 2;
      letter-spacing: 0.04em;
      color: #fff;
      background-color: #d0101b;
    }

    select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      position: relative;
      cursor: pointer;
    }
    .td:has(select) {
      position: relative;
    }
    .td:has(select)::before {
      content: "";
      position: absolute;
      z-index: 1;
      top: 50%;
      translate: 0 -50%;
      right: 20%;
      display: block;
      color: #404040;
      line-height: 1;
      width: 0.65em;
      height: 0.65em;
      border: 2px solid currentColor;
      border-left: 0;
      border-bottom: 0;
      box-sizing: border-box;
      transform: translateY(-25%) rotate(135deg);
    }

    textarea {
      height: 127px;
      resize: vertical;
    }

    .checkArea {
      margin-top: 16px;

      .wpcf7-list-item-label,
      .checkArea__pseudo-label {
        font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
        font-weight: 700;
        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.04em;
        color: #000;
      }

      .checkArea__pseudo-label {
        position: relative;
        text-decoration: none;
      }

      .checkArea__pseudo-label::before {
        content: "";
        width: 100%;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: -0.09em;
        background-color: #000;
      }

      .checkArea__pseudo-label:hover {
        text-decoration: none;
      }

      .checkArea__pseudo-label:hover::before {
        background-color: currentColor;
      }
    }

    /* 送信ボタン */
    input.wpcf7-submit,
    .step-btn {
      border: none;
      padding: 17.257px;
      width: 100%;
      border: 1px solid #d0101b;
      box-sizing: border-box;
      border-radius: 8px;
      background-color: #d0101b;
      font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
      font-weight: 700;
      font-size: 19.73px;
      line-height: 2;
      letter-spacing: 0.04em;
      color: #fff;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    input.wpcf7-submit:hover,
    .step-btn:hover {
      opacity: 0.8;
    }

    input.wpcf7-submit {
      margin: 24px 0 0;
    }

    .step-btn {
      /* margin: 60px 0 0; */
    }

    .step-btn:disabled {
      cursor: auto;
      filter: brightness(80%);
      opacity: 0.8;
    }

    .step-btn:disabled:hover {
      opacity: 0.8;
    }

    .step-btn-wrapper {
      margin: 60px 0 0;
      display: flex;
      justify-content: space-between;

      .ajax-loader {
        display: none;
      }
    }

    .step-btn.step-btn--back {
      width: 29.183%;
      background-color: #fff;
      color: #000;
    }

    .step-btn.step-btn--back + .step-btn,
    .step-btn.step-btn--back + input.wpcf7-submit {
      margin: 0;
      width: 65.37%;
    }

    .step-btn-wrapper:has(.wpcf7-submit) {
      margin-top: 28px;
    }

    /* デフォルトのデザイン打ち消し */
    input[type="checkbox"],
    input[type="radio"] {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

    span.wpcf7-list-item {
      margin: 0;
    }

    input[type="checkbox"] + .wpcf7-list-item-label,
    input[type="radio"] + .wpcf7-list-item-label {
      cursor: pointer;
      display: inline-block;
      position: relative;
    }
    input[type="checkbox"] + .wpcf7-list-item-label {
      padding: 0 0 0 27px;
    }
    input[type="radio"] + .wpcf7-list-item-label {
      margin-top: 10px;
      padding: 0px 10px 0 30px;
      font-size: 16px;
    }
    /* チェックされたら表示 */
    input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
    input[type="radio"]:checked + .wpcf7-list-item-label::after {
      opacity: 1;
    }

    /* チェックボックス */
    input[type="checkbox"] + .wpcf7-list-item-label::before {
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      position: absolute;
      top: 50%;
      left: 1px;
      transform: translateY(-50%);
      border: 1px solid #777;
      box-sizing: border-box;
    }

    /* チェックのアイコン */
    input[type="checkbox"] + .wpcf7-list-item-label::after {
      content: "";
      display: block;
      width: 5px;
      height: 9px;
      position: absolute;
      top: 50%;
      left: 3px;
      transform: rotate(35deg) skewY(16deg) translateY(-50%);
      transform-origin: center right;
      border-right: 2px solid #000;
      border-bottom: 2px solid #000;
      opacity: 0; /* 透明 */
      box-sizing: border-box;
    }

    /* ラジオボタン */
    input[type="radio"] + .wpcf7-list-item-label::before {
      content: "";
      display: block;
      width: 16px;
      height: 16px;
      position: absolute;
      left: 5px;
      top: 50%;
      transform: translateY(-50%);
      border: 1px solid #777;
      border-radius: 50%;
    }

    /* ラジオボタンのアイコン */
    input[type="radio"] + .wpcf7-list-item-label::after {
      content: "";
      display: block;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #d0101b;
      position: absolute;
      top: 50%;
      left: 8px;
      transform: translateY(-50%);
      opacity: 0; /* 透明 */
    }
  }
}

/* 相談会フォーム */
#post-476 .entry-content {
  * {
    box-sizing: border-box;
  }

  .conts {
    padding: 0;
  }

  .step-process {
    border-radius: 16px;
    border: 2px solid #666;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
  }

  .step-status {
    list-style: none;
    margin: 0;
    padding-block: 26px;
    background-color: #f4f4f4;
    text-align: center;
    position: relative;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #666;
  }

  .step-status:first-child,
  .step-status:nth-child(2) {
    width: 25%;
  }
  .step-status:nth-child(3) {
    width: 28%;
  }
  .step-status:last-child {
    flex: 1;
  }

  .step-status:nth-child(2) span,
  .step-status:nth-child(3) span {
    display: inline-block;
    translate: 0.6em;
  }

  .step-status:not(:last-child)::before,
  .step-status:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 39px solid transparent;
    border-bottom: 39px solid transparent;
    border-left: 24px solid #fff;
    border-right: 0;
    z-index: 1;
  }
  .step-status:not(:last-child)::before {
    border-left: 24px solid #666;
    right: -26.3px;
  }
  .step-status:not(:last-child)::after {
    right: -24px;
    border-left: 24px solid #f4f4f4;
  }
  .step-status.current {
    background-color: #fff;
    color: #d0101b;
  }
  .step-status.current::after {
    border-left: 24px solid #fff;
  }
  .step-status br {
    display: none;
  }

  .step-heading {
    display: none;
  }
  .step-heading.current {
    display: block;
  }

  .container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;

    .content {
      width: 40.5%;

      p {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0;
        color: #000;
      }

      figure {
        margin-top: 24px;

        img {
          width: 100%;
          object-fit: contain;
        }
      }
    }

    .form {
      width: 57.142%;
    }

    .step-form-wrapper {
      box-sizing: border-box;
      border: 1px solid #404040;
      border-radius: 12px;
      padding: 30px;
      display: none;
    }
    .step-form-wrapper.current {
      display: block;
    }

    .table-contactform7 {
      width: 100%;
      border: none;

      tbody {
        display: block;
      }

      tr {
        display: flex;
        flex-direction: column;
      }

      th,
      td {
        border: none;
        padding-inline: 0;
      }

      th {
        margin-top: 4px;
        width: 100%;
        background-color: transparent;
      }

      td {
        font-size: 16px;
      }

      .required-contactform7 {
        border-radius: 4px;
        padding: 5px 10px;
        background-color: #d0101b;
        letter-spacing: 0.05em;
        font-weight: 500;
        font-size: 14px;
        margin-right: 10px;
      }

      .title-contactform7 {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.05em;
      }

      .wpcf7-form-control.wpcf7-date {
        border: none;
        padding: 10px 15px;
        border-radius: 4px;
        background-color: #f4f4f4;
        margin: 5px 0;
      }

      .frame {
        margin-top: 20px;
        border: 1px solid #969696 !important;
        border-radius: 12px;
        padding: 10px 20px;
        font-size: 14px;
        letter-spacing: 0;
        line-height: 1.8;
        color: #404040;

        ul,
        li {
          margin: 0;
        }
        li {
          list-style: none;
          text-indent: -2em;
          padding-left: 2em;
        }
      }

      .wpcf7-form-control-wrap.sales-year select,
      .wpcf7-form-control-wrap.borrow select {
        margin: 0;
        width: 200px;
      }
      tr:has(.wpcf7-form-control-wrap.sales-year) th,
      tr:has(.wpcf7-form-control-wrap.borrow) th {
        margin-top: 10px;
        padding-bottom: 0.1em;
      }
      tr:has(.wpcf7-form-control-wrap.sales-year) td,
      tr:has(.wpcf7-form-control-wrap.borrow) td {
        padding-top: 0;
      }

      tr:has(.wpcf7-form-control-wrap.sales-year) .arrow,
      tr:has(.wpcf7-form-control-wrap.borrow) .arrow {
        position: relative;
        display: inline-block;
        width: 12px;
        height: 6px;
        margin-left: -48px;
      }

      tr:has(.wpcf7-form-control-wrap.sales-year) .arrow::before,
      tr:has(.wpcf7-form-control-wrap.sales-year) .arrow::after,
      tr:has(.wpcf7-form-control-wrap.borrow) .arrow::before,
      tr:has(.wpcf7-form-control-wrap.borrow) .arrow::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: calc(50% - 1px);
        width: 2px;
        height: 8.4px;
        border-radius: 9999px;
        background-color: #000000;
        transform-origin: 50% calc(100% - 1px);
      }

      tr:has(.wpcf7-form-control-wrap.sales-year) .arrow::before,
      tr:has(.wpcf7-form-control-wrap.borrow) .arrow::before {
        transform: rotate(47.75deg);
      }

      tr:has(.wpcf7-form-control-wrap.sales-year) .arrow::after,
      tr:has(.wpcf7-form-control-wrap.borrow) .arrow::after {
        transform: rotate(-47.75deg);
      }
    }

    .table-contactform7.--table3 {
      th {
        margin-top: 16px;
        padding-bottom: 0;
      }

      tr:first-child th {
        margin-top: 0;
      }

      td {
        padding: 0;
      }
    }
  }
  .container > p {
    display: none;
  }
}
#main-in:has(#post-476) {
  width: min(1160px, 100%);
  padding-inline: 20px;
  box-sizing: border-box;
}

/* お問い合わせ完了 */
.page-id-1355,
.parent-pageid-250,
.page-id-1360,
.parent-pageid-476 {
  #main-contents h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #262121;
    padding: 0;
    text-align: center;
    border: none;
  }

  #main-contents p {
    margin-top: 32px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #262121;
    text-align: center;
  }

  #main-contents a {
    margin: 48px auto 0;
    display: block;
    width: min(100%, 600px);
    padding-block: 26.785px;
    border-radius: 8px;
    background-color: #d0101b;
    text-transform: uppercase;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  #main-contents a:hover {
    opacity: 0.8;
  }
}
.wpcf7-form.sent .wpcf7-response-output {
  display: none !important;
}

@media only screen and (max-width: 999px) {
  #post-250 .entry-content {
    * {
      box-sizing: border-box;
    }

    .container {
      flex-direction: column;
      gap: 15px;

      .form {
        width: 100%;
        padding: 30px 20px 10px;
      }
    }
  }

  #post-476 .entry-content {
    .container {
      flex-direction: column;
      gap: 20px;

      .content,
      .form {
        width: 100%;
      }

      .table-contactform7 {
        th {
          text-align: left !important;
        }
      }
    }

    .step-status {
      font-size: min(4vw, 15px);
    }
    .step-status:first-child {
      width: 20%;
    }
    .step-status:nth-child(2) {
      width: 25%;
    }
    .step-status:nth-child(3) {
      width: 30%;
    }
    .step-status span {
      position: relative;
      z-index: 10;
    }
    .step-status:first-child span {
      translate: 0.8em;
    }
    .step-status:nth-child(2) span {
      translate: 1.2em;
    }
    .step-status:nth-child(3) span {
      translate: 1.4em;
    }
    .step-status:last-child span {
      translate: 0.8em;
    }
  }
  #main-in:has(#post-476) {
    padding-inline: 0;
  }

  .page-id-250 #footer,
  .page-id-476 #footer {
    padding: 0;
  }

  .wpcf7 {
    form.wpcf7-form {
      textarea,
      input {
        max-width: 100%;
      }

      input.wpcf7-submit,
      .step-btn {
        padding: 10px;
      }
    }
  }
}

@media only screen and (max-width: 599px) {
  #post-476 .entry-content {
    .step-status {
      padding-block: 8px;
      text-align: left;
      line-height: 1.1;
      display: grid;
      place-content: center;
    }
    .step-status br {
      display: block;
    }
  }

  .wpcf7 {
    form.wpcf7-form {
      input.wpcf7-submit,
      .step-btn {
        padding-inline: 5px;
        font-size: min(4.8vw, 18px);
      }
    }
  }
}

/*-----------------------------------
■ ブログ
-----------------------------------*/
.blog-list-title {
  padding-block: 46.5px;
  background: url(../images/blog/bg_title.png) center center / cover no-repeat;
}

.blog-list-title__inner {
  max-width: 1188px;
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

.blog-list-title__en,
.blog-list-title__jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.blog-list-title__en {
  font-size: 20px;
  color: #d4212b;
  text-transform: uppercase;
}

.blog-list-title__jp {
  margin-top: 0.1em;
  font-size: 48px;
  color: #fff;
}

.blog-list#main-to-footer02 {
  top: 172px;

  #main,
  #main-in {
    overflow: visible;
  }

  #main-in {
    width: min(100%, 1240px);
    padding-inline: 20px;
    box-sizing: border-box;
  }

  .blog-list__contact {
    margin-block: 16px 40px;
  }

  .contact-section {
    padding-block: 32.5px;
    background-color: #eaeaea;
  }

  .contact-section__container {
    width: min(90%, 1016px);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
  }

  .contact-section__item {
    width: min(46.8%, 448px);
  }

  .contact-section__text {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #000;
    text-align: center;

    a:link,
    a:visited {
      color: #d0101b;
    }
    a {
      text-decoration: none;
      transition: color 0.3s;

      .underline {
        position: relative;
      }
      .underline::before {
        position: absolute;
        content: "";
        display: block;
        left: 0;
        bottom: 1px;
        width: 100%;
        height: 1.5px;
        background-color: #d0101b;
        transition: background-color 0.3s;
      }
    }

    a:hover {
      color: #faa028;

      .underline::before {
        background-color: #faa028;
      }
    }
  }

  .contact-section__button {
    display: block;
    margin-top: 19px;
    padding: 20px;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  .contact-section__button--red {
    border: 2px solid #d0101b;
    background-color: #d0101b;
    color: #fff;
  }
  .contact-section__button--red:hover {
    background-color: #fff;
    color: #d0101b;
  }

  .contact-section__button--white {
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
  }
  .contact-section__button--white:hover {
    background-color: #000;
    color: #fff;
  }

  .contact-section__divider {
    width: 2px;
    background-color: #a0a0a0;
  }

  .breadcrumbs {
    display: block;
  }

  .breadcrumbs a,
  .breadcrumbs2 a {
    color: #404040;
  }

  .blog-list__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26.5px 2.77%;
  }

  .blog-list__item {
    list-style: none;
    border: 1px solid #d0d0d0;
    padding: 10px 10px 30px;
  }

  .blog-list__link {
    text-decoration: none;
  }

  .blog-list__img {
    width: 100%;
    aspect-ratio: 257.33 / 227;
    height: auto;
    object-fit: cover;
  }

  .blog-list__no-img {
    width: 100%;
    aspect-ratio: 257.33 / 227;
    height: auto;
    background-color: #d0d0d0;
    color: #fff;
    text-transform: uppercase;
    display: grid;
    place-content: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
  }

  .blog-list__text-wrapper {
    margin-top: 12px;
  }

  .blog-list__information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25em;
    flex-wrap: wrap;
  }

  .blog-list__date {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000;
  }

  .blog-list__category {
    border: 1px solid #d0101b;
    border-radius: 4px;
    padding: 2.71px 12px;
    background-color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #d0101b;
  }

  .blog-list__title {
    margin: 16px 0 0;
    padding: 0;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000;
    border: none;
  }

  .blog-list__container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    #main-contents {
      width: 73.4%;

      table {
        width: 100%;
      }
    }
  }

  .pagination__arrow {
    display: inline-block;
    width: 20px;
    aspect-ratio: 1;
    height: auto;
    background: url(../images/icon/right-arrow.svg) center center / contain no-repeat;
  }

  .pagination__arrow.pagination__arrow--left {
    rotate: 180deg;
  }

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

  .page-numbers {
    display: grid;
    place-content: center;
    width: 40px;
    height: 39px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    letter-spacing: 0;
    color: #333;
    text-decoration: none;
  }

  .page-numbers.current {
    background-color: #d0101b;
    color: #fff;
  }

  .page-numbers.dots {
    translate: 0 0.5em;
  }

  #sidebar {
    display: block;
    width: min(23.85%, 280px);
    margin-bottom: 30px;
    position: sticky;
    top: -380px;

    .side-conts {
      /* padding: 40px 10.48% 57px; */
      padding: 40px clamp(0.938rem, -1.193rem + 3.41vw, 1.875rem) 57px;
      background-color: #f8f8f8;
      border-radius: 12px;
      max-width: 280px;
    }

    h3 {
      background-color: transparent;
      padding: 0;
      border: none;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 700;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: 0;
      color: #000;
    }

    .searchform + h3 {
      margin-top: 40px;
    }

    .search-form_wrapper {
      margin-top: 12px;
      position: relative;
    }

    .search-form_input {
      width: 100%;
      max-width: 100%;
      height: 34px;
      box-sizing: border-box;
      border-radius: 8px;
      border: 2px solid #969696;
      padding: 2px 10px !important;
    }

    .search-form_button {
      position: absolute;
      top: 50%;
      translate: 0 -50%;
      right: 3%;
      background-color: #777;
      width: 16.1px;
      aspect-ratio: 1;
      border: none;
      background: url(../images/icon/icon-search.svg) center center / contain no-repeat;
      cursor: pointer;
    }

    .category-list {
      margin-top: 22px;
      padding: 0 0 0 8.84%;
    }

    .category-list__item {
      background-color: transparent;
      border: none;
      margin: 0;
      padding: 0;
      position: relative;
    }

    .category-list__item::before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      translate: 0 -50%;
      right: 5%;
      width: 10px;
      height: 16px;
      background: url(../images/icon/right-arrow.svg) center center / contain no-repeat;
    }

    .category-list__item + .category-list__item {
      margin-top: 16px;
    }

    .category-list__link {
      font-family: "Noto Sans JP", sans-serif;
      font-size: 16px;
      line-height: 1.1875;
      letter-spacing: 0;
      color: #000;
      text-decoration: none;
      background-color: transparent;
      padding-inline: 0;
      width: 86%;
      display: block;
    }

    .side-contact {
      margin-top: 30px;
      border-radius: 12px;
      /* padding: 21px 10.48% 14px; */
      padding: 21px clamp(0.938rem, -1.193rem + 3.41vw, 1.875rem) 14px;
      background: url(../images/blog/bg_side-contact.png) center center / cover no-repeat;
      text-align: center;
      max-width: 280px;
    }

    .side-contact__heading {
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.4;
      letter-spacing: 0.02em;
      color: #000;
      position: relative;
    }

    .side-contact__heading::before {
      content: "";
      display: block;
      width: 29px;
      height: 2px;
      background-color: #d0101b;
      position: absolute;
      left: 50%;
      translate: -50%;
      bottom: -8px;
    }

    .side-contact__sodan,
    .side-contact__contact {
      display: block;
      padding: 13.5px;
      border-radius: 8px;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 700;
      font-size: 15px;
      line-height: 1.4;
      letter-spacing: 0.02em;
      text-decoration: none;
      transition: background-color 0.3s, color 0.3s;
    }

    .side-contact__sodan {
      margin-top: 23px;
      border: 2px solid #d0101b;
      /* background-color: #fff;
      color: #d0101b; */
      background-color: #d0101b;
      color: #fff;
      position: relative;

      .char {
        display: inline-block;
        translate: 0.6em;
      }
    }
    .side-contact__sodan:hover {
      /* background-color: #d0101b;
      color: #fff; */
      background-color: #fff;
      color: #d0101b;
    }

    .side-contact__contact {
      margin-top: 11px;
      border: 2px solid #d0101b;
      /* background-color: #d0101b;
      color: #fff; */
      background-color: #fff;
      color: #d0101b;
    }
    .side-contact__contact:hover {
      /* background-color: #fff;
      color: #d0101b; */
      background-color: #d0101b;
      color: #fff;
    }

    .free {
      position: absolute;
      top: 50%;
      translate: 0 -50%;
      left: 3px;
      font-family: "Noto Sans JP", sans-serif;
      font-weight: 700;
      font-size: 15.83px;
      line-height: 1.103;
      letter-spacing: -0.03em;
      color: #d0101b;
      padding: 2px 3.02px 6px 1.98px;
      border-radius: 5px;
      background-color: #f9dede;
    }

    .small {
      font-size: 9.04px;
    }
  }

  #footer {
    margin-top: 110px;
  }
}

.blog-detail#main-to-footer02 {
  .blog-list__contact {
    margin-block: 16px 20px;
  }

  .author-box {
    border: 1px solid #d0d0d0;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-block: 1.25em;
  }
  .author-box__img {
    width: 150px;

    img {
      width: 100%;
      aspect-ratio: 1;
      height: auto;
      border-radius: 50%;
      object-fit: cover;
    }
  }
  .author-box__txt {
    flex: 1;
  }
  .author-box__position {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #000;
    margin: 0;
  }
  .author-box__name {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #d0101b;
    margin: 4px 0 0;
  }
  .author-box__description {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000;
    margin: 12px 0 0;
  }
  #entry-author-info {
    display: none;
  }

  .toc-box {
    margin-block: 1.25em 3rem;
    padding: 30px 40px;
    background-color: #f8f8f8;
  }
  .toc-box__header {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;

    strong {
      font-size: 20px;
      color: #000;
    }

    .toc-box__toggle {
      font-size: 15px;
      color: #d0101b;
      cursor: pointer;
      margin-left: 1.2em;
    }
  }
  .toc-box__list {
    margin: 20px 0 0;

    li {
      list-style: none;

      a {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.3;
        letter-spacing: 0;
        text-decoration: none;
      }
    }

    li + li {
      margin: 8px 0 0;
    }

    .toc-sub {
      margin-left: 1em;

      a {
        font-size: 15px;
      }
    }
  }

  h2,
  h3 {
    scroll-margin-top: 178px;
  }
}

@media only screen and (max-width: 999px) {
  .blog-list#main-to-footer02 {
    #main-in {
      padding-inline: 0;
    }

    .contact-section {
      padding: 25px 20px;
    }

    .contact-section__container {
      width: 100%;
    }

    .contact-section__item {
      width: 47%;
    }

    .contact-section__text {
      font-size: min(1.97vw, 16px);
    }

    .contact-section__button {
      padding: 16px;
      font-size: 15px;
    }

    .blog-list__container {
      flex-direction: column;

      #main-contents {
        width: 100%;
      }
    }

    #sidebar {
      .side-conts {
        margin-top: 40px;
      }
      .side-conts,
      .side-contact {
        max-width: 50%;
        margin-inline: auto;
      }
    }
  }

  .blog-detail#main-to-footer02 {
    h2,
    h3 {
      scroll-margin-top: 2px;
    }
  }
}

@media only screen and (max-width: 599px) {
  .blog-list#main-to-footer02 {
    .contact-section__container {
      flex-direction: column;
      gap: 20px;
    }

    .contact-section__text {
      font-size: min(3.853vw, 15px);
    }

    .contact-section__item {
      width: 100%;
    }

    .contact-section__divider {
      width: 100%;
      height: 2px;
    }

    .contact-section__button {
      font-size: min(3.853vw, 15px);
    }

    .blog-list__items {
      grid-template-columns: repeat(1, 1fr);
      gap: 16px;
    }

    .nav-links {
      gap: 10px;
    }

    .page-numbers {
      font-size: 16px;
    }

    #sidebar {
      .side-conts,
      .side-contact {
        max-width: 100%;
      }
    }
  }

  .blog-detail#main-to-footer02 {
    .author-box__img {
      width: 120px;
    }
    .author-box__txt {
      display: contents;
    }
    .author-box__meta {
      flex: 1;
    }
    .author-box__description {
      margin: 0;
    }

    .related-post-wrap {
      overflow-x: scroll;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .related-post-wrap::-webkit-scrollbar {
      display: none;
    }

    .related-post-wrap .blog-list__items {
      width: 881px;
      grid-template-columns: repeat(3, 1fr);
    }

    .toc-box__header {
      strong {
        font-size: 18px;
      }

      .toc-box__toggle {
        font-size: 14px;
      }
    }
    .toc-box__list {
      li {
        a {
          font-size: 15px;
        }
      }

      .toc-sub {
        a {
          font-size: 14px;
        }
      }
    }
  }
}

/*-----------------------------------
■ 共通
-----------------------------------*/
.inline-block {
  display: inline-block;
}

html {
  scroll-behavior: smooth;
}
