@charset "utf-8";

/*
Theme Name: aequalis-media
Theme URL:
Description:
Author: axys
Version: 1.0
*/

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

       全体設計

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

body {
    font-family:
        "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.5;
    background: #f5f5f5;
}

.h2 {
    font-size: 32px;
    font-weight: bold;
}

a {
    color: #000;
}

/* パンくずリストのＣＳＳ */

.bcn {
    background-color: #f5f5f5;
    max-width: 1400px;
    margin: auto;
    padding: 15px 26px 0;
    box-sizing: border-box;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.current-item {
    color: #a0a0a0;
}

/* パンくずリストのＣＳＳ ここまで　*/

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

        header

--------------------------------------------------*/
/* スクロール途中でヘッダーが表示＆非表示するためのCSS ここから */

.header-wrapper {
    max-width: 100%;
    height: 100px;
    margin: auto;
    position: relative;
    background-color: #fff;
}

header {
    max-width: 100%;
    height: 100px;
    margin: auto;
    color: white;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 1s ease-in-out;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    border: 1px solid #f5f5f5;
    border-bottom: none;
}

.header-icon {
    width: 33%;
}

.header-icon p {
    width: 50px;
    display: inline-block;
    margin-right: 15px;
}

.header-icon p img {
    width: 100%;
}

.logo {
    width: 33%;
}

.logo a {
    max-width: 220px;
    display: block;
    margin: auto;
}

.logo img {
    width: 100%;
}

.hamburger {
    width: 33%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    align-items: end;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.4s;
}

.hamburger span:nth-of-type(2) {
    width: 37px;
}

nav {
    position: absolute;
    top: -200vh;
    right: 0;
    background-color: #fff;
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}

nav.active {
    top: 100px;
    /* ヘッダーの高さに合わせて調整 */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    padding: 0 10px;
}

nav ul li a {
    text-decoration: none;
}

/* ハンバーガーをクリックしたら✕に */
.hamburger.batu span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hamburger.batu span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.batu span:nth-of-type(3) {
    transform: translateY(-6px) rotate(45deg);
}

/* ハンバーガーをクリックしたら✕に 　ここまで*/

/* スクロール途中でヘッダーが表示＆非表示するためのCSS ここまで */

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

      TOP NEWS

--------------------------------------------------*/
main {
    max-width: 1400px;
    margin: auto;
    padding: 55px 26px 115px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.TOPIC-NEWS-left {
    width: 76%;
}

.top-h2-wrapper {
    position: relative;
    margin-bottom: 30px;
    margin-left: 20px;
    line-height: 0.9;
}

.top-h2-wrapper .h2 {
    margin-bottom: 10px;
    line-height: 1.1;
}

.top-h2-wrapper::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 70px;
    border-radius: 5px;
    background-color: #009343;
    position: absolute;
    top: -5px;
    left: -20px;
}

.top-h2-wrapper p:last-of-type {
    color: #009343;
}

.news-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.first-content-wrapper {
    display: block;
    margin: 0 26px 50px 0;
}

.news-content1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.news-content1 {
    cursor: pointer;
}

.news-content1:hover {
    opacity: 0.75;
}

.news-content1 .news-img {
    width: 59%;
    aspect-ratio: 5 / 3;
}

.news-content1 .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.news-content1 .news-content-right .news-title {
    font-size: 22px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 20px;
}

.news-content1 .news-content-right .news-excerpt {
    font-size: 14px;
    display: block;
    color: #949494;
    margin-bottom: 20px;
}

.news-content1 .news-content-right .news-day {
    font-size: 14px;
    color: #949494;
}

.news-content2-wrapper {
    width: calc((100% - (26px * 3)) / 3);
    margin: 0 26px 50px 0;
}

.news-content2 {
    cursor: pointer;
}

.news-content2:hover {
    opacity: 0.75;
}

.news-content2 .news-img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3.25;
    margin-bottom: 10px;
}

.news-content2 .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-right2 .news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-content-right2 .news-day {
    color: #949494;
    font-size: 14px;
}

.TOPIC-NEWS-right {
    width: 24%;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
}
.wp-pagenavi span,
.wp-pagenavi a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    border: 1px solid #1e1e1e;
    border-radius: 25px;
    margin: 0 5px;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background: #009043;
    border: 1px solid #009043;
    color: #fff;
}
.wp-pagenavi span.extend {
    border: 0;
}

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

      サイドバー

--------------------------------------------------*/
.archive_list {
    width: 100%;
    background-color: #fff;
}

.archive_list li {
    position: relative;
}

.archive_list li a {
    width: 80%;
    margin: auto;
    border-bottom: 2px dotted #b0b0b0;
    font-size: 16px;
    display: block;
    padding: 20px 0;
    box-sizing: border-box;
    position: relative;
    padding-left: 50px;
}

.cat-item:last-of-type a {
    border-bottom: none;
}

.category-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: 28px;
    pointer-events: none;
}

.category-icon img {
    width: 100%;
    height: auto;
}

.sidebar-widget-area {
    margin-top: 20px;
}

.sidebar-widget-area figure {
    width: 100%;
    margin-bottom: 15px;
}

.sidebar-widget-area figure img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.sidebar-widget-area figure img:hover {
    opacity: 0.5;
}

.sidebar-link {
    margin-top: 15px;
}

.sidebar-link li {
    width: 100%;
    margin-bottom: 15px;
}

.sidebar-link li:hover {
    opacity: 0.6;
}

.sidebar-link li img {
    width: 100%;
}

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

      footer

--------------------------------------------------*/
footer {
    background-color: #1e1e1e;
    padding-bottom: 30px;
}

.footer-inner {
    max-width: 1400px;
    margin: auto;
    padding: 60px 100px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.footer-left {
    width: 70%;
}

.footer-contents1 {
    margin-bottom: 50px;
}

.footer-contents1 p {
    color: #a3a3a3;
    margin-bottom: 25px;
}

.footer-contents1 ul {
    display: flex;
}

.footer-contents1 ul li {
    display: block;
    border-right: 1px solid #ffffff;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-contents1 ul li:first-of-type {
    padding-left: 0;
}

.footer-contents1 ul li:last-of-type {
    border-right: none;
}

.footer-contents1 ul li a {
    color: #fff;
}

.footer-contents2 p {
    color: #a3a3a3;
    margin-bottom: 25px;
}

.footer-contents2 ul {
    display: flex;
    color: #ffffff;
    flex-wrap: wrap;
}

.footer-contents2 ul a {
    color: #ffffff;
    display: block;
    margin-right: 50px;
    margin-bottom: 10px;
}

.footer-right {
    width: 23.3%;
}

.footer-EC {
    text-align: center;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.01em;
    padding-top: 22px;
}

.footer-EC img {
    width: 1.5em;
    margin-right: 10px;
    vertical-align: sub;
}

.footer-right a {
    display: block;
    width: 280px;
    height: 70px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.footer-right a:first-of-type {
    background-color: #184c7e;
}

.footer-right a:nth-of-type(2) {
    background-color: rgb(191, 0, 0);
}

.footer-right a:nth-of-type(3) {
    background-color: rgb(252, 102, 0);
    letter-spacing: 0.05em;
}

.footer-right a:nth-of-type(4) {
    background-color: rgb(177, 96, 200);
}

.fa-up-right-from-square {
    margin-left: 10px;
}

.fa-cart-shopping {
    margin-right: 10px;
}

.footer-copyright {
    font-size: 11px;
    color: #5d5d5d;
    text-align: center;
    margin-top: 10px;
}

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

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

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

     category.php

-------------------------------------------------
--------------------------------------------------*/
.post-wrapper {
    padding: 65px 100px;
}

.category-wrapper {
    max-width: 1400px;
    margin: auto;
    padding: 80px 26px 100px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    background-color: #f5f5f5;
}

.category-h2 {
    text-align: center;
    margin-bottom: 20px;
}

.category-h2desc {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.category-title {
    font-size: 16px;
    color: #009343;
    font-weight: 100;
    margin-top: 5px;
}

.category-post {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.category-post li {
    width: calc((100% - (26px * 3)) / 3);
    margin: 0 26px 50px 0;
}

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

     single.php

-------------------------------------------------
--------------------------------------------------*/
.single-main {
    margin-top: 0;
}

.single-wrapper {
    display: block;
}

.single-content-wrapper {
    width: calc(100% - 26px);
    background-color: #fff;
}

.single-content-right {
    padding: 60px 60px 80px 60px;
    box-sizing: border-box;
}

.single-content-right h1.news-title {
    font-size: 37px;
    line-height: 1.4;
    margin-bottom: 35px;
}

.single-content-right .news-day {
    margin-bottom: 35px;
    line-height: 1.6;
}

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

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

.aligncenter {
    display: block;
    margin: auto;
    margin-bottom: 50px;
}

.post-content-list {
    margin: 50px 0;
}

.post-content-list li {
    margin-bottom: 20px;
}

.post-content-list li::before {
    content: "⚫️";
    margin-right: 10px;
    color: #009343;
}

.post-content table {
    width: 100%;
    margin: 0 0 50px;
}

.single-table-wrapper {
    overflow-x: auto;
    display: block;
    padding: 10px 0;
    margin: 0 0 40px;
}

.single-table-wrapper table th,
.single-table-wrapper table td {
    white-space: nowrap;
}

.post-content table.single-table {
    margin: 0;
}

table tr td,
table tr th {
    border: solid 1px #dddddd;
    padding: 20px;
    vertical-align: middle;
}

table tr th {
    background-color: #009343;
    color: #ffffff;
}

.itemarea {
    border: 3px solid #7dc7a4;
    margin: 50px 0;
    padding: 30px;
    border-radius: 5px;
}

.itemarea-title,
.itemarea-title:first-child {
    font-size: 20px;
    font-weight: bold;
    line-height: 2;
}

.itemarea-link {
    display: flex;
    justify-content: center;
    margin: 0 0 15px;
}

.itemarea-link-left {
    width: calc(100% - 300px);
    max-width: 370px;
    height: 300px;
    margin: 0 20px 0 0;
}
.post-content p.itemarea-link-left:first-child {
    margin: 0;
}

.itemarea-link-left img {
    display: block;
    width: auto;
    height: 100%;
    margin: 0 auto;
}

.itemarea-link-right {
    width: 280px;
}

.post-content .itemarea-link-right a,
.post-content .itemarea-link-right a[target="_blank"] {
    display: block;
    padding: 21px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    box-shadow: inset 0px -6px 0px 0px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    text-decoration: none;
}

.post-content .itemarea-link-right a[target="_blank"]:after {
    content: "";
    width: 0;
    height: 0;
    background: none;
    top: 0;
    right: 0;
}

.itemarea-link-right a:hover {
    opacity: 0.5;
}

.itemarea-link-list1 a {
    background-color: #184c7e;
    text-decoration: none;
}

.itemarea-link-list2 a {
    background-color: #009043;
}

.itemarea-link-list3 a {
    background-color: #fca91d;
}

.itemarea-link-list4 a {
    background-color: #ef562d;
}

.itemarea-desc {
    margin: 0;
}

/*240423更新*/
.cta {
    border: 3px solid #7dc7a4;
    margin: 50px 0;
    padding: 30px;
    border-radius: 5px;
}

.cta-wrap {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px;
}

.cta-left {
    width: 220px;
    height: 220px;
    text-align: center;
    margin: 0 35px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-left img {
    width: auto;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.cta-right {
    width: calc(100% - 255px);
    font-size: 14px;
    line-height: 1.5;
}

.cta-right-title {
    font-size: 20px;
    line-height: 1.6;
    font-weight: bold;
    margin: 0 0 10px;
}

.cta-right-list {
    display: flex;
    justify-content: space-between;
    margin: 0 0 15px;
}

.cta-right-list-btn {
    width: calc((100% - 10px) / 3);
}
.post-content .cta-right-list-btn a,
.post-content .cta-right-list-btn a[target="_blank"] {
    display: block;
    text-align: center;
    color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.4) 0px -6px 0px 0px inset;
    margin-bottom: 10px;
    padding: 19px 2px 23px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin: 0 auto;
    transition: 0.2s;
}
@media screen and (max-width: 1080px) {
    .post-content .cta-right-list-btn a,
    .post-content .cta-right-list-btn a[target="_blank"] {
        font-size: 1.2vw;
    }
}
.post-content .cta-right-list-btn a[target="_blank"]:after {
    content: "";
    width: 0;
    height: 0;
    background: none;
    position: absolute;
    top: 0;
    right: 0;
}
.cta-right-list-btn a:hover {
    opacity: 0.75;
}

.list-btn1 a {
    background-color: rgb(24, 76, 126);
}

.list-list2 a {
    background-color: rgb(191, 0, 0);
}

.list-list3 a {
    background-color: rgb(252, 102, 0);
}

.cta-right-info {
    background: rgb(245, 245, 245);
    padding: 20px;
    border-radius: 6px;
}

.post-content .cta-right-info ul {
    background: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.post-content .cta-right-info ul li + li {
    margin: 0;
}

.post-content .cta-right-info ul li:before {
    top: 6px;
}

.cta-desc {
    font-size: 14px;
    line-height: 1.5;
}

/* 目次のプラグインＣＳＳ */

.no_bullets {
    background-color: #f5f5f5;
    width: 100%;
    border: none;
    margin-top: 50px;
    padding: 45px 40px;
    box-sizing: border-box;
}

.toc_list {
    margin: 0 0 0 30px;
    letter-spacing: 0.2em;
    line-height: 2.5;
}

.toc_list li {
    line-height: 1.6;
}

.toc_list li + li {
    margin: 15px 0 0;
}

.post-content ul.toc_list {
    counter-reset: number 0;
    margin: 0 15px;
}

.post-content ul.toc_list li {
    padding: 0 0 0 32px;
    position: relative;
}

.post-content ul.toc_list li:before {
    content: counter(number) ".";
    counter-increment: number 1;
    color: #636363;
    background: none;
    position: absolute;
    top: 0;
    left: 0;
}

.toc_list li a {
    font-size: 16px;
    color: #636363;
}

.post-content .no_bullets p:first-child,
.toc_title {
    border-bottom: 2px solid gray;
    padding: 0 0 5px;
    text-align: center;
    font-weight: bold;
    margin: 0 0 20px;
}

.post-content p {
    line-height: 2;
    margin: 40px 0;
}

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

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

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

.post-content h2 {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    padding-left: 30px;
    margin: 80px 0 40px 0;
}

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

.post-content h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 100%;
    border-radius: 5px;
    background-color: #009343;
    position: absolute;
    top: 2px;
    left: 0px;
}

.post-content h3 {
    font-size: 20px;
    margin: 40px 0;
    border-top: 2px solid #009343;
    border-bottom: 1px solid #009343;
    padding: 20px 0;
}

.post-content a {
    text-decoration: underline;
    color: #6fb2dd;
}

.post-content .marker {
    background: linear-gradient(transparent 10%, #ffff84 10%);
}

.post-content blockquote {
    padding: 30px;
    background: #f5f5f5;
}

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

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

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

blockquote small {
    font-size: 14px;
    color: #616161;
}

.post-content ul {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    margin: 40px 0;
}

.post-content ul li {
    padding: 0 0 0 16px;
    position: relative;
}

.post-content ul li:before {
    content: "";
    width: 10px;
    height: 10px;
    background: #009043;
    border-radius: 5px;
    position: absolute;
    top: 7px;
    left: 0;
}

.post-content ul li + li {
    margin: 20px 0 0;
}

.post-content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.post-content ol li {
    counter-increment: item;
    position: relative;
    padding-left: 1.5em;
}
.post-content ol li + li {
    margin: 20px 0 0;
}
.post-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #009343;
    font-weight: 700;
}

.post-content a[target="_blank"] {
    display: inline-block;
    position: relative;
    padding: 0 24px 0 0;
}

.post-content a[target="_blank"]:after {
    content: "";
    width: 20px;
    height: 21px;
    background-image: url(../img/exlink-icon@2x.png);
    background-size: 20px 21px;
    background-repeat: no-repeat;
    position: absolute;
    top: 6px;
    right: 0;
}

.post-writer {
    padding: 40px 0;
    border-top: 2px dotted #b2b2b2;
    border-bottom: 2px dotted #b2b2b2;
}

.post-writer-title {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 15px;
}

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

.post-writer-img {
    width: 93px;
    margin: 0 40px 0 0;
}

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

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

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

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

.popularly-post {
    padding: 40px 0 20px;
}
.popularly-post-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px;
}
.popularly-post-title-in {
    display: inline-block;
    position: relative;
}
.popularly-post-title-in:before {
    content: "";
    width: 28px;
    height: 42px;
    border-left: 2px dotted #b0b0b0;
    position: absolute;
    top: 5px;
    left: -40px;
    transform: rotate(-20deg);
}
.popularly-post-title-in:after {
    content: "";
    width: 28px;
    height: 42px;
    border-right: 2px dotted #b0b0b0;
    position: absolute;
    top: 5px;
    right: -40px;
    transform: rotate(20deg);
}
.popularly-post-title-sub {
    display: block;
    font-size: 14px;
    color: #009043;
    position: relative;
}
.wpp-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
}
.popularly-post-item {
    width: calc((100% - (23px * 2)) / 3);
    padding: 0;
    margin: 0 23px 16px 0;
}
.popularly-post-item:nth-child(3n) {
    margin: 0 0 16px 0;
}
.popularly-post-item:before {
    content: "";
    width: 0;
    height: 0;
    background: none;
}
.popularly-post-item-img {
    width: 100%;
    margin: 0 0 10px;
}
.popularly-post-item-img img {
    width: 100%;
    height: auto;
}
.popularly-post-item-title {
    font-size: 14px;
}

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

     page.contact.php

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

.mailform {
    text-align: center;
}

/* 目次のプラグインＣＳＳ ここまで　*/
