@charset "utf-8";
@media screen and (max-width:1200px) {
  #container {
    max-width: 1024px
  }
  .index-future-list li .detail, .index-related-list li .detail, .index-cat-list li .detail {
    padding: 2rem 0 1rem
  }
  .index-future-list li .detail h2 {
    line-height: 1.4
  }
  .index-related-list li .detail .cat-name, .index-cat-list li .detail .cat-name {
    font-size: 1rem;
    padding: .25rem .5rem
  }
  .index-related-list li .detail .date, .index-cat-list li .detail .date {
    font-size: 1rem
  }
  .index-related-list li .detail h2, .index-cat-list li .detail h2 {
    font-size: 1.4rem;
    line-height: 1.4
  }
  .breadcrumb, .related-list, .post-pager {
    max-width: 1024px
  }
  .breadcrumb ul {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    width: 100%
  }
  .table-container table tr th, .table-container table tr td {
    white-space: inherit !important
  }
  @media screen and (max-width:1024px) {
    header .header-inner {
      padding: 1rem 3rem
    }
    header .header-inner .search-form {
      height: 30px;
      width: 320px
    }
    header .header-inner .search-form .form-txt {
      height: 30px
    }
    header .header-inner .search-form .search-icon {
      height: 30px;
      line-height: 30px
    }
    header .header-inner .search-form .search-icon img {
      width: 13px
    }
    nav.gnav {
      padding: 1rem 3rem;
      font-size: 1.4rem
    }
    #index-keyv article h1 {
      font-size: 3rem
    }
    #index-keyv {
      height: 250px
    }
    #container {
      max-width: 100%
    }
    .home main {
      width: 95%;
      margin: 0 auto
    }
    main {
      width: 95%;
      margin: 0 auto 5rem
    }
    .sidebar {
      width: 95%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      margin: 0 auto
    }
    .sidebar-block {
      width: 50%;
      padding: 0 3rem
    }
    .section-ttl, .section-ttl:before {
      font-size: 2.1rem
    }
    .link-btn {
      font-size: 1.4rem
    }
    .link-btn::before {
      height: 45px;
      width: 45px
    }
    .link-btn::before {
      left: 10px
    }
    .link-btn::after {
      left: 27px
    }
    .breadcrumb, .related-list, .post-pager {
      max-width: 95%
    }
    .breadcrumb ul {
      padding: 2rem
    }
    #post-container h2 {
      line-height: 1.2
    }
    .related-list ul li {
      width: 49%
    }
    @media screen and (max-width:430px) {
      html {
        scroll-padding-top: 54px
      }
      .sp {
        display: block !important
      }
      #menu_checkbox {
        display: none
      }
      #background {
        display: block;
        z-index: 100000000;
        position: fixed;
        top: 53px;
        left: 0;
        width: 100%;
        height: 0;
        transition: .4s;
        background-color: #0ABAB5
      }
      .sp-nav {
        position: fixed;
        display: block;
        top: 53px;
        left: 0;
        width: 100%;
        height: 0;
        overflow-y: hidden;
        padding: 0;
        transition: .4s;
        z-index: 10000000000000000
      }
      .sp-nav ul {
        width: 80%;
        margin: 0 auto;
        text-align: left
      }
      .sp-nav ul li {
        font-weight: 700;
        opacity: 0;
        transition: .4s .4s;
        border-bottom: 1px solid #fff;
        padding-bottom: 2rem;
        font-size: 1.4rem
      }
      .sp-nav ul li a {
        position: relative;
        display: block;
        color: #fff
      }
      .sp-nav ul li a:after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
        position: absolute;
        right: 1rem;
        top: .85rem;
        transform: translateY(0) rotate(-45deg)
      }
      .sp-nav ul li:first-child {
        border-bottom: 0;
        margin-bottom: 0
      }
      .sp-nav ul li .search-form {
        position: relative;
        width: 100%;
        height: 45px
      }
      .sp-nav ul li .search-form .form-txt {
        border: 1px solid #d9d9d9;
        padding: 1rem 1rem 1rem 4rem;
        font-size: 1.4rem;
        font-weight: 400;
        width: 100%;
        height: 45px
      }
      .sp-nav ul li .search-form .search-icon {
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        height: 45px;
        line-height: 45px;
        background: #d9d9d9;
        color: #fff;
        text-align: center
      }
      .sp-nav ul li .search-form .search-icon i.fa-magnifying-glass {
        font-weight: 700
      }
      .menu_btn {
        display: inline-block;
        position: fixed;
        width: 26px;
        height: 21px;
        top: 1.5rem;
        right: 2.5rem;
        z-index: 1000000000000;
        cursor: pointer
      }
      .menu_btn:before {
        position: absolute;
        top: -.75rem;
        left: -.4rem;
        content: "";
        background: #0ABAB5;
        width: 35px;
        height: 35px;
        z-index: 100000000000
      }
      .menu_btn span {
        display: inline-block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: .4s;
        box-sizing: border-box;
        position: absolute;
        right: 0;
        z-index: 1000000000001
      }
      .menu_btn span:nth-of-type(1) {
        top: 0;
        width: calc(100% - 4px);
        animation: line1 1s linear infinite
      }
      .menu_btn span:nth-of-type(2) {
        top: 9px;
        width: calc(100% - 7px);
        animation: line2 1s linear infinite
      }
      .menu_btn span:nth-of-type(3) {
        bottom: 0;
        animation: line3 1s linear infinite
      }
      @keyframes line1 {
        0% {
          width: calc(100% - 4px)
        }
        25% {
          width: calc(100% - 2px)
        }
        50% {
          width: calc(100% - 4px)
        }
        75% {
          width: calc(100% - 6px)
        }
        100% {
          width: calc(100% - 4px)
        }
      }
      @keyframes line2 {
        0% {
          width: calc(100% - 7px)
        }
        25% {
          width: calc(100% - 9px)
        }
        50% {
          width: calc(100% - 7px)
        }
        75% {
          width: calc(100% - 5px)
        }
        100% {
          width: calc(100% - 7px)
        }
      }
      @keyframes line3 {
        0% {
          width: 100%
        }
        50% {
          width: calc(100% - 9px)
        }
        100% {
          width: 100%
        }
      }
      #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(1) {
        transform: translateY(10px) rotate(-225deg);
        width: 100%;
        animation: none
      }
      #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(2) {
        right: 100%;
        opacity: 0;
        width: 100%;
        animation: none
      }
      #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(3) {
        transform: translateY(-9px) rotate(225deg);
        width: 100%;
        animation: none
      }
      #menu_checkbox:checked ~ #background {
        height: calc(100vh - 53px)
      }
      #menu_checkbox:checked ~ .sp-nav {
        max-height: calc(100vh - 53px);
        height: auto;
        padding: 45px 0 50px
      }
      #menu_checkbox:checked ~ .sp-nav ul li {
        opacity: 1;
        margin-bottom: 2rem
      }
      .sp-nav ul li .search-form .search-icon img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18px
      }
      header {
        height: 54px
      }
      header .header-inner {
        display: block;
        padding: 1rem 1.5rem
      }
      header .header-inner .logo {
        width: 130px
      }
      header .header-inner .search-form {
        display: none
      }
      nav.gnav {
        display: none
      }
      .footer-nav {
        flex-wrap: wrap;
        justify-content: center
      }
      .footer-nav li:first-child {
        margin-left: 0
      }
      #index-keyv {
        margin: 0 0 3rem;
        height: 150px
      }
      #index-keyv article h1 {
        font-size: 1.8rem
      }
      #index-keyv article h1 span {
        font-size: 1.2rem
      }
      #index-keyv article h1 span.ttl {
        font-size: 1.8rem
      }
      .section-ttl {
        font-size: 1.8rem;
        padding-left: 2.75rem
      }
      .section-ttl:before {
        width: 15px;
        height: 20px
      }
      .index-future-list li:first-child, .index-future-list li:nth-child(2) {
        width: 100%
      }
      .index-related-list li, .index-cat-list li {
        width: 49%
      }
      .index-related-list li:last-child, .index-cat-list li:last-child {
        display: none
      }
      .index-cat-list li:nth-child(2), .index-related-list li:nth-child(2) {
        margin-right: 0
      }
      .link-btn {
        font-size: 1.2rem
      }
      .link-btn::before {
        width: 30px;
        height: 30px;
        left: 30px
      }
      .link-btn::after {
        left: 40px
      }
      .sidebar-block {
        width: 100%;
        padding: 0
      }
      .sidebar-block h4 {
        font-size: 1.8rem
      }
      .sidebar-block h4 .en {
        font-family: "Afacad", sans-serif
      }
      .breadcrumb {
        margin: 3rem auto
      }
      .breadcrumb ul {
        flex-wrap: wrap;
        line-height: 1.6
      }
      .breadcrumb ul li:first-child:before {
        width: 15px;
        height: 13px
      }
      .breadcrumb ul li:after {
        top: .6rem
      }
      #cat-container {
        padding: 5rem 2rem
      }
      .cat-list li a {
        display: block
      }
      .cat-list li a .cat-list-image, .cat-list li a .cat-list-detail {
        width: 100%;
        padding: 0
      }
      .cat-list li a .cat-list-image {
        margin-bottom: 2rem
      }
      .cat-list li a .cat-list-detail h2 {
        font-size: 1.8rem
      }
      .nav-links li > *:not(.dots) {
        width: 30px;
        height: 30px;
        font-size: 1.2rem
      }
      .cat-description h1.cat-ttl {
        font-size: 1.8rem
      }
      .cat-txt {
        font-size: 1.4rem
      }
      .cat-list li {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem
      }
      .search-result {
        font-size: 1.4rem;
        margin-bottom: 2rem
      }
      #toggle-toc {
        display: none
      }
      #post-container {
        padding: 5rem 2rem
      }
      .post-header time {
        font-size: 1.4rem
      }
      #post-container h1 {
        font-size: 2.4rem
      }
      #post-container h2 {
        font-size: 1.8rem
      }
      #post-container h3 {
        font-size: 1.6rem;
        line-height: 1.4;
        padding-bottom: 1rem
      }
      #post-container img {
        width: 100% !important
      }
      #post-container p, #post-container ul, #post-container ol {
        font-size: 1.4rem
      }
      .author-flex {
        display: block
      }
      .author-flex .image {
        margin: 0 auto 2rem
      }
      .author-flex .detail {
        width: 100%;
        padding: 0
      }
      #toc {
        padding: 7rem 2rem 3.5rem
      }
      #toc:before {
        font-size: 1.8rem
      }
      #toc ul li {
        font-size: 1.2rem
      }
      #toc ul li:before {
        top: .55rem
      }
      .related-list {
        padding: 5rem 2rem
      }
      .related-list ul li {
        width: 100%
      }
      .post-pager {
        padding: 5rem 3rem;
        font-size: 1.4rem
      }
      .post-pager ul li {
        width: 100%;
        margin-bottom: 2rem
      }
      .post-pager ul li:first-child {
        border-right: none
      }
      .table-container {
        overflow-x: scroll;
        margin-bottom: 3rem
      }
      .table-container table {
        width: 1000px !important
      }
      .table-container::-webkit-scrollbar {
        height: 5px
      }
      .table-container::-webkit-scrollbar-track {
        background-color: #fff
      }
      .table-container::-webkit-scrollbar-thumb {
        background-color: #0ABAB5
      }
      .information-box ul li {
        padding: 3rem 0
      }
      .information-box ul li span {
        width: 100%
      }
      .information-box .contact-form ul li h4 {
        width: 100%
      }
      .information-box .contact-form ul li .input-form {
        width: 100%
      }
      #post-container .supervisor-profile h2 {
        font-size: 1.6rem
      }
      #post-container .supervisor-inner {
        display: block
      }
      #post-container .supervisor-inner .supervisor-avatar {
        margin: 0 auto 2rem
      }
      #post-container .supervisor-inner .detail {
        width: 100%;
        padding: 0
      }
      #post-container .supervisor-inner .detail h3 {
        padding-bottom: 0
      }
      dl.supervisor-office-info {
        display: block
      }
      dl.supervisor-office-info dt, dl.supervisor-office-info dt {
        font-size: 1.4rem
      }
      dl.supervisor-office-info dt, dl.supervisor-office-info dd {
        width: 100%
      }
      dl.supervisor-office-info dd {
        font-size: 1.4rem;
        margin-bottom: .5rem
      }
      .cat-item-list li {
        width: 48%;
        margin-right: 4%;
        font-size: 1.4rem
      }
      .cat-item-list li:nth-child(3) {
        margin-right: 4%
      }
      .cat-item-list li:nth-child(even) {
        margin-right: 0
      }
      .cat-item-list li a {
        padding: .5rem 0
      }
      .flex-box.author-block .image {
        width: 70%;
        margin: 0 auto 2rem
      }
      .flex-box.author-block .detail {
        width: 100%;
        padding: 0
      }
      #bnr-wide {
        width: 95%;
        margin: 0 auto 3rem
      }
      .fs-link-btn::before {
        display: none
      }
      #post-container strong.fs-title {
        font-size: 3rem
      }
      .fs-sub {
        width: 100%;
        text-align: center;
        line-height: 1.2
      }
      #post-container .factoring-link ul li a .image {
        width: 100%;
        margin-bottom: 1.5rem
      }
      #post-container .factoring-link ul li a .image img {
        width: 75% !important;
        margin: 0 auto
      }
      #post-container .factoring-link ul li a .detail {
        width: 100%
      }
      #post-container .internal-link ul li h4 {
        font-size: 1.6rem
      }
      #post-container .internal-link ul li {
        padding: 1.5rem
      }
      #post-container .internal-link ul li .txt {
        -webkit-line-clamp: 2
      }
      #post-container .internal-link p {
        display: none
      }
      #post-container .internal-link ul li h4 {
        -webkit-line-clamp: 1;
        font-size: 1.4rem
      }
      .index-future-list li a .image {
        height: auto
      }
      .index-future-list li a .image img {
        height: auto
      }
      .is-updated-new-period #post-container img {
        aspect-ratio: 9 / 16
      }
      .is-updated-new-period #post-container img.lazyloaded {
        aspect-ratio: auto
      }
      main.one-column {
        width: 95%;
      }
      .hk-filter-box, .hk-card {
        padding: 2.0rem;
      }
      .hojokin-search-ttl {
        font-size: 2.4rem;
      }
      .hk-result-count {
        font-size: 1.1rem;
      }
      .hk-search-icon {
        width: 20px;
      }
      .hk-search-wrap input[type="text"] {
        font-size: 1.4rem;
      }
      .hk-search-wrap input[type="text"] {
        padding-left: 5.0rem;
      }
      .hk-card-name {
        width: 100%;
        margin-bottom: 1.0rem;
      }
      .hk-status-badge {
        width: 100%;
        text-align: center;
      }
      .hk-stat {
        width: 100%;
      }
      .hk-next-round {
        margin-bottom: 2.0rem;
      }
      .hks-stats-list li .ttl {
        width: 35%;
      }
      .hks-step {
        border: 1px solid #333;
      }
      .hks-step-num {
        width: 100%;
        margin: 0 0 1.0rem;
        border-bottom: 1px solid #333;
      }
      .hks-step-text {
        padding: 1.0rem 1.0rem 2.0rem;
      }
      .hks-case-tool, .hks-case-amount, .hks-related-name, .hks-related-status {
        width: 100%;
      }
      .hks-related-name {
        margin-bottom: 1.0rem;
      }
      .hks-related-max {
        width: 100%;
        font-size: 1.8rem;
        text-align: right;
      }
    }
  }
}