/*
Theme Name: Lightning Child
Version: 15.9.3
Template: lightning
*/


/* root */
:root {
    --hh: 78px;
    --rb: #464637;
    --pp: #870082;
    --c01: #640E93;
    --c02: #820184;
    --c03: #9F1783;
    --c04: #CE5D8B;
}


/* common */
.flex {
    display: flex;
}

/* body */
body.custom-background {
    background-position: center var(--hh) !important;
    background-size: 2560px auto !important;
}

/* top*/
body.home {
    background-image: url(img/bg_main.jpg) !important;
}

/* site-header */
body.home .site-header {
    background: url(img/bg_header.jpg) no-repeat center bottom/2560px auto;
    box-shadow: none !important;
}

/* top以外 */
.site-header {
    background: url(img/bg_header2.jpg) no-repeat center bottom/2560px auto;
    box-shadow: none !important;
}

/* global-nav */
.global-nav-list>li .global-nav-name {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 20px;
    color: #fff;
}


/* site-footer */
.site-footer {
    background: url(img/bg_footer.jpg) no-repeat center top/2560px auto;
    border: none;
    padding-top: 60px;
}

.site-footer .widget_nav_menu ul {
    display: flex;
    gap: 15px;
}

.site-footer .widget_nav_menu ul li {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.site-footer .widget_nav_menu ul li a {
    color: #fff;
    border: none;
    background: none !important;
    transition: 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-footer .widget_nav_menu ul li a:hover {
    opacity: .7;
}

.site-footer-copyright {
    width: 100%;
    max-width: 100%;
    background: #700068;
    margin-top: 50px;
}

.site-footer-copyright p {
    color: #fff;
    margin: 0;
}

/* ページトップボタン */
#page_top {
    width: 50px;
    height: 50px;
    background: var(--c01);
    box-shadow: none;
}

#page_top::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* TOPページ */
#top_custom_add {
    padding-bottom: 30px;
    padding-top: 20px;
}

/* メインビジュアル */
#main_visual {
    margin-bottom: 50px;
}

#main_visual .flex {
    align-items: center;
    justify-content: center;
}

#site_desc {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 23px;
    color: var(--rb);
    margin-right: 20px;
    margin-top: 100px;
}

#site_desc+img {
    width: 650px;
    height: auto;
}

/* TOPカテゴリー */
#top_category {
    background: #B9C8CD;
    padding: 45px 0;
}

#top_category h2 {
    text-align: center;
    border: none;
}

#top_category ul.flex {
    justify-content: space-around;
    padding-left: 0;
}

#top_category ul.flex li {
    list-style: none;
    width: 220px;
}

#top_category ul.flex li a {
    text-decoration: none;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: bold;
    text-align: center;
    display: block;
}

#top_category ul.flex li .fukidashi {
    background: #fff;
    border-radius: 15px;
    padding: 15px 5px 10px;
    margin-bottom: 20px;
    position: relative;
    transition: 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

#top_category ul.flex li .fukidashi::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: 15px;
    background: url(img/hukidashi.png) no-repeat;
    width: 45px;
    height: 49px;
}

/* 吹き出しアニメーション */
/* blur */
.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.blurTrigger {
    opacity: 0;
}

/* アニメ遅れ */
.delay02 {
    animation-delay: 200ms;
}

.delay03 {
    animation-delay: 400ms;
}

.delay04 {
    animation-delay: 600ms;
}



#top_category ul.flex li h3 {
    border: none;
    margin-bottom: 0;
    font-size: 22px;
}

#top_category ul.flex li h3::after {
    content: none;
}

#top_category ul.flex li p {
    margin-bottom: 0;
}

#top_category ul.flex li a img {
    transition: 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* マウスオン */
#top_category ul.flex li a:hover .fukidashi {
    transform: translateY(-20px);
    color: var(--pp);
}

#top_category ul.flex li a:hover img {
    filter: brightness(1.1)
}

/* カテゴリーページ */
.page-header {
    background: none;
    margin-bottom: 0;
}

.page-header-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* h1.page-header-title {
    font-size: 3rem;
} */
.breadcrumb {
    border: none;
}


/* 固定ページ　カテゴリ一覧ページ */
.cat_htitle {
    border: none;
    padding: 10px;
    padding-left: 20px;
    color: #fff;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.sec_cat_list {
    margin-bottom: 70px;
}

#sec_cat01 .cat_htitle {
    background: var(--c01);
}

#sec_cat02 .cat_htitle {
    background: var(--c02);
}

#sec_cat03 .cat_htitle {
    background: var(--c03);
}

#sec_cat04 .cat_htitle {
    background: var(--c04);
}

.cat_child_title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--rb);
    border: none;
    border-left: 10px solid;
    padding-left: 10px;
    padding-bottom: 0;
}

.cat_child_title::after {
    content: none;
}

#sec_cat01 .cat_child_title {
    border-color: var(--c01);
}

#sec_cat02 .cat_child_title {
    border-color: var(--c02);
}

#sec_cat03 .cat_child_title {
    border-color: var(--c03);
}

#sec_cat04 .cat_child_title {
    border-color: var(--c04);
}

.ul_cat_list {
    display: flex;
    gap: 2%;
}

.ul_cat_list li {
    /* width: 22%; */
    list-style: none;
}

.ul_cat_list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid;
    border-radius: 10px;
    /* height: 100px; */
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    transition: 500ms;
    text-align: center;
    padding: 1em;
}

.ul_cat_list li a:hover {
    color: #fff;
}

#sec_cat01 .ul_cat_list li a {
    border-color: var(--c01);
}

#sec_cat01 .ul_cat_list li a:hover {
    background: var(--c01);
}

#sec_cat02 .ul_cat_list li a {
    border-color: var(--c02);
}

#sec_cat02 .ul_cat_list li a:hover {
    background: var(--c02);
}

#sec_cat03 .ul_cat_list li a {
    border-color: var(--c03);
}

#sec_cat03 .ul_cat_list li a:hover {
    background: var(--c03);
}

#sec_cat04 .ul_cat_list li a {
    border-color: var(--c04);
}

#sec_cat04 .ul_cat_list li a:hover {
    background: var(--c04);
}


/* サイドバー */
/* カテゴリーカスタマイズ　TOP */
#wp_widget_vk_taxonomy_list-3 .widget_nav_menu>ul li a {
    position: relative;
}

#wp_widget_vk_taxonomy_list-3 .widget_nav_menu>ul li a::before {
    font-family: 'FontAwesome';
    content: "\f02d";
    color: #888;
    position: relative;
    left: -0.7em;
}

/* カテゴリーカスタマイズ　single */
#wp_widget_vk_taxonomy_list-7 .widget_nav_menu>ul li a {
    position: relative;
}

#wp_widget_vk_taxonomy_list-7 .widget_nav_menu>ul li a::before {
    font-family: 'FontAwesome';
    content: "\f02d";
    color: #888;
    position: relative;
    left: -0.7em;
}

/* タグカスタマイズ TOP */
#wp_widget_vk_taxonomy_list-5 .localNavi {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

#wp_widget_vk_taxonomy_list-5 .widget_nav_menu>ul li {
    gap: 10px;
    margin: 5px;
}

#wp_widget_vk_taxonomy_list-5 .widget_nav_menu>ul li a {
    border: none;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0.7em 1em 0.7em 1.5em;
    display: inline-block;
    position: relative;
    font-size: 12px;
}

#wp_widget_vk_taxonomy_list-5 .widget_nav_menu>ul li a:hover {
    background: #f7f7f7;
    color: var(--pp);
}

#wp_widget_vk_taxonomy_list-5 .widget_nav_menu>ul li a::before {
    font-family: 'FontAwesome';
    content: "\f02b";
    position: relative;
    left: -0.7em;
}

/* タグカスタマイズ single */
#wp_widget_vk_taxonomy_list-8 .localNavi {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

#wp_widget_vk_taxonomy_list-8 .widget_nav_menu>ul li {
    gap: 10px;
    margin: 5px;
}

#wp_widget_vk_taxonomy_list-8 .widget_nav_menu>ul li a {
    border: none;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0.7em 1em 0.7em 1.5em;
    display: inline-block;
    position: relative;
    font-size: 12px;
}

#wp_widget_vk_taxonomy_list-8 .widget_nav_menu>ul li a:hover {
    background: #f7f7f7;
    color: var(--pp);
}

#wp_widget_vk_taxonomy_list-8 .widget_nav_menu>ul li a::before {
    font-family: 'FontAwesome';
    content: "\f02b";
    position: relative;
    left: -0.7em;
}




/* シングルページ */
.entry-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--rb);
}

/* 目次 */
#toc_container {
    width: 100% !important;
    border-color: var(--pp);
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 5px;
}

.toc_title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 20px;
}

#toc_container .toc_list {
    padding: 0;
    padding-left: 20px;
    border: none;
    background: none;
}

#toc_container .toc_list>li {
    margin-bottom: 1em !important;
}

#toc_container li {
    position: relative;
    /* padding-left: 1.5em; */
}

#toc_container li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 0.8em;
    color: var(--pp);
}

#toc_container li a {
    color: var(--pp);
    padding-left: 1.5em;
}

#toc_container li ul {
    margin-top: 0.5em;
}

#toc_container li:has(ul)::before {
    content: "▼";
}

#toc_container li:has(ul)::after {
    content: "";
    position: absolute;
    top: 2em;
    left: 7px;
    width: 1px;
    height: calc(100% - 2em);
    background: #aaa
}


/* 見出し */
.wp-block-heading {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    margin-top: 50px;
    color: var(--pp);
}

h2.wp-block-heading {
    background: var(--pp);
    color: #fff;
}

h3.wp-block-heading {
    background: none;
    border-color: var(--pp);
    padding-left: 0.5em;
    margin-top: 40px;
}

h4.wp-block-heading {
    background: none;
    border-color: var(--pp);
    position: relative;
    padding-left: 0.5em;
    margin-top: 30px;
}

h4.wp-block-heading::before {
    content: "●";
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

/* リスト */
.entry-body>ul {
    border: 1px dotted var(--pp);
    background: #f9f9f9;
    padding: 10px;
    padding-left: 40px;
    border-radius: 5px;
}

/* 参考サイト */
.wp-block-quote {
    border: 1px solid var(--c04);
    border-radius: 5px;
    margin: 50px 0;
}

.wp-block-quote .wp-block-heading {
    margin-top: auto;
    background: none;
    border-bottom: 1px solid var(--c04);
    color: var(--rb);
}

.wp-block-quote p {
    position: relative;
    padding-left: 1.5em;
}

.wp-block-quote p::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c04);
}

/* 外部リンクアイコン追加 */
.wp-block-vk-blocks-alert.alert-info a {
    position: relative;
}

.wp-block-vk-blocks-alert.alert-info a::after {
    position: relative;
    font-family: 'FontAwesome';
    content: "\f08e";
    right: -0.5em;
    font-size: 0.8em;
}


/* -----▼ 画像形式変換＆圧縮ツールCSS ▼----- */

/*---------- drop-zone ----------*/
.drop-zone {
    width: 100%;
    /* max-width: 600px; */
    padding: 30px 24px;
    border: 4px dashed #bbb;
    border-radius: 10px;
    text-align: center;
    color: #888;
    background: #FAF9F9;
    transition: all 0.3s ease;
}

.drop-zone p {
    margin-bottom: 20px;
}

#dz_up_img {
    width: 100px;
    height: 70px;
}

.drop-zone.dragover {
    background-color: #f0f8ff;
    border-color: #3399ff;
    color: #3399ff;
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0px rgba(51, 153, 255, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(51, 153, 255, 0.7);
    }
}

#dz_text_container.upload_hide {
    display: none;
}

.text_small {
    font-size: 14px;
}

#dz_file_container {
    display: none;
    justify-content: space-between;
    color: #2b2b2b;
    position: relative;
}

#dz_file_container.upload_show {
    display: flex;
}

#dz_file_container:after {
    content: "";
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 19px solid #45BF8A;
    border-right: 0;
    animation: move 0.8s infinite ease-in-out;
    opacity: 0;
}

@keyframes move {
    0% {
        transform: translateX(-7px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(5px);
        opacity: 0;
    }
}

.dz_file {
    width: 46%;
    border: 2px solid #C5C5C5;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 4px 4px 16px -6px rgba(0, 0, 0, 0.3);
    position: relative;
}

.file_head {
    font-family: 'M PLUS Rounded 1c';
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    margin-top: 0.25em;
}

.dz_file figure {
    margin: 0;
}

.dz_file figure img {
    width: 100%;
    max-width: 300px;
}

#convertedPreview {
    cursor: zoom-in;
}

.img_size {
    font-size: 14px;
}

.step_container {
    text-align: left;
}

.step_num {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #45BF8A;
    border-radius: 100%;
    margin-right: 5px;
    text-align: center;
    line-height: 28px;
}

.step_desc {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0 !important;
}


.slide_container {
    margin-bottom: 1em;

}

.slide_container label {
    display: block;
    font-size: 14px;
}

#qualityRange {
    width: 100%;
    appearance: none;
    cursor: col-resize;
}

#qualityRange::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 5px;
    border: 1px solid #C5C5C5;
}

#qualityRange::-moz-range-track {
    background: #ccc;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #C5C5C5;
}

#qualityRange::-webkit-slider-thumb {
    appearance: none;
    background: #45BF8A;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(2.2) translateY(-0.5px) translateX(5px);
}

#qualityRange.qvalue_max::-webkit-slider-thumb {
    transform: scale(2.2) translateY(-0.5px) translateX(0);
}

#qualityRange::-moz-range-thumb {
    background: #45BF8A;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    transform: scale(2.2) translateY(-0.5px) translateX(5px);
}

#qualityValue {
    display: block;
    font-size: 18px;
    margin-top: -0.25em;
}

/*---------- after部分 ----------*/
#file_after {
    visibility: hidden;
    border-color: #45BF8A;
    opacity: 0;
}

#file_after.after_file_show {
    visibility: visible;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

.convert_btn_container button {
    display: block;
    width: 100%;
    margin: 14px auto;
    border-radius: 20px;
    border: none;
    padding: 0.5em 0;
    cursor: pointer;
    background: #D9D9D9;
    transition: 0.5s;
}

.convert_btn_container button:hover {
    background-color: #45BF8A;
    color: #fff;
}

#compressionRate {
    display: inline-block;
    background: #45BF8A;
    color: #fff;
    padding: 0.3em 1em;
    margin-top: 0.5em;
    font-size: 18px;
}

.look_btn_container {
    font-size: 14px;
    margin-bottom: 20px;
}

.look_btn_container p {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 14px auto;
    border-radius: 20px;
    border: none;
    padding: 0.5em 0;
    cursor: pointer;
    background: #D9D9D9;
    transition: 0.5s;
}

.look_btn_container p:hover {
    background-color: #45BF8A;
    color: #fff;
}

.look_icon {
    display: inline-block;
    color: #45BF8A;
    margin-left: 5px;
    transition: 0.5s;
}

.look_btn_container p:hover .look_icon {
    filter: invert(100%);
}


#look_expan .look_icon {
    width: 18px;
    height: 18px;
}

#look_compare .look_icon {
    width: 20px;
    height: 16px;
}


/* .look_btn_container p:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #45BF8A;
    left: 0;
    bottom: -2px;
} */

.dl_btn_container {
    margin-top: 10px;
    margin-bottom: 20px;
}

#downloadLink {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 25px;
    background: #45BF8A;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    text-decoration: none;
}

#dl_text {
    position: relative;
}

#dl_text::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(https://wba.koganemochi-life.com/cms/wp-content/themes/lightning-child/img/download-solid.svg) no-repeat left top/100% auto;
}

#downloadLink:hover {
    opacity: 0.7;
}

.reset_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url(https://wba.koganemochi-life.com/cms/wp-content/themes/lightning-child/img/circle-xmark-solid.svg) no-repeat left top /100% auto;
    cursor: pointer;
}

.reset_btn:hover {
    opacity: 0.7;
}

.dz_btn_container {
    margin-top: 30px;
}

.btn_up {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    background: #3399ff;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.btn_up:hover {
    opacity: 0.7;
}

#uploadImage {
    display: none;
}


/*--------- canvas ----------*/
#canvas {
    display: none;
}

/*---------- modal ----------*/
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal.modalShow {
    display: flex;
}

#modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    cursor: zoom-out;
    opacity: 0;
}

#modal.modalShow img {
    animation: show 0.3s forwards ease-out;
}

@keyframes show {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}

#modal2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal2.modalShow {
    display: flex;
}

.compare-container {
    position: relative;
    max-height: 90%;
    width: 90%;
    height: 90vh;
    overflow: hidden;
    opacity: 0;
}

#modal2.modalShow>div {
    animation: show 0.3s forwards ease-out;
}


.compare-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: clip-path 0.2s ease;
    border-radius: 10px;
}

.original {
    z-index: 1;
}

.compressed {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}



#slider_container {
    position: absolute;
}

#slider_bar {
    position: absolute;
    width: 8px;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
    opacity: 0.9;
}

#slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    appearance: none;
    background: transparent;
    cursor: col-resize;
}

#bar_sign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
}

.bar_sign {
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateY(-50%);
    opacity: 0.9;
}

#bar_sign_left {
    border-style: solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #45BF8A;
    border-left: 0;
    left: calc(50% - 15px);
}

#bar_sign_right {
    border-style: solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 0;
    border-left: 10px solid #45BF8A;
    left: calc(50% + 5px);
}

#slider::-webkit-slider-runnable-track {
    background: transparent;
}

#slider::-moz-range-track {
    background: transparent;
}

#slider::-webkit-slider-thumb {
    appearance: none;
    background: transparent;
    width: 10px;
    height: 100%;
    opacity: 0;
}

#slider::-moz-range-thumb {
    background: transparent;
    width: 10px;
    height: 100%;
    border: none;
    opacity: 0;
}

#ba_bar_container {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 20px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

.ba_bar {
    display: inline-block;
    text-align: center;
    line-height: 20px;
    font-size: 16px;
}

#after_bar {
    background: #45BF8A;
    color: #fff;
    width: 50%;
}

#before_bar {
    color: #45BF8A;
    width: 50%;
}



/* -----▲ 画像形式変換＆圧縮ツールCSS ▲----- */

@media screen and (max-width:1200px) {


    /* header */
    .site-header {
        background-image: url(img/bg_header2.jpg);
    }

    /* main */
    body.custom-background {
        background-image: url(img/bg_main2.jpg) !important;
    }

    /* footer */
    .site-footer {
        padding-top: 35px;
    }

    .site-footer-copyright {
        margin-top: 35px;
    }

    /* TOPページ */
    #top_custom_add {
        padding-top: 2.5rem;
    }

    #site_desc {
        font-size: 21px;
        margin-top: 30px;
    }

    #site_desc+img {
        width: 55%;
    }

    /* TOPカテゴリー */
    #top_category ul.flex li {
        width: 22%;
    }

    #top_category ul.flex li h3 {
        font-size: 19px;
    }

}

@media screen and (max-width:992px) {

    /* main */
    body.custom-background {
        background-position: center top 59px !important;
    }

    /* .page-header-inner {
        margin-top: 0;
    } */

    /* ハンバーガー */
    .vk-mobile-nav-menu-btn {
        right: 5px;
        left: auto;
    }

    /* TOPページ */

    /* main_visual */
    #main_visual .flex {
        flex-direction: column;
    }

    #site_desc {
        order: 2;
        font-size: 23px;
        margin-right: 0;
    }

    #site_desc br {
        display: none;
    }

    #site_desc+img {
        order: 1;
        width: 95%;
        margin-bottom: 20px;
    }

    /* TOPカテゴリー */
    #top_category ul.flex {
        flex-wrap: wrap;
    }

    #top_category ul.flex li {
        width: 45%;
    }

    #top_category ul.flex li:nth-child(1),
    #top_category ul.flex li:nth-child(2) {
        margin-bottom: 20px;
    }

    /* #top_category ul.flex li h3 {
        font-size: 23px;
    } */

}

@media screen and (max-width: 767px) {

    /* main */
    body.custom-background {
        background-position: center top 40px !important;
    }


    /* footer */
    .site-footer-content {
        padding-top: 20px;
    }

    .site-footer .textwidget {
        text-align: center;
    }

    .site-footer .textwidget p {
        margin-bottom: 10px;
    }

    /* TOPページ */
    #top_custom_add {
        padding-top: 10px;
    }

    /* main_visual */
    #main_visual {
        margin-bottom: 20px;
    }

    #site_desc {
        font-size: 20px;
        margin-top: 0;
    }

    /* TOPカテゴリー */
    #top_category {
        padding: 20px 0;
    }

    #top_category h2 {
        margin-bottom: 15px;
    }

    #top_category ul.flex li .fukidashi::after {
        right: 0;
    }

    #top_category ul.flex li h3 {
        font-size: 16px;
    }

    #top_category ul.flex li p {
        font-size: 13px;
    }

    /* カテゴリーページ */
    h1.page-header-title {
        font-size: 2rem;
    }

    /* -----▼ 画像形式変換＆圧縮ツールCSS ▼----- */

    #dz_file_container {
        flex-direction: column;
        justify-content: none;
    }

    #dz_file_container::after {
        content: none;
    }

    .dz_file {
        width: 100%;
    }

    #file_before {
        margin-bottom: 40px;
    }

    #file_before::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 25px solid transparent;
        border-left: 25px solid transparent;
        border-top: 20px solid #45BF8A;
        border-bottom: 0;
        bottom: -34px;
        left: 50%;
        transform: translateX(-50%);
    }

}