/*
 Theme Name:   GeneratePress Child customized by With-Planning
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       With-Planning
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.font-mincho {
    font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, 'Noto Serif JP', "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none;
}

.woocommerce-billing-fields input[readonly="readonly"] {
    opacity: 0.5;
}

#alg-product-input-fields-table,
#alg-product-input-fields-table th,
#alg-product-input-fields-table td {
    border: none;
}

body.le_product #alg-product-input-fields-table tr:nth-child(4n) {
    border-bottom: 1px solid #333;
}

body.le_product #alg-product-input-fields-table tr td:first-child {
    width: 30%;
    max-width: 30%;
}

body.le_product #alg-product-input-fields-table tr td input[type=text] {
    width: 100%
}

body.le_product #alg-product-input-fields-table tr:nth-child(3),
body.le_product #alg-product-input-fields-table tr:nth-child(7),
body.le_product #alg-product-input-fields-table tr:nth-child(11),
body.le_product #alg-product-input-fields-table tr:nth-child(15),
body.le_product #alg-product-input-fields-table tr:nth-child(19) {
    display: none;
}

body.woocommerce-checkout .woocommerce .woocommerce-checkout__need-login #customer_login {
    width: 100%;
}

body.woocommerce-checkout .woocommerce .woocommerce-checkout__need-login .col2-set .col-1 {
    float: left;
    width: 48%;
}

body.woocommerce-checkout .woocommerce .woocommerce-checkout__need-login .col2-set .col-2 {
    float: right;
    width: 48%;
}

.alg_course_name {
    display: none;
}

.alg-people-button-wrapper {
    display: flex;
    margin-bottom: 5px;
}

.alg-people-add-button {
    margin-right: 5px;
}

.alg-product-input-fields-table abbr {
    color: red;
}

.widget_categories span.count {
    border-radius: 2px;
}

.widget_categories a {
    padding: 4px 8px;
}

.widget_media_image {
    text-align: center;
}

@media screen and (max-width: 47.99em) {
    .breadcrumb .breadcrumb--list {
        border-right: 0;
        border-left: 0;
    }
}

/* Header Global Nav */
.siteHeader--globalMenu {
    border-top: solid 1px #ccc;
}

.siteHeader--globalMenuToggle {
    display: none;
    text-align: center;
}

.siteHeader--globalMenuToggle i {
    font-style: normal;
}

.siteHeader--globalMenuToggle i::before {
    color: #d9c99a;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    content: "\f0c9";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    margin-right: .3em;
}

.siteHeader--globalMenuToggle i.is-open::before {
    content: "\f00d";
}

.siteHeader--globalMenu ul {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    border-left: solid 1px #ccc;
}

.siteHeader--globalMenu li {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 12.5%;
    border-right: solid 1px #ccc;
}

.siteHeader--globalMenu a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 0;
}

.siteHeader--globalMenu a:hover {
    background-color: #d9c99a;
}

.siteHeader--globalMenu a:hover svg {
    color: #fff;
}

.siteHeader--globalMenu i {
    display: block;
}

.siteHeader--globalMenu i svg {
    width: 50px;
    height: 45px;
    margin-bottom: 2px;
    color: #d9c99a;
    transition: color .3s ease-in-out;
}

.siteHeader--globalMenu span {
    font-size: 14px;
    text-align: center;
}

@media (min-width: 769px) {
    .siteHeader--globalMenuInner {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .siteHeader--globalMenu.is-open {}

    .siteHeader--globalMenuToggle {
        display: block;
    }

    .siteHeader--globalMenuToggle i {
        padding: 6px 0;
    }

    .siteHeader--globalMenuInner.container {
        display: none;
        padding: 0;
        background-color: #d9c99a;
    }

    .siteHeader--globalMenu ul {
        display: block;
        border: none;
    }

    .siteHeader--globalMenu li {
        width: 100%;
        border-left: none;
    }

    .siteHeader--globalMenu li:not(:first-child) {
        border-top: solid 1px #fff;
    }

    .siteHeader--globalMenu li a {
        color: #fff;
    }

    .siteHeader--globalMenuInner i,
    .siteHeader--globalMenuInner span br {
        display: none;
    }
}


/* Header Search Box */
.headerSearchBox {
    margin-top: 20px;
}

.headerSearchBox .search-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: none;
}

.search-attachment-enable {
    display: block;
    margin-top: .3em;
}

.search-attachment-enable input {
    margin-right: .3em;
}

.search-form__inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: none;
}

.search-form {
    flex-direction: column;
}

.headerSearchBox .search-field {
    background-color: #fff;
    font-size: 18px;
}

.headerSearchBox .search-form label {
    width: 76%;
}

.search-form .search-submit {
    width: 22%;
    background-color: #d9c99a;
    color: #fff;
    background-image: url('assets/images/commons/icons/search_icon.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.search-form .search-submit:hover {
    background-color: #ad981a;
}

body.elementor-template-full-width .headerSearchBox--inner.container {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

@media screen and (min-width: 48em) {
    body.elementor-template-full-width .headerSearchBox--inner.container {
        padding-right: 80px !important;
        padding-left: 80px !important;
    }
}

.searchFilterSetting {
    margin: 0 0 .5em;
}

/* 検索フォーム（search-form）のカスタム */
.search-form select {
    border-right: none;
}
.search-form select option {
    background: #fff;
}

.search-form select option:checked {
    color: #fff;
    background-color: #999;
}

.search-form .search-field {
    border-right: none;
    appearance: none;
    border-radius: 0;
}

.search-form .search-submit {
    border-radius: 0;
}

@media screen and (max-width: 768px) {
    .search-form select {
        padding: 0 .5em;
    }
}

.entry-content .search-form input[type="text"] {
    border-radius: 0;
}

.entry-content .search-form {
    max-width: 480px;
    /* margin-right: auto;
    margin-left: auto; */
}

.search-form .search-field {
    background-color: #fff;
}

/* Header News Box */
.headerNewsBox {
    margin-top: 20px;
    margin-bottom: 10px;
}

@media screen and (min-width: 48em) {
    .headerNewsBox {
        margin-top: 20px;
        margin-bottom: 0;
    }
}

body.post-type-archive-videos .headerNewsBox--inner,
body.post-type-archive-item .headerNewsBox--inner,
body.post-type-archive-qa .headerNewsBox--inner {
    padding-right: 15px;
    padding-left: 15px;
}

@media screen and (min-width: 48em) {
body.post-type-archive-videos .headerNewsBox--inner,
body.post-type-archive-item .headerNewsBox--inner,
body.post-type-archive-qa .headerNewsBox--inner {
    padding-right: 80px;
    padding-left: 80px;
}
}


.headerNewsBox--inner {
}

.headerNewsBox--content {
    display: block;
    background-color: #f8f8f9;
    padding: 15px 19px;
    margin: 0 auto;
}

.headerNewsBox--inner dl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 7.5em);
}

.headerNewsBox--inner dt {
    padding-right: 10px;
    font-size: 13px;
    font-weight: normal;
    width: 7em;
}

.headerNewsBox--inner dd {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    width: calc(100% - 7em);
}

.headerNewsBox--inner dd a:hover {
    color: #ad981a;
}

.headerNewsBox--inner dd span {
    margin-right: 12px;
    margin-bottom: 3px;
    border: solid 2px #ad981a;
    font-size: 13px;
    padding: 0 10px;
    text-align: center;
}

.headerNewsBox--inner dd span.important {
    margin-right: 12px;
    color: #fff;
    background-color: #ad981a;
}

.headerNewsBox--inner dd span.new {
    color: #ad981a;
}

.headerNewsBox--titleWrapper {
    margin-bottom: 0;
}

.headerNewsBox--titleWrapper:not(:first-child) {
    margin-top: 8px;
    /* padding-top: 8px;
    border-top: solid 1px #ccc; */
}

.headerNewsBox--inner .headerNewsBox--title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    text-decoration: underline;
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.headerNewsBox--inner .headerNewsBox--title:hover {
    text-decoration: none;
}

.headerNewsBox--inner .headerNewsBox--title i {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .3em;
}

.headerNewsBox--inner .headerNewsBox--title svg {
    color: rgb(233 31 31);
    width: 24px;
    height: 24px;
}

.headerNewsBox--more {
    width: 7.5em;
    text-align: right;
}

.headerNewsBox--more a {
    font-size: 13px;
}

.headerNewsBox--more a:hover {
    color: #ad981a;
}

.headerNewsBox--more a::before {
    margin-right: 8px;
    color: #ad981a;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    content: "\f0a9";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
}

@media (max-width: 768px) {
    .headerNewsBox--inner {
        padding: 0;
    }

    .headerNewsBox--inner dl {
        display: block;
        width: 100%;
    }

    .headerNewsBox--inner dt {
        width: 6.5em;
    }

    .headerNewsBox--inner dd {
        width: 100%;
    }

    .headerNewsBox--content {
        display: block;
        padding: 8px 12px;
    }

    .headerNewsBox--more {
        width: 100%;
        text-align: center;
        border-top: dashed 1px #ccc;
        margin-top: 8px;
        padding-top: 8px;
    }

    .headerNewsBox--inner dd span {
        margin-right: 4px;
    }

    .headerNewsBox--inner dd span.important {
        margin-right: 4px;
    }

    .headerNewsBox--inner dd .headerNewsBox--title {
        width: 100%;
    }
}

/* Footer */
.footerWidgets {
    margin-top: 40px;
    padding: 40px 20px;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}

.footerWidgets--inner {}

.footerWidgets--content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footerWidgets--item {
    width: 46.2962962962%;
}

.footerWidgets--item:nth-child(2n) {
    margin-left: 7.4074074074%;
}

.footerWidgets--item:nth-child(n + 3) {
    margin-top: 39px;
}

@media (max-width: 768px) {
    .footerWidgets {
        padding: 20px 0;
    }

    .footerWidgets--content {
        display: block;
    }

    .footerWidgets--item {
        width: 100%;
    }

    .footerWidgets--item:nth-child(2n) {
        margin-left: 0;
    }

    .footerWidgets--item:not(:first-child) {
        margin-top: 16px;
    }

    .footerWidgets--item:nth-child(n + 3) {
        margin-top: 16px;
    }
}

/* Sidebar */
.inside-left-sidebar .widget-title {
    font-family: "Hiragino Mincho ProN W3",
        "ヒラギノ明朝 ProN W3",
        "Hiragino Mincho ProN",
        "游明朝",
        YuMincho,
        'Noto Serif JP',
        "HG明朝E",
        "ＭＳ Ｐ明朝",
        "ＭＳ 明朝",
        serif;
}

/* Archive Article */
body.archive:not(.post-type-archive-event_campaign) .archiveHeader,
body.blog:not(.post-type-archive-event_campaign) .archiveHeader,
body.search .archiveHeader {
    border-bottom: none;
    margin-bottom: 10px;
}

body.archive:not(.post-type-archive-event_campaign) .archiveHeader--text,
body.blog:not(.post-type-archive-event_campaign) .archiveHeader--text,
body.search .archiveHeader--text {
    padding: 0;
    margin-bottom: 10px;
    font-family: "Hiragino Mincho ProN W3",
        "ヒラギノ明朝 ProN W3",
        "Hiragino Mincho ProN",
        "游明朝",
        YuMincho,
        'Noto Serif JP',
        "HG明朝E",
        "ＭＳ Ｐ明朝",
        "ＭＳ 明朝",
        serif;
}

body.archive .hentry:not(:last-child),
body.blog .hentry:not(:last-child),
body.search .hentry:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: dashed 1px #ccc;
}

body.archive .inside-article,
body.blog .inside-article,
body.search .inside-article {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

body.archive .no-results .inside-article,
body.blog .no-results .inside-article,
body.search .no-results .inside-article {
    display: block;
}

body.archive .no-results .inside-article:hover,
body.blog .no-results .inside-article:hover,
body.search .no-results .inside-article:hover {
    background-color: transparent;
}


body.archive .inside-article:hover,
body.blog .inside-article:hover,
body.search .inside-article:hover {
    background-color: #f8f8f9;
}

body.archive .article-overview,
body.blog .article-overview,
body.search .article-overview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    order: 2;
    width: 100%;
    padding: 22px 24px;
}

body.archive .article-overview.has-post-thumbnail,
body.blog .article-overview.has-post-thumbnail,
body.search .article-overview.has-post-thumbnail {
    width: calc(100% - 21.296296%);
}

@media (max-width: 768px) {

    body.archive .article-overview,
    body.blog .article-overview,
    body.search .article-overview {
        padding: 10px 12px;
        width: 100%;
    }

    body.archive .article-overview.has-post-thumbnail,
    body.blog .article-overview.has-post-thumbnail,
    body.search .article-overview.has-post-thumbnail {
        width: calc(100% - 32%);
    }
}

body.archive .entry-header,
body.blog .entry-header,
body.search .entry-header {
    margin-bottom: 10px;
}

body.archive .entry-date,
body.blog .entry-date,
body.search .entry-date {
    margin-bottom: 8px;
    font-size: 15px;
}

body.archive .entry-category,
body.blog .entry-category,
body.search .entry-category {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 0 6px;
}

body.archive .entry-category li,
body.blog .entry-category li,
body.search .entry-category li {
    list-style: none;
    margin-right: 12px;
    margin-bottom: 4px;
}

body.archive .entry-category span,
body.blog .entry-category span,
body.search .entry-category span {
    padding: 2px 8px;
    font-size: 14px;
    color: #fff;
    background-color: #ad981a;
}

body.archive .entry-title,
body.blog .entry-title,
body.search .entry-title {
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 768px) {

    body.archive .entry-title,
    body.blog .entry-title,
    body.search .entry-title {
        font-size: 18px;
    }
}

body.archive .entry-summary:not(:first-child),
body.blog .entry-summary:not(:first-child),
body.search .entry-summary:not(:first-child) {
    margin-top: 0;
}

@media (max-width: 768px) {

    body.archive .entry-summary,
    body.blog .entry-summary {
        display: none;
    }

    /* 検索一覧では抜粋を文字数制限しており収まりやすいため、文字を表示しておく */
    body.search .entry-summary {
        display: block;
    }
}

body.archive .post-image,
body.blog .post-image,
body.search .post-image {
    position: relative;
    width: 21.296296%;
    order: 1;
    margin: 0;
}

body.archive .post-image::before,
body.blog .post-image::before,
body.search .post-image::before {
    position: relative;
    z-index: 1;
    display: block;
    padding-top: 100%;
    content: '';
}

@media (max-width: 768px) {

    body.archive .post-image,
    body.blog .post-image,
    body.search .post-image {
        width: 32%;
    }
}

body.archive .post-image:not(:first-child),
body.blog .post-image:not(:first-child),
body.search .post-image:not(:first-child) {
    margin: 0;
}

#nav-below {
    display: none;
}

/* サイドバー */
@media (max-width: 768px) {
    #left-sidebar {
        margin-top: 20px;
    }
}

/* 詳細記事、固定ページ */
.entry-head-meta {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
}

.entry-head-meta .entry-date {
    font-family: "Hiragino Mincho ProN W3",
        "ヒラギノ明朝 ProN W3",
        "Hiragino Mincho ProN",
        "游明朝",
        YuMincho,
        'Noto Serif JP',
        "HG明朝E",
        "ＭＳ Ｐ明朝",
        "ＭＳ 明朝",
        serif;
    margin: 0 10px 0 0;
    font-size: 20px;
}

.entry-head-meta .entry-category {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 0 6px;
}

.entry-head-meta .entry-category li {
    list-style: none;
    margin-right: 12px;
    margin-bottom: 4px;
}

.entry-head-meta .entry-category a {
    padding: 2px 8px;
    font-size: 14px;
    color: #fff;
    background-color: #ad981a;
}

.entry-head-meta li {
    list-style: none;
}

.entry-tags {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: -16px;
    margin-bottom: 10px;
}

.entry-tags dt {
    margin-right: 8px;
}

.entry-tags dt::before {
    color: #ad981a;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    content: "\f02b";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 15px;
}

.entry-tags dd {
    font-size: 15px;
    margin: 0 .1em 0 0;
}

body.single-post .entry-header {
    margin-bottom: 18px;
}

body.single-post .entry-title {
    margin-top: 0;
}

.inside-article .entry-title {
    margin-top: 0;
    margin-bottom: 24px;
}

body.single-post .featured-image {
    border: solid 1px #ccc;
}

.postPrevNext {
    margin-top: 28px;
    padding-top: 28px;
    border-top: dotted 1px #000;
}

.postPrevNext span {
    padding: 2px 8px;
    font-size: 14px;
    color: #fff;
    background-color: #ad981a;
}

.postPrevNext a {
    display: block;
}

.postPrevNext a:hover {
    opacity: .75;
}

.postPrevNext--prev {
    text-align: left;
}

.postPrevNext--prev span {
    margin-right: 8px;
}

.postPrevNext--next {
    text-align: right;
    margin-top: 12px;
}

.postPrevNext--next span {
    margin-left: 8px;
}

/* 本文 */
.entry-content {
    overflow: hidden;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    font-family: "Hiragino Mincho ProN W3",
        "ヒラギノ明朝 ProN W3",
        "Hiragino Mincho ProN",
        "游明朝",
        YuMincho,
        'Noto Serif JP',
        "HG明朝E",
        "ＭＳ Ｐ明朝",
        "ＭＳ 明朝",
        serif;
}

.entry-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content img.alignright {
    float: right;
    max-width: 48%;
    margin: 0 0 0.375rem 0.75rem;
}

.entry-content img.alignleft {
    float: left;
    max-width: 48%;
    margin: 0 0.75rem 0.375rem 0;
}

@media only screen and (min-width: 34em) {
    .entry-content img.alignright {
        max-width: none;
    }

    .entry-content img.alignleft {
        max-width: none;
    }
}

.entry-content .wp-caption,
.entry-content .gallery-caption {
    width: auto;
    max-width: 100%;
}

.entry-content .wp-caption .wp-caption-text,
.entry-content .gallery-caption .wp-caption-text {
    padding: 0.375rem;
    text-align: center;
    font-size: 14px;
    background-color: rgba(205, 205, 205, 0.5);
}

.entry-content .wp-caption.aligncenter,
.entry-content .gallery-caption.aligncenter {
    text-align: center;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.entry-content .wp-caption.alignleft,
.entry-content .gallery-caption.alignleft {
    float: left;
    max-width: 48%;
    margin: 0 0.75rem 0.375rem 0;
}

.entry-content .wp-caption.alignright,
.entry-content .gallery-caption.alignright {
    float: right;
    max-width: 48%;
    margin: 0 0 0.375rem 0.75rem;
}

@media only screen and (min-width: 34em) {

    .entry-content .wp-caption.alignright,
    .entry-content .gallery-caption.alignright {
        max-width: none;
    }

    .entry-content .wp-caption.alignleft,
    .entry-content .gallery-caption.alignleft {
        max-width: none;
    }
}

.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) {
    margin-top: 24px;
}

@media screen and (max-width: 47.99em) {

    .entry-content:not(:first-child),
    .entry-summary:not(:first-child),
    .page-content:not(:first-child) {
        margin-top: 32px;
    }
}

/* 商品カテゴリーページ */
#item-brand-wrapper {
    width: 100%;
}

.item-brand-mv {
    width: 100%;
    margin-top: 19px;
}

@media screen and (max-width: 47.99em) {
    .item-brand-mv {
        margin-top: 0;
    }
}

.item-brand-banners {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-top: 40px;
}

.item-brand-banners img {}

.item-brand-banners-image {
    width: 23.125%;
    text-align: center;
}

.item-brand-banners-image:not(:nth-child(4)) {
    margin-right: 2.5%;
}

@media screen and (max-width: 47.99em) {
    .item-brand-banners {
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .item-brand-banners-image {
        width: 48.5%;
    }

    .item-brand-banners-image:not(:nth-child(4)) {
        margin-right: 0;
    }

    .item-brand-banners-image:not(:nth-child(2n)) {
        margin-right: 3%;
    }

    .item-brand-banners-image:nth-child(n + 3) {
        margin-top: 3%;
    }
}

/* @media screen and (max-width: 422px) {
    .item-brand-banners-image {
        width: 100%;
    }

    .item-brand-banners-image:not(:nth-child(4)) {
        margin-right: 0;
    }

    .item-brand-banners-image:not(:nth-child(2n)) {
        margin-right: 0
    }

    .item-brand-banners-image:not(:first-child) {
        margin-top: 16px !important;
    }
} */

.item-brand-link-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 52px;
}

.item-brand-link-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: solid 4px #653100;
    color: #653100;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-brand-link-buttons a::before {
    margin-right: 6px;
    color: #653100;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    content: "\f138";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
}

.item-brand-link-buttons a:hover {
    background-color: #f7ebe0;
}

.item-brand-link-buttons a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: calc(100% - 40px);
}

@media screen and (max-width: 422px) {
    .item-brand-link-buttons a {
        width: 100%;
    }

    .item-brand-link-buttons a:not(:first-child) {
        margin-top: 16px;
    }
}

@media screen and (min-width: 423px) and (max-width: 899px) {
    .item-brand-link-buttons a {
        width: 48.5%;
    }

    .item-brand-link-buttons a:not(:nth-child(2n)) {
        margin-right: 3%;
    }

    .item-brand-link-buttons a:nth-child(n + 3) {
        margin-top: 28px;
    }
}

@media screen and (min-width: 900px) and (max-width: 1239px) {
    .item-brand-link-buttons a {
        width: 31%;
    }

    .item-brand-link-buttons a:not(:nth-child(3n)) {
        margin-right: 3.5%;
    }

    .item-brand-link-buttons a:nth-child(n + 4) {
        margin-top: 32px;
    }
}

@media screen and (min-width: 1240px) {
    .item-brand-link-buttons a {
        width: 23.125%;
    }

    .item-brand-link-buttons a:not(:nth-child(4n)) {
        margin-right: 2.5%;
    }

    .item-brand-link-buttons a:nth-child(n + 5) {
        margin-top: 40px;
    }
}

.item-posts-wrapper {
    width: 100%;
    margin-top: 52px;
}

.item-posts {
    margin: 0;
}

.item-posts li {
    position: relative;
    display: block;
    padding: 12px 26px 12px 12px;
    list-style: none;
    background-color: #f8f8f9;
}

.item-posts li:not(:first-child) {
    margin-top: 15px;
}

.item-posts time {
    white-space: nowrap;
    font-size: 13px;
    margin-right: 12px;
}

.item-posts li::after {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #c8b682;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    font-variant: normal;
    line-height: 1;
    content: "\f054";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
}

.item-posts .cat-label {
    color: #24aba9;
    border: solid 2px #24aba9;
    background-color: #fff;
    font-size: 13px;
    padding: 1px 14px;
    margin-right: 12px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-posts .new-label {
    color: #ad981a;
    border: solid 2px #ad981a;
    background-color: #fff;
    font-size: 13px;
    padding: 1px 14px;
    margin-right: 14px;
    white-space: nowrap;
    font-family: 'Hiragino Mincho ProN W3',
        'ヒラギノ明朝 ProN W3',
        'Hiragino Mincho ProN',
        '游明朝',
        YuMincho,
        'Noto Serif JP',
        'HG明朝E',
        'ＭＳ Ｐ明朝',
        'ＭＳ 明朝',
        serif
}

.item-posts li>* {
    -ms-flex: 0 1 auto;
    flex-basis: auto;
}

.item-posts a {
    display: block;
    margin-top: 4px;
    margin-right: 14px;
    text-decoration: underline;
}

.item-posts a:hover {
    text-decoration: none;
}

.item-posts-none {
    margin: 0;
    padding: 16px;
    text-align: center;
    border: dashed 2px #d9c99a;
}

@media screen and (min-width: 48em) {
    .item-posts li {
        padding: 16px 48px 12px 28px;
    }

    .item-posts li>* {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 4px;
    }

    .item-posts li::after {
        right: 20px;
        font-size: 32px;
    }

    .item-posts a {
        display: inline;
        margin-top: 0;
    }

    .item-posts-none {
        padding: 24px;
    }
}

/* 商品ページ */
.item-body-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.item-thumbnail {
    width: 48.68%;
}

.item-overview {
    width: 48.68%;
}

.item-entry-title {
    margin-top: 0;
}

.item-info {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    color: #653100;
    font-size: 13px;
    margin-top: 20px;
}

.item-info dt {
    width: 8em;
    padding-right: 14px;
    border-right: 1px solid #653100;
}

.item-info dd {
    width: calc(100% - 8em);
    padding-left: 14px;
    margin: 0;
}

.item-info dd:not(:last-child) {
    margin: 0 0 12px;
}

.item-page-link {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    margin: 0 0 20px;
}

.item-page-link li {
    list-style: none;
    width: 23%;
    text-align: center;
}

.item-page-link a {
    display: block;
    border: solid 1px #ccc;
    border-bottom: solid 2px #ad981a;
    padding: 10px 0;
}

.item-page-link a:hover {
    color: #fff;
    background-color: #d9c99a;
}

@media (max-width: 768px) {
    .item-body-top {
        display: block;
    }

    .item-thumbnail {
        width: 100%;
    }

    .item-overview {
        width: 100%;
    }

    .item-thumbnail {
        margin-bottom: 24px;
    }

    .item-page-link {
        flex-wrap: wrap;
    }

    .item-page-link li {
        width: 48%;
        margin-bottom: 2%;
    }
}

.item-use {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0 10px;
}

.item-use li {
    width: 80px;
    list-style: none;
    text-align: center;
    padding: 2px 0;
    border: solid 1px #d9c99a;
    font-size: 13px;
    color: #653100;
}

.item-use li:not(:first-child) {
    margin-left: 11px;
}

.item-usage-time {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 10px 0 18px;
}

.item-usage-time li {
    list-style: none;
    text-align: center;
}

.item-usage-time li:not(:first-child) {
    margin-left: 4px;
}

.item-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.item-section-headline {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 22px;
    padding-bottom: 8px;
    border-bottom: solid 2px #c8b682;
}

.item-images-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0;
}

.item-images-list-headline {
    border-left: solid 5px #c8b682;
    padding-left: 8px;
    margin-bottom: 10px;
    font-weight: bold;
}

.item-section-link {
    margin-top: 24px;
    text-align: center;
}

.item-images-list li {
    list-style: none;
    width: 23.421%;
    margin-bottom: 2.106%;
}

.item-images-list li:not(:nth-child(4n)) {
    margin-right: 2.106%;
}

@media (max-width: 768px) {
    .item-images-list li {
        width: 49%;
        margin-bottom: 4%;
    }

    .item-images-list li:not(:nth-child(4n)) {
        margin-right: 0;
    }

    .item-images-list li:not(:nth-child(2n)) {
        margin-right: 2%;
    }
}

.item-images-list a {
    display: block;
    text-align: center;
}

.item-images-list--video li {
    text-align: center;
}

.item-images-list--video a {
    position: relative;
}

.item-images-list--video .has-thumbnail-video a::before {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    content: "\f144";
    margin-right: 9px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 32px;
}

.item-images-thumbnail {
    display: block;
    padding-top: 100%;
    border: solid 1px #ccc;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.item-images-thumbnail--video {
    position: relative;
    padding-top: 56.25%;
    cursor: pointer;
}

/* .item-images-thumbnail--video::before {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    content: "\f144";
    margin-right: 9px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 32px;
} */

.item-images-thumbnail--icon {
    background-size: auto;
}

.item-images-list a:hover .item-images-thumbnail {
    border: solid 1px #00d3bc;
}

.item-images-filename {
    margin-top: 10px;
    font-size: 14px;
}

.item-images-text {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #AD981B;
}

.item-images-text i {
    margin-left: .3em;
    color: #3a3a3a;
}

.item-images-text svg {
    width: 16px;
    height: 14px;
}

.qanda-list {
    margin: 0;
    font-size: 17px;
}

.qanda-list li {
    list-style: none;
}

.qanda-list span {
    display: block;
}

.qanda-list li:not(:first-child) {
    margin-top: 16px;
}

.qanda-list .qanda-list-question {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #EEE7D4;
    padding: 23px 23px 23px 23px;
}

.qanda-list .qanda-list-question .fas {
    color: #AD981B;
}

.qanda-list .qanda-item.is-open .fa-angle-down,
.qanda-list .qanda-item.is-close .fa-chevron-right {
    display: inline;
}

.qanda-list .qanda-item.is-open .fa-chevron-right,
.qanda-list .qanda-item.is-close .fa-angle-down {
    display: none;
}

.qanda-list .qanda-list-question .left-icon {
    width: 1em;
    font-size: 17px;
    margin-right: 6px;
}

.qanda-list .qanda-list-answer {
    display: none;
}

.qanda-list .qanda-list-answer {
    background-color: #f8f8f9;
    padding: 15px;
}

.list-custom-taxonomy-widget {
    font-size: 14px;
}

.list-custom-taxonomy-widget ul:not(.children)>.cat-item {
    border: solid 1px #ccc;
    margin-bottom: 16px;
}

.list-custom-taxonomy-widget ul:not(.children)>.cat-item>a {
    background-color: #f8f8f9;
}

.list-custom-taxonomy-widget ul:not(.children)>.cat-item>a:hover {
    background-color: #e6e6e6;
}

.list-custom-taxonomy-widget ul.children a:hover {
    background-color: #e6e6e6;
}

.list-custom-taxonomy-widget a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 24px 8px 8px;
}

.list-custom-taxonomy-widget ul:not(.children)>.cat-item>.children {
    display: none;
}

.list-custom-taxonomy-widget ul.children {
    margin: 0;
}

.list-custom-taxonomy-widget ul.children li {
    border-top: solid 1px #ccc;
    margin: 0;
}

.list-custom-taxonomy-widget .left-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #d9c99a;
    margin-right: 12px;
    transition: all .1s ease-in-out;
}

.list-custom-taxonomy-widget .left-menu-icon:hover {
    background-color: #ad981a;
}

.list-custom-taxonomy-widget .left-menu-icon i {
    color: #fff;
}

.list-custom-taxonomy-widget ul:not(.children)>.cat-item>a::after,
.list-custom-taxonomy-widget ul:not(.children)>.cat-item>.children>li>a::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: "\f054";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: #d9c99a;
}

/* .list-custom-taxonomy-widget .has-children-anchor::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: "\f054";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: #d9c99a;
} */

.list-custom-taxonomy-widget .children .children a {
    display: block;
    padding: 8px 8px 8px 28px;
}

.list-custom-taxonomy-widget .children .children a::before {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 9px;
    height: 9px;
    content: '';
    border-bottom: solid 2px #444;
    border-left: solid 2px #444;
}

/* 商品カテゴリーページ用CSS */
.child-terms {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 0 24px;
    flex-wrap: wrap;
}

.child-terms li {
    list-style: none;
    margin: 0 8px 8px 0;
}

.child-terms a {
    display: block;
    padding: 2px 12px;
    font-size: 13px;
    color: #444;
    border: solid 1px #ad981a;
    background-color: #fff;
}

.child-terms a:hover {
    color: #fff;
    background-color: #ad981a;
}

/* 商品詳細の関連動画用ライトボックス */
#item-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

#item-lightbox-close::before {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    content: "\f057";
    margin-right: 9px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 32px;
}

.item-lightbox-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease-in;
}

body.admin-bar .item-lightbox-area {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .item-lightbox-area {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.item-lightbox-area.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.item-lightbox-area-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.item-lightbox-videos {
    width: 80%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-lightbox-videos li {
    display: none;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    list-style: none;
    pointer-events: none;
}

.item-lightbox-videos li.is-visible {
    display: block;
    pointer-events: auto;
}

.item-lightbox-videos li video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item-lightbox-video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item-lightbox-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Q&A記事一覧 */
body.post-type-archive-qa #page .archiveHeader,
body.tax-qa_category #page .archiveHeader,
body.tax-qa_tag #page .archiveHeader {
    margin-bottom: 30px;
}

body.post-type-archive-qa .archiveHeader .archiveHeader--text,
body.tax-qa_category .archiveHeader .archiveHeader--text,
body.tax-qa_tag .archiveHeader .archiveHeader--text {
    padding-bottom: 8px;
    font-size: 40px;
    font-weight: normal;
    border-bottom: solid 2px #ad981a;
    font-family: "游ゴシック体",
        YuGothic,
        "游ゴシック Medium",
        "Yu Gothic Medium",
        "游ゴシック",
        "Yu Gothic",
        sans-serif;
}

@media (max-width: 768px) {

    body.post-type-archive-qa .archiveHeader .archiveHeader--text,
    body.tax-qa_category .archiveHeader .archiveHeader--text,
    body.tax-qa_tag .archiveHeader .archiveHeader--text {
        font-size: 1.25rem;
    }
}

.qa-article {
    display: block;
    font-family: "游ゴシック体",
        YuGothic,
        "游ゴシック Medium",
        "Yu Gothic Medium",
        "游ゴシック",
        "Yu Gothic",
        sans-serif;
}

.qa-article-title {
    position: relative;
    padding-left: 40px;
    margin-bottom: 18px;
    font-weight: bold;
    color: #000;
}

.qa-article-title h1 {
    font-size: 32px;
    margin: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .qa-article-title h1 {
        font-size: 20px;
    }
}

.qa-article-title h2 a {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: bold;
    text-decoration: none;
}

.qa-article-title h2 a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .qa-article-title h2 {
        font-size: 17px;
    }
}

.qa-article-title::before {
    position: absolute;
    top: 0;
    left: 0;
    content: 'Q';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #fff;
    background-color: #5a5fa3;
    text-decoration: none;
}

.qa-entry-summary-wrapper {
  
    padding: 40px 50px;
}

@media (max-width: 768px) {
    .qa-entry-summary-wrapper {
        padding: 20px 20px;
    }
}

.qa-article .qa-entry-summary {
    position: relative;
    padding-left: 40px;
}

.qa-article .qa-entry-summary p {
    margin: 0;
}

.qa-article .qa-entry-summary::before {
    position: absolute;
    top: 0;
    left: 0;
    content: 'A';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #fff;
    background-color: #8a96de;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {

    .qa-article-title::before,
    .qa-article .qa-entry-summary::before {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}


.qa-article .qa-more {
    color: #6a3708;
    text-decoration: underline;
}

.qa-article .qa-more:hover {
    text-decoration: none;
}

.qa-article-meta {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 13px;
    width: calc(100% - 80px);
    margin: 10px auto 0;
    padding: 9px 18px;
    background-color: #f8f8f9;
}

body.single .qa-article-meta {
    padding: 0;
    width: 100%;
    margin: 0 0 10px;
    background-color: transparent;
}

@media (max-width: 768px) {
    .qa-article-meta {
        display: block;
    }
}

.qa-entry-date {
    margin-right: 18px;
}

.qa-article-meta dl {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.qa-article-meta dd {
    margin: 0;
    flex-wrap: wrap;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.qa-article-meta dd a {
    margin-right: .5em;
    text-decoration: underline;
}

.qa-article-meta dd a:hover {
    text-decoration: none;
}

.qa-related-posts {
    margin-top: 50px;
}

.qa-related-posts-title {
    font-size: 32px;
    padding-bottom: 5px;
    border-bottom: solid 2px #c8b682;
}

@media (max-width: 768px) {
    .qa-related-posts-title {
        font-size: 18px;
    }
}

.qa-related-posts-list {
    margin: 0 0 0 10px;
}

.qa-related-posts-list li {
    list-style: none;
}

.qa-related-posts-list li:not(:last-child) {
    margin-bottom: 18px;
}

.qa-related-posts-list li h4 {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.qa-related-posts-list li h4 a {
    text-decoration: underline;
}

.qa-related-posts-list li h4 a:hover {
    text-decoration: none;
}

.qa-related-posts-list li h4::before {
    position: absolute;
    top: 0;
    left: 0;
    content: 'Q';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    font-size: 13px;
    color: #fff;
    background-color: #5a5fa3;
    text-decoration: none;
}

/* 登録ページ */
body.page-id-33866 .inside-article,
body.woocommerce-account .inside-article {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
}

body.page-id-33866 #left-sidebar {
    display: none;
}

body.page-id-33866 #primary,
body.page-id-33866 #main {
    width: 100%;
}

body.page-id-33866 #main {
    margin-inline: 0;
    margin-bottom: 2rem;
}

#main .customer-register-box .woocommerce-form-register__submit {
    display: block;
    width: 120px;
    margin: 0 auto;
    background-color: #442700;
    color: #fff;
}

#main .customer-register-box .woocommerce-form-register__submit:hover {
    background-color: #976A2E;
}

/* イベントアーカイブ */
.eventPost .eventPost--thumbnail {
    display: none;
}

.eventPost--overviewTop {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 8px;
}

.eventPost--overviewTop .eventPost--title {
    margin-bottom: 0;
}

.eventPost--overviewThumbnail {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    width: 80px;
    margin-right: 8px;
}

.eventPost--overviewThumbnail a {
    display: block;
    position: relative;
    z-index: 1;
}

.eventPost--overviewThumbnail a::before {
    position: relative;
    z-index: 1;
    display: block;
    padding-top: 100%;
    content: '';
}

@media screen and (min-width: 48em) {
    .eventPost--overviewThumbnail {
        display: none;
    }

    .eventPost .eventPost--thumbnail {
        display: block;
    }
}

/* TOP */
body.home .site-content {
    display: block;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frontPageSlider {
    margin-top: 24px;
}

.frontPageSlider .swiper-button-next,
.frontPageSlider .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.frontPageSlider .swiper-button-next::after,
.frontPageSlider .swiper-button-prev::after {
    color: #d9c99a;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    font-variant: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 32px;
}

.frontPageSlider .swiper-button-next::after {
    content: "\f054";
}

.frontPageSlider .swiper-button-prev::after {
    content: "\f053";
}

.top-link-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 24px;
}

.tax-item-links {
    --column-count: 3;

    display: grid;
    grid-template-columns: repeat(var(--column-count), 1fr);
    gap: 1rem; /* カード間の余白（任意） */
    width: 100%;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .tax-item-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tax-item-links {
        grid-template-columns: 1fr;
    }
}

.tax-item-links a,
.top-link-buttons a {
    position: relative;
    display: block;
    /* justify-content: center;
    align-items: center; */
    border: solid 1px #d9c99a;
    color: #444444;
    font-size: 16px;
    font-weight: normal;
    padding: 15px 37px 15px 37px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.tax-item-links a:after,
.top-link-buttons a::after {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #ad981a;
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 700;
    font-variant: normal;
    line-height: 1;
    content: "\f054";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    font-size: 16px;
    width: 10px;
    height: 16px;
}

.tax-item-links a:hover,
.top-link-buttons a:hover {
    background-color: #f7f7f7;
}

@media screen and (max-width: 422px) {
    /* .top-link-buttons a {
        width: 100%;
    }

    .top-link-buttons a:not(:first-child) {
        margin-top: 16px;
    } */
}

@media screen and (max-width: 899px) {
    .top-link-buttons a {
        width: 48.5%;
        padding: 15px 24px 15px 8px;
    }

    .top-link-buttons a::after {
        right: 8px;
    }

    .top-link-buttons a:not(:nth-child(2n)) {
        margin-right: 3%;
    }

    .top-link-buttons a:nth-child(n + 3) {
        margin-top: 3%;
    }
}

@media screen and (min-width: 900px) and (max-width: 1239px) {
    .top-link-buttons a {
        width: 31%;
    }

    .top-link-buttons a:not(:nth-child(3n)) {
        margin-right: 3.5%;
    }

    .top-link-buttons a:nth-child(n + 4) {
        margin-top: 3.5%;
    }
}

@media screen and (min-width: 1240px) {
    .top-link-buttons a {
        width: 23.125%;
    }

    .top-link-buttons a:not(:nth-child(4n)) {
        margin-right: 2.5%;
    }

    .top-link-buttons a:nth-child(n + 5) {
        margin-top: 2.5%;
    }
}

.topElementorShortcode {
    margin: 52px auto 24px;
}

.item-posts-wrapper--moreLink {
    margin-top: 25px;
    text-align: center;
}

.item-posts-wrapper--moreLink .btn {
    border-color: #d9c99a;
}

.item-posts-wrapper--moreLink .btn.icon-arrow::before {
    color: #ad981a;
}

.woocommerce-account .yith-wcmap .user-profile .user-info .logout a {
    font-size: 1.3rem;
    background: #d9c99a;
}

.frontHeadline{
    text-align: center;
    border-bottom: 2px solid #C8B682;
    padding-bottom: 10px;
    font-weight: bold;
    margin-top: 52px;
}

/* 新規登録ページ用 */
.siteFooter--copyright.is-only {
    border-top: none;
}

@media screen and (min-width: 48em) {
    .siteFooter--copyright.is-only {
        padding-top: 0;
    }
}

/* header logout button */
.memberUtility--accountBtnWrapper{
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    gap: 10px;
}
.memberUtility--accountBtnWrapper .memberUtility--accountBtn{
    width: 50%;
}
.memberUtility--accountBtnWrapper .memberUtility--accountBtn a{
    padding: 0 10px;
}
.memberUtility .memberUtility--welcome > p{
    display: block;
    text-align: right;
}
@media screen and (min-width: 769px){
    .memberUtility--accountBtnWrapper .memberUtility--accountBtn:nth-child(1){
        order: 2;
    }
    .memberUtility--accountBtnWrapper .memberUtility--accountBtn:nth-child(2){
        order: 1;
    }
}
@media screen and (min-width: 48em){
    .siteHeader--inner.container .siteHeader--utility{
        width: 55.4%;
    }
    .memberUtility .memberUtility--welcome > p{
        padding-left: 0;
    }
}

.entry-content hr {
    margin: 1.5em 0;
    border-bottom: solid 1px #ccc;
}

.entry-content > hr:first-child {
    margin-top: 0;
}

.entry-content > hr:last-child {
    margin-bottom: 0;
}

/* ブランドTOP用カスタム */
.single-brand-content-wrapper {
    margin-top: 52px;
}

/* マイアカウント：会員プラン表示 */
.memberships-box {
    /* border: solid 4px #d9c99a; */
    /* padding: 1.5rem; */
    /* background: #fffcf4; */
    margin-top: 2rem;
}

.memberships-box-headline {
    position: relative;
    text-align: center;
    padding: 0 0 .3em !important;
    /* border: none !important; */
    /* font-size: 24px; */
    font-weight: bold;
    font-size: 18px;

    border-bottom: 2px solid #C8B682;
    /* padding-bottom: 10px; */
    font-family: "游ゴシック","Myriad Pro",myriad,"Lucida Grande","segoe UI","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN",meiryo,verdana,arial,sans-serif !important;
}

/* .memberships-box-headline:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #c8b682, #c8b682 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #c8b682, #c8b682 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
} */

.memberships-box ul {
    margin: 0;
}

.memberships-box ul li {
    list-style: none;
    border: solid 1px #3a3a3a;
    border-radius: 12rem;
    text-align: center;
    padding: .5em 1em;
    color: #3a3a3a;
    background-color: #fff;
    border: solid 1px #d9c99a;
}

.memberships-box ul li:not(:last-child) {
    margin-bottom: .8em;
}

.memberships-box-none {
    border: 1px dashed #ccc;
    text-align: center;
    padding: .5em 1em;
    margin: 0;
    background-color: #fff;
}

.add-memberships-contact {
    margin: 1.5rem 0 0;
}

.add-memberships-contact a {
    display: inline-block;
    color: #fff;
    background-color: #d9c99a;
    /* border-radius: .25rem; */
    padding: .5em 1em;
}

.add-memberships-contact a:hover {
    color: var(--ywcmap-logout-text-color-hover);
    background-color: var(--ywcmap-logout-background-color-hover);
}

body.page-id-8132:not(.logged-in) .elementor-element-451c9bf5,
body.page-id-33866:not(.logged-in) .elementor-element-451c9bf5,
body.page-id-20:not(.logged-in) .elementor-element-451c9bf5 {
  display: none;
}

/* イベントカレンダーのCSS */
.allday-text {
  display: none;
}

/* 講習・イベントお申し込み */
.event-link-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 3rem 0 1rem;
}

.event-link-buttons .btn {
  max-width: 320px;
  width: 100%;
}

.event-link-buttons button:focus,
.event-modal-buttons .btn-primary:focus {
  color: #fff;
  background-color: #60b300;
}

#skillAppModal {
  position: fixed;
  max-width: 640px;
  border-radius: .5rem;
  overflow: hidden;
  border: none;
  padding: 1.5rem;
  width: calc(100% - 2rem);
}

#skillAppModal::backdrop {
  background-color: rgba(0, 0, 0, .55);
}

#skillAppModal .event-modal-content > p {
  margin-bottom: .5em;
}

#skillAppModal .event-modal-notice {
  border: solid 1px #ccc;
  padding: 1rem;
}

#skillAppModal .event-modal-notice ul {
  margin: 0 0 0 1.5em;
}
#skillAppModal .event-modal-buttons {
  display: flex;
    gap: 16px;
    margin-top: 1rem;
}

#skillAppModal .event-modal-buttons #closeModalBtn {
  color: #444;
  background-color: #fafafa;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

#skillAppModal .event-modal-buttons #closeModalBtn:hover {
  background-color: #e7e7e7;
}

html:has(dialog[open]) {
  overflow: hidden;
}

/* 検索結果一覧デザイン */

body.search-results .archiveHeader {
    width: 100%;
}

body.search-results .navigation.pagination {
    width: 100%;
}

body.search .entry-category {
    flex-wrap: wrap;
}

body.search-results .search-container {
    --column: 3;
    --gap: 1rem;
    --gap-total: calc((var(--column) - 1) * var(--gap));
    --width: calc((100% - var(--gap-total)) / var(--column));
    padding-top: 1rem;
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, var(--width));
}

/* スマホ以下 */
@media screen and (max-width:680px) {
    body.search-results .search-container {
        --column: 2;
    }
}

@media screen and (max-width:390px) {
    body.search-results .search-container {
        --column: 1;
    }
}

body.search-results .search-article {
    padding-bottom: 20px;
    border-bottom: dashed 1px #ccc;
}

body.search-results .search-article .entry-title {
    font-size: 15px;
    margin-bottom: 0;
}

body.search-results .search-article .entry-title a {
    text-decoration: underline;
}

body.search .post-image a {
    display: block;
}

@media (hover: hover) {
    body.search-results .search-article .entry-title a:hover {
        text-decoration: none;
    }

    body.search .post-image a:hover {
        opacity: .85;
    }
}

body.search-results .search-article .article-overview {
    padding: 10px;
}

body.search-results .search-article .entry-summary {
    font-size: 14px;
}

body.search-results .search-article .post-image::before {
    content: none;
}

/* 添付ファイル */
.attachment-parent {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #d9c99a;
}

.attachment-parent a {
    color: #333;
    text-decoration: none;
}

.attachment-parent a:hover {
    color: #d9c99a;
    text-decoration: underline;
}

.attachment-image-content {
    text-align: center;
    margin-bottom: 20px;
}

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

.attachment-caption-content {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.attachment-pdf-content {
    margin-bottom: 30px;
}

.attachment-pdf-content .pdf-icon {
    display: block;
    margin: 0 auto 10px;
}

.attachment-pdf-content a {
    display: inline-block;
    margin-top: 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.attachment-pdf-content a:hover {
    color: #d9c99a;
    text-decoration: underline;
}

.pdf-preview {
    margin-top: 30px;
    border: 1px solid #ddd;
    padding: 10px;
}

.attachment-description {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ダウンロードボタン */
.attachment .button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #d9c99a;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.attachment .button:hover {
    background-color: #ad981a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .pdf-preview {
        height: 400px;
    }
}

body.search .headerNewsBox--inner {
    padding-left: 0;
    padding-right: 0;
}

.eventCategories--list .eventCategories--item:last-child {
    border-right: solid 1px #ccc;
}

.archive-three-column-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; /* カード間の余白。必要に応じて調整 */
    margin-top: 24px;
}

body.archive .archive-three-column-wrapper .article-overview {
    padding: 0;
}

body.archive .archive-three-column-wrapper .inside-article {
    gap: 1rem;
}

body.archive .archive-three-column-wrapper .entry-title {
    font-size: 1rem;
    margin: 0;
}

body.archive .archive-three-column-wrapper .post-image {
    width: 32%;
}

body.archive .archive-three-column-wrapper .entry-summary>p {
    font-size: .85rem;
    margin: 0;
}

body.archive .archive-three-column-wrapper .entry-summary>p:empty {
    display: none;
}

body.archive .archive-three-column-wrapper .hentry {
    padding-bottom: 1rem;
    border-bottom: dashed 1px #ccc;
}

body.archive .archive-three-column-wrapper .entry-summary {
    display: block !important;
}

@media (max-width: 1024px) {
    .archive-three-column-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .archive-three-column-wrapper {
        grid-template-columns: 1fr;
    }
}