@charset "utf-8";

/* -----------------------------------------------

      メディアクエリ

--------------------------------------------------*/
@media screen and (max-width: 1400px) {
    /* .news-content-wrapper {
            justify-content: space-around;
      }

      .category-post {
            justify-content: space-around;
      } */
}

@media screen and (max-width: 1250px) {
    .archive_list li a {
        font-size: 16px;
    }
}

@media screen and (max-width: 1100px) {
    header {
        padding: 0 15px;
    }

    main {
        padding: 23px 0 40px;
    }

    .bcn {
        padding: 5px 0 5px 10px;
    }

    .category-wrapper {
        padding: 15px 0 40px;
    }
}

@media screen and (max-width: 1050px) {
    .footer-inner {
        display: block;
        padding: 60px 15px 0 15px;
    }

    .footer-left {
        width: 100%;
    }

    .footer-right {
        width: 100%;
        margin-top: 40px;
    }

    .footer-right a {
        margin: auto;
        margin-bottom: 20px;
    }

    .footer-contents1 ul {
        flex-wrap: wrap;
    }

    .footer-logo {
        display: block;
        margin-top: 40px;
    }

    .footer-logo-img {
        width: 280px;
        margin: auto;
    }

    .footer-logo-img img {
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .h2 {
        font-size: 25px;
    }

    .news-content1 .news-content-right .news-title {
        font-size: 20px;
    }

    .itemarea-link-left,
    .itemarea-link-right {
        width: auto;
    }
}

@media screen and (max-width: 950px) {
    .archive_list li a {
        font-size: 14px;
    }
}

@media screen and (max-width: 850px) {
    body.single {
        background: #fff;
    }

    /* トップページのレスポンシブ */
    main {
        display: block;
    }

    .TOPIC-NEWS-left {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .TOPIC-NEWS-right {
        width: 100%;
        padding: 55px 15px 25px;
        box-sizing: border-box;
        background: #f5f5f5;
    }

    .top-h2-wrapper {
        margin-bottom: 35px;
    }
    .first-content-wrapper {
        display: block;
        margin: 0 0 25px;
    }
    .news-content1 {
        display: block;
    }

    .news-content1 .news-img {
        width: 100%;
    }

    .news-content1 .news-content-right .news-title {
        margin: 0 0 10px;
    }

    .news-excerpt {
        margin: 0 0 10px;
    }

    .news-content1 .news-content-right {
        width: 100%;
    }

    .news-content2-wrapper {
        width: 48%;
        margin: 0 4% 25px 0;
    }

    .news-content2-wrapper:nth-of-type(2n) {
        width: 48%;
        margin: 0 0 25px 0;
    }

    .news-content-wrapper {
        justify-content: flex-start;
    }
    .news-content1 .news-img {
        margin-bottom: 20px;
    }

    .wp-pagenavi {
        padding: 10px 0 0;
    }

    .wp-pagenavi span,
    .wp-pagenavi a {
        width: 40px;
        height: 40px;
        font-size: 12px;
        border-radius: 20px;
        margin: 0 4px;
    }

    .sidebar-archive {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        background-color: #f5f5f5;
    }

    .sidebar-archive::after {
        content: "";
        display: block;
        width: 43%;
        margin: 10px;
    }

    .sidebar-archive li {
        width: 43%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 10px;
        background-color: #fff;
        border-radius: 10px;
        position: relative;
    }

    .sidebar-archive li a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 30% 0 0;
        position: relative;
    }

    .sidebar-archive .category-icon {
        top: calc(40% - 25px);
        left: calc(50% - 25px);
        width: 50px;
        height: 50px;
    }

    /* トップページのレスポンシブ ここまで*/

    /* カテゴリのレスポンシブ */
    .category-wrapper {
        display: block;
    }

    .category-post li {
        width: 48%;
        margin: 0 0 30px;
    }

    .category-post {
        justify-content: space-between;
    }

    /* カテゴリのレスポンシブ ここまで*/

    /* シングルページのレスポンシブ */

    .single-main {
        background: none;
        padding: 40px 0 0;
    }

    .single-content-wrapper {
        width: 100%;
    }

    .single-content-right {
        padding: 20px 0;
    }

    .sidebar-widget-area {
        margin: 20px 20px 0;
    }
    .sidebar-link {
        margin: 15px 20px 0;
    }

    .single-content-right h1.news-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .no_bullets {
        padding: 20px 20px;
        margin: 25px 0;
    }
    .toc_title {
        border-bottom: 0;
        font-size: 18px;
        font-weight: normal;
        padding-bottom: 0;
        text-align: center;
        font-weight: bold;
    }
    .post-content .toc_title:first-child {
        margin: 0 0 15px;
    }
    .toc_list {
        margin-left: 0;
        line-height: 1.8;
    }
    .toc_list li {
        margin-top: 0;
    }
    .toc_list li a {
        font-size: 15px;
    }
    .toc_list li li {
        padding-left: 15px;
    }

    .post-content .itemarea-title,
    .post-content .itemarea-title:first-child {
        font-size: 17px;
        font-weight: bold;
        line-height: 2;
        margin: 0 0 20px;
    }
    .post-content .itemarea-link-left {
        width: 100%;
        margin: 0 auto 15px;
    }

    .cta {
        padding: 14px;
        border-radius: 5px;
    }
    .cta-wrap {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0 0 15px;
    }
    .cta-left {
        width: 100%;
        height: 185px;
        text-align: center;
        order: 2;
        margin: 0 0 15px;
    }
    .post-content .cta-left img {
        width: auto;
        max-width: none;
        height: 185px;
        margin: 0 auto;
    }
    .cta-right {
        width: 100%;
        font-size: 14px;
        line-height: 1.5;
        display: contents;
    }
    .post-content .cta-right-list-btn a,
    .post-content .cta-right-list-btn a[target="_blank"] {
        padding: 13px 4px 16px;
        font-size: 3.2vw;
        border-radius: 3px;
        margin: 0;
    }
    .cta-right-title {
        order: 1;
    }
    .cta-right-list {
        order: 3;
    }
    .post-content .cta-right-list ul li + li {
        margin: 0;
    }
    .cta-right-info {
        order: 4;
        padding: 15px;
    }

    .post-content p {
        margin: 20px 0;
    }

    .post-content p:first-child {
        margin: 0 0 20px;
    }

    .post-content p:last-child {
        margin: 0;
    }

    .post-content img {
        max-width: 100%;
        height: auto;
    }

    .post-content h2 {
        font-size: 24px;
        padding-left: 20px;
        box-sizing: border-box;
        margin: 40px 0 20px 0;
    }

    .post-content h2:first-of-type {
        margin-top: 45px;
    }

    .post-content h3 {
        margin: 40px 0 20px;
    }

    .news-content2 .news-img {
        padding: 0;
        margin: 0 0 5px;
    }

    .single-main .news-content2 .news-img {
        padding: 30px 0 0;
    }

    .single-content-right .news-day {
        margin-bottom: 20px;
    }

    .post-content ul,
    .post-content ol {
        margin: 20px 15px;
    }
    .post-content ul li + li {
        margin: 10px 0 0;
    }
    .post-content ol li + li {
        margin: 10px 0 0;
    }
    .post-content blockquote {
        padding: 20px;
    }

    .itemarea-link-left img {
        width: auto;
        height: 100%;
    }

    /* シングルページのレスポンシブ ここまで*/
}

@media screen and (max-width: 750px) {
    .header-inner {
        padding: 0 20px;
    }

    .logo img {
        width: 100%;
    }

    .header-icon p {
        width: 25%;
        margin-right: 10px;
    }

    .footer-contents1 ul li {
        margin-bottom: 25px;
        text-align: center;
    }

    .footer-contents1 ul li:last-of-type {
        border-right: 1px solid #ffffff;
    }

    .itemarea-link {
        display: block;
    }

    .itemarea-link-left {
        width: 100%;
    }

    .itemarea-link-right {
        width: 100%;
        margin: auto;
    }

    .itemarea {
        padding: 20px;
    }

    .toc-content h2::before {
        top: 0;
    }

    .toc-content h2 {
        font-size: 25px;
    }

    .toc-content h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 500px) {
    .header-wrapper {
        height: 60px;
    }

    header {
        height: 60px;
    }

    .header-icon {
        width: 24%;
    }

    .header-icon p {
        width: 35px;
        margin-right: 0;
    }

    .logo {
        width: 40%;
        padding: 0 6%;
    }

    .hamburger {
        width: 30px;
        margin: 0 0 0 calc(24% - 30px);
    }

    nav.active {
        top: 60px;
    }

    .category-wrapper {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .footer-contents1 ul li {
        width: 33%;
    }

    .footer-contents1 ul li a {
        padding: 0;
        font-size: 14px;
    }

    .footer-contents1 .category-icon {
        width: 40px;
        height: 40px;
        top: calc(50% - 20px);
        left: 16px;
    }

    #g-nav {
        width: 100%;
    }

    #g-nav.panelactive {
        width: 100%;
    }

    table tr td,
    table tr th {
        padding: 10px;
    }

    .bcn {
        background: none;
        display: flex;
        overflow-x: scroll;
        word-break: keep-all;
        white-space: nowrap;
        color: #a0a0a0;
    }
    .bcn span {
        margin: 0 5px;
        color: #000;
    }
    .bcn span.current-item {
        color: #a0a0a0;
    }

    .post-content {
        margin: 0 0 25px;
    }

    .post-writer {
        padding: 25px;
        border: 2px dotted #b2b2b2;
    }

    .post-writer-title {
        font-size: 15px;
        margin: 0 0 10px;
    }

    .post-writer-wrap {
        display: flex;
        align-items: flex-start;
    }

    .post-writer-img {
        width: 83px;
        margin: 0 25px 0 0;
    }

    .post-writer-img img {
        width: 100%;
        height: auto;
    }

    .post-writer-info {
        width: calc(100% - 108px);
    }

    .post-writer-info-name {
        font-size: 15px;
        font-weight: normal;
        margin: 0 0 5px;
    }

    .post-writer-info-text {
        font-size: 12px;
    }

    .popularly-post {
        padding: 40px 0 20px;
    }
    .popularly-post-title {
        font-size: 18px;
    }
    .popularly-post-title-in:before {
        content: "";
        width: 28px;
        height: 42px;
        top: 5px;
        left: -40px;
        transform: rotate(-20deg);
    }
    .popularly-post-title-in:after {
        content: "";
        width: 28px;
        height: 42px;
        top: 5px;
        right: -40px;
        transform: rotate(20deg);
    }
    .popularly-post-title-sub {
        font-size: 12px;
    }
    .popularly-post-item {
        width: calc((100% - 15px) / 2);
        margin: 0 15px 15px 0;
    }
    .popularly-post-item:nth-child(3n) {
        margin: 0 15px 15px 0;
    }
    .popularly-post-item:nth-child(2n) {
        margin: 0 0 15px 0;
    }
}
