@charset "UTF-8";

:root {
    --main_color: #1e1e1e;
    --theme_m_color:#008b65;
    --theme_s_color:#39b54a;
    --theme_a_color:#005abe;
  }


.single_width {
    width: 100%;
    max-width: 940px;
    margin-inline: auto;
    min-width: 940px;
}

.archive_width {
    width: 100%;
    max-width: 940px;
    margin-inline: auto;
    min-width: 940px;
}

  @media screen and (max-width: 750px)  {
     .single_width {
        min-width: auto;
        width: var(--base_width02);
    }

    .archive_width {
        min-width: auto;
        width: var(--base_width02);
    }
  }
/*================================================
*   新着情報
================================================*/
/*******flexbox*******/
[class*="flex_start"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[class*="flex_end"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[class*="flex_between"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[class*="flex_center"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

[class*="flex_inline"] {
    display: -webkit-inline-box;
    display: inline-flex;
}

.nowrap {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.align_items_start {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.align_items_center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.align_items_end {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.direction_column {
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.row_reverse {
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

/* ページタイトル */
#pageTitle .ttl .ja {
    letter-spacing: 0.14em;
}

/* コンテンツ */
#index .contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 70px 240px;
    max-width: 1240px;
    min-width: 1240px
}

.single #index .contents {
    padding-bottom: 160px;
}

/* サイド */
#index #sidebar {
    width: 250px;
    padding-top: 6px;
}

#index #sidebar .categorys + .archives {
    margin-top: 50px;
}

#index #sidebar h2 {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 5px;
    color: var(--theme_m_color);
    margin-bottom: 10px;
}

#index #sidebar .child {
    display: none;
}

#index #sidebar .child[style*="display: none;"] + .parent {
    border-top: none;
}

#index #sidebar .all-archives a, #index #sidebar .parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 70px;
    padding: 5px 40px 5px 16px;
    cursor: pointer;
    transition: .3s all ease;
    font-size: 18px;
    position: relative;
    background-color: var( --theme_m_color);
    font-weight: 400;
    color: #fff;
}

#index #sidebar .all-archives a:after, #index #sidebar .parent:after {
    position: absolute;
    content: '';
    top: 50%;
    right: 1em;
    width: 0.5em;
    height: 0.5em;
    border-top: 2px solid;
    border-right: 2px solid;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

#index #sidebar .parent:after {
    -webkit-transform: translateY(-50%) rotate(135deg);
    transform: translateY(-50%) rotate(135deg);
}

#index #sidebar .parent.active:after {
    -webkit-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
}

#index #sidebar .cat-list li:not(.all-archives), #index #sidebar .child li:not(:last-child) {
    border-bottom: 1px solid #c8c8c8;
}

#index #sidebar .cat-list li:not(.all-archives) a, #index #sidebar .child a {
    font-size: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0.5em 0 1.65em;

    height: 70px;
    position: relative;
}

#index #sidebar .cat-list li:not(.all-archives) a::before, #index #sidebar .child a::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid var( --theme_m_color);
    border-right: 2px solid var( --theme_m_color);
    position: absolute;
    left: 14px;
    top: calc(50% - 5px);
    transform: rotate(45deg);
}

/* メイン */
#index #main_column {
    width: 780px;
    padding-top: 60px;
}

#index #main_column ul.post_list2 {
    border-top: 1px solid #C8C8C8;
    border-bottom: 1px solid #C8C8C8;
}

#index #main_column ul.post_list2 li {
    padding: 19px 0;
    -webkit-transition: all 0.1s linear;
    transition: all 0.1s linear;
    display: flex;
    justify-content: space-between;
}

#index #main_column ul.post_list2 li:hover {
    opacity: .7;
}

#index #main_column ul.post_list2 li:not(:last-child) {
    border-bottom: 1px solid #C8C8C8;
}

#index #main_column ul.post_list2 li .img_area {
    width: 180px;
    height: 130px;
}

#index #main_column ul.post_list2 li .img_area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

#index #main_column ul.post_list2 li .text_area {
    width: 580px;
    padding-top: 3px;
}

#index #main_column ul.post_list2 li .text_area .date {
    color: #979797;
    font-size: 1.8rem;
}

#index #main_column ul.post_list2 li .text_area .cat {
    font-size: 1.4rem;
    padding: 5px 10px;
    margin-left: 37px;
    color: #fff;
    background: var(--theme_m_color);
    line-height: 1;
    min-width: 90px;
    text-align: center;
}

#index #main_column ul.post_list2 li .text_area h3 a {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.75;
    margin-top: 12px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#index #main_column ul.post_list2 li .text_area h3 a:hover {
    opacity: 1;
}

/* メイン > ページナビ */
#pager {
    padding-top: 30px;
}

#pager, .wp-pagenavi {
    display: flex;
    justify-content: center;
}

#pager a, #pager .dot, #pager .extend, #pager .current {
    width: 30px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border: 1px solid #c8c8c8;
    color: #808080;
    margin: 0 4px;
}

#pager a:hover {
    opacity: .7;
}

#pager #current, #pager .current {
    color: #fff;
    border: none;
    background: #000;
}

#pager .previous_link, #pager .previouspostslink {
    margin-right: 40px;
}

#pager .next_link, #pager .nextpostslink {
    margin-left: 40px;
}

/* メイン > single */
.single #index #main_column {
    padding-top: 30px;
}

.single #index #main_column .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.single #index #main_column .meta .date {
    font-size: 18px;
    margin-right: 15px;
    color: #646464;
}

.single #index #main_column .meta .cat {
    font-size: 12px;
    padding: 4px 10px;
    color: #fff;
    background: var(--theme_m_color);
    line-height: 1;
    display: block;
}

.single #index #main_column h1 {
    font-size: 26px;
    line-height: 1.75;
    margin-bottom: 25px;
    color: #1E1E1E;
}

.single #index #main_column p.main_img {
    margin-bottom: 30px;
}

.single #index #main_column p.main_img img {
    border-radius: 20px;
}

/* メイン > single > slick */
.slider-container {
    margin-top: 50px;
}

.slick-prev, .slick-next {
    position: absolute;
    /*絶対配置にする*/
    z-index: 3;
    top: calc(50% - 50px - 0.5em);
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border: none;
    background-color: transparent;
    padding: 50px 5px;
    font-size: 40px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: 2%;
    transform: rotate(180deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: 2%;
}

.slick-prev span, .slick-next span {
    color: #d4d4d4;
}

.slide .item {
    width: 780px;
    height: 500px;
    transition: opacity 500ms ease 0s;
}

.slide .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* メイン > single > slick > ナビ */
.slide-navigation {
    position: relative;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    margin: 20px -13.3333px -13.3333px 0;
}

.slide-navigation .item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 100px;
    height: 100%;
    margin: 0 13.3333px 13.3333px 0;
    padding: 0;
}

.slide-navigation .item::before {
    display: block;
    padding-top: 100%;
    content: "";
}

.slide-navigation .item img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* メイン > single > 戻るボタン */
.single #index #main_column .return {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.single #index #main_column .return a {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    border: 1px solid #979797;
    width: 400px;
    height: 100px;
    padding: 9px 50px 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    position: relative;
}

.single #index #main_column .return a::before {
    position: absolute;
    content: "";
    background: url(../images/common/arrow_w.png) no-repeat 50% / 8px 14px var(--theme_m_color);
    width: 30px;
    height: 30px;
    top: 50%;
    left: 35px;
    transition: .2s ease-in;
    transform: translateY(-50%) rotateY(180deg);
    border-radius: 100%;
}

.single #index #main_column .return a:hover {
}

.single #index #main_column .return a:hover::before {
}

/*================================================================================================
*  スマートフォン向けデザイン
================================================================================================*/
@media screen and (max-width: 750px) {
    #pageTitle {
        height: auto;
    }

    #index .contents {
        padding: 10vw 8vw 16vw 8vw;
        min-height: calc((var(--my_vh) * 100) - 13.333vw - 28.267vw - 12.8vw);
        min-width: auto;
        width: 100%;
    }

    /* サイド */
    #index #sidebar {
        width: 100%;
        height: 10.667vw;
        margin-bottom: 13vw;
    }

    .single #index #sidebar {
        display: none;
    }

    #index #sidebar .cat_select select {
        display: flex;
        align-items: center;
        border: 1px solid #C8C8C8;
        background: url(../images/common/select_arrow.svg) no-repeat;
        background-position: right 4vw center;
        background-size: 3.2vw auto;
        background-color: #fff;
        font-size: 4.267vw;
        padding: 0 12vw 0 5.333vw;
        width: 98%;
        height: 10.667vw;
        border-radius: 0.8vw;
        appearance: none;
        margin: 0 auto;
    }

    /* メイン */
    #index #main_column {
        width: 100%;
        padding-top: 0;
    }

    #index #main_column ul.post_list2 {
        margin-bottom: 8vw;
    }

    #index #main_column ul.post_list2 li {
        padding: 7vw 0;
    }

    #index #main_column ul.post_list2 li .img_area {
        width: 20vw;
        height: 20vw;
    }

    #index #main_column ul.post_list2 li .img_area img {
        border-radius: 2.666666vw;
    }

    #index #main_column ul.post_list2 li .text_area {
        width: calc(100% - 25vw);
        padding-top: 0;
    }

    #index #main_column ul.post_list2 li .text_area .date {
        font-size: 3.733333333vw;
    }

    #index #main_column ul.post_list2 li .text_area .cat {
        font-size: 2.93333vw;
        padding: 1.067vw 2.5vw;
        margin-left: 4vw;
    }

    #index #main_column ul.post_list2 li .text_area h3 a {
        font-size: 4vw;
        line-height: 1.5;
        margin-top: 1.333vw;
    }

    /* メイン > ページナビ */
    #pager_sp .page_number {
        text-align: center;
        font-size: 3.467vw;
        margin-bottom: 3.2vw;
    }

    #pager_sp .pager_nav {
        display: flex;
        border: 1px solid var( --theme_m_color);
        border-right: none;
        width: 96%;
        height: 13.333vw;
        margin: 0 auto;
    }

    #pager_sp .pager_nav li, #pager_sp .pager_nav li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        flex-shrink: 0;
        font-size: 3.467vw;
        color: var( --theme_m_color);
    }

    #pager_sp .pager_nav li {
        width: 34%;
        border-right: 1px solid var( --theme_m_color);
    }

    #pager_sp .pager_nav li:nth-of-type(1), #pager_sp .pager_nav li:nth-of-type(4) {
        width: 16%;
    }

    /* メイン > single */
    .single #index #main_column {
        padding-top: 0;
    }

    .single #index #main_column .meta {
        margin-bottom: 3vw;
    }

    .single #index #main_column .meta .date {
        font-size: 3.733vw;
        margin-right: 1em;
    }

    .single #index #main_column .meta .cat {
        font-size: 3.2vw;
        padding: 1vw 2.667vw;
        min-width: 18.667vw;
        height: 5.867vw;
    }

    .single #index #main_column h1 {
        font-size: 4vw;
        line-height: 1.5;
        margin-bottom: 6.667vw;
    }

    /* メイン > single > slick */
    .slider-container {
        margin-top: 8vw;
    }

    .slick-prev, .slick-next {
        top: calc(50% - 13.333vw - 0.5em);
        padding: 13.333vw 1.333vw;
        font-size: 6.667vw;
    }

    .slide .item {
        width: 100%;
        height: 51.2vw;
    }

    /* メイン > single > slick > ナビ */
    .slide-navigation {
        margin: 4vw -5px -10px;
    }

    .slide-navigation .item {
        width: calc(25% - 10px);
        margin: 0 5px 10px;
    }

    /* メイン > single > 戻るボタン */
    .single #index #main_column .return {
        margin-top: 16vw;
    }

    .single #index #main_column .return a {
        font-size: 4vw;
        width: 66.6666666vw;
        height: 18.6666666vw;
        padding: 2.667vw 13.333vw;
    }

    .single #index #main_column .return a::before {
        width: 6vw;
        height: 2vw;
        background-size: 6vw 2vw;
        top: 42%;
    }
}
